Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

AD0-E137 Exam Dumps - Adobe Experience Manager Sites Developer Expert

Go to page:
Question # 4

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?

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

Full Access
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.

Full Access
Question # 6

A developer is managing a common mistake that can lead to performance degradation in AEM development.

Which mistake would cause this type of problem?

A.

Implementing recursive function calls without considering potential stack overflow errors

B.

Using static variables extensively to store application state across multiple requests

C.

Failing to implement proper indexing strategies for large data sets queried from the repository

D.

Overusing synchronized blocks to manage concurrent access to shared resources

Full Access
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

}

}

Full Access
Question # 8

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" AS DATE)

B.

select [jcr:path] from [dam:Asset]

where isdescendantnode('/content/dam/folder1')

AND [jcr:content/metadata/cq:lastModified] >= CAST("2024-01-01T00:00:00.000Z" AS DATE)

C.

select [jcr:path] from [cq:image]

where isdescendantnode('/content/dam/folder1')

AND jcr:content.[cq:lastModified] >= CAST("2024-01-01T00:00:00.000Z" AS DATE)

Full Access
Go to page: