New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Adobe AD0-E137 Adobe Experience Manager Sites Developer Expert Exam Practice Test

Demo: 15 questions
Total 50 questions

Adobe Experience Manager Sites Developer Expert Questions and Answers

Question 1

What is the correct way to implement the OSGi service class for this interface?

public interface SimpleService {

String getMessage();

}

Options:

Options:

A.

@Component(service = SimpleService.class, immediate = true)

public class SimpleServiceImpl extends SimpleService {

@Override

public String getMessage() {

return "Hello from SimpleService!";

}

}

B.

@Component(service = MySimpleService.class, immediate = true)

public class SimpleServiceImpl implements SimpleService {

@Override

public String getMessage() {

}

}

C.

@Component(service = MySimpleService.class, immediate = true)

public class SimpleServiceImpl implements SimpleService {

@Override

public String getMessage() {

return "Hello from SimpleService!";

}

}

D.

@Component(service = SimpleService.class, immediate = true)

public class SimpleServiceImpl implements SimpleService {

@Override

public String getMessage() {

return "Hello from SimpleService!";

}

}

Question 2

A customer noticed slower Adobe Experience Manager performance in the last couple of days. The segment store size is almost double the size from the previous week. To reduce the segment store size and maintain overall Adobe Experience Manager health, which two Adobe Experience Manager maintenance tasks should be executed Weekly? (Choose two.)

Options:

A.

Datastore Garbage Collection

B.

Clientlib Dumps

C.

Version Purge

D.

Online Revision Cleanup

Question 3

Given the following error:

[ERROR] org.acme:mybundle:0.0.1-SNAPSHOT: Bundle org.acme:mybundle:0.0.1-SNAPSHOT is exporting package org.acme.foo without a version.

What are the appropriate troubleshooting steps for addressing this error?

Options:

A.

Check if all the dependency declarations made in the OSGi bundle are satisfied by the capabilities declarations in other bundles included in the Maven project.

B.

Check if the custom OSGi bundles don’t have the Export-Package declarations that override AEM as a Cloud Service’s bundle dependencies.

C.

Check if the OSGi bundles specify a version with an Export-Package declaration and a version range with an Import-Package declaration.

D.

Check if all the OSGi bundles have their Import-Package declarations satisfied by the Export-Package declaration of other included bundles in the Maven project.

Question 4

A customer needs to create a user and due to security reasons, that user can only have access to /content/foo and none of the child nodes.

How should the Adobe Experience Manager Developer implement permission restrictions on the /content/foo node to meet this requirement?

Options:

A.

rep:glob = ""

B.

rep:globs = "**"

C.

rep:glob = "child"

Question 5

A developer is required to create a package with these requirements:

    Package Name: aem-package

    Content Path: /content/aem-site

    Version: 1.0

    Group: aem_group

What is the correct zip package file created in Adobe Experience Manager package manager?

Options:

A.

aem-package-aem_group-1.0.zip

B.

aem_group-aem-site-aem-package.zip

C.

aem-package-1.0.zip

Question 6

A university wants to roll out content updates to all the schools affiliated with it. The individual schools have configured their respective homepages with a space allocated to display updated university information. The rest of the homepage is dedicated to school-specific information.

What is the recommended approach to roll out university updates on all the schools' homepages?

Options:

A.

Roll out of Experience Fragment

B.

Mark the "Partial" option on the roll out screen

C.

Restore inheritance for certain components on the school homepage

D.

Implement custom logic for page roll out action

Question 7

A developer needs to customize the handling of assets in a complex workflow model where different paths process assets based on their metadata and trigger specific external services.

Which approach is a best practice for implementing this solution?

Options:

A.

Use out-of-the-box Adobe Experience Manager Workflow steps and configure them through the Workflow console to handle all metadata for asset processing, using conditions in the Workflow.

B.

Write custom workflow process steps in Java to handle specific metadata conditions and integrate external services, using the Workflow API to manage dynamic branching logic.

C.

Implement a content fragment model to pre-define asset metadata, using Workflows only for publishing the fragments after external service calls are completed.

Question 8

A developer is asked to create an Adobe Experience Manager servlet MyServlet that listens for HTTP requests capable of handling the GET method. The servlet must be registered using Declarative Services (OSGi) and be bound to a specific resource type /my/resourcetype, allowing it to serve requests for a particular component.

What is the correct way to register a servlet?

Options:

A.

@SlingServletResourceTypes(resourceTypes ="/my/resourcetype", methods = {"get"})

public class MyServlet extends SlingSafeMethodServlet {

@Override

protected void doGET(SlingHttpServletRequest request, SlingHttpServletResponse response)

throws ServletException, IOException {

// Handle get request

}

}

B.

@SlingServletResourceTypes(resourceTypes="/my/resourcetype", methods = { "GET" })

public class MyServlet extends SlingAllMethodsServlet {

@Override

protected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response)

throws ServletException, IOException {

// Handle get request

}

}

C.

@SlingServletResourceTypes(resourceTypes ="/my/resourcetype", methods = { "get" })

public class MyServlet extends SlingSafeMethodServlet {

@Override

protected void doGet(HttpServletRequest request, HttpServletResponse response)

throws ServletException, IOException {

// Handle get request

}

}

Question 9

A developer decides to use a text pre-extraction for re/indexing Lucene indexes.

When is this recommended?

Options:

A.

When reindexing an existing Lucene index with binary extraction enabled

B.

When dealing with binary-heavy repositories with a small volume of files

C.

When the repository contains a large volume of images

Question 10

What is the default file to store the dispatcher cache configuration?

Options:

A.

/etc/httpd/conf.dispatcher.d/cache/_cache.xml

B.

/etc/httpd/conf.dispatcher.d/cache/_cache.any

C.

/etc/httpd/conf.dispatcher.d/cache/*_cache.config

D.

/etc/httpd/conf.dispatcher.d/cache/cache.conf

Question 11

A developer is working on an Adobe Experience Manager project that uses a multi-module Maven build. A new module was just added to the project. When the following build command is executed, the new module is not installed:

mvn clean install -PautoInstallSinglePackage

What should the developer verify to ensure the package is being included as part of the installation process?

Options:

A.

Verify the module is included in the Embed-Dependency section of the maven-bundle-plugin in the all module.

B.

Verify the module is included in the Embed-Dependency section of the maven-bundle-plugin in the ui.content module.

C.

Verify the module is included in the embeddeds section of the filevault-package-maven-plugin in the all module.

Question 12

A customer has the requirement to use SAML authentication on AEM using their SAML 2.0 compatible IDP.

Example:

    AEM: www.wknd.com/content/siteB/index.html

    IDP: https://www.idpB.com

How should an AEM Developer configure their SAML Authentication Handler?

Options:

A.

com.adobe.granite.auth.saml.SamlAuthenticationHandler.userIntermediatePath : /content/siteB

com.adobe.granite.auth.saml.SamlAuthenticationHandler.assertionConsumerServiceURL : https://www.idpB.com

B.

com.adobe.granite.auth.saml.SamlAuthenticationHandler.path : /content/siteB

com.adobe.granite.auth.saml.SamlAuthenticationHandler.idpUrl : https://www.idpB.com

C.

com.adobe.granite.auth.saml.SamlAuthenticationHandler.userIntermediatePath : /content/siteB

com.adobe.granite.auth.saml.SamlAuthenticationHandler.serviceProviderEntityId : https://www.idpB.com

Question 13

An Adobe Experience Manager project requires to deny all XML and JSON requests under the /path2 and /path3 context paths.

Which configuration will work?

Options:

A.

/0001 {/type "deny" extension '(XML|JSON)' /path '(/path2|JSON/*)'}

B.

/0001 {/type "deny" extension [XML|JSON]'/path[/path2|/path3/*]'}

C.

/0001 {/type "deny" extension "[XML|JSON]' /path'[/path2|/path3/*]"}

Question 14

A customer created a workflow launcher to trigger the "Custom Workflow" based on "Node Created" under the folder /var/classes, but the workflow is not triggered.

What is the reason the workflow is not triggered?

Options:

A.

"Workflow Process Legacy Mode" is disabled at the "Adobe Granite Workflow Configuration Service" OSGi configuration.

B.

AEM does not allow new nodes to be created under /var/classes.

C.

Changes under /var/classes do not trigger workflows.

Question 15

A developer is creating a new tenant called noot in an AEM Cloud Service instance. The team is using independent repositories for the different tenants. The team is also using git submodules tool.

What must the developer do to ensure the new noot tenant repository is deployed?

Options:

A.

Push the changes of the noot repository to the Adobe git repository.

B.

Add a reference to noot as a submodule of the main project in the team’s git management tool.

C.

Add a reference to the main project in the noot module in the Adobe git repository.

D.

Manually copy the tenant code into the core repository.

Demo: 15 questions
Total 50 questions