Test Online Free Adobe AD0-E134 Exam Questions and Answers

The questions for AD0-E134 were last updated On Aug.10 2023

Get AD0-E134 Full Access
 / 1

Question No : 1
A developer has to create a Logger and Writer pair for the company's application logging.
Which OSGi configurations should the developer use?

Answer:
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.
Reference: https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/configure-logging.html?lang=en#configuring-log-files

Question No : 2
An AEM server is overloaded with too many concurrently running workflows. The developer decides to reduce the number of concurrent workflows.
What should be configured to reduce the number of concurrent workflows?

Answer:
Explanation:
Maximum Parallel Jobs is a configuration property that controls how many workflows can run concurrently on an AEM instance. Reducing this value can help to avoid overloading the server with too many workflows.
Reference: Workflow Engine Configuration section

Question No : 3
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)



B)



C)



D)



Answer:
Explanation:
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.
Reference:
https://sling.apache.org/documentation/bundles/models.html
https://experienceleague.adobe.com/docs/experience-manager-htl/using-htl/htl-block-statements.html?lang=en#use

Question No : 4
Add a LowerCase filter to the current indexes

Answer:D
Explanation:
A Synonym filter can help to map different terms that have the same meaning, such as “cat” and “feline”. A LowerCase filter can help to normalize the case of the terms, so that “cats and dogs” and “Cats and Dogs” are treated the same.
Reference: 1 Lucene Analyzers section

Question No : 5
Create a Custom Sling Model that overrides the default behavior

Answer:C

Question No : 6
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)



B)



C)



D)



Answer:

Question No : 7
An AEM application wants to set up multi-tenancy using Adobe-recommended best practices and bind multiple configurations to it.
Which of the following options is recommended?

Answer:
Explanation:
The @Component(service = ConfigurationFactory.class) @Designate(ocd = ConfigurationFactorylmpl.Config.class,factory=true) option is recommended for creating a multi-tenancy configuration and binding multiple configurations to it. This option uses the OSGi R6 annotations to define a component that provides a service of type ConfigurationFactory and designates a class that contains the configuration properties. The factory=true attribute indicates that multiple configurations can be created for this component.
Reference: https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/osgi-configuration-settings.html?lang=en#creating-factory-configurations

Question No : 8
Which property under /cache on dispatcher.any file identifies the directory where cached files are stored?

Answer:

Question No : 9
Which configuration must be applied to enable re-fetching of cached items based on Cache Headers sent by AEM?

Answer:
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.
Reference: https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/page-invalidation.html?lang=en#time-based-cache-invalidation

Question No : 10
Which configuration/section should be used to resolve the domain name by dispatcher?

Answer:

 / 1
  TOP 50 Exam Questions
Exam