Adobe Experience Manager Sites Developer Professional AD0-E123 Exam Questions

Page: 1 / 14
Total 50 questions
Question 1

An author wants to define a blueprint configuration to identify an existing website that will be used as the source for one or more live copy pages.

Which two structure rules must the content author follow? (Choose two.)



Answer : B, D

When defining a blueprint configuration in AEM, the content author must adhere to certain structure rules to ensure the proper functioning of the live copy mechanism. The rules include:

B) The immediate child pages of the root are language branches of the website - This structure is commonly used in AEM to organize content according to language and regional variations, allowing for more manageable and scalable content management across different locales.

D) The website should have a single page as the root - Having a single root page for a website is a standard practice in AEM as it simplifies the content hierarchy and provides a clear entry point for the site structure. This root page then serves as the source for live copies.

Options A and C are not strict requirements for a blueprint configuration. AEM does not mandate that the root of each language branch has at least two child pages or that each language page must have a country child page. These decisions are usually based on the specific content structure and organizational needs of the website.


Question 2

How would a developer define global project properties in Maven project structure?



Answer : C

Global project properties in a Maven project are typically defined in the section of the parent pom.xml file. This allows these properties to be shared across all modules of the project, ensuring consistency and easy maintenance of project-wide settings such as versions of dependencies, plugin configurations, and other properties that are common across multiple modules of the project.


Question 3

A content author will be using live copies on AEM.

Which two factors must the content author now consider? (Choose two.)



Answer : A, D

In Adobe Experience Manager (AEM), when dealing with live copies, a content author must be aware of various factors related to the synchronization of content between the source (blueprint) and the live copies. Option A is correct because when inheritance is re-enabled on a live copy page, synchronization with the blueprint page occurs, which may include automatic updates to the live copy page's content. Option D is also correct because local changes made to a component marked as a container are protected during rollouts, meaning that these local changes will not be overwritten by content from the blueprint. The container concept in AEM allows for more granular control over which parts of the page are updated during synchronization.

For Option B, the term 'paragraph system' seems incorrect. It should likely refer to 'paragraph systems' as in the ParSys (Paragraph System), a component that allows authors to add components to a page. There is no automatic restoration of the order of components from the blueprint upon re-enabling canceled inheritance; instead, components are managed according to the rules set in the rollout configurations.

Option C is incorrect because the cancel and suspend actions can be applied to individual child components within a container. When inheritance is canceled for a container, the inheritance status of child components within that container can be controlled individually.


Question 4

A developer needs to use the AEM Core Components. What is the recommended way to complete this task?



Answer : C

The recommended approach to use AEM Core Components is by creating proxy components. Proxy components are essentially wrapper components within your own project that reference the core components. This practice allows developers to inherit functionality from the core components while being able to override and extend it as necessary. By using proxy components, developers can ensure that any custom styles and configurations are preserved even when the core components are updated in the future.


Question 5

Which plugin cleans the container project's target folder before Maven build?



Answer : C

In Maven, the maven-clean-plugin is used to clean the project by removing files generated at build-time in the target directory. Before a new build, cleaning the project is a common practice to ensure that no stale artifacts affect the new build. The plugin's goal clean is bound to the clean phase of the build lifecycle and can be executed with the command mvn clean.

Option A, mvn-clean-plugin, is incorrectly named; the correct name is maven-clean-plugin.

Option B, maven-scr-plugin, is related to Service Component Runtime and not to cleaning build artifacts.


Question 6

A developer wants to render Hello World' only in edit mode. Which approach would be used?



Answer : B

In AEM, the Sightly/HTL scripting language is used to develop robust and secure components. To render content conditionally based on the WCM (Web Content Management) mode, the wcmmode object is used. The correct property to check if the current mode is edit is wcmmode.edit. The HTL syntax for testing a condition is data-sly-test followed by the condition in ${}. The option B correctly uses this syntax to test if the WCM mode is edit, and if so, renders 'Hello World'.

Option A uses wcm.edit which is not the correct object property.

Option C uses wcmmode editor which is not the correct property and the syntax has a typo (should be data-sly-test).


Question 7

A developer wants to overwrite an OSGi configuration via the codebase.

Which one of the Maven modules is the place to create this configuration on the codebase?



Answer : B

In AEM, OSGi configurations are typically managed within the ui.apps Maven module. This module is responsible for the application code that comprises the components, templates, and OSGi configurations among other things. By placing OSGi configurations within the ui.apps module, a developer can ensure that these configurations are deployed to the JCR repository and become part of the application package.


Page:    1 / 14   
Total 50 questions