Want to pass your Adobe Experience Manager Developer AD0-E103 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
A developer is working on a complex project with multiple bundles. One bundle provides an OSGi service for other bundles.
Which two options are necessary to ensure that the other bundles can reference that OSGi service? (Choose two.)
A. The bundles consuming the service need to import the fully qualified name of the service interface.
B. The service needs to correctly declare metatype information.
C. The bundle providing the service needs to contain a whitelist of allowed consumer bundles.
D. The bundle providing the service needs to contain an adequate SCR descriptor file.
E. The bundle providing the service needs to export the java package of the service interface.
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?
A. Set up a cron job with curl calls with the admin user and use request.getResourse ().getResourceResolver().
B. Create a configuration line in PID com.day.cq.security.ACLSetup for the user that you obtain a session for via ResourceResolverFactory.getResourceResolver(...).
C. 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.
D. 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(...).
A developer is working on the following Sling Model that is being used in a component.

The model must check if the configured value of the jcr:title property for the component matches the name of the current page. If the jcr:title property of the component has NOT been configured, then isMatchingTitle() must return false.
How should the developer inject the title property in this model?

A. Option A
B. Option B
C. Option C
D. Option D