Adobe Experience Manager Sites Developer Expert AD0-E137 Exam Questions

Page: 1 / 14
Total 50 questions
Question 1

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?



Answer : A


Question 2

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?



Answer : C


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?



Answer : C


Question 4

Which tool is commonly used to manage front-end dependencies and automate tasks like bundling, minification, and transpilation in an AEM project?



Answer : A


Question 5

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

public interface SimpleService {

String getMessage();

}

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!";

}

}



Answer : D


Question 6

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

Which configuration will accomplish this task?



Answer : B


Question 7

Which action is typically performed by a replication agent in AEM?



Answer : A


Page:    1 / 14   
Total 50 questions