Adobe Experience Manager AD0-E116 Practice Test Engine Try These 95 Exam Questions [Q50-Q69]

Share

Adobe Experience Manager AD0-E116 Practice Test Engine: Try These 95 Exam Questions

Guaranteed Success in Adobe Experience Manager AD0-E116 Exam Dumps

NEW QUESTION 50
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 51
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 overlays Component B and overwrites the base renderer to facilitate the tiles.
  • B. Component A inherits from 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. 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 52
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
    @Via(""jcr:title"")
    @Required
    private String titile;"
  • B. "@ValueMapValue
    @Named(""jcr:title"")
    @Default(values = """")
    private String titile;"
  • C. "@ValueMapValue
    @Named(""jcr:title"")
    @Required
    private String titile;"
  • D. "@ValueMapValue
    @Via(""jcr:title"")
    @Default(values = """")
    private String titile;"

Answer: B

 

NEW QUESTION 53
In which maven build phase is the content package assembled?

  • A. compile
  • B. install
  • C. package
  • D. deploy

Answer: C

 

NEW QUESTION 54
A developer wants to extend AEM Core Components to create a custom Carousel Component.
How should the developer extend the Core Components?

  • A. Copy the Core Carousel component to /apps/<project> folder.
  • B. Make changes to the original component and assign a component group.
  • C. Use the sling:resourceSuperType property to point to the core component.
  • D. Use the sling:resourceType property to point to the core component.

Answer: C

 

NEW QUESTION 55
A developer needs to implement a header component for a website. The component has the following requirements:
- The component should be configured once on the page highest in the hierarchy.
- The header component on pages lower in the hierarchy should look the same and show the same data.
- If necessary, the configuration can be overwritten on a child page.
- The component should show a list of links that are configured in the header component.
Which code snippet for returning the list of pages should the developer use?

  • A. "public String[] getHeaderLinks(Page page) {
    final Resource pageContent = page.getContentResource();
    final ComponentInheritanceValueMap properties = ComponentInheritanceValueMap(pageContent); return properties.get(HEADER_PAGE_LIST, String[].class);
    }"
  • B. "public String[] getHeaderLinks(Resource componentResource) {
    final HierarchyNodeInheritanceValueMap properties = new HierarchyNodeInheritanceValueMap (componentResource); return properties.getInherited(HEADER_PAGE_LIST, String[].class);
    }"
  • C. "public String[] getHeaderLinks(Resource componentResource) {
    final ComponentInheritanceValueMap properties = componentResource.adaptTo(ComponentInheritanceValueMap.class); return properties.getInherited(HEADER_PAGE_LIST, String[].class);
    }"
  • D. "public String[] getHeaderLinks(Resource componentResource) {
    final HierarchyNodeInheritanceVauleMap properties = componentResource.adaptTo(HierarchyNodeInheritanceVauleMap.class); return properties.getInherited(HEADER_PAGE_LIST, String[].class);
    }"

Answer: B

 

NEW QUESTION 56
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. Set the sling:resourceSuperType property to core/wcm/components/page/v2/page on the Page component.
  • B. Create a new dialog for the custom Page components.
  • C. Create two new client libraries with a dark and light theme and map them to the Page component.
  • D. Define Style Definitions using Page Policy dialog on Editable Template.

Answer: C

 

NEW QUESTION 57
Which xml tag is used within the vault package definition to add a new path to a content package?

  • A. <path>
  • B. <filter>
  • C. <content>
  • D. <rule>

Answer: B

 

NEW QUESTION 58
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 B
  • B. Option D
  • C. Option A
  • D. Option C

Answer: D

Explanation:
Reference:
https://docs.adobe.com/content/help/en/experience-manager-htl/using/htl/block-statements.html

 

NEW QUESTION 59
The structure section of an editable template has a locked component.
What happens to the content of that component when a developer unlocks it?

  • A. The content is deleted after confirmation from the template author.
  • B. The content stays in the same place but it ignored on pages using the template.
  • C. The content is moved to the initial section of the editable template.
  • D. The content is copied to the initial section of the editable template.

Answer: C

 

NEW QUESTION 60
A developer wants to change the log level for a custom API.
Which OSGi configuration should the developer modify?

  • A. Apache Sling Logging Configuration
  • B. Apache Sling Log Tracker Service
  • C. Apache Sling Logging Writer Configuration
  • D. Adobe Granite Log Analysis Service

Answer: A

 

NEW QUESTION 61
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-one="""" data-two=0 data-three=""""></div>"
  • B. "<div data-one=""foo"" data-two=2 data-three=""""></div>
    <div data-two=0 data-three=""""></div>"
  • C. "<div data-one=""foo"" data-two=""2"" data-three></div>
    <div data-two=""0""></div>"
  • D. "<div data-one=""foo"" data-two=""2"" data-three=""true""></div>
    <div data-one="""" data-two=""0"" data-three=""false""></div>"

Answer: C

 

NEW QUESTION 62
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 bundles consuming the service need to import the fully qualified name of the service interface.
  • B. The service needs to correctly declare metatype information.
  • C. The bundle providing the service needs to contain an adequate SCR descriptor file.
  • D. The bundle providing the service needs to contain a whitelist of allowed consumer bundles.
  • E. The bundle providing the service needs to export the java package of the service interface.

Answer: A,E

 

NEW QUESTION 63
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. Overlay wcm.foundation.components.page.responsive Client Library and set @max_col to 1
  • C. Using Template Editor, set the responsive settings to 1 column for Layout Container Policy
  • D. Add responsive column control component to the template and set column type to 1

Answer: C

 

NEW QUESTION 64
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 Web Console > Status > Threads, verify the overall thread count.
  • B. Run the following command to generate thread dumps jstack -l <pid> >> threaddumps.log, analyze thread dumps to find long running sessions.
  • C. Go to Tools > Operations > Monitoring. Create a new report based on Number of Active Sessions as metric.
  • D. Go to <aem-install>/crx-qiuckstart/logs/strderr/log, use the following command grep -o 'CRXSessionImpl' strderr.log| wc -l.

Answer: D

 

NEW QUESTION 65
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 bundle cq-wcm-core to the application bundle
  • B. a maven dependency to AEM uber-jar 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: B

 

NEW QUESTION 66
Which log file contains AEM application request and response entries?

  • A. request.log
  • B. history.log
  • C. response.log
  • D. audit.log

Answer: A

 

NEW QUESTION 67
Which log file should a developer use to search for exception stacktraces?

  • A. <aem-install>/crx-quickstart/logs/request.log
  • B. <aem-install>/crx-quickstart/logs/access.log
  • C. <aem-install>/crx-quickstart/logs/info.log
  • D. <aem-install>/crx-quickstart/logs/error.log

Answer: D

 

NEW QUESTION 68
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.ParticipantChooser
  • B. com.day.cq.workflow.exec.WorkItem
  • C. com.adobe.granite.workflow.exec.ParticipantStepChooser
  • D. com.adobe.granite.workflow.exec.WorkflowData

Answer: C

 

NEW QUESTION 69
......

Test Engine to Practice AD0-E116 Test Questions: https://www.briandumpsprep.com/AD0-E116-prep-exam-braindumps.html

Adobe AD0-E116 Daily Practice Exam New 2023 Updated 95 Questions: https://drive.google.com/open?id=17706hJUlUTRjJ_Xj8JnpU8DXhYJZi-5y