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?
Answer : B
What is the default file to store the dispatcher cache configuration?
Answer : B
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
}
}
Answer : A
A customer created a workflow launcher to trigger the "Custom Workflow" based on "Node Created" under the folder /var/classes but the workflow is not triggered.
What is the reason the workflow is not triggered?
Answer : C
While configuring SSO with SAML 2.0 compatible IDP on AEM, a developer notices an infinite loop between the IDP and AEM when trying to log in to AEM using SSO.
Which dispatcher-specific configuration is required to prevent this scenario?
Answer : A
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?
Answer : B
Which action is typically performed by a replication agent in AEM?
Answer : A