ExamGecko
Home Home / Adobe / AD0-E134

Adobe AD0-E134 Practice Test - Questions Answers

Question list
Search
Search

Related questions











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

A.
/type
A.
/type
Answers
B.
/selectors
B.
/selectors
Answers
C.
/url
C.
/url
Answers
D.
/glob
D.
/glob
Answers
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

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

A.
/invalidate
A.
/invalidate
Answers
B.
/statfile
B.
/statfile
Answers
C.
/docroot
C.
/docroot
Answers
D.
/cacheroot
D.
/cacheroot
Answers
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

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

A.
$[env:ENV_VAR_NAME]
A.
$[env:ENV_VAR_NAME]
Answers
B.
$[env:SECRET_VAR_NAME]
B.
$[env:SECRET_VAR_NAME]
Answers
C.
$[secret:SECRET_VAR_NAME]
C.
$[secret:SECRET_VAR_NAME]
Answers
D.
$[secret:ENV_VAR_NAME]
D.
$[secret:ENV_VAR_NAME]
Answers
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

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
A.
Apache Sling Logging Logger Configuration and Apache Sling Logging Configuration
Answers
B.
Apache Sling Request Logger and Apache Sling Logging Writer Configuration
B.
Apache Sling Request Logger and Apache Sling Logging Writer Configuration
Answers
C.
Apache Sling Logging Logger Configuration and Apache Sling Logging Writer Configuration
C.
Apache Sling Logging Logger Configuration and Apache Sling Logging Writer Configuration
Answers
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

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

A.
The last modified configuration is applied.
A.
The last modified configuration is applied.
Answers
B.
The configuration with the highest number of matching run modes is applied.
B.
The configuration with the highest number of matching run modes is applied.
Answers
C.
The one that occurs first in the repository is applied.
C.
The one that occurs first in the repository is applied.
Answers
D.
A configuration factory is created and all configurations are applied.
D.
A configuration factory is created and all configurations are applied.
Answers
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

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

A.
Configuration in vhosts file
A.
Configuration in vhosts file
Answers
B.
Configuration in filters.any
B.
Configuration in filters.any
Answers
C.
Configuration in httpd.conf
C.
Configuration in httpd.conf
Answers
D.
Configuration in DNS
D.
Configuration in DNS
Answers
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

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

A.
/autolnvalidate true
A.
/autolnvalidate true
Answers
B.
/autolnvalidate "1"
B.
/autolnvalidate "1"
Answers
C.
/enableTTLtrue
C.
/enableTTLtrue
Answers
D.
/enableTTL "1"
D.
/enableTTL "1"
Answers
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

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?

A.
core project, (/core/.../config <runmode>) folder
A.
core project, (/core/.../config <runmode>) folder
Answers
B.
ui.config project, (/config/.../config.<runmode>) folder
B.
ui.config project, (/config/.../config.<runmode>) folder
Answers
C.
all project, (/all/.../config.<runmode>) folder
C.
all project, (/all/.../config.<runmode>) folder
Answers
D.
ui.apps project (/apps/.../config.<runmode>) folder
D.
ui.apps project (/apps/.../config.<runmode>) folder
Answers
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

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?

A.
import org.apache.felix.scr.annotations.Component; @Component(label = "My configuration", metatype = true, factory= true)
A.
import org.apache.felix.scr.annotations.Component; @Component(label = "My configuration", metatype = true, factory= true)
Answers
B.
import org.osgi.service.component.annotations.Component; @Component(service = ConfigurationFactory.class)
B.
import org.osgi.service.component.annotations.Component; @Component(service = ConfigurationFactory.class)
Answers
C.
import org.osgi.service.metatype.annotations.AttributeDefinition; import org.osgi.service.metatype.annotations.ObjectClassDefinition; @ObjectClassDefinition(name = "My configuration")
C.
import org.osgi.service.metatype.annotations.AttributeDefinition; import org.osgi.service.metatype.annotations.ObjectClassDefinition; @ObjectClassDefinition(name = "My configuration")
Answers
D.
@Component(service = ConfigurationFactory.class) @Designate(ocd = ConfigurationFactorylmpl.Config.class, factory=true)
D.
@Component(service = ConfigurationFactory.class) @Designate(ocd = ConfigurationFactorylmpl.Config.class, factory=true)
Answers
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

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

A.
Apache Jackrabbit Oak AuthorizableActionProvider
A.
Apache Jackrabbit Oak AuthorizableActionProvider
Answers
B.
Apache Jackrabbit Oak Solr server provider
B.
Apache Jackrabbit Oak Solr server provider
Answers
C.
Apache Jackrabbit Oak CUG Configuration
C.
Apache Jackrabbit Oak CUG Configuration
Answers
D.
Apache Jackrabbit Oak External Login Module
D.
Apache Jackrabbit Oak External Login Module
Answers
E.
Apache Jackrabbit Oak Default Sync Handler
E.
Apache Jackrabbit Oak Default Sync Handler
Answers
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

Total 50 questions
Go to page: of 5