[Oct-2021] Adobe Experience Manager AD0-E116 Exam Practice Dumps [Q55-Q75]

Share

[Oct-2021] Adobe Experience Manager AD0-E116 Exam Practice Dumps

2021 AD0-E116 Premium Files Test pdf - Free Dumps Collection

NEW QUESTION 55
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. Option A
  • B. Option D
  • C. Option B
  • D. Option C

Answer: A

 

NEW QUESTION 56
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?

  • A. The bundle will install but fail the activation due to unsatisfied dependency com.sample.package.b.
  • B. The bundle will install but fail the activation due to unsatisfied dependencies com.sample.package.b and 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.c.

Answer: B

 

NEW QUESTION 57
Which log file contains AEM application request and response entries?

  • A. history.log
  • B. audit.log
  • C. response.log
  • D. request.log

Answer: D

 

NEW QUESTION 58
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. Include an additional JVM parameter when starting AEM with java -jar.
  • D. Enable the remote debugging service through the AEM Web Console.

Answer: B

 

NEW QUESTION 59
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. Add the query parameter debugClientLibs=true to the request.2. Use the browser JavaScript debugging tools.
  • 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. Enable JS/CSS minification in OSGi configuration console for HTML Library Manager.2. Check the JavaScript exception log in the OSGi web console.

Answer: A

 

NEW QUESTION 60
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?

  • A. A Launcher with the field condition that has the value jcr:content/page
  • B. A Launcher with the field exclude that has the value jcr:nodeType==cq:Page
  • C. A Launcher with the field path pointing to the folder and nodetype field have the value cq:Page
  • D. A Launcher with the field path pointing to the folder and condition field and have the value jcr:content/jcr:primaryType==cq:Page

Answer: C

 

NEW QUESTION 61
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. Option A
  • B. Option D
  • C. Option B
  • D. Option C

Answer: A

 

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

  • A. uber-jar
  • B. aem-jar
  • C. api-jar
  • D. core-jar

Answer: A

Explanation:
Reference:
https://helpx.adobe.com/ro/experience-manager/6-
3/sites/developing/using/ht-projects-maven.html

 

NEW QUESTION 63
A developer has a component foobar that consists of the files listed below:
script-a.js

script-b.js

foobar.html

What is the output when this component is rendered?

  • A. Option A
  • B. Option D
  • C. Option B
  • D. Option C

Answer: A

 

NEW QUESTION 64
A developer creates two custom classes. ClassA has the following code:
package com.aem.abc;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ClassA {
private static final Logger logger = LoggerFactory.getLogger(this.getClass()); public void classAMethod() { logger.debug("Message from Class A method");
}
}
The developer creates a custom log custom.log with debug level in OSGi sling log support for the Java package com.aem.abc. The developer adds another class ClassB with the following code:
package com.aem.xyz;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ClassB {
private static final Logger logger = LoggerFactory.getLogger(this.getClass()); public void classBMethod() { logger.debug("Message from Class B method");
}
}
Which action must the developer take to see the log messages in the same file from both classes?

  • A. Configure custom.log in OSGi web console -> Sling -> Log Support and replace com.aem.abc with com.aem.xyz
  • B. Configure custom.log in OSGi web console -> Sling -> Log Support and replace com.aem.xyz with com.aem.abc
  • C. Create separate a log file in the OSGi web console -> Sling -> Log Support for logger com.aem.xyz
  • D. Configure custom.log in OSGi web console -> Sling -> Log Support and replace com.aem.abc with com.aem

Answer: D

 

NEW QUESTION 65
A developer has a component named foobar with the following file:
foobar.html:
<div data-one="${'foo'}" data-two="${2}" data-three="${true}"></div>
<div data-one="${''}" data-two="${0}" data-three="${false}"></div>
What is the output when the component is rendered?

  • A. "<div data-one=""foo"" data-two=2 data-three=""""></div>
    <div data-two=0 data-three=""""></div>"
  • B. "<div data-one=""foo"" data-two=""2"" data-three></div>
    <div data-two=""0""></div>"
  • C. "<div data-one=""foo"" data-two=2 data-three=""""></div>
    <div data-one="""" data-two=0 data-three=""""></div>"
  • D. "<div data-one=""foo"" data-two=""2"" data-three=""true""></div>
    <div data-one="""" data-two=""0"" data-three=""false""></div>"

Answer: B

 

NEW QUESTION 66
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?

  • A. Interface DeveloperInfo does NOT have any method.
  • B. The required Maven repository for OSGi is missing.
  • C. @Service annotation is missing in DeveloperInfo.java.
  • D. Activator class is NOT implementing DeveloperInfo interface.

Answer: D

 

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

  • A. Option B
  • B. Option A
  • C. Option D
  • D. Option C
  • E. Option E

Answer: A,C

 

NEW QUESTION 68
A developer wants to change the log level for a custom API.
Which OSGi configuration should the developer modify?

  • A. Apache Sling Logging Writer Configuration
  • B. Adobe Granite Log Analysis Service
  • C. Apache Sling Logging Configuration
  • D. Apache Sling Log Tracker Service

Answer: C

 

NEW QUESTION 69
A developer creates a template-type for building editable templates.
The resulting editable templates and pages must always contain a specific layout container 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 a content policy to the template-type to disable the removal of the layout container
  • C. Add the layout container component by including it on the actual page component
  • D. Add the layout container component to the initial section of the template-type

Answer: D

 

NEW QUESTION 70
A developer has a component named foobar with the following file:
FooBar.java
import com.adobe.cq.sightly.WCMUsePojo;
public class FooBar extends WCMUsePojo; {
@Override
public void activate() throws Exception {}
public String getLink() {
return "http://www.foo'bar.com";
}
public String getText() {
return "foo'bar";
}
}
foobar.html
<div data-sly-use.fooBar="FooBar">
<a href="${fooBar.link}" title="${fooBar.text}">
${fooBar.text}
</a>
</div>
What is the output when the component is rendered?

  • A. "<div>
    <a href=""https://www.foo%27bar.com"" title=""foo'bar"">
    foo&#39;bar
    </a>
    </div>"
  • B. "<div>
    <a href=""https://www.foo%27bar.com"" title=""foo&#39;bar"">
    foo&#39;bar
    </a>
    </div>"
  • C. "<div>
    <a href=""https://www.foo&#39;bar.com"" title=""foo&#39;bar"">
    foo&#39;bar
    </a>
    </div>"
  • D. "<div>
    <a href=""https://www.foo%27bar.com"" title=""foo&#39;bar"">
    foo'bar
    </a>
    </div>"

Answer: B

 

NEW QUESTION 71
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?

  • A. Invoke the page URL with the extension .json to get the values to construct the required output
  • B. Create a custom sling event handler to handle JSON requests
  • C. Add JSON as the default extension in Apache Sling Servlet?Script Resolver and Error handler Configuration
  • D. Implement a Sling Model Exporter for the components

Answer: D

Explanation:
https://sling.apache.org/documentation/the-sling-engine/servlets.html

 

NEW QUESTION 72
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. Goto Tools > Operations > Diagnosis > Query Performance > Slow Queries. Select a Query and Click on Explain
  • B. Goto Tools > Operations > Diagnosis > Log Messages. Configure DEBUG log level on com.day.cq.search to monitor search queries.
  • C. Goto Tools > Operations > Diagnosis > Index Manager. Select the new Indexes and run a consistency check.
  • D. Goto Tools > Operations > Diagnosis > Download Thread Dumps. Analyze the Thread Dumps to identify long running requests.

Answer: A

 

NEW QUESTION 73
Refer to the following Client Library node structure.
+clientlibs
- jcr:primaryType="cq:ClientLibraryFolder"
- categories="[clientlibs.example]"
+ js.txt
- jcr:primaryType="nt:file"
+ css.txt
- jcr:primaryType="nt:file"
+ js
- jcr:primaryType="nt:folder"
- javascript1.js
- javascript2.js
The js.txt looks like
javascript1.js
javascript2.js
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
  • B. Change the js folder to a Client Library node and add the property categories = "[clientlibs.example]"
  • C. Change the js folder to a Client Library node and embed it on the clientlibs node
  • D. Split the js and css into 2 Client Libraries since they can't be in the same Client Library

Answer: A

 

NEW QUESTION 74
How should a developer configure the replication agent to flush the dispatcher cache for a newly activated page?

  • A. Create a new replication agent and set transport URI to point to the dispatcher
  • B. Set the serialization type property of the default agent to dispatcher flush
  • C. Create a dispatcher flush agent in publish instance
  • D. Create a reverse replication agent on the author instance

Answer: C

 

NEW QUESTION 75
......

Get ready to pass the AD0-E116 Exam right now using our Adobe Experience Manager  Exam Package: https://www.actual4dump.com/Adobe/AD0-E116-actualtests-dumps.html

A fully updated 2021 AD0-E116 Exam Dumps exam guide from training expert Actual4dump: https://drive.google.com/open?id=1TNQvazc4T-8HgrIrh4rhA16YaFAOcOUO