2021 Realistic AD0-E116 Dumps Exam Tips Test Pdf Exam Material
Powerful AD0-E116 PDF Dumps for AD0-E116 Questions
Adobe AD0-E116 Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
NEW QUESTION 41
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. Enable JS/CSS minification in OSGi configuration console for HTML Library Manager.2. Check the JavaScript exception log in the OSGi web console.
- B. 1. Temporarily remove the embedded Client Libraries of the foobar Client Library.2. Use the browser JavaScript debugging tools.
- C. 1. Add the query parameter debugClientLibs=true to the request.2. Use the browser JavaScript debugging tools.
- D. 1. Add the selector debugClientLibs to the page request.2. Check the JavaScript exception log in the OSGi web console.
Answer: C
NEW QUESTION 42
Which maven plugin is required to install a content package on a local AEM environment using maven?
- A. FileVault Package Maven Plugin
- B. Content Package Maven Plugin
- C. Maven Bundle Plugin
- D. Maven Install Plugin
Answer: B
NEW QUESTION 43
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.day.cq.workflow.exec.WorkItem
- B. com.adobe.granite.workflow.exec.ParticipantStepChooser
- C. com.day.cq.workflow.exec.ParticipantChooser
- D. com.adobe.granite.workflow.exec.WorkflowData
Answer: B
NEW QUESTION 44
Which log file contains AEM application request and response entries?
- A. request.log
- B. response.log
- C. history.log
- D. audit.log
Answer: A
NEW QUESTION 45
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 C
- B. Option A
- C. Option B
- D. Option D
Answer: B
NEW QUESTION 46
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. filter
- C. virtualhosts
- D. cache
Answer: A
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 inherits from Component B and overwrites the base renderer to facilitate the tiles.
- B. Component A calls the HTL of Component B directly using a data-sly-include attribute.
- C. Component A overlays Component B and overwrites the base renderer to facilitate the tiles.
- D. 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.
Answer: D
NEW QUESTION 48
What is not available in globel.jsp?
- A. currentResource
- B. currentDesign
- C. currentNode
- D. currentPage
Answer: A
NEW QUESTION 49
A developer needs to install a content package on an AEM environment. However a content package with the same name is already installed.
What would be the safest way for the developer to install the content package to make sure only the changes of the new content package get applied?
- A. Use the "Force Upload" option when uploading the new content package
- B. Upload the content package to the CRX Package Share before installing it
- C. Install the content package using the OSGi web console
- D. Uninstall the existing content package before installing the new content package
Answer: D
NEW QUESTION 50
A developer created an editable template with a Layout Container. The developer needs to restrict the Layout Container to just one column layout.
What should the developer do to the editable template to enforce this restriction?
- A. Using Template Editor, lock the Structure Component for the template
- B. Using Template Editor, set the responsive settings to 1 column for Layout Container Policy
- C. Overlay wcm.foundation.components.page.responsive Client Library and set @max_col to 1
- D. Add responsive column control component to the template and set column type to 1
Answer: B
NEW QUESTION 51
After adding new features, a developer's environment is experiencing slowness before ultimately running out of memory. The initial log analysis points towards a large number of open sessions.
Which action should the developer take to further monitor the overall session count on this AEM instance?
- A. Go to <aem-install>/crx-qiuckstart/logs/strderr/log, use the following command grep -o 'CRXSessionImpl' strderr.log| wc -l.
- B. Go to Web Console > Status > Threads, verify the overall thread count.
- C. Run the following command to generate thread dumps jstack -l <pid> >> threaddumps.log, analyze thread dumps to find long running sessions.
- D. Go to Tools > Operations > Monitoring. Create a new report based on Number of Active Sessions as metric.
Answer: A
NEW QUESTION 52
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_HOST
- D. CQ_PORT
Answer: A
NEW QUESTION 53
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 54
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 C
- D. Option E
- E. Option D
Answer: A,E
NEW QUESTION 55
In which two ways can a developer keep simple and maintanable CRX Access Control Lists? (Choose two) Use Deny statements extensively
- A. Delete the `everyone` group
- B. Use Deny statements sparingly
- C. Assign access rights user by user
- D. Assign access rights to user groups rather than users
Answer: A,C
NEW QUESTION 56
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>/settings, create the sub folders global and prod and node with name <PID>.conf each and configure the properties via node properties.
- 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 /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.
- D. 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.
Answer: C
NEW QUESTION 57
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-> Log Support and click logs/custom.log
- B. OSGi -> Log Service and click logs/custom.log
- C. Sling -> Metrics and click logs/custom.log
- D. AEM -> Log Support and click logs/custom.log
Answer: A
NEW QUESTION 58
A developer needs to create a component with the following requirements:
* The component must be configurable
* The component should be editable, NOT removable
* An author should be unable to add the component to a page through design mode

Which mode structure should the developer use to meet these requirements?
- A. Option C
- B. Option A
- C. Option B
- D. Option D
Answer: B
NEW QUESTION 59
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 Amendment
3. Set user.default to com.adobe.aem.samples-bundle:sample-service=systemUser" - B. "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" - C. "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" - D. "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"
Answer: B
NEW QUESTION 60
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. File globbing in the dispatcher configuration is NOT correct.
- C. The OS file system permissions are NOT properly configured.
- D. The level of cache invalidation is NOT appropriate for the published content model.
Answer: D
NEW QUESTION 61
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 V1 core components to point to V2 Component
- B. Proxy Components will be automatically upgraded to the V2 Core Component on AEM Restart
- C. Create a new Proxy Component and set sling:resourceType property to V2 Core Component
- D. Modify the sling:resourceSuperType property on the proxy component to point to V2 Component
Answer: D
NEW QUESTION 62
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.cfg with content
name=""Service name""
intVal=I""5""" - B. "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""/>" - C. "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""/>" - D. "Use a file com.proj.ServiceComponent.config with content
name=""Service name""
intVal=I""5"""
Answer: D
NEW QUESTION 63
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 static methods to avoid boilerplate in application code
- B. Use the standard OSGi @Reference annotation to wire the dependencies in application code
- C. Use BundleContext.getServiceReference(...) and BundleContext.getService(...) in application code to look up for the required services just before usage
- D. Deploy a third party dependency injection container to wire dependencies more efficiently in application code
- E. Use a mock framework to be able to create and inject mocks in the test code
Answer: B,E
NEW QUESTION 64
A developer creates Editable Templates based on a custom Page component. The developer wants to leverage the Style System within the Editable Templates to allow authors to switch between the Dark and Light Theme. The Style System dialog is NOT enabled for the site.
What should the developer do to resolve this issue?
- A. Create two new client libraries with a dark and light theme and map them to the Page component.
- B. Create a new dialog for the custom Page components.
- C. Set the sling:resourceSuperType property to core/wcm/components/page/v2/page on the Page component.
- D. Define Style Definitions using Page Policy dialog on Editable Template.
Answer: A
NEW QUESTION 65
......
Guaranteed Accomplishment with Newest Nov-2021 FREE : https://www.testbraindump.com/AD0-E116-exam-prep.html
