Big Halloween Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70special

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

Page: 1 / 5
Total 50 questions

Adobe Experience Manager Sites Developer Expert Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$37.5  $124.99

PDF Study Guide

  • Product Type: PDF Study Guide
$33  $109.99
Question 1

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"

Question 2

An AEM engineer is asked to write a single file for the following items:

    Register a custom JCR Namespace

    Create a folder named Tutorials within the DAM assets

    Create a service user with predefined access control rules and permissions

    Create the administrator's group and add the service user as a member

Which feature should the engineer use?

Options:

A.

Ensure Authorizable

B.

Repoinit

C.

OnDeploy Scripts

Question 3

A developer is tasked with displaying the results from an external API call using Server Side Rendering in Adobe Experience Manager.

Which actions would the developer take to complete this task?

Options:

A.

Create an OSGi Component foo with an HTTP Client. Create a Sling Model that references foo. Create an AEM Component flarp that displays the data from the Sling Model.

B.

Create an OSGi Component foo with a service declaration of Servlet. Create a Sling Model that references foo. Create an AEM Component flarp that utilizes JavaScript Use API to display data from the Sling Model.

C.

Create an AEM Component foo with an HTTP Client. Create a Sling Model that references foo. Create an OSGi Component flarp that displays the data from the Sling Model.

Question 4

A website hosted on AEM as a Cloud Service features site page content search as part of their user experience. The search internally uses JCR Queries for content search based on tags. The content has been indexed adequately.

Which approach is recommended to make the index available across all the environments?

Options:

A.

Customize out-of-the-box index and deploy with Maven configurations and CI/CD Pipelines

B.

Create Index Package from Package Manager and replicate over other environments

C.

Create fully custom index and deploy with Maven configurations and CI/CD Pipelines

Question 5

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 6

What is the role of the "Retry Delay" setting in an AEM replication agent's configuration?

Options:

A.

It defines how often replication failures will be retried.

B.

It controls the delay between each replication trigger.

C.

It specifies how long to wait before marking a replication job as failed.

D.

It manages the interval at which the replication queue is processed.

Question 7

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 8

A developer has created a new Sling Model called Flarp. The developer wants to create a unit test for this Sling Model.

The current unit test looks like this:

@ExtendWith(AemContextExtension.class)

class FlarpImplTest {

private final AemContext ctx = new AemContext();

@BeforeEach

public void setUp() throws Exception {

ctx.addModelsForClasses(FlarpImpl.class);

}

@Test

public void testGetName() {

final String expected = "<>";

ctx.currentResource("/content/bar");

Flarp bar = ctx.request().adaptTo(Flarp.class);

String actual = bar.getName();

assertEquals(expected, actual);

}

}

What needs to be changed for the unit test to successfully test the getName() method of the Flarp Sling Model?

Options:

A.

Replace AemContext with SlingContext with ResourceResolverType of JCR_OAK.

B.

Add an @Rule annotation before the line private final AemContext ctx = new AemContext();

C.

Add a ctx.load().json() method call to get the node data.

Question 9

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 10

A customer added a custom property foo:bar to all assets. Once the property is added, the customer needs to run the following query:

select * from [dam:Asset] where isdescendantnode('/content') and [foo:bar] ="Hello"

How would the customer update the indexes to make sure the query is not a traversal query?

Options:

A.

Add foo:bar as a child node of oak:index/damAssetLucene/indexRules/dam:Asset/properties.

B.

Add foo:bar as a child node of oak:index/lucene/indexRules/dam:Asset/properties.

C.

Add "Hello" as a child node of oak:index/ntBaseLucene/indexRules/dam:Asset/properties.

Question 11

A developer created a component with the following fields:

What is the correct HTL code and resultant valid URL path generated?

Options:

A.

HTL code:

{properties.label}

Page Path:

/content/testsite/en/page1.html/product/test1

B.

HTL code:

{properties.label}

Page Path:

/content/testsite/en/page1/product/test1.html

C.

HTL code:

{properties.label}

Page Path:

/product/test1.html/content/testsite/en/page1

Question 12

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 13

An Adobe Experience Manager architect is asked to configure run mode for their UAT environment.

Which configuration will work for the environment?

Options:

A.

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

B.

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

C.

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

Question 14

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 15

A developer is creating a new component to be included in an SPA. They created a Sling Model and React component but are experiencing issues getting them to work together.

Which change is needed to make sure these two components work together?

Options:

A.

Extend the AEM Component component with the MapTo component.

B.

In the AEM Component, implement a MapTo method that references the Sling Model.

C.

In the React component, implement a MapTo method that references the AEM component.

Page: 1 / 5
Total 50 questions