




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Validates developer proficiency in AEM Sites and Assets. Exam covers component development, OSGi services, Sling models, workflows, integrations, templates, and client libraries. Candidates must demonstrate the ability to build scalable and maintainable AEM solutions within enterprise environments.
Typology: Exams
1 / 190
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. Which command is typically used to generate a new AEM project using Maven archetype? A) mvn clean install B) mvn archetype:generate C) mvn package D) mvn deploy Answer: B Explanation: The command mvn archetype:generate is used to create a new project from a Maven archetype, including AEM projects based on the AEM Maven archetype. Question 2. Which run mode is primarily used for authoring content in AEM?
A) author B) publish C) dispatcher D) developer Answer: A Explanation: The 'author' run mode is used for content creation and management, while 'publish' serves live content to end-users. Question 3. When installing an AEM developer instance, which file is most critical for initial configuration? A) crx-quickstart/install B) server.xml C) runmode.properties
Explanation: Users and groups are best managed through the AEM User Administration console for proper permission management. Question 5. How can you restrict access to a specific component in AEM? A) Modify the component's Java code directly B) Use ACLs to restrict permissions at the repository level C) Change the component's file permissions in the OS D) Disable the component in the server settings Answer: B Explanation: ACLs (Access Control Lists) are used to set permissions at the repository level to control access to components and content.
Question 6. Which command initializes a new AEM project with the standard structure? A) mvn clean install B) mvn archetype:generate - DarchetypeArtifactId=aem-project-archetype C) mvn package D) mvn deploy Answer: B Explanation: This Maven command generates a new AEM project based on the archetype, creating a standard directory and module structure. Question 7. In the AEM project structure, where are the client libraries typically stored? A) /core/src/main/resources
Answer: A Explanation: ${property} is the standard syntax in HTL for rendering property values securely. Question 9. What is a key advantage of using HTL over JSP in AEM? A) HTL is faster to write B) HTL enforces better security by default C) HTL requires less configuration D) HTL supports server-side scripting Answer: B Explanation: HTL is designed to enhance security by preventing injection attacks and encouraging safe coding practices.
Question 10. When creating a custom component dialog, which AEM class is primarily used? A) Granite UI components B) SlingServlets C) Java Servlets D) JCR Nodes Answer: A Explanation: Granite UI components are used to build Touch UI dialogs for components in AEM. Question 11. Which property defines a component's dialog in AEM? A) sling:resourceSuperType B) cq:dialog
Explanation: Editable templates allow authors to create pages with controlled layouts and policies, facilitating dynamic content editing. Question 13. Which category attribute is used to group client libraries? A) categories B) dependencies C) embed D) clientlibType Answer: A Explanation: The categories attribute groups client libraries for easier management and dependency resolution. Question 14. How do you include a client library in a component's HTL file?
A) Using <cq:include> tag B) Using <script> or <link> tags referencing the category C) Creating a Java class D) Adding it to the repository directly Answer: B Explanation: Client libraries are included in HTL via <script> or <link> tags referencing the relevant categories. Question 15. When extending an out-of-the-box AEM component, which approach allows for minimal code changes? A) Overlay the component's dialog B) Use inheritance via sling:resourceSuperType C) Rewrite the component entirely
Explanation: Inheritance via sling:resourceSuperType allows extending behavior without copying code, while overlaying involves copying and modifying the component code. Question 17. Which run mode should be used to test authoring features without affecting live content? A) author B) publish C) dev D) dispatcher Answer: A Explanation: The 'author' run mode is used for content creation and testing without impacting the live site.
Question 18. Which tool is primarily used to start AEM with specific run modes and configurations? A) Adobe CRXDE Lite B) AEM Author instance startup command with JVM parameters C) Maven build plugin D) Tomcat server directly Answer: B Explanation: Starting AEM with JVM parameters specifying run modes (e.g., -Dcom.day.cq.wcm.runmode=author) configures the environment accordingly. Question 19. In setting up user permissions, which principle is best practice?
D) runmode.properties Answer: A Explanation: The pom.xml file is the Maven project descriptor that manages dependencies and build configurations for the project. Question 21. In AEM, what is the purpose of the cq:dialog node? A) To configure server settings B) To define the authoring interface for components C) To manage user permissions D) To set up replication agents Answer: B Explanation: The cq:dialog node defines the structure and fields of the component's authoring dialog.
Question 22. Which AEM mode is primarily responsible for serving content to website visitors? A) author B) publish C) dev D) authoring Answer: B Explanation: The 'publish' mode delivers the final, published content to end- users. Question 23. What is the main purpose of the sling:resourceSuperType property?
D) Avoid dependencies altogether Answer: B Explanation: Declaring dependencies via the categories attribute ensures proper loading order and modularity. Question 25. How do you specify the path to a component's dialog in AEM? A) sling:resourceType B) cq:dialog C) jcr:primaryType D) sling:resourceSuperType Answer: B Explanation: The cq:dialog node specifies the dialog associated with a component.
Question 26. When creating a static template, what is a key characteristic? A) It allows authors to edit the page structure directly B) It defines a fixed page layout that cannot be changed by authors C) It is dynamically generated at runtime D) It automatically creates content policies Answer: B Explanation: Static templates have a fixed structure that authors cannot modify, suitable for standardized pages. Question 27. Which tool or command can be used to verify the correctness of a Maven project setup for AEM? A) mvn verify