0% found this document useful (0 votes)
32 views64 pages

Adobe AD0-E103

The document contains a series of questions and answers related to the Adobe Experience Manager Developer certification exam (AD0-E103). It covers various topics including component creation, OSGi services, logging, and workflow management. Each question is followed by the correct answer and sometimes a reference for further reading.

Uploaded by

sadiq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views64 pages

Adobe AD0-E103

The document contains a series of questions and answers related to the Adobe Experience Manager Developer certification exam (AD0-E103). It covers various topics including component creation, OSGi services, logging, and workflow management. Each question is followed by the correct answer and sometimes a reference for further reading.

Uploaded by

sadiq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 64

Adobe AD0-E103

Adobe Experience Manager Developer


Version: 1.0
Adobe AD0-E103 Exam
QUESTION NO: 1

A developer needs to create a banner component. This component shows an image across the full
width of the page. A title is shown on top of the image. This text can be aligned to the left, middle,
or right. The core components feature a teaser component which matches almost all
requirements, but not all.

What is the most maintainable way for the developer to implement these requirements?

A.
Use and configure the teaser core component.

B.
Create a new custom component from scratch.

C.
Overlay the teaser core component.

D.
Inherit from the teaser core component.

Answer: A
Reference: https://helpx.adobe.com/es/experience-manager/kt/sites/using/getting-started-wknd-
tutorial-develop/part7.html

QUESTION NO: 2

A developer is creating a custom component that shows a list of pages. For each page, the
following items must be shown:

Title of the page

Description of the page

A button with fixed text “Read more” that must be translatable

All of the above fields must be wrapped in a <div> tag.

The logic for obtaining the list of pages must be reusable for future components.

Which snippet should the developer use to meet these requirements?

"Pass Any Exam. Any Time." - www.actualtests.com 2


Adobe AD0-E103 Exam
A.

B.

C.

D.

Answer: B
Explanation:

"Pass Any Exam. Any Time." - www.actualtests.com 3


Adobe AD0-E103 Exam
QUESTION NO: 3

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.

Answer: C,E
Explanation:

QUESTION NO: 4

The structure section of an editable template has a locked component.

What happens to the content of that component when a developer unlocks it?

A.
The content stays in the same place but it ignored on pages using the template.

B.
The content is moved to the initial section of the editable template.

C.
The content is deleted after confirmation from the template author.

D.
The content is copied to the initial section of the editable template.
"Pass Any Exam. Any Time." - www.actualtests.com 4
Adobe AD0-E103 Exam
Answer: B
Reference: https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/page-
templates-editable.html

QUESTION NO: 5

Which log file contains AEM application request and response entries?

A.
response.log

B.
request.log

C.
history.log

D.
audit.log

Answer: B
Reference: http://www.sgaemsolutions.com/2017/04/aem-logs-in-detail-part-1.html

QUESTION NO: 6

A developer identifies that some requests for the page /content/sampleproject/page.html take
longer that other requests for the same page. Refer to the $DOCROOT/content/sampleproject
directory below.

The dispatcher.log file contains the following lines:

"Pass Any Exam. Any Time." - www.actualtests.com 5


Adobe AD0-E103 Exam

How should the developer make sure that the page is always cached?

A.
Modify the dispatcher.any file to contain the following lines:

B.
Modify the dispatcher.any file to contain the following lines:

C.
Modify the dispatcher.any file to contain the following lines:

D.
Modify the dispatcher.any file to contain the following lines:

"Pass Any Exam. Any Time." - www.actualtests.com 6


Adobe AD0-E103 Exam

Answer: C
Explanation:

QUESTION NO: 7

A developer creates a Sling Servlet. The Sling Servlet is bound to a path (/service/sling/sample).
Refer to the resulting code below.

What should the developer do to make the servlet access controlled using the default ACLs?

A.
Use @SlingServletResourceTypes instead of @SlingServletPaths.

B.
Modify @SlingServletPaths(value = {“/bin/sling/sample” }).

C.
Add @SlingServletName(servletName = “AccessControlServlet”) annotation.

D.
Add @SlingServletPrefix(value = “/apps”) annotation.

Answer: A
Reference: https://sling.apache.org/documentation/the-sling-engine/servlets.html#caveats-when-
binding-servlets-by-path

"Pass Any Exam. Any Time." - www.actualtests.com 7


Adobe AD0-E103 Exam
QUESTION NO: 8

A developer wants to extend AEM Core Components to create a custom Carousel Component.

How should the developer extend the Core Components?

A.
Make changes to the original component and assign a component group.

B.
Use the sling:resourceSuperType property to point to the core component.

C.
Use the sling:resourceType property to point to the core component.

D.
Copy the Core Carousel component to /apps/<project> folder.

Answer: D
Explanation:

QUESTION NO: 9

A developer wants to change the log level for a custom API.

Which OSGi configuration should the developer modify?

A.
Apache Sling Logging Configuration

B.
Apache Sling Log Tracker Service

C.
Apache Sling Logging Writer Configuration

D.
Adobe Granite Log Analysis Service

Answer: A
Reference: https://docs.adobe.com/content/help/en/experience-manager-
64/deploying/configuring/osgi-configuration-settings.html
"Pass Any Exam. Any Time." - www.actualtests.com 8
Adobe AD0-E103 Exam

QUESTION NO: 10

Refer to the following four Client Library Folders.

A developer uses the following:

What is the resulting HTML?

"Pass Any Exam. Any Time." - www.actualtests.com 9


Adobe AD0-E103 Exam
A.

B.

C.

D.

Answer: A
Explanation:

QUESTION NO: 11

A developer is installing a content package with the package manager. The developer needs to
restrict the approximate number of nodes in a batch that is saved to persistent storage in one
transaction.

How should the developer modify the number of transient nodes to be triggered until automatic
saving?

A.
AEM instances automatically modify the number of transient nodes based on the load balancing.
"Pass Any Exam. Any Time." - www.actualtests.com 10
Adobe AD0-E103 Exam
B.
Modify the export package manifest header and copy the content package to AEM installation
folder.

C.
Select the option MergePreserve for the Access Control Handling drop-down in the Install
Package dialog-box.

D.
Change the value of Save Threshold in the Install Package dialog-box.

Answer: C
Explanation:

QUESTION NO: 12

A developer needs to implement a service component that should be manually configured by


operations to react on operational circumstances. The service component should NOT be active
by default. The service has the properties myservice.name (one string value) and
myservice.stringValues (a list of the string values) to be configured.

The developer needs to use OSGi Metatype annotations to make those properties configurable in
the Apache Felix Web Console.

Which set of steps should the developer take to meet these requirements?

A.
1. For the class fields myserviceName and myserviceStringValues, add a @AttributeDefinition
annotation each with names set to myservice.name and myservice.stringValues respectively.

2. Use the @Component annotation with configurationFactory = true on the service component
class.

3. Use the @Service service component class.

4. Use the activate method of the service component class to get the configuration annotation
interface class injected.

B.
1. Create an annotation interface as inner class of the service component and annotate it with
@ObjectClassDefinition.

2. Apply @AttributeDefinition for the methods myservice.name and myservice.stringValues.

3. Use the @Component annotation with configurationPolicy = ConfigurationPolicy.REQUIRE on


"Pass Any Exam. Any Time." - www.actualtests.com 11
Adobe AD0-E103 Exam
the service component.

4. Use the @Designate annotation to link the service component to the created configuration
annotation interface.

5. Use the activate method of the service component class to get the configuration annotation
interface class injected.

C.
1. Create an annotation interface as inner class of the service component and annotate it with
@ObjectClassDefinition.

2. Apply @AttributeDefinition for the methods myservice_name and myservice_stringValues.

3. Use the @Component annotation with configurationPolicy = ConfigurationPolicy.REQUIRE on


the service component.

4. Use the @Designate annotation to link the service component to the created configuration
annotation interface.

5. Use the activate method of the service component class to get the configuration annotation
interface class injected.

D.
1. For the class fields myserviceName and myserviceStringValues, add a @Property annotation
each with names set to myservice.name and myservice.stringValues respectively.

2. Use the @Component annotation with configurationFactory = true on the service component
class.

3. Use the @Service service component class.

4. The configuration is automatically injected into the field by the service component runtime.

Answer: C
Explanation:

QUESTION NO: 13

A developer creates Editable Templates based on a custom Page component. The developer
wants to leverage the Style System within the Editable Templates to allow authors to switch
between the Dark and Light Theme. The Style System dialog is NOT enabled for the site.

What should the developer do to resolve this issue?

"Pass Any Exam. Any Time." - www.actualtests.com 12


Adobe AD0-E103 Exam
A.
Define Style Definitions using Page Policy dialog on Editable Template.

B.
Create two new client libraries with a dark and light theme and map them to the Page component.

C.
Set the sling:resourceSuperType property to core/wcm/components/page/v2/page on the Page
component.

D.
Create a new dialog for the custom Page components.

Answer: B
Reference: https://medium.com/adobetech/using-aem-style-system-to-increase-reusability-of-
components-8177c5b65c9e

QUESTION NO: 14

A developer creates a custom component. The component dialog includes the following two fields:

The component should display the first ‘X’ characters of the text entered in the ‘text’ input where
‘X’ is the number entered in the ‘charLimit’ input. If zero, or no value, is entered in the ‘charLimit’
input then the text should be unaltered. The developer creates the following Sling Model to
perform the trancation:

"Pass Any Exam. Any Time." - www.actualtests.com 13


Adobe AD0-E103 Exam

A Null Pointer Exception occurs if NO charLimit values is set in the component dialog.

What should the developer do to resolve this issue?

A.
Replace the defaultValue=”0” attribute of the ‘charLimit’ field in the dialog with min=”0”.

B.
Add the @Default annotation to the ‘chatLimit’ variable in the Sling Model.

C.
Replace the defaultValue=”0” attribute of the charLimit field in the dialog with
defaultValue=”{Long}0”.

D.
Change the defaultInjectionStrategy of the Truncation Sling Model to
DefaultInjectionStrategy.REQUIRED.

Answer: D
Explanation:

QUESTION NO: 15

A custom AEM application contains Bundle A and Bundle B. Bundle A has a dependency to

"Pass Any Exam. Any Time." - www.actualtests.com 14


Adobe AD0-E103 Exam
Bundle B via Import-Package.

How can both bundles be deployed most efficiently across all environments?

A.
Use the Felix Web Console to upload the bundles in the correct order.

B.
Create one content package per bundle and use a package dependency to ensure installation
order.

C.
Embed both bundles in one content package and use property ‘installationOrder’ in package
properties for correct bundle installation order.

D.
Embed both bundles in one content package: the dependency via Import-Package is enough to
ensure correct installation.

Answer: D
Explanation:

QUESTION NO: 16

After adding new features, a developer’s environment is experiencing slowness before ultimately
running out of memory. The initial log analysis points towards a large number of open sessions.

Which action should the developer take to further monitor the overall session count on this AEM
instance?

A.
Run the following command to generate thread dumps jstack -l <pid> >> threaddumps.log,
analyze thread dumps to find long running sessions.

B.
Go to Web Console > Status > Threads, verify the overall thread count.

C.
Go to Tools > Operations > Monitoring. Create a new report based on Number of Active Sessions
as metric.

D.
Go to <aem-install>/crx-qiuckstart/logs/strderr/log, use the following command grep -o
"Pass Any Exam. Any Time." - www.actualtests.com 15
Adobe AD0-E103 Exam
‘CRXSessionImpl’ strderr.log| wc -l.

Answer: D
Explanation:

QUESTION NO: 17

An OSGi bundle Activator.java is registered through a service DevelopInfo.java

DeveloperInfo.java

Activator.java

Maven install generates an error during deployment. Refer to the error information below:

"Pass Any Exam. Any Time." - www.actualtests.com 16


Adobe AD0-E103 Exam

Which action should the developer take to resolve the build error?

A.
@Service annotation is missing in DeveloperInfo.java.

B.
Interface DeveloperInfo does NOT have any method.

C.
Activator class is NOT implementing DeveloperInfo interface.

D.
The required Maven repository for OSGi is missing.

Answer: C
Explanation:

QUESTION NO: 18

An online insurance company website has user-generated content that must be replicated in all
publish instances.

What action should the developer take to achieve this?

A.
Configure the dispatcher flush agent in publish instance.

B.
Configure reverse replication agents for the author.

C.
Configure the replication agent in the publish instances.

"Pass Any Exam. Any Time." - www.actualtests.com 17


Adobe AD0-E103 Exam
D.
Disable static agent in the author instance.

Answer: A
Reference: https://helpx.adobe.com/fi/experience-manager/6-
4/sites/deploying/using/replication.html

QUESTION NO: 19

A developer needs to analyze log messages for custom Java application. The developer writes the
following Java class:

The developer creates a custom log named custom.log with a debug level in OSGi web console
for Java package com.abc.xyz.

Where should the developer look in the OSGi web console to view the above message?

A.
OSGi -> Log Service and click logs/custom.log

B.
Sling-> Log Support and click logs/custom.log

C.
Sling -> Metrics and click logs/custom.log

D.
AEM -> Log Support and click logs/custom.log

"Pass Any Exam. Any Time." - www.actualtests.com 18


Adobe AD0-E103 Exam
Answer: B
Explanation:

QUESTION NO: 20

A developer must create a workflow step that assigns a ‘WorkItem’ to the appropriate person
based on who has the least amount work to do.

The group that must perform the action is configured into the workflow.

Which non-deprecated interface should the Java implementation class use to perform the
assignment?

A.
com.adobe.granite.workflow.exec.ParticipantStepChooser

B.
com.day.cq.workflow.exec.ParticipantChooser

C.
com.day.cq.workflow.exec.WorkItem

D.
com.adobe.granite.workflow.exec.WorkflowData

Answer: B
Reference: https://docs.adobe.com/content/help/en/experience-manager-64/developing/extending-
aem/extending-workflows/workflows-step-ref.html

QUESTION NO: 21

A developer needs to create an OSGi service to run on an Author instance and send out
newsletters at periodic intervals. Intervals should be customized using the Web Console
Configuration. Concurrent execution must be prevented.

Which code snippet should a developer use to achieve?

A.
"Pass Any Exam. Any Time." - www.actualtests.com 19
Adobe AD0-E103 Exam

B.

C.

D.

"Pass Any Exam. Any Time." - www.actualtests.com 20


Adobe AD0-E103 Exam

Answer: B
Explanation:

QUESTION NO: 22

From which AEM Web Console should a developer access and download full AEM Log Files?

A.
Web Console -> System Information

B.
Status -> Log files

C.
OSGI -> Sing Log Service

D.
AEM -> Log files

Answer: C
Reference: https://helpx.adobe.com/aem-forms/kb/getting-log-files-directly-from-aem.html

QUESTION NO: 23

"Pass Any Exam. Any Time." - www.actualtests.com 21


Adobe AD0-E103 Exam
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.
Create a script for tile rendering in Component B and use data-sly-resource attribute with a Sling
selector in Component A to render the tile.

B.
Component A overlays Component B and overwrites the base renderer to facilitate the tiles.

C.
Component A inherits from Component B and overwrites the base renderer to facilitate the tiles.

D.
Component A calls the HTL of Component B directly using a data-sly-include attribute.

Answer: A
Explanation:

QUESTION NO: 24

For each CRX node in the hierarchy, which actions can be configured using the user admin
interface?

A.
Read, Modify, Create, Delete, Read ACL, Edit ACL, Replicate

B.
Read, Write, Read ACL, Edit ACL, Replicate

C.
Read, Write, Delete, Edit ACL, Replicate

D.
Read, Modify, Create, Delete, Read ACL, Edit ACL

Answer: A
Reference: https://forums.adobe.com/thread/2323098

"Pass Any Exam. Any Time." - www.actualtests.com 22


Adobe AD0-E103 Exam

QUESTION NO: 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?

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(...).

Answer: C
Explanation:

QUESTION NO: 26

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:

"Pass Any Exam. Any Time." - www.actualtests.com 23


Adobe AD0-E103 Exam

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?

A.
Remove /statfile or /statfileslevel.

B.
Delete the contents of the DOCROOT directory.

C.
Change the value of the entry /statfileslevel to “3”.

D.
Add the entry /0001 { /glob “-.html” /type “allow” } in the /invalidate section.
"Pass Any Exam. Any Time." - www.actualtests.com 24
Adobe AD0-E103 Exam
Answer: D
Explanation:

QUESTION NO: 27

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?

A.

B.

C.

D.

"Pass Any Exam. Any Time." - www.actualtests.com 25


Adobe AD0-E103 Exam

Answer: A
Explanation:

QUESTION NO: 28

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.

"Pass Any Exam. Any Time." - www.actualtests.com 26


Adobe AD0-E103 Exam

B.

C.

D.

"Pass Any Exam. Any Time." - www.actualtests.com 27


Adobe AD0-E103 Exam

Answer: C
Explanation:

QUESTION NO: 29

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.

B.

"Pass Any Exam. Any Time." - www.actualtests.com 28


Adobe AD0-E103 Exam

C.

D.

Answer: C
Explanation:

QUESTION NO: 30

A developer is creating templates and/or components using CRXDE Lite. The developer needs to
check the files into source control.

"Pass Any Exam. Any Time." - www.actualtests.com 29


Adobe AD0-E103 Exam
Which tool should the developer use to achieve this goal?

A.
vlt command

B.
Content Explorer

C.
http://localhost:4502/crx/checkout

D.
mvn command

Answer: A
Reference: https://docs.adobe.com/content/help/en/experience-manager-
64/developing/devtools/ht-vlttool.html

QUESTION NO: 31

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?
"Pass Any Exam. Any Time." - www.actualtests.com 30
Adobe AD0-E103 Exam
A.
The bundle will install but fail the activation due to unsatisfied dependencies
com.sample.package.b and com.sample.package.c.

B.
The bundle will install but fail the activation due to unsatisfied dependency com.sample.package.c.

C.
The bundle will install and activate successfully.

D.
The bundle will install but fail the activation due to unsatisfied dependency com.sample.package.b.

Answer: A
Explanation:

QUESTION NO: 32

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.
a maven dependency to AEM uber-jar to the content package

B.
a maven dependency to bundle cq-wcm-core to the application bundle

C.
a maven dependency to AEM uber-jar to the application bundle

D.
a maven dependency to bundle cq-wcm-api to the content package

Answer: A
Reference: https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/ht-projects-
maven.html#ExperienceManagerAPIDependencies

QUESTION NO: 33

"Pass Any Exam. Any Time." - www.actualtests.com 31


Adobe AD0-E103 Exam
How should a developer enable remote debugging of an AEM server without modifying the AEM
start script?

A.
Enable the remote debugging service through the AEM Cloud Services menu.

B.
Rename the quickstart jar file to include the additional debug settings.

C.
Enable the remote debugging service through the AEM Web Console.

D.
Include an additional JVM parameter when starting AEM with java -jar.

Answer: B
Reference: http://aempodcast.com/2013/aem-resources/remote-debugging-aem-projects-using-
intellij-or-netbeans/#.XeKArVpR2kw

QUESTION NO: 34

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.)

A.
Go to Workflow Failures screen and check if any instances of the workflow are present.

B.
Go to Workflow instances screen and verify that the instance of the workflow is present and check
its status.

C.
Go to Package Manager screen and reinstall the bundle that contains the workflow so it restarts.

D.
Go to Workflow Models screen, then delete and recreate the workflow.

E.
Go to Workflow Launchers and create a new launcher for the workflow even if one already exists.

"Pass Any Exam. Any Time." - www.actualtests.com 32


Adobe AD0-E103 Exam
Answer: B,D
Explanation:

QUESTION NO: 35

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.
The Layout Container does NOT have a policy.

B.
The page template has NOT been enabled.

C.
The page template has NOT been published.

D.
The Layout Container has NOT been unlocked.

Answer: D
Explanation:

QUESTION NO: 36

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.
Sticky session are NOT configured properly, resulting in requests being delivered to the wrong
server.

B.
The level of cache invalidation is NOT appropriate for the published content model.

"Pass Any Exam. Any Time." - www.actualtests.com 33


Adobe AD0-E103 Exam
C.
File globbing in the dispatcher configuration is NOT correct.

D.
The OS file system permissions are NOT properly configured.

Answer: B
Reference: https://forums.adobe.com/thread/2652133

QUESTION NO: 37

The developer is presented with a component “Component A” which inherits from a component
“Component B”.

The dialog of Component A on path ../cq:dialog/../../items looks like:

The dialog of Component B on path ../cq:dialog/../../items looks like:

The requirement for the dialog is that the “Align text” field is shown after the “Title” field.

What should the developer do without changing Component B?

A.
Move the align node from Component A to Component B and order them according the
requirements.

"Pass Any Exam. Any Time." - www.actualtests.com 34


Adobe AD0-E103 Exam
B.
Extend Component B with the functionality of Component A.

C.
Add the property sling:orderBefore=”description” to the align node.

D.
Move all nodes under the item node from Component B to Component A and order them
according the requirements.

Answer: A
Explanation:

QUESTION NO: 38

A developer has a component foobar that consists of the files listed below:

script-a.js

script-b.js

foobar.html

"Pass Any Exam. Any Time." - www.actualtests.com 35


Adobe AD0-E103 Exam
What is the output when this component is rendered?

A.

B.

C.

D.

Answer: C

"Pass Any Exam. Any Time." - www.actualtests.com 36


Adobe AD0-E103 Exam
Explanation:

QUESTION NO: 39

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.
Underneath /apps/<project>/settings, create the sub folders global and prod and node with name
<PID>.conf each and configure the properties via node properties.

B.
Underneath /config/<project>/settings, create the sub folders config.default and config.prod and a
file with the name <PID>.config each and list the properties as key value pairs in there.

C.
Underneath /apps/<project>, create the sub folders config and config.prod and a file with the name
<PID>.config each and list the properties as key value pairs in there.

D.
Underneath /config/<project>/settings, create the sub folders config and config.prod and a file with
the name <PID>.config each and list the properties as key value pairs in there.

Answer: A
Explanation:

QUESTION NO: 40

What is the artifact ID of the maven dependency that contains all core AEM APIs?

A.
core-jar

B.
api-jar

C.
"Pass Any Exam. Any Time." - www.actualtests.com 37
Adobe AD0-E103 Exam
aem-jar

D.
uber-jar

Answer: D
Reference: https://docs.adobe.com/content/help/en/experience-manager-learn/getting-started-
wknd-tutorial-develop/project-setup.html

QUESTION NO: 41

A developer creates the following code snippet to implement a simple polling importer to fetch
stock prices from an external source:

The polling importer needs to fetch stock prices for a specific stock symbol and needs to be
triggered every 5 minutes.

Which node structure should the developer create in CRX to make sure that the code shown is
executed successfully?

"Pass Any Exam. Any Time." - www.actualtests.com 38


Adobe AD0-E103 Exam
A.

B.

C.

D.

Answer: A
Explanation:

QUESTION NO: 42

A developer is writing Java code using the Sling API that needs to work with the JCR directly. The
code needs to obtain a Session object.

A service user named “reposervice” may be mapped outside the code.

Which two methods could a developer use to obtain a Session without using a deprecated API?
(Choose two.)

"Pass Any Exam. Any Time." - www.actualtests.com 39


Adobe AD0-E103 Exam
A.

B.

C.

D.

E.

Answer: A,C
Explanation:

"Pass Any Exam. Any Time." - www.actualtests.com 40


Adobe AD0-E103 Exam
QUESTION NO: 43

There are performance, stability, and security issues with an installed AEM instance.

What should a developer do to fix these issues?

A.
Delete and reinstall the AEM instance.

B.
Install Adobe-provided Apache configuration file.

C.
Stop, clear cache files, and restart the AEM instance.

D.
Install service pack updates from package share.

Answer: C
Explanation:

QUESTION NO: 44

One content package of a custom application contains the following content paths.

The server also contains the content path /apps/myproj/configuration that must NOT be touched
when installing the package.

Which two filter definitions should a developer use to always update only the contained paths upon
installation in the server? (Choose two.)

A.

"Pass Any Exam. Any Time." - www.actualtests.com 41


Adobe AD0-E103 Exam

B.

C.

D.

E.

Answer: C,D
Reference: https://github.com/adobe/aem-spa-project-archetype/issues/69

QUESTION NO: 45

A developer needs to ensure that the path /content/<proj>/segments exists on all environments
with the correct initial content that the developer provides in a package. Content that exists in that
path should NOT be affected.
"Pass Any Exam. Any Time." - www.actualtests.com 42
Adobe AD0-E103 Exam
Which import mode should the developer use in the filter definition?

A.
update

B.
merge

C.
replace

D.
optional

Answer: B
Explanation:

QUESTION NO: 46

A developer has a component located under the path /apps. This component has a Client Library
which is directly loaded onto a page. The publish instance loads the page correctly. The
dispatcher also loads the page but the Client Library is missing.

How should the developer resolve this issue, while taking security into consideration?

A.
Change the ACLs for the Client Library.

B.
Move the Client Library under /apps/<project>library.

C.
Add the property allowProxy with a boolean value true.

D.
Allow the path to the clientlibs on the dispatcher.

Answer: C
Reference: https://docs.adobe.com/content/help/en/experience-manager-
64/developing/introduction/clientlibs.html

"Pass Any Exam. Any Time." - www.actualtests.com 43


Adobe AD0-E103 Exam

QUESTION NO: 47

A developer creates a custom Client Library named foobar.

This Client Library embeds 5 other Client Libraries and contains 10 JavaScript source files. One of
these files, called foo.js, has a bug on line 8 which causes an exception. The Client Library is
throwing this exception on line 1350 when it is included on a webpage.

How should a developer find the exact line in foo.js where the exception has been thrown?

A.
1. Enable JS/CSS minification in OSGi configuration console for HTML Library Manager.

2. Check the JavaScript exception log in the OSGi web console.

B.
1. Temporarily remove the embedded Client Libraries of the foobar Client Library.

2. Use the browser JavaScript debugging tools.

C.
1. Add the selector debugClientLibs to the page request.

2. Check the JavaScript exception log in the OSGi web console.

D.
1. Add the query parameter debugClientLibs=true to the request.

2. Use the browser JavaScript debugging tools.

Answer: D
Explanation:

QUESTION NO: 48

Which maven plugin is required to install a content package on a local AEM environment using
maven?

A.
Maven Install Plugin

"Pass Any Exam. Any Time." - www.actualtests.com 44


Adobe AD0-E103 Exam
B.
FileVault Package Maven Plugin

C.
Content Package Maven Plugin

D.
Maven Bundle Plugin

Answer: C
Reference: https://docs.adobe.com/content/help/en/experience-manager-
64/developing/devtools/vlt-mavenplugin.html

QUESTION NO: 49

A developer needs to implement a functionality that requires creating a Custom Workflow Step.

Which two steps should the developer take to start developing the custom behavior? (Choose
two.)

A.
Implement a Java class with this method “public void process(WorkItem item, WorkflowSession
wfsession) throws WorkflowException”.

B.
Implement a Java class extending from class com.adobe.granite.workflow.exec.WorkflowProcess.

C.
Create a Workflow component node of the Super Resource Type
“cq/workflow/components/model/process” under the folder /apps//components.

D.
Implement a Java class implementing the interface
com.adobe.granite.workflow.exec.WorkflowProcess.

E.
Create a Workflow component node of the Super Resource Type “cq/workflow/components/step”
under the folder /etc/workflow/models.

Answer: D,E
Reference: https://docs.adobe.com/content/help/en/experience-manager-64/developing/extending-
aem/extending-workflows/workflows-customizing-extending.html

"Pass Any Exam. Any Time." - www.actualtests.com 45


Adobe AD0-E103 Exam

QUESTION NO: 50

In which two ways can a developer keep simple and maintainable CRX Access Control Lists?
(Choose two.)

A.
Delete the ‘everyone’ group.

B.
Use Deny statements sparingly.

C.
Assign access rights to user groups rather than users.

D.
Assign access rights user by user.

E.
Use Deny statements extensively.

Answer: C,D
Reference: https://helpx.adobe.com/experience-manager/6-3/sites/administering/using/user-
group-ac-admin.html

QUESTION NO: 51

A developer wants to create a Client Library that will only be included on touch enabled devices.

What action should the developer take to achieve this?

A.
Add the line “#base=touch” to the js.txt and css.txt files in the Client Library Folder.

B.
Create a resource folder called “touch” under the Client Library Folder.

C.
Set the channels property on the Client Library Folder to “touch”.

D.
"Pass Any Exam. Any Time." - www.actualtests.com 46
Adobe AD0-E103 Exam
Pass the parameter user-agent=’touch’ when referencing the Client Library.

Answer: B
Explanation:

QUESTION NO: 52

A developer is working on a project locally and needs to install packages manually. The
deployments to the localhost must be automated to speed up development. This functionality must
be toggled on and off, depending on the needs of the developer.

Which step should the developer take to achieve this?

A.
Configure the maven install plugin by defining the target URL, username, and password as maven
properties.

B.
Run maven with the deploy phase. Maven will install the package on all local AEM instances
running without further configuration.

C.
Add a maven profile and configure the content package maven plugin within this profile.

D.
Write a script that does a PUT call to AEM each time maven builds a new package.

Answer: A
Explanation:

QUESTION NO: 53

Which xml tag is used within the vault package definition to add a new path to a content package?

A.
<filter>

B.
<content>
"Pass Any Exam. Any Time." - www.actualtests.com 47
Adobe AD0-E103 Exam
C.
<path>

D.
<rule>

Answer: A
Reference: https://docs.adobe.com/content/help/en/experience-manager-learn/getting-started-
wknd-tutorial-develop/project-setup.html

QUESTION NO: 54

Refer to the following Client Library node structure.

The js.txt looks like

The JavaScript is NOT present in the Client Library when it is loaded.

What should a developer do to resolve this issue?

A.
Add #base=js as the first line in the js.txt file.

"Pass Any Exam. Any Time." - www.actualtests.com 48


Adobe AD0-E103 Exam
B.
Change the js folder to a Client Library node and add the property
categories=”[clientlibs.example]”.

C.
Split the js and css into 2 Client Libraries since they can’t be in the same Client Library.

D.
Change the js folder to a Client Library node and embed it on the clientlibs node.

Answer: D
Explanation:

QUESTION NO: 55

A developer creates an OSGi service to access JCR content. Refer to the code snippet from the
OSGi service below.

Bundle ID = com.adobe.aem.samples-bundle

Which set of steps should the developer take to make sure that the code works?

A.
1. Create an AEM User called serviceUser with appropriate ACLs.

2. Modify the Apache Sling Service User Mapper Service Amendment.

3. Set user.mapping to com.adobe.aem.samples-bundle:sample-service=serviceUser.

B.
.1. Create an AEM User called serviceUser with appropriate ACLs.

2. Modify the Apache Sling Service User Mapper Service.

3. Set user.default to com.adobe.aem.samples-bundle:sample-service=systemUser.

C.

"Pass Any Exam. Any Time." - www.actualtests.com 49


Adobe AD0-E103 Exam
1. Create a System User called systemUser with appropriate ACLs.

2. Modify the Apache Sling Service User Mapper Service.

3. Set user.default to com.adobe.aem.samples-bundle:sample-service=systemUser.

D.
1. Create a System User called systemUser with appropriate ACLs.

2. Modify the Apache Sling Service User Mapper Service Amendment.

3. Set user.mapping to com.adobe.aem.samples-bundle:sample-service=systemUser.

Answer: A
Explanation:

QUESTION NO: 56

A developer wants to automatically truncate request log files once they exceed 10 MB.

Which OSGi configuration should the developer modify?

A.
Apache Sling Customizable Request Data Logger

B.
Adobe Granite Log Analysis Service

C.
Apache Sling Logging Writer Configuration

D.
Apache Sling Logging Configuration

Answer: C
Explanation:

QUESTION NO: 57

A developer needs to implement a header component for a website. The component has the

"Pass Any Exam. Any Time." - www.actualtests.com 50


Adobe AD0-E103 Exam
following requirements:

The component should be configured once on the page highest in the hierarchy.

The header component on pages lower in the hierarchy should look the same and show the
same data.

If necessary, the configuration can be overwritten on a child page.

The component should show a list of links that are configured in the header component.

Which code snippet for returning the list of pages should the developer use?

A.

B.

C.

D.

Answer: A

"Pass Any Exam. Any Time." - www.actualtests.com 51


Adobe AD0-E103 Exam
Explanation:

QUESTION NO: 58

A Client-Side Library has the category “library.example”.

Which HTL statement should a developer use to reference only the CSS files of this Client-Side
Library?

A.
<sly data-sly-use.clientlib=”/libs/granite/sightly/templates/clientlib.html” data-sly-call=”${clientlib.css
@ categories=’library.example’}”/>

B.
<sly data-sly-use.clientlib=”/libs/granite/sightly/templates/clientlib.html” data-sly-call=”${clientlib.css
@ category=’library.example’}”/>

C.
<sly data-sly-use.clientlib=”/libs/granite/sightly/templates/clientlib.html” data-sly-call=”${clientlib.all
@ categories=’library.example.css’}”/>

D.
<sly data-sly-use.clientlib=”/libs/granite/sightly/templates/clientlib.html” data-sly-call=”${clientlib.all
@ type=’css’, categories=’library.example’}”/>

Answer: C
Reference: https://aemcq5pedia.wordpress.com/author/aempediaalpha/page/2/

QUESTION NO: 59

A developer needs to install a content package on AEM environment. However, a content package
with the same name is already installed.

What would you be the safest way for the developer to install the content package to make sure
only the changes of the new content package get applied?

A.
Use the “Force Upload option when uploading the new content package.
"Pass Any Exam. Any Time." - www.actualtests.com 52
Adobe AD0-E103 Exam
B.
Uninstall the existing content package before installing the new content package.

C.
Upload the content package to the CRX Package Share before installing it.

D.
Install the content package using the OSGi web console.

Answer: D
Reference: https://helpx.adobe.com/experience-manager/6-3/sites/administering/using/package-
manager.html

QUESTION NO: 60

A developer is creating a custom component on the page /latestBlogs.html that needs to list all the
titles of the blogs pages under /content/blogs.

How does this component get the list of child pages?

A.
Instantiate a node object with session.getNode(/content/blogs) and then iterate through the child
nodes and print the title for each.

B.
Use PageManager.getPage(“/content/blogs”) of the static PageManager class to instantiate a
Page object and then iterate through the child pages and print the title for each.

C.
Use the QueryDebugger to look for all children of /content/blogs and then iterate through the
result set and print the title for each.

D.
Adapt the resourceResolver to the PageManager service, then use the getPage(/content/blogs) to
instantiate a Page object and then iterate through the child pages and print the title for each.

Answer: B
Reference: https://helpx.adobe.com/experience-manager/6-2/sites/developing/using/reference-
materials/javadoc/com/day/cq/wcm/api/PageManager.html

"Pass Any Exam. Any Time." - www.actualtests.com 53


Adobe AD0-E103 Exam
QUESTION NO: 61

A custom application contains a service component com.proj.ServiceComponent. A developer


needs to configure the string value name and integer value intVal. The actual configuration must
be deployed using a content package.

What should the developer do to meet these requirements?

A.

B.

C.

D.

"Pass Any Exam. Any Time." - www.actualtests.com 54


Adobe AD0-E103 Exam
Answer: C
Explanation:

QUESTION NO: 62

A banking AEM application contains functionality to calculate a mortgage rate based on user input.
A servlet in place calculates the result in the backend. A call to an internal third-party REST
service is required to retrieve the average object value based on a given zip code.

The following three service interfaces are used:

MortgageCalculationServlet, MortgageCalculationService and ObjectValueLookupRestService


where MortgageCalculationServlet has a dependency to MortgageCalculationService and
MortgageCalculationService has a dependency to ObjectValueLookupRestService.

The calculation has many combinations of input parameters and edge cases, so the JUnit
coverage must be as high as possible.

Which two strategies should the developer use to ensure testability of the application code?
(Choose two.)

A.
Use BundleContext.getServiceReference(…) and BundleContext.getService(…) in application
code to look up the required services just before usage.

B.
Use static methods to avoid boilerplate in application code.

C.
Use a mock framework to be able to create and inject mocks in the test code.

D.
Use the standard OSGi @Reference annotation to wire the dependencies in application code.

E.
Deploy a third party dependency injection container to wire dependencies more efficiently in
application code.

Answer: C,D
Explanation:

"Pass Any Exam. Any Time." - www.actualtests.com 55


Adobe AD0-E103 Exam
QUESTION NO: 63

A developer creates an editable template with a Layout Container. The developer needs to restrict
the Layout Container to just one column layout.

What should the developer do to the editable template to enforce this restriction?

A.
Using Template Editor, set the responsive settings to 1 column for Layout Container Policy.

B.
Add responsive column control component to the template and set column type to 1.

C.
Overlay wcm.foundation.components.page.responsive Client Library and set @max_col to 1.

D.
Using Template Editor, lock the Structure Component for the template.

Answer: A
Explanation:

QUESTION NO: 64

A developer is working on an HTL script for a custom component. The script has the following
requirements:

This script must list the title of every child page of the current page.

If a child page does not have any children, then its title should link directly to that page.

If a child page has children, then the title of every one of its children should be listed beneath its
title.

The title of every grandchild page should link directly to that page.

Which HTL script should the developer use to meet these requirements?

A.

"Pass Any Exam. Any Time." - www.actualtests.com 56


Adobe AD0-E103 Exam

B.

C.

D.

"Pass Any Exam. Any Time." - www.actualtests.com 57


Adobe AD0-E103 Exam

Answer: B
Explanation:

QUESTION NO: 65

A custom AEM application has a run time dependency to a third party OSGi bundle that is NOT
included in out-of-the-box AEM. The third party dependency needs to be available for multiple
applications and be upgraded separately from the custom AEM application.

How should a developer make sure that the bundle is installed on all environments?

A.
Add the dependency to the third party bundle in the pom.xml of the project bundle.

B.
Embed the third party bundle in the bundle that depends on it.

C.
Embed the bundle in a content package to have it automatically deployed.

D.
Declare the dependency correctly using a link to the OSGi Bundle Repository (OBR).

Answer: D
Explanation:

"Pass Any Exam. Any Time." - www.actualtests.com 58


Adobe AD0-E103 Exam
QUESTION NO: 66

A developer is working with the following HTL expression in a component rendering script:

What is the expected output of this expression?

A.
path/page.bar.html/world

B.
path/page.bar.html/hello/world

C.
path/page.foo.bar.html/hello/world

D.
path/page.infinity.json.bar.html/world

Answer: B
Explanation:

QUESTION NO: 67

A developer running a local AEM instance and working on an AEM project needs to change a
large number of files locally in the filesystem. The developer needs to get the changes uploaded to
the local AEM instance to verify changes almost immediately in the browser?

What action should the developer take to most efficiency meet these requirements?

A.
Access CRXDE and upload the files through the interface.

B.

"Pass Any Exam. Any Time." - www.actualtests.com 59


Adobe AD0-E103 Exam
Make the changes in CRXDE create a content package, download it, and expand it into the
working directory after each change.

C.
Install FileVault bundle in the AEM instance and register the local working directory for
synchronization.

D.
Build a Content Package using maven and deploy it after each change.

Answer: A
Explanation:

QUESTION NO: 68

A developer wants to consume AEM Page Data in a Single Page Application. The Single Page
Application is coded to understand JSON format. Only page content should be exposed through
JSON. All the existing components are based on foundation components.

Which change should the developer make in the existing components to support this requirement?

A.
Add JSON as the default extension in Apache Sling Servlet/Split Resolver and Error Handler
Configuration.

B.
Invoke the page URL with the extension .json to get the values to construct the required output.

C.
Implement a Sling Model Exporter for the components.

D.
Create a custom sling event handler to handler JSON requests.

Answer: D
Explanation:

QUESTION NO: 69

"Pass Any Exam. Any Time." - www.actualtests.com 60


Adobe AD0-E103 Exam
A custom AEM application contains a service component that needs to access the JCR repository
within the activate method. The activate method uses
ResourceResolverFactory.getServiceResourceResolver(…) without specifying a sub service
name.

What should a developer do to make sure the user service mapping for the service component is
available?

A.
Create a field of type ServiceUserMapped and annotate it with @Reference.

B.
Wait for the service ServiceUserMapper via BundleContext.getServiceReference(…).

C.
Create a field of type ServiceUserMapped and annotate it with @Reference using
ReferencePolicy.DYNAMIC.

D.
Create a field of type ServiceUserMapper and annotate it with @Reference using
ReferencePolicy.STATIC.

Answer: A
Explanation:

QUESTION NO: 70

After a recent code deployment, an AEM site is experiencing longer than usual query execution
time. The deployment package contained some new Lucene index definitions. A developer needs
to identify the long running queries and confirm that the new index definitions are getting applied
correctly.

Which action should the developer take to investigate this problem?

A.
Go to Tools > Operations >Diagnosis > Download Thread Dumps. Analyze the Thread Dumps to
identify long running requests.

B.
Go to Tools > Operations >Diagnosis > Log Message. Configure DEBUG log level on
com.day.cq.search to monitor search queries.

C.
"Pass Any Exam. Any Time." - www.actualtests.com 61
Adobe AD0-E103 Exam
Go to Tools > Operations > Diagnosis > Index Manager. Select the new Indexes and run a
consistency check.

D.
Go to Tools > Operations >Diagnosis > Query Performance > Slow Queries. Select a Query and
Click on Explain.

Answer: B
Explanation:

QUESTION NO: 71

A developer installs the latest Service pack to a local AEM author instance.

How should the developer install this package on the publish instance?

A.
Replicate from package manager of publish instance.

B.
Use upload/install from OSGI console of publish instance.

C.
Use upload/install from OSGI console of author instance.

D.
Replicate from package manager of author instance.

Answer: A
Explanation:

QUESTION NO: 72

Two AEM publish feed a single Dispatcher.

Which part of the Dispatcher configuration should a developer review to ensure both AEM publish
instance are used?

"Pass Any Exam. Any Time." - www.actualtests.com 62


Adobe AD0-E103 Exam
A.
virtualhosts

B.
cache

C.
filter

D.
farms

Answer: D
Reference: https://docs.adobe.com/content/help/en/experience-manager-
dispatcher/using/configuring/dispatcher-configuration.html

QUESTION NO: 73

A developer has a component named foobar with the following file:

foobar.html

What is the output when the component is rendered?

A.

B.

C.

"Pass Any Exam. Any Time." - www.actualtests.com 63


Adobe AD0-E103 Exam

D.

Answer: D
Explanation:

"Pass Any Exam. Any Time." - www.actualtests.com 64

You might also like