Full AD0-E116 Practice Test and 95 unique questions with explanations waiting just for you! [Q42-Q60]

Share

Full AD0-E116 Practice Test and 95 unique questions with explanations waiting just for you!

Adobe Experience Manager Dumps AD0-E116 Exam for Full Questions - Exam Study Guide

NEW QUESTION 42
A developer must create a workflow step that assigns a 'WorkItem' to the appropriate person based on who has the least amount work to do.
The group that must perform the action is configured into the workflow.
Which non-deprecated interface should the Java implementation class use to perform the assignment?

  • A. com.adobe.granite.workflow.exec.WorkflowData
  • B. com.day.cq.workflow.exec.ParticipantChooser
  • C. com.adobe.granite.workflow.exec.ParticipantStepChooser
  • D. com.day.cq.workflow.exec.WorkItem

Answer: C

 

NEW QUESTION 43
From which AEM Web Console should a developer access and download full AEM Log Files?

  • A. AEM -> Log files
  • B. Status -> Log files
  • C. OSGI -> Sing Log Service
  • D. Web Console -> System Information

Answer: B

 

NEW QUESTION 44
A developer wants to extend AEM Core Components to create a custom Carousel Component.
How should the developer extend the Core Components?

  • A. Use the sling:resourceType property to point to the core component.
  • B. Copy the Core Carousel component to /apps/<project> folder.
  • C. Make changes to the original component and assign a component group.
  • D. Use the sling:resourceSuperType property to point to the core component.

Answer: D

 

NEW QUESTION 45
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 46
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 47
Which environment variable in the AEM start script should a developer modify to enable remote debugging?

  • A. CQ_RUNMODE
  • B. CQ_HOST
  • C. CQ_JVM_OPTS
  • D. CQ_PORT

Answer: C

 

NEW QUESTION 48
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 49
A custom application contains a service component com.proj.ServiceComponent. A developer needs to configure the string value name and integer value intVal. The actual configuration must be deployed using a content package.
What should the developer do to meet these requirements?

  • A. "Use a file com.proj.ServiceComponent.xml with content
    <?xml version=""1.0"" encoding=""UTF-8""?>
    <jcr:root xmlns:jcr=""http://www.jcp.org/jcr/1.0"" jcr:primaryType=""sling:OsgiConfig"" name=""Service Name"" intVal=""{Integer}5""/>"
  • B. "Use a file com.proj.ServiceComponent.cfg with content
    name=""Service name""
    intVal=I""5"""
  • C. "Use a file com.proj.ServiceComponent.config with content
    name=""Service name""
    intVal=I""5"""
  • D. "Use a file com.proj.ServiceComponent.xml with content
    <?xml version=""1.0"" encoding=""UTF-8""?>
    <jcr:root jcr:primaryType=""sling:OsgiConfig""
    name=""Service Name""
    intVal=""5""/>"

Answer: C

 

NEW QUESTION 50
A developer is creating templates and/or components using CRXDE Lite. The developer needs to check the files into source control.
Which tool should the developer use to achieve this goal?

  • A. Content Explorer
  • B. vlt command
  • C. mvn command
  • D. http://localhost:4502/crx/checkout

Answer: B

 

NEW QUESTION 51
A developer needs to upgrade existing components (Proxy Components) based on Core Components Version 1(v1) to Core Components Version 2(v2).
How should the developer upgrade to V2 Core Components?

  • A. Modify the sling:resourceSuperType property on the proxy component to point to V2 Component
  • B. Create a new Proxy Component and set sling:resourceType property to V2 Core Component
  • C. Modify the sling:resourceSuperType property on the V1 core components to point to V2 Component
  • D. Proxy Components will be automatically upgraded to the V2 Core Component on AEM Restart

Answer: A

 

NEW QUESTION 52
In which two ways can a developer keep simple and maintanable CRX Access Control Lists? (Choose two) Use Deny statements extensively

  • A. Assign access rights user by user
  • B. Use Deny statements sparingly
  • C. Assign access rights to user groups rather than users
  • D. Delete the `everyone` group

Answer: A,D

 

NEW QUESTION 53
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 54
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 55
The dependency of an AEM project fails when a developer configures using Apache Maven. Refer to the error information below.
INFO] ---------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] ---------------------------------------
[ERROR] /training/core/src/main/java/com/adobe/training/core/listeners/SimpleResourceListener.java:[18,28] package org.apache.sling.api does not exist
[ERROR] /training/core/src/main/java/com/adobe/training/core/filters/LoggingFilter.java:[26,28] package org.apache.sling.api does not exist
[ERROR] /training/core/src/main/java/com/adobe/training/core/filters/LoggingFilter.java:[27,31] package org.apache.sling.engine does not exist
[ERROR] /training/core/src/main/java/com/adobe/training/core/models/HelloWorldModel.java:[22,37] package org.apache.sling.api.resource does not exist
[ERROR] /training/core/src/main/java/com/adobe/training/core/models/HelloWorldModel.java:[25,33] package org.apache.sling.api.settings does not exist
[ERROR] /training/core/src/main/java/com/adobe/training/core/models/HelloWorldModel.java:[31,13] cannot find symbol symbol: class SlingSettingsService location: class com.adobe.training.core.models.HelloWorldModel What should a developer add to the pom.xml to fix the Maven build?

  • A. "<dependency>
    <groupId>com.adode.aem</groupId>
    <artifactId>aem-api</artifactId>
    <version>6.4.0</version>
    <classifier>apis</classifier>
    <scope<provided</scope>
    </dependency>"
  • B. <repository>
    <id>adobe-public-releases</id>
    <name>Adobe Public Repository</name>
    <url>https://repo.adobe.com/nexus/content/groups/public/</url>
    <layout>default</layout>
    </repository>
    </repositories>"
  • C. "<resources>
    <resource>
    <directory>src/main/content/jcr_root</directory>
    <filtering>false</filtering>
    <excludes>
    <exclude>**/.vlt</exclude>
    <exclude>**/.vltignore</exclude>
    <exclude>libs</exclude>
    </excludes>
    </resource>
    </resources>"
    "<repositories>
  • D. "<dependency>
    <groupId>com.adode.aem</groupId>
    <artifactId>uber-jar</artifactId>
    <version>6.4.0</version>
    <classifier>apis</classifier>
    <scope<provided</scope>
    </dependency>"

Answer: D

 

NEW QUESTION 56
There are performance, stability, and security issues with an installed AEM instance.
What should a developer do to fix these issues?

  • A. Delete and reinstall the AEM instance.
  • B. Install service pack updates from package share.
  • C. Stop, clear cache files, and restart the AEM instance.
  • D. Install Adobe-provided Apache configuration file.

Answer: B

 

NEW QUESTION 57
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 58
A developer needs to implement a service component that should be manually configured by operations to react on operational circumstances. The service component should NOT be active by default. The service has the properties myservice.name (one string value) and myservice.stringValues (a list of the string values) to be configured.
The developer needs to use OSGi Metatype annotations to make those properties configurable in the Apache Felix Web Console.
Which set of steps should the developer take to meet these requirements?

  • A. 1. Create an annotation interface as inner class of the service component and annotate it with @ObjectClassDefinition.2. Apply @AttributeDefinition for the methods myservice.name and myservice.stringValues.3. Use the @Component annotation with configurationPolicy = ConfigurationPolicy.REQUIRE on the service component.4. Use the @Designate annotation to link the service component to the created configuration annotation interface.5. Use the activate method of the service component class to get the configuration annotation interface class injected.
  • B. 1. For the class fields myserviceName and myserviceStringValues, add a @Property annotation each with names set to myservice.name and myservice.stringValues respectively.2. Use the @Component annotation with configurationFactory = true on the service component class.3. Use the @Service service component class.4. The configuration is automatically injected into the field by the service component runtime.
  • C. 1. Create an annotation interface as inner class of the service component and annotate it with @ObjectClassDefinition.2. Apply @AttributeDefinition for the methods myservice_name and myservice_stringValues.3. Use the @Component annotation with configurationPolicy = ConfigurationPolicy.REQUIRE on the service component.4. Use the @Designate annotation to link the service component to the created configuration annotation interface.5. Use the activate method of the service component class to get the configuration annotation interface class injected.
  • D. 1. For the class fields myserviceName and myserviceStringValues, add a @AttributeDefinition annotation each with names set to myservice.name and myservice.stringValues respectively.2. Use the @Component annotation with configurationFactory = true on the service component class.3. Use the @Service service component class.4. Use the activate method of the service component class to get the configuration annotation interface class injected.

Answer: C

 

NEW QUESTION 59
A developer is installing a content package with the package manager. The developer needs to restrict the approximate number of nodes in a batch that is saved to persistent storage in one transaction.
How should the developer modify the number of transient nodes to be triggered until automatic saving?

  • A. Modify the export package manifest header and copy the content package to AEM installation folder.
  • B. AEM instances automatically modify the number of transient nodes based on the load balancing.
  • C. Select the option MergePreserve for the Access Control Handling drop-down in the Install Package dialog-box.
  • D. Change the value of Save Threshold in the Install Package dialog-box.

Answer: D

Explanation:
Reference:
https://helpx.adobe.com/ro/experience-manager/kt/sites/using/gettingstarted- wknd-tutorial-develop/part1.html

 

NEW QUESTION 60
......

Authentic Best resources for AD0-E116 Online Practice Exam: https://www.free4torrent.com/AD0-E116-braindumps-torrent.html

Get the superior quality AD0-E116 Dumps Questions from Free4Torrent: https://drive.google.com/open?id=1XaKf6Gy5gPXdRHRSglQt1-L4RyboK-bT