Adobe Experience Manager Developer Expert (AD0-E116) Free Practice Test
Question 1
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?


The developer has the following intermediate state of the class:

What action should the developer take to meet these requirements?


Correct Answer: C
Question 2
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 be-neath 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?


* 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 be-neath 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?


Correct Answer: D
Question 3
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:
/cache
{
/docroot "/opt/dispatcher/cache"
/statfile "/tmp/dispatcher-website.stat"
/statfileslevel "2"
/rules
{
/0000 { /glob "*" /type "allow" }
}
/invalidate
{
/0000 { /glob "*" /type "deny" }
}
}
Refer to the $DOCROOT directory below:
[user@group /opt/dispatcher/cache]$ ls -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 ..
drw-r--r--. 4 root root 4096 Feb 7 03:21 content
-rw-r--r--. 1 apache apache 0 Feb 7 03:19 .stat
The dispatcher needs to cache the page and refresh it after it gets updated.
What action should the developer take to meet these requirements?
The dispatcher.any contains the following entries:
/cache
{
/docroot "/opt/dispatcher/cache"
/statfile "/tmp/dispatcher-website.stat"
/statfileslevel "2"
/rules
{
/0000 { /glob "*" /type "allow" }
}
/invalidate
{
/0000 { /glob "*" /type "deny" }
}
}
Refer to the $DOCROOT directory below:
[user@group /opt/dispatcher/cache]$ ls -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 ..
drw-r--r--. 4 root root 4096 Feb 7 03:21 content
-rw-r--r--. 1 apache apache 0 Feb 7 03:19 .stat
The dispatcher needs to cache the page and refresh it after it gets updated.
What action should the developer take to meet these requirements?
Correct Answer: C
Question 4
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?
What is most likely causing this issue in the dispatcher configuration?
Correct Answer: B
Question 5
A developer wants to automatically truncate request log files once they exceed 10 MB.
Which OSGi configuration should the developer modify?
Which OSGi configuration should the developer modify?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 6
From which AEM Web Console should a developer access and download full AEM Log Files?
Correct Answer: B
Question 7
Which xml tag is used within the vault package definition to add a new path to a content package?
Correct Answer: B
Question 8
A developer wants to consume AEM Page Data in 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?
Which change should the developer make in the existing components to support this requirement?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 9
A developer needs an existing workflow to run only when pages are created under a certain folder.
What should the developer create to achieve this?
What should the developer create to achieve this?
Correct Answer: A
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?
What happens to the content of that component when a developer unlocks it?
Correct Answer: B