Adobe Experience Manager Sites Developer AD0-E134 Exam Questions

Page: 1 / 14
Total 50 questions
Question 1

AMS recommends a learn to upgrade AEM servers with In-place Upgrade because the existing version has reached EOL

What are two disadvantages of performing an In-place Upgrade to the latest version of AEM? (Select two.)



Answer : B, E

When performing an in-place upgrade to the latest version of AEM, there are several potential disadvantages to consider:

Long and Arduous Process:

The complexity and duration of the upgrade process can be significant, especially if there is a considerable version difference between the old and new AEM instances. This is because the upgrade process must account for all the changes and improvements made over multiple versions, including content structures, APIs, and underlying technologies.


Complex Developer Setup and Automation:

Upgrading AEM involves setting up and configuring the environment, updating custom code, and ensuring that all integrations work seamlessly. Automating these tasks can be complex and time-consuming, requiring significant developer effort to script and validate the upgrade process.

These disadvantages highlight the potential challenges and resource investments needed for an in-place upgrade.

Question 2

Which two unit testing dependencies are generated by AEM archetype? (Select two.)



Answer : A, D

JUnit and Mockito are two unit testing dependencies that are generated by AEM archetype. JUnit is a framework for writing and running unit tests in Java. Mockito is a framework for creating and using mock objects in unit tests. AEM archetype also adds Apache Sling Mocks and AEM Mocks Test Framework by io.wcm as dependencies for unit testing. Reference: https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/project-archetype/unit-testing.html?lang=en https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/archetype/using.html?lang=en


Question 3

An AEM application requires LDAP Service integration to synchronize users/groups. Which two OSGi configuration are required for LDAP integration in AEM? (Select Two.)



Answer : D, E

The Apache Jackrabbit Oak External Login Module and Apache Jackrabbit Oak Default Sync Handler are the two OSGi configurations that are required for LDAP integration in AEM. The External Login Module defines how AEM connects to the LDAP server and authenticates users against it. The Default Sync Handler defines how AEM synchronizes users and groups from the LDAP server to the repository. Reference: https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/ldap-config.html?lang=en#ldap-integration


Question 4

Which AEM dependency provides APIs for all AEM environments?

A)

B)

C)

D)



Answer : C

Option C is the AEM dependency that provides APIs for all AEM environments. Option C uses the uber-jar dependency with the provided scope and the classifier set to apis. The uber-jar dependency contains all the public Java APIs that are available in AEM. The provided scope indicates that the dependency is not required for runtime, as it is already provided by the AEM platform. The apis classifier indicates that only the API classes are included in the dependency, not the implementation classes. Reference: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/developing/aem-project-content-package-structure.html?lang=en#project-dependencies https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/htl/eclipse-setup.html


Question 5

An AEM application wants to set up multi-tenancy using Adobe-recommended best practices and bind multiple configurations to it. Which of the following options is recommended?



Answer : D

The @Component(service = ConfigurationFactory.class) @Designate(ocd = ConfigurationFactorylmpl.Config.class,factory=true) option is recommended for creating a multi-tenancy configuration and binding multiple configurations to it. This option uses the OSGi R6 annotations to define a component that provides a service of type ConfigurationFactory and designates a class that contains the configuration properties. The factory=true attribute indicates that multiple configurations can be created for this component. Reference: https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/osgi-configuration-settings.html?lang=en#creating-factory-configurations


Question 6

With AEM as a Cloud Service, which format should be used for the OSGI configuration files?



Answer : C

For AEM as a Cloud Service, the correct format to use for OSGi configuration files is .cfg.json. This format is specifically designed for use in AEM as a Cloud Service and supports both structured and unstructured data, making it versatile for various configuration needs.

Steps to create and deploy OSGi configurations in .cfg.json format:

Create Configuration File: Create a .cfg.json file in your codebase, typically under the apps directory, for example:

/apps/myproject/config/org.apache.sling.commons.log.LogManager.cfg.json

Define Configuration: Add your configuration properties in JSON format:

{

'org.apache.sling.commons.log.level': 'debug',

'org.apache.sling.commons.log.file': 'logs/error.log'

}

Deploy to AEM: Deploy the configuration along with your code package to AEM as a Cloud Service. The configuration will be applied automatically.


AEM as a Cloud Service - OSGi Configuration

Question 7

What is the correct order of resolution of OSGi configuration at Runtime?



Answer : B

The order of resolution for OSGi configurations at runtime in AEM is as follows:

Web Console Configuration:

Changes made through the OSGi Web Console take immediate effect and have the highest precedence. This is because these configurations are considered the most direct way to adjust OSGi settings at runtime.


/apps Configuration:

Configurations in the /apps directory take precedence over those in the /libs directory. This allows custom configurations to override the default configurations provided by AEM.

/libs Configuration:

Configurations in the /libs directory are the default configurations provided by AEM. They are overridden by any configurations in the /apps directory.

By understanding this order, developers can effectively manage and prioritize their OSGi configurations to ensure the desired behavior of their AEM instances.

Page:    1 / 14   
Total 50 questions