ADOBE EXPERIENCE MANAGER (AEM) EXAMS

AEM as a Cloud Service Developer Recertification

Adobe Experience Manager (AEM) as a Cloud Service Developer Recertification Exam AD5-E112 sample test.

1. A developer wants to deploy an OSGi configuration and as part of the configuration is a secret API key. What should the developer do?

  1. Add the secret API key as part of a OSGI configuration in the git repository and deploy the codebase via Cloud Manager
  2. Edit the web console of the of the OSGi web console and add the configurations via the Felix interface
  3. Use Adobe IO Runtime with CloudManager API to set secret variables and define them as part of the OSGi configuration.
  4. Use the Developer console on CloudManager API to define and set the secret variables on the environment

Resources

2. Which of the following is a part of the Digital Foundation Blueprint?

  1. Smart Tags configuration
  2. Core Components
  3. Stock Assets
  4. Translation Configuration

3. When developing for Adobe Experience Manger as a Cloud Service, what is one of the key changes you need to keep in mind? Select two answers.

  1. AEM as a Cloud Service evolves with regular product releases, and therefore, development must be done against the latest version of the application
  2. AEM as a Cloud Service has the same deployment architecture as Managed Services implying minimal change in the code development practices
  3. All the deployments in AEM as a Cloud Service go through Cloud Manager and therefore, the code needs to meet standards of quality gates in Cloud Manager.
  4. All the existing frameworks and customizations can be transitioned to AEM as a Cloud Service without any changes.

4. Which of the following is immutable at runtime? Select two correct answers

  1. /conf
  2. /content
  3. /apps
  4. /home
  5. /libs

5. Which command invokes the dispatcher validator to generate project-ready dispatcher configurations? Select the correct answer.

  1. bin\validator full out src
  2. bin\validator -d out
  3. bin\validator full -d out src
  4. bin\validator full -d

6. What is contained in the all.zip file? Select the correct answer.

  1. ui.content.zip
  2. bundle.jar and ui.apps.zip
  3. bundle.jar and ui.content.zip
  4. ui.apps.zip and ui.content.zip

7. Which of the following is part of the AEM as a Cloud Services SDK? Select the two correct answers

  1. JDK 11
  2. Migration Tool
  3. QuickStart Jar
  4. Javadoc
  5. Dispatcher Tools

8. Which of the following is not part of the repository-structure package of an AEM maven project?

  1. plugins element in pom.xml
  2. filters element in pom.xml
  3. src folder in repository-structure
  4. dependencies element in pom.xml

9. Which is the only required file in a repository structure package of an AEM maven project? Select the correct answer

  1. site.xml
  2. filter.xml
  3. pom.xml
  4. repository.xml

10. oak:index is part of which package of an AEM project structure? Select the correct answer

  1. core
  2. ui.content
  3. ui.apps
  4. all

11. A developer wants to configure Workflow Purge configuration for the AEM as a Cloud Service environment. Where should they store the configuration? Select the correct answer.

  1. With OSGi console of AEM as a cloud service instance
  2. in local AEM project
  3. within CRX for Cloud Ready AEM quickstart
  4. in the git repository as part of the source code

12. What are the two strategies to describe the content that will be deployed by Cloud Manager to the repository? (Choose two)

  1. Uber Jar
  2. repoinit statements
  3. Azure DataStore for Blob
  4. mutable content packages

13. Where should a developer store a custom index definition? Select the correct answer.

  1. Core project
  2. Frontend project
  3. Content project
  4. Apps project

14. Which file is <repositoryStructurePackages> a part of? Select the correct answer

  1. pom.xml in core
  2. pom.xml in repository-structure
  3. pom.xml in ui.content
  4. pom.xml in ui.apps

15. Which package of an AEM maven project generates bundle.jar Select the correct answer

  1. ui.apps
  2. core
  3. all
  4. ui.content

16. What are the different kinds of triggers that can be set to start a pipeline? Select the three correct answers

  1. On repository change
  2. Automatic
  3. Scheduled
  4. On git changes
  5. Manual

17. What is the correct command to download log files for AEM as a Cloud Service environment? Select the correct answer?

  1. aio cloudmanager:tail-log PIPELINEID SERVICE NAME
  2. aio cloudmanager:tail-log ENVIRONMENTID SERVICE NAME
  3. aio cloudmanager:download PIPELINEID SERVICE NAME
  4. aio cloudmanager:download ENVIRONMENTID SERVICE NAME
  5. aio cloudmanager:download-logs ENVIRONMENTID SERVICE NAME

18. Where does the dispatcher configuration get stored when you consolidate multiple projects? Select the correct answer.

  1. At the root level
  2. In a sub-project
  3. At the project level
  4. Outside the codebase

19. What is the correct command to view the results of the code quality checks for a pipeline? Select the correct answer.

  1. aio cloudmanager:get-quality-gate-results codeQuality
  2. aio cloudmanager: obtain-quality-gate-results PIPELINE_ID
  3. aio cloudmanager:get-quality-gate-results PIPELINE_ID
  4. aio cloudmanager:get-quality-gate-results PIPELINE_ID codeQuality

20. As a developer you have a current custom index stored under /oak:index/acmeProduct-custom-1 and you are looking at changing some of the properties and behaviors of the index. What is the correct course of action.

  1. Modify the properties of the /oak:index/acmeProduct-custom-1 in your git repo and push the changes to the environment.
  2. Create a duplicate of /oak:index/acmeProduct-custom-1 and name it /oak:index/acmeProduct-custom-2 and apply the changes then push the new index to the environment.
  3. Delete /oak:index/acmeProduct-custom-1, recreate the index with the same name but with the updated properties, push through the changes then rebuild the index with the new changes
  4. Perform the necessary changes through the Cloud Manager user interface in the admin console and then rebuild the index

21. With regards to development best practices on AEM as a cloud service in relation to observations, which of the following is a true statement.

  1. With everything that is asynchronously happening like acting on observation events, it cannot be guaranteed to be executed locally and therefore must be used with care.
  2. With everything that is synchronously happening like acting on observation events, everything is executed locally and across each instance.
  3. At the time a change is happening, the instance is not taken down and replaced by a different instance.
  4. Other instances in the topology that are active at that time will be not be able to react to that event.

22. Which of the following statements are true about Cloud Manager(choose two)

  1. The non-production pipelines can perform static code quality scans and generate a report.
  2. You can skip the load balancer tests on the production pipeline
  3. Configure the dispatcher on non-production and production pipelines via the CloudManager user interface
  4. You can schedule your deployment based on a time and date for automatic deployment on production.

23. What are the right options available in the deployment pipelines in Cloud Manager. Choose the three correct answers.

  1. You can set a GoLive Approval with your Systems Reliability Engineer prior to deployment to production on the production pipeline
  2. Deployment can happen automatically on git changes on non-production pipelines
  3. You can choose which branch to deploy from a non-production pipelines only
  4. You can schedule your deployment based on a time and date for automatic deployment on production.
  5. A performance test is performed as part of the production pipeline

24. Which runmodes are available in AEM as a Cloud Service (choose three)

  1. publish.stage
  2. publish.dev
  3. any custom runmodes can be applied and configured
  4. author.production
  5. stage

25. What are the three headers required to be passed when making an API call into Cloud Manager to get more information about the execution (choose three)

  1. Authorization -contains the access token
  2. WWW-Authenticate -form of authentication before it can respond
  3. x-gw-ims-org-id -the Organization ID (contained in the ORGANIZATION_ID variable)
  4. x-cm-Auth-Assertion -An API client-provided JSON Web Token (JWT) assertion as an identifier.
  5. x-api-key -the API Key (contained in the API_KEY variable)

26. As a developer, where can you access the git credentials to Adobe Git so that you can deploy the code to Cloud Manager?

  1. You can request the Git credentials via a support ticket.
  2. This will be provided to you upon provisioning of the program.
  3. There is no Adobe Git and you will need to connect Cloud Manager to your own git repository.
  4. You can access and manage your Git Repository using Self-Service Git Account Management from Cloud Manager UI.

27. How many git repositories come provisioned with Adobe Cloud Manager that can be used to deploy code using Cloud Manager’s CI/CD pipelines?

  1. Three git repositories. One for each environment dev, stage and prod
  2. One shared across all environments in the program.
  3. None, you need to provide your own git repository
  4. Only two, one for development and the other for production

28. All requests to the Cloud Manager API must be authenticated using an access token retrieved using a JSON Web Token (JWT). What is the correct procedure for doing this?

  1. Contact Adobe support to retrieve your unique JSON Web Token (JWT) for authentication and using Cloud Manager API
  2. The Adobe IO CLI aio can generate a JSON Web Token (JWT) locally that authenticates you as the developer with the appropriate credentials.
  3. No configuration is necessary and Adobe IO Runtime and the Cloud Manager API work out of the box.
  4. Visit the console on Adobe IO to connect to the Cloud Manager API and generate a new service account JSON Web Token JWT and select the appropriate role based on the appropriate permissions to perform certain actions

29. When configuring OSGi configurations as part of the code deployment what is considered the correct naming convention when creating the configuration files in /apps/…/config/

  1. <PID>-<factory-name>.xml
  2. <PID>-<factory-name>.config
  3. <PID>-<factory-name>.cfg
  4. <PID>-<factory-name>.cfg.json

30. When is it recommended to refresh the local project with a new SDK?

  1. It is mandatory to refresh it after any daily maintenance release.
  2. It is recommended to refresh it at least after a monthly maintenance release.
  3. It is recommended to refresh it at least every week.
  4. It is not necessary to refresh the local project with a new SDK

31. The Cloud Readiness Analyzer (CRA) provides a HTTP interface to generate reports. This report can be generated in one of three formats. Select the three possible formats the CRA can generate.

  1. JSON
  2. XML
  3. Comma separated values (CSV)
  4. TSV (Tab Separated Values)
  5. TXT (text file)
  6. GraphQL

Resources

comments powered by Disqus