[Feb-2022] Adobe AD0-E116 Exam Practice Test Questions - ExamTorrent
Updated Certification Exam AD0-E116 Dumps - Practice Test Questions
NEW QUESTION 10
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 A
- B. Option B
- C. Option D
- D. Option C
Answer: A
NEW QUESTION 11
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.config with content
name=""Service name""
intVal=I""5""" - B. "Use a file com.proj.ServiceComponent.cfg with content
name=""Service name""
intVal=I""5""" - C. "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""/>" - 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: A
NEW QUESTION 12
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. Sling-> Log Support and click logs/custom.log
- C. Sling -> Metrics and click logs/custom.log
- D. AEM -> Log Support and click logs/custom.log
Answer: B
NEW QUESTION 13
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. 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.
- B. Component A overlays Component B and overwrites the base renderer to facilitate the tiles.
- C. Component A calls the HTL of Component B directly using a data-sly-include attribute.
- D. Component A inherits from Component B and overwrites the base renderer to facilitate the tiles.
Answer: A
NEW QUESTION 14
A developer needs to create a banner component. This component shows an image across the full width of the page. A title is shown on top of the image. This text can be aligned to the left, middle, or right. The core components feature a teaser component which matches almost all requirements, but not all.
What is the most maintainable way for the developer to implement these requirements?
- A. Inherit from the teaser core component.
- B. Use and configure the teaser core component.
- C. Create a new custom component from scratch.
- D. Overlay the teaser core component.
Answer: A
Explanation:
Reference:
https://docs.adobe.com/content/help/en/experience-manager-core-components/using/components/teaser.html
NEW QUESTION 15
Which log file contains AEM application request and response entries?
- A. history.log
- B. response.log
- C. audit.log
- D. request.log
Answer: D
NEW QUESTION 16
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 17
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. Apache Sling Logging Configuration
- C. Adobe Granite Log Analysis Service
- D. Apache Sling Log Tracker Service
Answer: B
NEW QUESTION 18
A developer is working on a project locally and needs to install packages manually. The deployments to the localhost must be automated to speed up development. This functionality must be toggled on and off, depending on the needs of the developer.
Which step should the developer take to achieve this?
- A. Run maven with the deploy phase. Maven will install the package on all local AEM instances running without further configuration
- B. Write a script that does a PUT call to AEM each time maven builds a new package
- C. Configure the maven install plugin by defining the target URL, username and password as maven properties.
- D. Add a maven profile and configure the content package maven plugin within this profile
Answer: D
NEW QUESTION 19
In which maven build phase is the content package assembled?
- A. package
- B. compile
- C. deploy
- D. install
Answer: A
NEW QUESTION 20
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. Proxy Components will be automatically upgraded to the V2 Core Component on AEM Restart
- B. Modify the sling:resourceSuperType property on the proxy component to point to V2 Component
- C. Create a new Proxy Component and set sling:resourceType property to V2 Core Component
- D. Modify the sling:resourceSuperType property on the V1 core components to point to V2 Component
Answer: B
NEW QUESTION 21
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 D
- D. Option C
Answer: A
NEW QUESTION 22
Which xml tag is used within the vault package definition to add a new path to a content package?
- A. <rule>
- B. <filter>
- C. <path>
- D. <content>
Answer: B
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 content package
- B. a maven dependency to AEM uber-jar to the application bundle
- C. a maven dependency to bundle cq-wcm-core to the application bundle
- D. a maven dependency to bundle cq-wcm-api to the content package
Answer: B
NEW QUESTION 24
A developer is creating a custom component on the page /latestBlogs.html that needs to list all the titles of the blogs pages under /content/blogs.
How does this component get the list of child pages?
- A. Use PageManager.getPage("/content/blogs") of the static PageManager class to instantiate a Page object and then iterate through the child pages and print the title for each.
- B. Adapt the resourceResolver to the PageManger service, then use the getPage(/content/blogs) to instantiate a Page object and then iterate through the child pages and print the title for each.
- C. Instantiate a node object with session.getNode(/content/blogs) and then iterate through the child nodes and print the title for each.
- D. Use the QueryDebugger to look for all children of /content/blogs and then iterate through the result set and print the title for each.
Answer: D
NEW QUESTION 25
A developer creates a custom component. The component dialog includes the following two fields:
he component should display the first 'X' characters of the text entered in the 'text' input where 'X' is the number entered in the 'charLimit' input. If zero, or no value, is entered in the 'charLimit' input then the text should be unaltered. The developer creates the following Sling Model to perform the trancation:
A Null Pointer Exception occurs if NO charLimit values is set in the component dialog.
What should the developer do to resolve this issue?
- A. Replace the defaultValue="0" attribute of the charLimit field in the dialog with defaultValue="{Long}0".
- B. Add the @Default annotation to the 'chatLimit' variable in the Sling Model.
- C. Replace the defaultValue="0" attribute of the 'charLimit' field in the dialog with min="0".
- D. Change the defaultInjectionStrategy of the Truncation Sling Model to DefaultInjectionStrategy.REQUIRED.
Answer: B
NEW QUESTION 26
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. The required Maven repository for OSGi is missing.
- B. Activator class is NOT implementing DeveloperInfo interface.
- C. Interface DeveloperInfo does NOT have any method.
- D. @Service annotation is missing in DeveloperInfo.java.
Answer: B
NEW QUESTION 27
A developer is working on a complex project with multiple bundles. One bundle provides an OSGi service for other bundles.
Which two options are necessary to ensure that the other bundles can reference that OSGi service? (Choose two.)
- A. The bundle providing the service needs to export the java package of the service interface.
- B. The bundles consuming the service need to import the fully qualified name of the service interface.
- C. The bundle providing the service needs to contain an adequate SCR descriptor file.
- D. The service needs to correctly declare metatype information.
- E. The bundle providing the service needs to contain a whitelist of allowed consumer bundles.
Answer: A,B
NEW QUESTION 28
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. Uninstall the existing content package before installing the new content package
- C. Upload the content package to the CRX Package Share before installing it
- D. Install the content package using the OSGi web console
Answer: B
NEW QUESTION 29
Which two methods could a developer use to obtain a Session without using a deprecated API? (Choose two.)

- A. Option B
- B. Option C
- C. Option E
- D. Option A
- E. Option D
Answer: A,E
NEW QUESTION 30
How should a developer enable remote debugging of an AEM server without modifying the AEM start script?
- A. Rename the quickstart jar file to include the additional debug settings.
- B. Enable the remote debugging service through the AEM Web Console.
- C. Include an additional JVM parameter when starting AEM with java -jar.
- D. Enable the remote debugging service through the AEM Cloud Services menu.
Answer: A
NEW QUESTION 31
......
Updated Verified AD0-E116 dumps Q&As - Pass Guarantee or Full Refund: https://www.examtorrent.com/AD0-E116-valid-vce-dumps.html
AD0-E116 PDF Questions and Testing Engine With 95 Questions: https://drive.google.com/open?id=1TKTTclT_wnLSZ1eaAgyGwbCz9IbJH_0s
