[Jan 22, 2022] Fully Updated Adobe Experience Manager (AD0-E116) Certification Sample Questions
Latest Adobe AD0-E116 Real Exam Dumps PDF
NEW QUESTION 23
A custom AEM application is using the PageManager API.
What should a developer add to make the application compile and run correctly in AEM?
- A. a maven dependency to AEM uber-jar to the application bundle
- B. a maven dependency to bundle cq-wcm-core to the application bundle
- C. a maven dependency to AEM uber-jar to the content package
- D. a maven dependency to bundle cq-wcm-api to the content package
Answer: A
NEW QUESTION 24
A developer wants to create a Client Library that will only be included on touch enabled devices.
What action should the developer take to achieve this?
- A. Create a resource folder called "touch" under the Client Library Folder
- B. Set the channels property on the Client Library Folder to "touch"
- C. Pass the parameter user-agent='touch' when referencing the Client Library
- D. Add the line "#base=touch" to the js.txt and css.txt files in the Client Library Folder
Answer: B
NEW QUESTION 25
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. @Service annotation is missing in DeveloperInfo.java.
- B. Interface DeveloperInfo does NOT have any method.
- C. Activator class is NOT implementing DeveloperInfo interface.
- D. The required Maven repository for OSGi is missing.
Answer: C
NEW QUESTION 26
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 27
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. 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.
- 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. Set up a cron job with curl calls with the admin user and use request.getResourse().getResourceResolver().
- 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: A
NEW QUESTION 28
A developer is creating a custom component that shows a list of pages. For each page, the following items must be shown:
* Title of the page
* Description of the page
* A button with fixed text "Read more" that must be translatable
All of the above fields must be wrapped in a <div> tag.
The logic for obtaining the list of pages must be reusable for future components.
Which snippet should the developer use to meet these requirements?

- A. Option C
- B. Option D
- C. Option B
- D. Option A
Answer: A
Explanation:
Reference:
https://docs.adobe.com/content/help/en/experience-manager-htl/using/htl/block-statements.html
NEW QUESTION 29
A banking AEM application contains functionality to calculate a mortgage rate based on user input. A servlet in place calculates the result in the backend. A call to an internal third-party REST service is required to retrieve the average object value based on a given zip code.
The following three service interfaces are used:
MortgageCalculationServlet, MortgageCalculationService and ObjectValueLookupRestService where MortgageCalculationServlet has a dependency to MortgageCalculationService and MortgageCalculationService has a dependency to ObjectValueLookupRestService.
The calculation has many combinations of input parameters and edge cases, so the JUnit coverage must be as high as possible.
Which two strategies should the developer use to ensure testability of the application code? (Choose two)
- A. Use a mock framework to be able to create and inject mocks in the test code
- B. Deploy a third party dependency injection container to wire dependencies more efficiently in application code
- C. Use the standard OSGi @Reference annotation to wire the dependencies in application code
- D. Use BundleContext.getServiceReference(...) and BundleContext.getService(...) in application code to look up for the required services just before usage
- E. Use static methods to avoid boilerplate in application code
Answer: A,C
NEW QUESTION 30
Which log file contains AEM application request and response entries?
- A. audit.log
- B. history.log
- C. response.log
- D. request.log
Answer: D
NEW QUESTION 31
A developer wants to automatically truncate request log files once they exceed 10 MB.
Which OSGi configuration should the developer modify?
- A. Apache Sling Logging Configuration
- B. Adobe Granite Log Analysis Service
- C. Apache Sling Logging Writer Configuration
- D. Apache Sling Customizable Request Data Logger
Answer: C
Explanation:
Reference:
https://sling.apache.org/documentation/development/logging.html
NEW QUESTION 32
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 33
A developer needs to implement a functionality that requires creating a Custom Workflow Step.
Which two steps should the 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. Implement a Java class with this method "public void process (WorkItem item, WorkflowSession wfsession) throws WorkflowException"
- C. Implement a Java class implementing the interface com.adobe.granite.workflow.exec.WorkflowProcess
- D. Create a Workflow component node of the Super Resource Type "cq/workflow/components/model/process" under the folder /apps/components
- E. Create a Workflow component node of the Super Resource Type "cq/workflow/components/step" under the folder /etc/workflow/models
Answer: C,D
NEW QUESTION 34
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. Sling -> Metrics and click logs/custom.log
- B. AEM -> Log Support and click logs/custom.log
- C. OSGi -> Log Service and click logs/custom.log
- D. Sling-> Log Support and click logs/custom.log
Answer: D
NEW QUESTION 35
A developer needs to configure sets of values according to the following parameters:
- Varies for different staging environments
- Varies for different content paths
- Diffets between author and publish
Which implementation strategy should the developer use to meet these requirements?
- A. One OSGi configuration for the set of values with runmodes
- B. A context aware configuration with buckets using an OSGi configuration
- C. A JCR property at the content root node of the site with inheritedPageProperties
- D. A custom cloud condifuration
Answer: B
NEW QUESTION 36
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 path pointing to the folder and nodetype field have the value cq:Page
- C. A Launcher with the field exclude that has the value jcr:nodeType==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: B
NEW QUESTION 37
One content package of a custom application contains the following content paths.
The server also contains the content path /apps/myproj/configuration that must NOT be touched when installing the package.
Which two filter definitions should a developer use to always update only the contained paths upon installation in the server? (Choose two.)
- A. Option E
- B. Option C
- C. Option B
- D. Option A
- E. Option D
Answer: B,E
NEW QUESTION 38
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?
- A. "1. Create an AEM 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" - B. "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" - C. "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" - D. "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"
Answer: D
NEW QUESTION 39
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. Change the js folder to a Client Library node and add the property categories = "[clientlibs.example]"
- B. Change the js folder to a Client Library node and embed it on the clientlibs node
- C. Split the js and css into 2 Client Libraries since they can't be in the same Client Library
- D. Add #base=js as the first line in the js.txt file
Answer: D
NEW QUESTION 40
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 D
- B. Option C
- C. Option B
- D. Option A
Answer: D
NEW QUESTION 41
Which xml tag is used within the vault package definition to add a new path to a content package?
- A. <rule>
- B. <filter>
- C. <content>
- D. <path>
Answer: B
NEW QUESTION 42
For each CRX node in the hierarchy, which actions can be configured using the user admin interface?
- A. Read, Modify, Create, Delete, Read ACL, Edit ACL, Replicate
- B. Read, Write, Delete, Edit ACL, Replicate
- C. Read, Modify, Create, Delete, Read ACL, Edit ACL
- D. Read, Write, Read ACL, Edit ACL, Replicate
Answer: A
NEW QUESTION 43
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:
/filter
{
...
/0023 { /type ""allow"" /url ""/content/*/*.html"" /params ""tracking_id"" }
...
}" - D. "Modify the dispatcher.any file to contain the following lines:
/ignoreUrlParams
{
...
/0002 { /glob ""tracking_id"" /type ""allow"" }
...
}"
Answer: D
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 Layout Container has NOT been unlocked.
- B. The page template has NOT been enabled.
- C. The Layout Container does NOT have a policy.
- D. The page template has NOT been published.
Answer: A
NEW QUESTION 45
......
Can I retake the Adobe AD0-E116 exam?
Yes, you can retake the Adobe AD0-E116 exam, but only once every 36 months. When you wish to take this exam again, simply visit Pearson VUE's website using your account email and password that was created when you took the first test. Then follow steps 1through 6 above.
Adobe AD0-E116 Dumps - Secret To Pass in First Attempt: https://www.testkingpdf.com/AD0-E116-testking-pdf-torrent.html
AD0-E116 Practice Test Questions Updated 95 Questions: https://drive.google.com/open?id=1Ad1GcrxDHxndWY0Ne7kN9UmylWzmT0Fg

