Adobe AD0-E116 Adobe Experience Manager Sites Developer Expert Online Training
Adobe AD0-E116 Online Training
The questions for AD0-E116 were last updated at Nov 23,2024.
- Exam Code: AD0-E116
- Exam Name: Adobe Experience Manager Sites Developer Expert
- Certification Provider: Adobe
- Latest update: Nov 23,2024
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?
- A . "Modify the dispatcher.any file to contain the following lines:
/filter
{
…
/0023 { /type ""allow"" /url ""/content/*/*.html?tracking_id=*"" }
…
}" - B . "Modify the dispatcher.any file to contain the following lines:
/rules
{
…
/0000 { /glob ""*"" /type ""allow"" /params ""tracking_id"" }
…
}" - C . "Modify the dispatcher.any file to contain the following lines:
/ignoreUrlParams
{
…
/0002 { /glob ""tracking_id"" /type ""allow"" }
…
}" - D . "Modify the dispatcher.any file to contain the following lines:
/filter
{
…
/0023 { /type ""allow"" /url ""/content/*/*.html"" /params ""tracking_id"" }
…
}"
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?
- A . "Modify the dispatcher.any file to contain the following lines:
/filter
{
…
/0023 { /type ""allow"" /url ""/content/*/*.html?tracking_id=*"" }
…
}" - B . "Modify the dispatcher.any file to contain the following lines:
/rules
{
…
/0000 { /glob ""*"" /type ""allow"" /params ""tracking_id"" }
…
}" - C . "Modify the dispatcher.any file to contain the following lines:
/ignoreUrlParams
{
…
/0002 { /glob ""tracking_id"" /type ""allow"" }
…
}" - D . "Modify the dispatcher.any file to contain the following lines:
/filter
{
…
/0023 { /type ""allow"" /url ""/content/*/*.html"" /params ""tracking_id"" }
…
}"
Set user.default to com.adobe.aem.samples-bundle:sample-service=systemUser"
A developer is working with the following HTL expression in a component rendering script:
${‘path/page.infinity.json’ @extension = ‘html’,
removeSelectors = [‘foo’],
selectors = [‘foo’, ‘bar’],
prependSuffix = ‘hello’,
suffix = ‘world’ }
What is the expected output of this expression?
- A . path/page.foo.bar.html/hello/world
- B . path/page.infinity.json.bar.html/world
- C . path/page.bar.html/hello/world
- D . path/page.bar.html/world
A developer needs to implement a functionality that requires creating a Custom Workflow Step.
Which two steps shouldthe developer take to start developing the custom behavior? (Choose two)
- A . Implement a Java class extending from class com.adobe.granite.workflow.exec.WorkflowProcess
- B . Create a Workflow component node of the Super Resource Type "cq/workflow/components/model/process" under the folder /apps/components
- C . Create a Workflow component node of the Super Resource Type "cq/workflow/components/step" under the folder /etc/workflow/models
- D . Implement a Java class with this method "public void process (WorkItem item, WorkflowSession wfsession) throws WorkflowException"
- E . Implement a Java class implementing the interface com.adobe.granite.workflow.exec.WorkflowProcess
How should a developer enable remote debugging of anAEM 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 servicethrough the AEM Web Console.
- D . Include an additional JVM parameter when starting AEM with java -jar.
A developer creates a template-type for building editable templates.
The resulting editable templates and pages must always contain a specific layoutcontainer that can NOT be deleted by the author.
How should the developer meet this requirement?
- A . Add the layout container component to the structure section of the template-type
- B . Add the layout container component by including it on the actual page component
- C . Add a content policy to the template-type to disable the removal of the layout container
- D . Add the layout container component to the initial section of the template-type
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 inthe publish instances.
- D . Disable static agent in the author instance.
A developer is working on the following Sling Model that is being used in a component.
@Model(adaptables = SlingHttpServletRequest.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL)
public class SampleModel {
@Inject
private Page currentPage;
private boolead matchingTitle;
@PostConstruct
private void init(){
matchingTitle = title.equals(currentPage.getName());
}
public boolean isMatchingTitle(){
return matchingTitle;
}
}
The model must check if the configured value of the jct:title property for the component matches the same name of the current page. If the jcr:title property of the component has NOT been configured, then isMatchingTitle() must return false.
How should the developer inject the title property in this model?
- A . "@ValueMapValue
@Via(""jcr:title"")
@Required
private String titile;" - B . "@ValueMapValue
@Named(""jcr:title"") @Default(values = """")
private String titile;" - C . "@ValueMapValue
@Named(""jcr:title"")
@Required
private String titile;" - D . "@ValueMapValue
@Via(""jcr:title"") @Default(values = """")
private String titile;"
Which maven plugin is required to install a content package on a local AEM environment using maven?
- A . Maven Bundle Plugin
- B . Content Package Maven Plugin
- C . FileVault Package Maven Plugin
- D . MavenInstall Plugin