Free AD0-E116 Exam Braindumps (page: 7)

Page 6 of 24

A developer creates a template-type for building editable templates.

The resulting editable templates and pages must always contain a specific layoutcontainer that can NOT be deleted by the author.

How should the developer meet this requirement?

  1. Add the layout container component to the structure section of the template-type
  2. Add the layout container component by including it on the actual page component
  3. Add a content policy to the template-type to disable the removal of the layout container
  4. Add the layout container component to the initial section of the template-type

Answer(s): D



An online insurance company website has user-generated content that must be replicated in all publish instances.

What action should the developer take to achieve this?

  1. Configure the dispatcher flush agent in publish instance.
  2. Configure reverse replication agents for the author.
  3. Configure the replication agent inthe publish instances.
  4. Disable static agent in the author instance.

Answer(s): B

Explanation:

https://docs.adobe.com/content/help/en/experience-managerdispatcher/ using/configuring/page-invalidate.html



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?

  1. "@ValueMapValue
    @Via(""jcr:title"")
    @Required
    private String titile;"
  2. "@ValueMapValue
    @Named(""jcr:title"")
    @Default(values = """")
    private String titile;"
  3. "@ValueMapValue
    @Named(""jcr:title"")
    @Required
    private String titile;"
  4. "@ValueMapValue
    @Via(""jcr:title"")
    @Default(values = """")
    private String titile;"

Answer(s): B



Which maven plugin is required to install a content package on a local AEM environment using maven?

  1. Maven Bundle Plugin
  2. Content Package Maven Plugin
  3. FileVault Package Maven Plugin
  4. MavenInstall Plugin

Answer(s): B






Post your Comments and Discuss Adobe AD0-E116 exam with other Community members:

AD0-E116 Discussions & Posts