Adobe ad0-e137 practice test

Exam Title: Adobe Experience Manager Sites Developer Expert

Last update: Nov 27 ,2025
Question 1

A developer created an editable template named home-template in AEM application 'wknd'.
What is the internal structure created for this template in the CRX repository?
A.

B.

C.

D.

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Answer:

B

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 2

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

  • A. Transferring content and digital assets from the author instance to the publish instance.
  • B. Synchronizing user permissions between the author and publish instances.
  • C. Transferring Core components for use in AEM Sites.
Answer:

A

vote your answer:
A
B
C
A 0 B 0 C 0
Comments
Question 3

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?
A.

B.

C.

D.

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Answer:

A

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 4

None

  • 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.
Answer:

C

vote your answer:
A
B
C
A 0 B 0 C 0
Comments
Question 5

A developer is adding a reference script to a third-party analytics tool. The script needs to be editable
since it is being modified on a schedule outside of the team's development cycle.
How should the developer complete this task?

  • A. Add a new component with the script in the HTL.
  • B. Add the script to the page policy on the template.
  • C. Add a Generic Analytics Snippet.
Answer:

C

vote your answer:
A
B
C
A 0 B 0 C 0
Comments
Question 6

The customer has a requirement to fetch images from a custom folder (folder1) which were modified
on/after 1 January 2024.
How would the Adobe Experience Manager Developer write the query to get the requested data?

  • A. select [jcr:path] from [nt:base] where isdescendantnode('/content/dam/folder1') AND [jcr:content/cq:lastModified] >= CAST("2024-01-01T00:00:00.000Z")
  • B. select [jcr:path] from [dam:Asset] where isdescendantnode('/content/dam/folder1') AND [jcr:content/cq:lastModified] >= CAST("2024-01-01T00:00:00.000Z")
  • C. select [jcr:path] from [cq:image] where isdescendantnode('/content/dam/folder1') AND jcr:content.[cq:lastModified] >= CAST("2024-01-01T00:00:00.000Z")
Answer:

B

vote your answer:
A
B
C
A 0 B 0 C 0
Comments
Question 7

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?
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
}
}

  • A. Option A
  • B. Option B
  • C. Option C
Answer:

A

vote your answer:
A
B
C
A 0 B 0 C 0
Comments
Question 8

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

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

  • 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.
Answer:

A

vote your answer:
A
B
C
A 0 B 0 C 0
Comments
Question 9

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

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Answer:

D

vote your answer:
A
B
C
D
A 0 B 0 C 0 D 0
Comments
Question 10

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?

  • A. Implement ImplementationPicker service
  • B. Implement ComponentExporter service
  • C. Implement FallbackComponentImpl service
Answer:

B

vote your answer:
A
B
C
A 0 B 0 C 0
Comments
Page 1 out of 4
Viewing questions 1-10 out of 50
Go To
page 2