An AEM application has a Header and Footer authored on every page.
The customer asks for the following:
1.
A centralized Header and Footer
2.
The ability to create a variation for both the Header and Footer
3.
Change the Header and Footer for specific time periods
4.
The ability to restore a previous version for both the Header and Footer
What should the developer use to meet the requirements?
A. Custom component
B. Content fragment
C. Static template
D. Experience fragment
Correct Answer: D
Explanation: An experience fragment is a group of one or more components including content and layout that can be referenced within pages. Experience fragments allow authors to create variations for different channels and modify them for specific time periods. Experience fragments also support versioning and restoring previous versions. References:https://experienceleague.adobe.com/docs/experience-manager- 65/authoring/authoring/experience-fragments.html?lang=en
Question 12:
An AEM Developer needs to create a new component to help support a new product launch.
The client is on AEM 6.5 on-premise with the latest version of WCM Core Components The component must include text, image, and a link The component must support multiple designs
Which process should the AEM Developer use to support the launch?
A. 1. Extend the Teaser Component from Core Components
2. Create style variations to be used in the Style System
B. 1. Create a new component by extending the Text Component from Core Components
2. Add dialog properties and modify HTL to support images
C. 1. Extend the Text Component from Core Components
2. Enable image manipulations for the Text Component via policy
D. 1. Create a new Image with Text component that exposes the Core Components authoring dialogs for those components
2. Add a policy to define which designs are used
Correct Answer: A
Extend the Teaser Component from Core Components Create style variations to be used in the Style System** Comprehensive of Correct Answer Only: The Teaser Component from Core Components is a component that allows authors to display a title, description, image and link for a teaser item. The component supports multiple designs and can be extended to add custom features or logic. The Style System allows authors to define style variations for components without requiring code changes or new templates. References: https://experienceleague.adobe.com/docs/experience- manager-core-components/using/components/teaser.html?lang=en https://experienceleague.adobe.com/docs/experience-manager-core- components/using/components/ style-system.html?lang=en
Question 13:
What is the recommended path to override /libs standard functionality?
A. /conf
B. /apps
C. /content
D. /Iibs
Correct Answer: B
The recommended path to override /libs standard functionality is /apps. The /apps folder contains application-specific code and configuration that can extend or override the default functionality provided by /libs. The /apps folder has
precedence over the /libs folder, meaning that if there are two resources with the same path under both folders, the one under /apps will be used.
A developer needs to create sling models for two fields name and occupations. The dialog has two fields, name - a single value field, and occupations - a multi value field. The following code is included in sling models inherited from interface com.adobe.aem.guides.wknd.core.models.Byline
A. Option A
B. Option B
C. Option C
D. Option D
Correct Answer: C
Explanation: Option C is the correct implementation for the Sling Model. Option C uses the @Model annotation with the adaptables parameter set to Resource.class. This allows the Sling Model to adapt from a resource object and access its properties using the ValueMap interface. Option C also uses the @Inject annotation with the name parameter set to "./name" and "./occupations" to inject the values of the name and occupations properties into the name and occupations fields. Option C also uses the @Named annotation with the value parameter set to "byline" to specify the name of the Sling Model that can be used in HTL scripts. References: https://sling.apache.org/documentation/bundles/models.htmlhttps://experienceleague.adob e.com/docs/experience-manager-htl/using-htl/htl-block-statements.html?lang=en#use
Question 15:
A developer has to create a Logger and Writer pair for the company's application logging. Which OSGi configurations should the developer use?
A. Apache Sling Logging Logger Configuration and Apache Sling Logging Configuration
B. Apache Sling Request Logger and Apache Sling Logging Writer Configuration
C. Apache Sling Logging Logger Configuration and Apache Sling Logging Writer Configuration
Correct Answer: C
Explanation: The Apache Sling Logging Logger Configuration and Apache Sling Logging Writer Configuration are the OSGi configurations that the developer should use to create a Logger and Writer pair for the company's application logging. The Logger Configuration defines the log level and the log file name for a given logger name or category. The Writer Configuration defines the file size, number of files, and file location for a given log file name. References:https://experienceleague.adobe.com/docs/experience-manager- 65/deploying/configuring/configure-logging.html?lang=en#configuring-log-files
Question 16:
An AEM development team is working on a new multi-country application using AEM as a Cloud Service. A developer has been assigned the task for building the integration with a third-party web service. A secret key is needed to connect
with this web service. The website creators will provide this key. The key is different for each type of environment (dev, stage and production)
What is the recommended way to make the secret key available in the AEM application?
A. Use a context aware configuration
B. Read the key value from a property file stored in the code base
C. Use an environment variable which is then consumed by an OSGi configuration
D. Read the key value from OSGi configuration stored in run nNdes
Correct Answer: C
Explanation: The recommended way to make the secret key available in the AEM application is to use an environment variable which is then consumed by an OSGi configuration. This way, the secret key is not stored in the code base or in the repository, but rather in a secure and encrypted way in the Cloud Manager environment variables. The OSGi configuration can use a placeholder to reference the environment variable and inject its value at runtime. References: https://experienceleague.adobe.com/docs/experience- manager-cloud-service/implementing/deploying/configuring- osgi.html?lang=en#environment-variableshttps://experienceleague.adobe.com/docs/experience-manager-cloud
An application development team needs to create a multi-channel application that uses AEM as a headless CMS. Which feature should be used to maintain structured data for this application?
A. Static template
B. Content fragment
C. Experience fragment
D. Custom component
Correct Answer: B
Explanation: A content fragment is a reusable piece of content that can be authored and managed independently from a page. Content fragments are based on structured data models that define the elements and data types of the content.
Content fragments can be delivered as JSON using various APIs, such as Assets HTTP API, Content Fragments REST API, or Content Fragments GraphQL API. Content fragments are suitable for creating multi-channel applications that use
An AEM application is expected to export a content fragment in JSON format without any customization for a headless implementation.
What is the recommended approach?
A. Use AEM Assets HTTP API
B. Use Core components to export JSON
C. Use Sling Exporter framework
Correct Answer: A
Explanation: AEM Assets HTTP API is a RESTful API that allows access to content fragments in JSON format without any customization. The API supports CRUD operations on content fragments and their variations, as well as querying and searching for content fragments based on metadata or full-text search. References:https://experienceleague.adobe.com/docs/experience-manager- 65/assets/extending/assets-api-content-fragments.html?lang=en
Question 19:
Which configuration must be applied to enable re-fetching of cached items based on Cache Headers sent by AEM?
A. /autolnvalidate true
B. /autolnvalidate "1"
C. /enableTTLtrue
D. /enableTTL "1"
Correct Answer: D
Explanation: The /enableTTL "1" configuration must be applied to enable re-fetching of cached items based on Cache Headers sent by AEM. This configuration enables the Time To Live (TTL) feature of dispatcher, which allows dispatcher to check the Cache-Control and Expires headers of the cached files and re-fetch them from AEM if they are expired. References:https://experienceleague.adobe.com/docs/experience-manager- dispatcher/using/configuring/page-invalidation.html?lang=en#time-based-cache- invalidation
Question 20:
What two types of testing are available OOB in AEM Cloud Manager Pipeline? (Select Two.)
A. Code Quality testing
B. Performance testing
C. Ul testing
D. Penetration testing
E. Integration testing
Correct Answer: AC
Explanation: Code Quality testing and UI testing are two types of testing that are available OOB in AEM Cloud Manager Pipeline. Code Quality testing checks the code quality of the project using SonarQubeand reports any issues or
vulnerabilities. UI testing checks the functionality and usability of the project using Selenium WebDriver and reports any errors or failures.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Adobe exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your AD0-E134 exam preparations and Adobe certification application, do not hesitate to visit our Vcedump.com to find your solutions here.