live chatMcAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Pass4Test 10%OFF Discount Code

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

QUESTION NO: 1
What is the default file to store the dispatcher cache configuration?
Correct Answer: C
QUESTION NO: 2
A customer needs to create a user and due to security reasons, that user can only have access to /content/foo and none of the child nodes.
How should the Adobe Experience Manager Developer implement permission restrictions on the /content/foo node to meet this requirement?
Correct Answer: C
QUESTION NO: 3
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?
Correct Answer: C
QUESTION NO: 4
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
}
}
Correct Answer: A
QUESTION NO: 5
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?
Correct Answer: C
QUESTION NO: 6
A customer has the requirement to use SAML authentication on AEM using their SAML 2.0 compatible IDP.
Example:
AEM: www.wknd.com/content/siteB/index.html
IDP: https://www.idpB.com
How should an AEM Developer configure their SAML Authentication Handler?
Correct Answer: B