AD0-E103 Exam QuestionsBrowse all questions from this exam

AD0-E103 Exam - Question 25


An application runs specific license checks against certain DAM assets every day. It should send an email to a configured list if it finds warnings, and mark the asset accordingly. A service component that uses the Apache Sling Scheduler Service is created. DAM assets that must NOT be used anymore are hidden using

ACLs and the license check must re-check them.

How should a developer obtain a resource resolver that can read and update the DAM assets?

Show Answer
Correct Answer: C,D

To obtain a resource resolver that can read and update DAM assets, a developer should use the Sling Service User Mapper Service to map a service user to their service. In this case, they would create a configuration for the PID to reference a pre-created service user with read/write permissions, and then use the ResourceResolverFactory.getServiceResourceResolver method. This ensures that the service user will have the necessary access rights and follows the best practices for security.

Discussion

3 comments
Sign in to comment
niiraleyOption: D
Jun 24, 2020

Correct Answer-D Reference - https://docs.adobe.com/content/help/en/experience-manager-65/administering/security/security-service-users.html

griosOption: D
Jul 10, 2020

We need to use the Sling Amend to make sure that the service user will have the necessary permissions when the service is running. So D is the correct answer.

chunpinOption: D
Jan 9, 2021

Answer: D Reference: https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/security-service-users.html?lang=en#overview