Adobe Experience Manager Sites Developer Expert AD0-E116 Dumps in PDF

Free Adobe AD0-E116 Real Questions (page: 7)

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?

  1. "Modify the dispatcher.any file to contain the following lines:
    /filter
    {
    ...
    /0023 { /type ""allow"" /url ""/content/*/*.html?tracking_id=*"" } ...
    }"
  2. "Modify the dispatcher.any file to contain the following lines:
    /rules
    {
    ...
    /0000 { /glob ""*"" /type ""allow"" /params ""tracking_id"" } ...
    }"
  3. "Modify the dispatcher.any file to contain the following lines:
    /ignoreUrlParams
    {
    ...
    /0002 { /glob ""tracking_id"" /type ""allow"" }
    ...
    }"
  4. "Modify the dispatcher.any file to contain the following lines:
    /filter
    {
    ...
    /0023 { /type ""allow"" /url ""/content/*/*.html"" /params ""tracking_id"" } ...
    }"

Answer(s): C



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

public class AccessRepository {

private static final String SERVICE_ACCOUNT_IDENTIFIER = "sample-service";

...

private final String getServiceUser() {

final Map<string, object=""> authInfo =
Collections.singletonMap(ResourceResolverFactory.SUBSERVICE, (Object) SERVICE_ACCOUNT_IDENTIFIER);
ResourceResolver serviceResolver =
resourceResolverFactory.getServiceResourceResolver(authInfo))

...

}

}

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

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

  1. "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"
  2. "1. Create an AEM User called systemUser with appropriate ACLs
    2. Modify the Apache Sling Service User Mapper Service
    3. Set user.default tocom.adobe.aem.samples-bundle:sample-service=systemUser"
  3. "1. Create a System User called systemUser with appropriate ACLs
    2. Modify the Apache Sling Service User Mapper Service Amendment
    3. Set user.default to com.adobe.aem.samples-bundle:sample-service=systemUser"
  4. "1. Create an AEM User called systemUser with appropriate ACLs
    2. Modify the Apache Sling Service User Mapper Service Amendment
    3. Set user.default to com.adobe.aem.samples-bundle:sample-service=systemUser"

Answer(s): A



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?

  1. path/page.foo.bar.html/hello/world
  2. path/page.infinity.json.bar.html/world
  3. path/page.bar.html/hello/world
  4. path/page.bar.html/world

Answer(s): C



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)

  1. Implement a Java class extending from class
    com.adobe.granite.workflow.exec.WorkflowProcess
  2. Create a Workflow component node of the Super Resource Type "cq/workflow/components/model/process" under the folder /apps/components
  3. Create a Workflow component node of the Super Resource Type "cq/workflow/components/step" under the folder /etc/workflow/models
  4. Implement a Java class with this method "public void process (WorkItem item, WorkflowSession wfsession) throws WorkflowException"
  5. Implement a Java class implementing the interface com.adobe.granite.workflow.exec.WorkflowProcess

Answer(s): B,E



How should a developer enable remote debugging of anAEM server without modifying the AEM start script?

  1. Enable the remote debugging service through the AEM Cloud Services menu.
  2. Rename the quickstart jar file to include the additional debug settings.
  3. Enable the remote debugging servicethrough the AEM Web Console.
  4. Include an additional JVM parameter when starting AEM with java -jar.

Answer(s): B



Share your comments for Adobe AD0-E116 exam with other users:

V
VoiceofMidnight
12/17/2023 4:07:00 PM

Delayed the exam until December 29th.

U
Umar Ali
8/29/2023 2:59:00 PM

A and D are True

V
vel
8/28/2023 9:17:09 AM

good one with explanation

G
Gurdeep
1/18/2024 4:00:15 PM

This is one of the most useful study guides I have ever used.

AI Tutor 👋 I’m here to help!