Free AD0-E103 Exam Braindumps (page: 7)

Page 7 of 24

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?

  1. Set up a cron job with curl calls with the admin user and use request.getResourse ().getResourceResolver().
  2. Create a configuration line in PID com.day.cq.security.ACLSetup for the user that you obtain a session for via ResourceResolverFactory.getResourceResolver(...).
  3. Configure the user admin in PID org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl as user.default and make sure the service user exists and has jcr:read and jcr:write permissions.
  4. Create a configuration for PID org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended- damaccess that references a pre-created service user with r/w permissions and use ResourceResolverFactory.getServiceResourceResolver(...).

Answer(s): C



A developer determines that the dispatcher is NOT refreshing the cached page /content/sampleproject/ sample.html after it is updated.
The dispatcher.any contains the following entries:


Refer to the $DOCROOT directory below:


The dispatcher needs to cache the page and refresh it after it gets updated. What action should the developer take to meet these requirements?

  1. Remove /statfile or /statfileslevel.
  2. Delete the contents of the DOCROOT directory.
  3. Change the value of the entry /statfileslevel to “3”.
  4. Add the entry /0001 { /glob “-.html” /type “allow” } in the /invalidate section.

Answer(s): D



A developer is creating a custom method. This method must return a String property y from child x. the method must use only Sling APIs.

How should the developer retrieve property y of node x, and node x may or may NOT exist?





Answer(s): A



The custom AEM application needs to keep a flat list of all page paths underneath /content/thesite in memory for a real-time integration with high performance requirements.
The developer has the following intermediate state of the class:


What action should the developer take to meet these requirements?





Answer(s): C



Page 7 of 24



Post your Comments and Discuss Adobe AD0-E103 exam with other Community members:

Balamohan commented on May 09, 2020
There was about 14 less questions than advertised. I emailed their support and they sent me the latest version in an hour. So it is all good now.
INDIA
upvote