AD0-E116 by Adobe Actual Free Exam Questions And Answers [UPDATED 2022]
AD0-E116 Questions Truly Valid For Your Adobe Exam!
NEW QUESTION 29
In which maven build phase is the content package assembled?
- A. package
- B. compile
- C. install
- D. deploy
Answer: A
NEW QUESTION 30
Refer to the following four Client Library Folders.
A developer uses the following:
What is the resulting HTML?
- A. Option A
- B. Option B
- C. Option D
- D. Option C
Answer: D
NEW QUESTION 31
An application runs specific license checks against certain DAM assets every day. It should send an email to a configured list if it finds warnings, and mark the asset accordingly. A service component that uses the Apache Sling Scheduler Service is created. DAM assets that must NOT be used anymore are hidden using ACLs and the license check must re-check them.
How should a developer obtain a resource resolver that can read and update the DAM assets?
- A. Set up a cron job with curl calls with the admin user and use request.getResourse().getResourceResolver().
- B. Create a configuration for PID org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-damaccess that references a pre-created service user with r/w permissions and use ResourceResolverFactory.getServiceResourceResolver(...).
- C. Configure the user admin in PID org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl as user.default and make sure the service user exists and has jcr:read and jcr:write permissions.
- D. Create a configuration line in PID com.day.cq.security.ACLSetup for the user that you obtain a session for via ResourceResolverFactory.getResourceResolver(...).
Answer: C
NEW QUESTION 32
An application contains an OSGi configuration that contains a password.
How should a developer prevent this sensitive information from being stored in plain text in JCR?
- A. 1. Use console at /system/console/crypto to encrypt the value
2. Either create an encrypted value for each AEM instance and use runmodes to apply the different values or make sure relevant instances share the same master key
3. Sensitive information is automatically decrypted using the CryptoSupport OSGi service before the value is returned - B. 1. Use console at /system/console/crypto to encrypt the value
2. Either create an encrypted value for each AEM instance and use runmodes to apply the different values or make sure relevant instances share the same master key
3. When loading the value in the code, call CryptoSupport.unprotect(_) before using the value - C. 1. Use console at /system/console/configMgr and tick the checkbox "encrypt" before saving a configuration
2. Either create an encrypted value for each AEM instance and use runmodes to apply the different values or make sure relevant instances share the same master key
3. Sensitive information is automatically decrypted using the CryptoSupport OSGi service before the value is returned - D. 1. Use console at /system/console/configMgr and tick the checkbox "encrypt" before saving a configuration
2. Use encrypted values work across all instances
3. When loading the value in the code, call CryptoSupport.unprotect(...) before using the value
Answer: B
NEW QUESTION 33
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 B
- C. Option C
- D. Option D
Answer: A
NEW QUESTION 34
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 exclude that has the value jcr:nodeType==cq:Page
- B. A Launcher with the field path pointing to the folder and nodetype field have the value cq:Page
- C. A Launcher with the field condition that has the value jcr:content/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: B
NEW QUESTION 35
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""></div>" - B. "<div data-one=""foo"" data-two=2 data-three=""""></div>
<div data-one="""" data-two=0 data-three=""""></div>" - C. "<div data-one=""foo"" data-two=""2"" data-three=""true""></div>
<div data-one="""" data-two=""0"" data-three=""false""></div>" - D. "<div data-one=""foo"" data-two=2 data-three=""""></div>
<div data-two=0 data-three=""""></div>"
Answer: A
NEW QUESTION 36
Two AEM publish instances feed a single Dispatcher.
Which part of the Dispatcher configuration should a developer review to ensure both AEM publish instances are used?
- A. farms
- B. virtualhosts
- C. cache
- D. filter
Answer: A
NEW QUESTION 37
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"" /params ""tracking_id"" }
...
}" - B. "Modify the dispatcher.any file to contain the following lines:
/ignoreUrlParams
{
...
/0002 { /glob ""tracking_id"" /type ""allow"" }
...
}" - C. "Modify the dispatcher.any file to contain the following lines:
/rules
{
...
/0000 { /glob ""*"" /type ""allow"" /params ""tracking_id"" }
...
}" - D. "Modify the dispatcher.any file to contain the following lines:
/filter
{
...
/0023 { /type ""allow"" /url ""/content/*/*.html?tracking_id=*"" }
...
}"
Answer: B
NEW QUESTION 38
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?
- A. Sticky session are NOT configured properly, resulting in requests being delivered to the wrong server.
- B. The level of cache invalidation is NOT appropriate for the published content model.
- C. File globbing in the dispatcher configuration is NOT correct.
- D. The OS file system permissions are NOT properly configured.
Answer: B
NEW QUESTION 39
Which maven plugin is required to install a content package on a local AEM environment using maven?
- A. Maven Bundle Plugin
- B. FileVault Package Maven Plugin
- C. Maven Install Plugin
- D. Content Package Maven Plugin
Answer: D
NEW QUESTION 40
A developer needs to change the label "Sites" in the navigation of AEM author to "Websites".
Which action should the developer take to achieve this?
- A. Change the code of /libs/granite/ui/components/shell/clientlibs/shell/js/globalnav.js to display the new value
- B. Modify the code of /libs/granite/ui/components/shell/globalnav/overlay/overlay.jsp to display the new value
- C. Modify the node /libs/cq/core/content/nav/sites by updating the jcr:title property
- D. Create a new node /apps/cq/core/content/nav/sites and update the property jcr:itle
Answer: D
NEW QUESTION 41
How should a developer configure the replication agent to flush the dispatcher cache for a newly activated page?
- A. Create a reverse replication agent on the author instance
- B. Create a dispatcher flush agent in publish instance
- C. Set the serialization type property of the default agent to dispatcher flush
- D. Create a new replication agent and set transport URI to point to the dispatcher
Answer: B
NEW QUESTION 42
A service component periodically retrieves content from an external REST interface and saves the information in JCR. The REST endpoint is configured via an OSGi service property. There is one URL for production (runmode prod) and another URL for all other environments.
How should a developer configure the OSGi service?
- A. Underneath /apps/<project>, create the sub folders config and config.prod and a file with the name <PID>.config each and list the properties as key value pairs in there.
- B. Underneath /config/<project>/settings, create the sub folders config and config.prod and a file with the name <PID>.config each and list the properties as key value pairs in there.
- C. Underneath /config/<project>/settings, create the sub folders config.default and config.prod and a file with the name <PID>.config each and list the properties as key value pairs in there.
- D. Underneath /apps/<project>/settings, create the sub folders global and prod and node with name <PID>.conf each and configure the properties via node properties.
Answer: A
NEW QUESTION 43
Which xml tag is used within the vault package definition to add a new path to a content package?
- A. <rule>
- B. <path>
- C. <filter>
- D. <content>
Answer: C
NEW QUESTION 44
A developer creates an AEM editable template that includes a Layout Container. When the developer creates a page using this template, the Layout Container placeholder does NOT appear.
What is causing this issue?
- A. The page template has NOT been published.
- B. The Layout Container has NOT been unlocked.
- C. The Layout Container does NOT have a policy.
- D. The page template has NOT been enabled.
Answer: B
NEW QUESTION 45
A developer has a component located under the path /apps. This component has a Client Library which is directly loaded onto a page. The publish instance loads the page correctly. The dispatcher also loads the page but the Client Library is missing.
How should the developer resolve this issue, while taking security into consideration?
- A. Add the property allowProxy with a boolean value true.
- B. Change the ACLs for the Client Library.
- C. Allow the path to the clientlibs on the dispatcher.
- D. Move the Client Library under /apps/<project>library.
Answer: A
NEW QUESTION 46
A developer needs to analyze log messages for custom Java application. The developer writes the following Java class:
The developer creates a custom log named custom.log with a debug level in OSGi web console for Java package com.abc.xyz.
Where should the developer look in the OSGi web console to view the above message?
- A. OSGi -> Log Service and click logs/custom.log
- B. AEM -> Log Support and click logs/custom.log
- C. Sling-> Log Support and click logs/custom.log
- D. Sling -> Metrics and click logs/custom.log
Answer: C
NEW QUESTION 47
A developer needs to create a new component called "Component A". Component A must show a list of other components that all have a resource type of existing "Component B". Component A must render this list of tiles for each Component B where the tile rendering is different from the default one. The list of rendered tiles must be reusable by future new components.
How should the developer implement this functionality?
- A. Component A calls the HTL of Component B directly using a data-sly-include attribute.
- B. Create a script for tile rendering in Component B and use data-sly-resource attribute with a Sling selector in Component A to render the tile.
- C. Component A overlays Component B and overwrites the base renderer to facilitate the tiles.
- D. Component A inherits from Component B and overwrites the base renderer to facilitate the tiles.
Answer: B
NEW QUESTION 48
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. 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.
- 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. 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.
Answer: C
NEW QUESTION 49
Which environment variable in the AEM start script should a developer modify to enable remote debugging?
- A. CQ_JVM_OPTS
- B. CQ_RUNMODE
- C. CQ_PORT
- D. CQ_HOST
Answer: A
NEW QUESTION 50
There are performance, stability, and security issues with an installed AEM instance.
What should a developer do to fix these issues?
- A. Install service pack updates from package share.
- B. Install Adobe-provided Apache configuration file.
- C. Delete and reinstall the AEM instance.
- D. Stop, clear cache files, and restart the AEM instance.
Answer: A
NEW QUESTION 51
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 B
- C. Option C
- D. Option D
Answer: A
NEW QUESTION 52
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. <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>" - B. "<dependency>
<groupId>com.adode.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.4.0</version>
<classifier>apis</classifier>
<scope<provided</scope>
</dependency>" - C. "<dependency>
<groupId>com.adode.aem</groupId>
<artifactId>aem-api</artifactId>
<version>6.4.0</version>
<classifier>apis</classifier>
<scope<provided</scope>
</dependency>" - D. "<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>
Answer: B
NEW QUESTION 53
......
Get instant access of 100% real exam questions with verified answers: https://www.pass4surecert.com/Adobe/AD0-E116-practice-exam-dumps.html
AD0-E116 Actual Questions - Instant Download Tests Free Updated Today!: https://drive.google.com/open?id=1wgYWH0RjzUN285JSVN3Ytv93UnkxmROS