Weekend Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dumps65

Adobe AD0-E137 Dumps

Page: 1 / 5
Total 50 questions

Adobe Experience Manager Sites Developer Expert Questions and Answers

Question 1

A developer is creating a set of SPA components, half of which do not require a custom component exporter. The developer needs to override the default exporter for the remaining components.

How can the developer meet this goal?

Options:

A.

Implement ImplementationPicker service

B.

Implement ComponentExporter service

C.

Implement FallbackComponentImpl service

Question 2

An Adobe Experience Manager team is using an additional DEV environment in Adobe Experience Manager as a Cloud Service as their UAT environment. An AEM architect is asked to configure a dedicated URL endpoint to be used as a preview service for the same environment.

Which configuration will accomplish this task?

Options:

A.

/apps//osgiconfig/author.uat/.cfg.json in ui.apps.structure project

B.

/apps//osgiconfig/config.publish.uat/.cfg.json in ui.config project

C.

/apps//osgiconfig/config.uat.author/.cfg.json in ui.config project

Question 3

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 4

A developer needs to use the mode in Template Editor which allows template authors to define grid settings for different devices.

Which mode should the developer use?

Options:

A.

Layout

B.

Structure

C.

Page Policy

Question 5

How would a developer create a new Adobe Experience Manager project version 2.0 for 6.5 using the Adobe Experience Manager Maven Archetype with package com.mysite?

Options:

A.

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \

-D archetypeGroupld=com.mysite \

-D archetypeArtifactld=aem-project-archetype \

-D archetypeVersion=6.5 \

-D appTitle="My Site" \

-D appld="com.adobe.aem" \

-D version="latest" \

-D aemVersion="2.0"

B.

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \

-D archetypeGroupld=com.adobe.aem \

-D archetypeArtifactld=aem-project-archetype \

-D archetypeVersion=50 \

-D appTitle="My Site" \

-D appld="mysite" \

-D groupld="com.mysite" \

-D version="2.0" \

-D aemVersion="6.5"

C.

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \

-D archetypeGroupld=com.adobe.aem \

-D archetypeArtifactld=aem-project-archetype \

-D archetypeVersion=${jabebrrl_nmqjiwqo} \

-D appTitle="My Site" \

-D appld="siteld" \

-D groupld="com.mysite" \

-D version="2.0" \

-D aemVersion="latest"

Question 6

A developer created an editable template named home-template in the AEM application wknd.

What is the internal structure created for this template in the CRX repository?

Options:

A.

/conf

wknd [sling:Folder]

settings [sling:Folder]

wcm [cq:Page]

templates [cq:Template]

home-template [cq:Page]

B.

/conf

wknd [sling:Folder]

settings [sling:Folder]

wcm [cq:Page]

templates [cq:Page]

home-template [cq:Template]

/apps

C.

wknd [sling:Folder]

settings [sling:Folder]

wcm [cq:Page]

templates [cq:Page]

home-template [cq:Template]

/apps

D.

/apps

wknd [sling:Folder]

settings [sling:Folder]

wcm [cq:Page]

templates [cq:Page]

home-template [cq:Template]

Question 7

A developer is debugging an issue where a Sling Model is not properly adapting to the resource. Upon investigation, the developer notices the following Sling Model code:

@Model(adaptables = Resource.class)

public class MyCustomModel {

}

What is causing the issue?

Options:

A.

The adaptable type in the @Model annotation is incorrect.

B.

The title field is not properly annotated with @Inject.

C.

The resource path in the init() method is hard-coded and may not be adaptable.

D.

The @PostConstruct method is not properly annotated.

Question 8

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 9

A developer is writing a unit test for a service that depends on a query of nodes inside the JCR.

What is the correct approach to unit testing the service?

Options:

A.

Use an @Mock annotation on the Query object with when and then methods.

B.

Add the currentResource method call to include the nodes to be queried.

C.

Use SlingContext with ResourceResolverType of JCR_OAK.

Question 10

A developer is creating a dialog for a component, which has a checkbox field. After saving the component configuration, the developer noticed that the checkbox value is stored as a String type in JCR.

What should be done to store the checkbox value as a Boolean type in JCR?

Options:

A.

Implement JCR Event Listener to change field type afterwards

B.

Add TypeHint field to the dialog

C.

Use Switch instead of Checkbox

Question 11

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 12

A client wants to ensure that only specific components are available to content authors when using an editable template in AEM. Additionally, they require that certain fields within a content fragment model adhere to strict validation rules for data integrity.

Which two steps would the developer take to meet both requirements? (Choose two.)

Options:

A.

Use editable templates to directly configure field validation rules.

B.

Configure field validation within the content fragment model.

C.

Create and assign a new workflow to enforce component usage.

D.

Enable dynamic templates for flexible content creation.

E.

Define policies in the editable template to control allowed components.

Question 13

A customer is required to fetch only jcr:title property for pages created using the homepage template.

How would the developer write the query using QueryBuilder API?

Options:

A.

type=cq:Page

path=/content

property=jcr:content/cq:template

property.value=/conf/geometrixx/templates/homepage

B.

hits=selective

C.

properties=jcr:title

D.

type=cq:Page

path=/content

property=jcr:title/cq:template

property.value=/var/eventing/geometrixx/templates/homepage

E.

value=full

F.

properties=cq:title

G.

type=cq:Page

path=/content

property=cq:template

property.value=/var/eventing/geometrixx/templates/homepage

Question 14

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 15

A developer needs to configure two style options (style-a and style-b) for a text component so authors can choose between different pre-defined styles for their content. What is the correct way to define the cq:editConfig node?

Options:

A.

/ cq:editConfig

/cq:style

- jcr:primaryType: "nt:unstructured"

- cq:styleClasses: ["style-a", "style-b"]

- cq:styleLabel: "Text Styles"

B.

/ cq:editConfig

/cq:style

- jcr:primaryType: "nt:unstructured"

- cssClasses: ["style-a", "style-b"]

- styleLabel: "Text Styles"

C.

/ cq:editConfig

/cq:style

- jcr:primaryType: "nt:unstructured"

- cssClasses: ["style-a", "style-b"]

- styleLabel: "Text Styles"

D.

/ cq:editConfig

/cq:style

- jcr:primaryType: "nt:unstructured"

- cssStyles: ["style-a", "style-b"]

- cssLabel: "Text Styles"

Page: 1 / 5
Total 50 questions