Adobe Experience Manager Developer Expert - AD0-E116 Exam Practice Test

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

Correct Answer: B
Question 2
Which log file should a developer use to search for exception stacktraces?

Correct Answer: C
Question 3
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?

Correct Answer: D
Question 4
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?


Correct Answer: C
Question 5
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)

Correct Answer: A,D
Question 6
A developer identifies that some requests for the page /content/sampleproject/page.html take longer than other requests for the same page.
Refer to the $DOCROOT/content/sampleproject directory below.
[user@group /opt/dispatcher/cache/content/sampleproject ]$ ks -la
total 2
drwxr-xr-x. 5 apache apache 4096 Feb 11 11:41 .
drwxr-xr-x. 3 apache apache 4096 Nov 29 16:07 ..
drwxr-xr-x. 4 apache apache 4096 Feb 7 03:21 page.html
-rw-r--r--. 1 apache apache 0 Feb 7 03:19 .stat
The dispatcher.log file contains the following lines:
[Wed Feb 13 13:14:04 2012] [D] [1376(1572)] checking [/libs/cq/security/userinfo.json]
[Wed Feb 13 13:14:04 2012] [D] [1376(1572)] Caching disabled due to query string: tracking_id=1350373444666
[Wed Feb 13 13:14:04 2012] [D] [1376(1572)] cache-action for [/libs/cq/security/userinfo.json]: None How should the developer make sure that the page is always cached?

Correct Answer: C
Question 7
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.
Which import mode should the developer use in the filter definition?

Correct Answer: B
Question 8
In 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:

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

Correct Answer: B
Question 9
A developer is working on a dialog for a contact list component. The dialog has the following requirements:
1. The list of contacts must include one or more entries.
2. Contact details must include a full name.
3. Contact details must include an email address
4. Contact details can optionally include a short bio
5. Authors need to be able to rearrange the contacts in the list
Which dialog configuration should the developer use to meet all of these requirements?



Correct Answer: C
Question 10
The structure section of an editable template has a locked component.
What happens to the content of that component when a developer unlocks it?

Correct Answer: B