ExamGecko
Home / Adobe / AD0-E134 / List of questions
Ask Question

Adobe AD0-E134 Practice Test - Questions Answers

List of questions

Question 1

Report
Export
Collapse

Which attribute must be present in all filter rules in AEM dispatcher configuration?

/type
/type
/selectors
/selectors
/url
/url
/glob
/glob
Suggested answer: D

Explanation:

The /glob attribute is mandatory for all filter rules in the dispatcher configuration. It specifies a pattern that is matched against the incoming request URL. If the pattern matches, the rule is applied. The /glob attribute can use wildcards (*) and placeholders ($1, $2, etc.) to match parts of the URL.

Reference: https://experienceleague.adobe.com/docs/experience-managerdispatcher/ using/configuring/dispatcher-configuration.html?lang=en#filter-rules

asked 02/10/2024
Rahul Chugh
38 questions

Question 2

Report
Export
Collapse

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

/invalidate
/invalidate
/statfile
/statfile
/docroot
/docroot
/cacheroot
/cacheroot
Suggested answer: D

Explanation:

The /cacheroot property under /cache in the dispatcher.any file identifies the directory where cached files are stored. It is a relative or absolute path to the cache root directory. The dispatcher creates a subdirectory for each virtual host under this directory and stores the cached files there. Reference:

https://experienceleague.adobe.com/docs/experience-managerdispatcher/using/configuring/dispatcher-configuration.html?lang=en#cache

asked 02/10/2024
David Hartnett
45 questions

Question 3

Report
Export
Collapse

Which environment-specific configuration is used in AEM as a Cloud Service to store private API keys?

$[env:ENV_VAR_NAME]
$[env:ENV_VAR_NAME]
$[env:SECRET_VAR_NAME]
$[env:SECRET_VAR_NAME]
$[secret:SECRET_VAR_NAME]
$[secret:SECRET_VAR_NAME]
$[secret:ENV_VAR_NAME]
$[secret:ENV_VAR_NAME]
Suggested answer: C

Explanation:

This syntax allows the developer to reference a secret variable that is stored in the Cloud Manager UI under Environment Details > Variables. The secret variable name must start with a lowercase letter and can contain alphanumeric characters and underscores. Reference:

https://experienceleague.adobe.com/docs/experience-manager-cloudservice/ implementing/deploying/configuring-osgi.html?lang=en#environment-specific-configuration

asked 02/10/2024
YASSIR EL GHAZY
54 questions

Question 4

Report
Export
Collapse

A developer has to create a Logger and Writer pair for the company's application logging. Which

OSGi configurations should the developer use?

Apache Sling Logging Logger Configuration and Apache Sling Logging Configuration
Apache Sling Logging Logger Configuration and Apache Sling Logging Configuration
Apache Sling Request Logger and Apache Sling Logging Writer Configuration
Apache Sling Request Logger and Apache Sling Logging Writer Configuration
Apache Sling Logging Logger Configuration and Apache Sling Logging Writer Configuration
Apache Sling Logging Logger Configuration and Apache Sling Logging Writer Configuration
Suggested 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. Reference:

https://experienceleague.adobe.com/docs/experience-manager- 65/deploying/configuring/configure-logging.html?lang=en#configuring-log-files

asked 02/10/2024
charles ratchagaraj
43 questions

Question 5

Report
Export
Collapse

If multiple configurations for the same PID are applicable, which configuration is applied?

The last modified configuration is applied.
The last modified configuration is applied.
The configuration with the highest number of matching run modes is applied.
The configuration with the highest number of matching run modes is applied.
The one that occurs first in the repository is applied.
The one that occurs first in the repository is applied.
A configuration factory is created and all configurations are applied.
A configuration factory is created and all configurations are applied.
Suggested answer: B

Explanation:

When multiple configurations for the same PID are applicable, the configuration with the highest number of matching runmodes is applied. This is because the runmodes act as a filter to select the most specific configuration for a given environment. If there is a tie between two or more configurations with the same number of matching runmodes, the one that occurs first in the repository is applied. Reference: https://experienceleague.adobe.com/docs/experience-manager- 65/deploying/configuring/configure-runmodes.html?lang=en#configuring-osgi-settings-perrunmode

asked 02/10/2024
Vitalii Kucher
30 questions

Question 6

Report
Export
Collapse

Which configuration/section should be used to resolve the domain name by dispatcher?

Configuration in vhosts file
Configuration in vhosts file
Configuration in filters.any
Configuration in filters.any
Configuration in httpd.conf
Configuration in httpd.conf
Configuration in DNS
Configuration in DNS
Suggested answer: D

Explanation:

The configuration in DNS (Domain Name System) should be used to resolve the domain name by dispatcher. The DNS resolves the domain names to the IP address of the web server that hosts the dispatcher. The dispatcher then matches the incoming request URL with the cached files or the AEM publish instances. Reference: https://experienceleague.adobe.com/docs/experience-managerdispatcher/ using/configuring/dispatcher-domains.html?lang=en#client-requests

asked 02/10/2024
Franklin Leon
36 questions

Question 7

Report
Export
Collapse

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

/autolnvalidate true
/autolnvalidate true
/autolnvalidate "1"
/autolnvalidate "1"
/enableTTLtrue
/enableTTLtrue
/enableTTL "1"
/enableTTL "1"
Suggested 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 refetch them from AEM if they are expired. Reference:

https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/pageinvalidation.

html?lang=en#time-based-cache-invalidation

asked 02/10/2024
Michaelj Lauth
36 questions

Question 8

Report
Export
Collapse

A developer needs to create a runmode-specific OSGi configuration for an AEM as a Cloud Service implementation. In which location should the OSGi configuration be created?

core project, (/core/.../config <runmode>) folder
core project, (/core/.../config <runmode>) folder
ui.config project, (/config/.../config.<runmode>) folder
ui.config project, (/config/.../config.<runmode>) folder
all project, (/all/.../config.<runmode>) folder
all project, (/all/.../config.<runmode>) folder
ui.apps project (/apps/.../config.<runmode>) folder
ui.apps project (/apps/.../config.<runmode>) folder
Suggested answer: B

Explanation:

The ui.config project, (/config/…/config.<runmode>) folder is the location where the OSGi configuration should be created for a runmode-specific configuration for an AEM as a Cloud Service implementation. The ui.config project contains OSGi configurations that are deployed to /apps in the repository. The config.<runmode> folder specifies the runmode for which the configuration is applicable, such as author or publish. Reference:

https://experienceleague.adobe.com/docs/experience-manager-cloudservice/ implementing/deploying/configuring-osgi.html?lang=en#project-structure

asked 02/10/2024
Spandana Gangavaram
32 questions

Question 9

Report
Export
Collapse

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?

import org.apache.felix.scr.annotations.Component; @Component(label = "My configuration", metatype = true, factory= true)
import org.apache.felix.scr.annotations.Component; @Component(label = "My configuration", metatype = true, factory= true)
import org.osgi.service.component.annotations.Component; @Component(service = ConfigurationFactory.class)
import org.osgi.service.component.annotations.Component; @Component(service = ConfigurationFactory.class)
import org.osgi.service.metatype.annotations.AttributeDefinition; import org.osgi.service.metatype.annotations.ObjectClassDefinition; @ObjectClassDefinition(name = "My configuration")
import org.osgi.service.metatype.annotations.AttributeDefinition; import org.osgi.service.metatype.annotations.ObjectClassDefinition; @ObjectClassDefinition(name = "My configuration")
@Component(service = ConfigurationFactory.class) @Designate(ocd = ConfigurationFactorylmpl.Config.class, factory=true)
@Component(service = ConfigurationFactory.class) @Designate(ocd = ConfigurationFactorylmpl.Config.class, factory=true)
Suggested answer: D

Explanation:

The @Component(service = ConfigurationFactory.class) @Designate(ocd = ConfigurationFactorylmpl.Config.class,factory=true) option is recommended for creating a multitenancy 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/osgiconfiguration- settings.html?lang=en#creating-factory-configurations

asked 02/10/2024
Adam Burdett
31 questions

Question 10

Report
Export
Collapse

An AEM application requires LDAP Service integration to synchronize users/groups. Which two OSGi configuration are required for LDAP integration in AEM? (Select Two.)

Apache Jackrabbit Oak AuthorizableActionProvider
Apache Jackrabbit Oak AuthorizableActionProvider
Apache Jackrabbit Oak Solr server provider
Apache Jackrabbit Oak Solr server provider
Apache Jackrabbit Oak CUG Configuration
Apache Jackrabbit Oak CUG Configuration
Apache Jackrabbit Oak External Login Module
Apache Jackrabbit Oak External Login Module
Apache Jackrabbit Oak Default Sync Handler
Apache Jackrabbit Oak Default Sync Handler
Suggested answer: D, E

Explanation:

The Apache Jackrabbit Oak External Login Module and Apache Jackrabbit Oak Default Sync Handler are the two OSGi configurations that are required for LDAP integration in AEM. The External Login Module defines how AEM connects to the LDAP server and authenticates users against it. The Default Sync Handler defines how AEM synchronizes users and groups from the LDAP server to the repository. Reference: https://experienceleague.adobe.com/docs/experience-manager- 65/administering/security/ldap-config.html?lang=en#ldap-integration

asked 02/10/2024
Bill May
45 questions
Total 50 questions
Go to page: of 5

Related questions