Adobe AD0-E134 Online Practice
Questions and Exam Preparation
AD0-E134 Exam Details
Exam Code
:AD0-E134
Exam Name
:Adobe Experience Manager Developer Exam
Certification
:Adobe Certifications
Vendor
:Adobe
Total Questions
:72 Q&As
Last Updated
:Jul 12, 2026
Adobe AD0-E134 Online Questions &
Answers
Question 61:
A custom component has one dialog field:
The developer needs to implement a Sling Model to perform a business logic on the authored value. The developer writes the following HTL snippet.
Which two implementations will support this HTL snippet? (Choose two.)
A. Option A B. Option B C. Option C D. Option D
B. Option B D. Option D Option B and Option D are two implementations that will support the HTL snippet. Option B 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 B also uses the @Inject annotation with the name parameter set to "./text" to inject the value of the text property into the text field. Option D uses the @Model annotation with the defaultInjectionStrategy parameter set to OPTIONAL. This allows the Sling Model to use optional injection for all fields and avoid null pointer exceptions if a property is missing. Option D also uses the @Inject annotation without any parameters to inject the value of the text property into the text field, using the field name as the default property name. 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 62:
Which AEM dependency provides APIs for all AEM environments?
A. Option A B. Option B C. Option C D. Option D
D. Option D
Question 63:
A project requires sharing information between SPA components. What is the least complex approach to achieve that objective?
A. Utilize model props to drill down and access or set the state on desired components. B. Customize and extend the container component to leverage the object hierarchy. C. Implement a state library in order to share component states. D. Centralize the logic and broadcast to the necessary components.
A. Utilize model props to drill down and access or set the state on desired components.
Question 64:
A snippet throws an exception at runtime:
@Model(adaptables = {Resource.class}) public class MyCustomModel {
(SSIingObject
private Resource resource;
What should the developer add to fix it?
A. defaultlnjectionStrategy = DefaultlnjectionStrategy property to @Model Class annotation B. (ptional annotation to page field C. throws Exception at the end of the init method declaration D. SlingHttpServletRequest.class to adaptables property of odel Class annotation
A. defaultlnjectionStrategy = DefaultlnjectionStrategy property to @Model Class annotation The developer should add the defaultInjectionStrategy = DefaultInjectionStrategy property to the @Model Class annotation to fix the snippet. The defaultInjectionStrategy property defines how the Sling Model handles missing or null values for the injected fields. By default, the Sling Model uses the REQUIRED injection strategy, which means that all fields must have a non-null value or else an exception is thrown. By setting the defaultInjectionStrategy property to OPTIONAL, the Sling Model allows null values for the injected fields and does not throw an exception. This way, if the page field is null because the resource is not a page, the Sling Model can still work without errors. References: https://sling.apache.org/ documentation/bundles/models.htmlhttps://sling.apache.org/docum entation/bundles/models.html#optional-injection
Question 65:
A developer needs to create a new Title component. The requirements are:
1.
The layout must be the same as the Title core component
2.
The text property must have the page title as prefix (e.g., Page Title - )
3.
The component must be reusable
Which approach is recommended?
A. 1. Create a Proxy Component of Title core component 2. Create a Custom Sling Model that overrides the default behavior 3. Customize the component template B. 1. Create a custom component from scratch 2. Create a Custom Sling Model for the component that follows the requirement 3. Create a Model Exporter C. 1. Create a Proxy Component from Title core component 2. Create a Custom Sling Model that overrides the default behavior
A. 1. Create a Proxy Component of Title core component 2. Create a Custom Sling Model that overrides the default behavior 3. Customize the component template A proxy component is a site-specific component that inherits from a core component and allows customization of the component name, group, dialog, and behavior. A proxy component can refer to any version of the core component by changing the sling:resourceSuperType property. A custom sling model can be used to implement the logic for adding the page title as prefix to the text property. A component template can be used to define the layout of the component. Reference: 1 Using Core Components section 2 Create Proxy Component in AEM section 3 AEM- Create Proxy Component section 4 Proxy Components in AEM 6.4 section 5 AEM Proxy Component Pattern and Component Versioning section
Question 66:
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"
D. /enableTTL "1" 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 67:
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
D. Experience fragment 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 68:
A developer is using sling context-aware configuration trying to get the configuration resource using:
This works as intended in author and in publish when logged in to publish as admin. However, this gives a null when run as anonymous.
Which method is going to fix the issue?
A. Applying read permissions to anonymous user for /content directory B. Applying write permissions to anonymous user for/conf directory. C. Applying read permissions to anonymous user for /etc directory. D. Applying read permissions to anonymous user for /cont directory
A. Applying read permissions to anonymous user for /content directory
Question 69:
In a non-optimized website, the final HTML generated for a typical page by publish instance includes a relatively large number of