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?
C
None
A developer has a component foobar that consists of the files listed below:
script-a.js
script-b.js
foobar.html
What is the output when this component is rendered?
A
None
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?
B
None
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?
D
None
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.)
AB
None
How should a developer enable remote debugging of an AEM server without modifying the AEM
start script?
B
None
A custom AEM application is using the PageManager API.
What should a developer add to make the application compile and run correctly in AEM?
C
None
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
definition:
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
None
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
None
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?
A
None
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
None
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?
D
None
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(...).
C
None
For each CRX node in the hierarchy, which actions can be configured using the user admin interface?
A
None
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?
A
None