A service component periodically retrieves content from an external REST interface and saves the
information in JCR. The REST endpoint is configured via an OSGi service property. There is one URL
for production (runmode prod) and another URL for all other environments.
How should a developer configure the OSGi service?
A developer has a component foobar that consists of the files listed below:
What is the output when this component is rendered?
Too many pages are invalidated in the dispatcher cache when a page is published.
What is most likely causing this issue in the dispatcher configuration?
A developer creates an AEM editable template that includes a Layout Container. When the developer
creates a page using this template, the Layout Container placeholder does NOT appear.
What is causing this issue?
A developer developed a workflow that makes a copy of every node created or modified under a
certain path to a different one. The workflow launches but the nodes are not copied over.
Which two methods should the developer use to resolve this issue? (Choose two.)
How should a developer enable remote debugging of an AEM server without modifying the AEM
A custom AEM application is using the PageManager API.
What should a developer add to make the application compile and run correctly in AEM?
A developer is creating a new OSGi bundle com.custom.package.b to expose new services.
com.custom.package.a is already installed and active in the system and has the following package
The system console shows the following package availability:
Bundle com.custom.package.b to be installed has the following package definition:
What will happen when the developer uploads the bundle com.custom.package.b into the system?
A developer is creating templates and/or components using CRXDE Lite. The developer needs to
check the files into source control.
Which tool should the developer use to achieve this goal?
A developer needs to create a component with the following requirements:
* The component must be configurable
* The component should be editable, NOT removable
* An author should be unable to add the component to a page through design mode
Which mode structure should the developer use to meet these requirements?
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?
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?
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?
Set up a
cron job with
calls with the
admin user and
B. Create a configuration line in PID com.day.cq.security.ACLSetup for the user that you obtain a
session for via ResourceResolverFactory.getResourceResolver(...).
org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl as user.default and make sure
the service user exists and has jcr:read and jcr:write permissions.
For each CRX node in the hierarchy, which actions can be configured using the user admin interface?
A developer needs to create a new component called Component A. Component A must show a list
of other components that all have a resource type of existing Component B. Component A must
render this list of tiles for each Component B where the tile rendering is different from the default
one. The list of rendered tiles must be reusable by future new components.
How should the developer implement this functionality?