Updated Aug-2021 Test Engine or PDF for the Adobe AD0-E116 test to help you quickly prepare for the Adobe exam!
Full AD0-E116 Practice Test and 95 unique questions with explanations waiting just for you, get it now!
NEW QUESTION 12
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. Add a maven profile and configure the content package maven plugin within this profile
- D. Configure the maven install plugin by defining the target URL, username and password as maven properties.
Answer: C
NEW QUESTION 13
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. Overlay wcm.foundation.components.page.responsive Client Library and set @max_col to 1
- B. Using Template Editor, set the responsive settings to 1 column for Layout Container Policy
- C. Using Template Editor, lock the Structure Component for the template
- D. Add responsive column control component to the template and set column type to 1
Answer: B
NEW QUESTION 14
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 D
- C. Option B
- D. Option C
Answer: A
NEW QUESTION 15
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 16
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 D
- C. Option B
- D. Option C
Answer: A
NEW QUESTION 17
A developer is working on the following Sling Model that is being used in a component.
@Model(adaptables = SlingHttpServletRequest.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL) public class SampleModel {
@Inject
private Page currentPage;
private boolead matchingTitle;
@PostConstruct
private void init(){
matchingTitle = title.equals(currentPage.getName());
}
public boolean isMatchingTitle(){
return matchingTitle;
}
}
The model must check if the configured value of the jct:title property for the component matches the same name of the current page. If the jcr:title property of the component has NOT been configured, then isMatchingTitle() must return false.
How should the developer inject the title property in this model?
- A. "@ValueMapValue
@Named(""jcr:title"")
@Default(values = """")
private String titile;" - B. "@ValueMapValue
@Via(""jcr:title"")
@Required
private String titile;" - C. "@ValueMapValue
@Via(""jcr:title"")
@Default(values = """")
private String titile;" - D. "@ValueMapValue
@Named(""jcr:title"")
@Required
private String titile;"
Answer: A
NEW QUESTION 18
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. Adobe Granite Log Analysis Service
- C. Apache Sling Logging Configuration
- D. Apache Sling Log Tracker Service
Answer: C
NEW QUESTION 19
Which xml tag is used within the vault package definition to add a new path to a content package?
- A. <content>
- B. <rule>
- C. <path>
- D. <filter>
Answer: D
NEW QUESTION 20
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.default 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 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 21
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 22
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. Move the Client Library under /apps/<project>library.
- B. Change the ACLs for the Client Library.
- C. Add the property allowProxy with a boolean value true.
- D. Allow the path to the clientlibs on the dispatcher.
Answer: C
NEW QUESTION 23
A custom bundle of an application is in state "Installed" after deploying it with Maven.
What should a developer do to change it to state "Active"?
- A. Ensure all OSGi requirements are met and re-deploy using Maven
- B. Use the "Update" action for the bundle in the Apache Felix Web Console
- C. Reinstall the content package using the package manager
- D. Use the "Start" action for the bundle in the Apache Felix Web Console
Answer: A
NEW QUESTION 24
A Client-Side Library has the category "library.example".
Which HTL statement should a developer use to reference only the CSS files of this Client-Side library
- A. <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.all @ categories='library.example.css'}"/>
- B. <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.css @ category='library.example'}"/>
- C. <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.all @ type='css' categories='library.example'}"/>
- D. <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.css @ categories='library.example'}"/>
Answer: D
NEW QUESTION 25
A developer installs the latest Service pack to a local AEM author instance.
How should the developer install this package on the publish instance?
- A. Use upload/install from OSGi console of publish instance
- B. Replicate from package manager of author instance
- C. Use upload/install from OSGi console of author instance
- D. Replicate from package manager of publish instance
Answer: B
NEW QUESTION 26
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 D
- D. Option C
- E. Option E
Answer: A,C
NEW QUESTION 27
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. Set the channels property on the Client Library Folder to "touch"
- B. Pass the parameter user-agent='touch' when referencing the Client Library
- C. Create a resource folder called "touch" under the Client Library Folder
- D. Add the line "#base=touch" to the js.txt and css.txt files in the Client Library Folder
Answer: A
NEW QUESTION 28
......
Get Latest AD0-E116 Dumps Exam Questions: https://drive.google.com/open?id=1KenDIjUXcOEB8V5x5X3QGqk_fldHhMA3
Full AD0-E116 Practice Test and 95 unique questions with explanations waiting just for you, get it now: https://www.testpassking.com/AD0-E116-exam-testking-pass.html