ExamGecko
Home Home / Adobe / AD0-E134

Adobe AD0-E134 Practice Test - Questions Answers, Page 4

Question list
Search
Search

List of questions

Search

Related questions











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
A.
Static template
Answers
B.
Content fragment
B.
Content fragment
Answers
C.
Experience fragment
C.
Experience fragment
Answers
D.
Custom component
D.
Custom component
Answers
Suggested 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 AEM as a headless CMS.

Reference: https://experienceleague.adobe.com/docs/experience-managerlearn/foundation/headless/introduction-to-headless.html?lang=en

https://experienceleague.adobe.com/docs/experience-manager-65/assets/fragments/contentfragments.html?lang=en

The following anchor tag is not resolving:

<a href="item.path" >{item.name}</a>

Upon further inspection the developer notices that the link has no .html appended to the end of the URL

What could be a potential fix for the issue?

A)

B)

C)

D)

A.
Option A
A.
Option A
Answers
B.
Option B
B.
Option B
Answers
C.
Option C
C.
Option C
Answers
D.
Option D
D.
Option D
Answers
Suggested answer: B

Explanation:

Option B is a potential fix for the issue. Option B uses the data-sly-attribute block statement to add the href attribute to the anchor tag. The data-sly-attribute statement uses an expression to append ".html" to the item.path value. This way, the link will have the correct extension and will resolve to the corresponding page. Reference: https://experienceleague.adobe.com/docs/experiencemanager- htl/using-htl/htl-block-statements.html?lang=en#data-sly-attribute

A developer needs to create a project based on AEM Project Archetype with a specific AEM as a Cloud Service SDK version on the local environment.

Which two properties must be defined when creating this project? (Choose two.)

A.
aemVersion=cloud
A.
aemVersion=cloud
Answers
B.
sdkVersion=2022.5.7575.20220530T152407Z-220401
B.
sdkVersion=2022.5.7575.20220530T152407Z-220401
Answers
C.
sdkVersion=latest
C.
sdkVersion=latest
Answers
D.
aemVersion=latest
D.
aemVersion=latest
Answers
E.
aemVersion=2022.5.7575.20220530T152407Z-220401
E.
aemVersion=2022.5.7575.20220530T152407Z-220401
Answers
Suggested answer: A, B

Explanation:

The aemVersion property specifies the target AEM version for the project. To create a project based on AEM as a Cloud Service SDK, the value should be set to cloud. The sdkVersion property specifies the AEM as a Cloud Service SDK version to use for local development. To use a specific SDK version, the value should be set to the exact version number, such as 2022.5.7575.20220530T152407Z- 220401. Reference: https://experienceleague.adobe.com/docs/experience-manager-corecomponents/ using/developing/archetype/using.html?lang=en#properties

https://experienceleague.adobe.com/docs/experience-manager-cloudservice/ implementing/developing/aem-as-a-cloud-service-sdk.html?lang=en#sdk-versions

In an AEM as a Cloud Service environment, which repository areas are considered as immutable?

A.
/content and /libs
A.
/content and /libs
Answers
B.
/content and /etc
B.
/content and /etc
Answers
C.
/apps and /libs
C.
/apps and /libs
Answers
D.
/apps and /content
D.
/apps and /content
Answers
Suggested answer: C

Explanation:

In AEM as a Cloud Service environment, the repository areas /apps and /libs are considered as immutable, meaning that they cannot be modified at runtime by any means. These areas contain application code and configuration that are deployed via Cloud Manager and are read-only for security and performance reasons. Any changes to these areas require a new deployment via Cloud Manager. Reference: https://experienceleague.adobe.com/docs/experience-manager-cloudservice/implementing/deploying/overview.html?lang=en#repository-restrictions

https://experienceleague.adobe.com/docs/experience-manager-cloudservice/implementing/developing/aem-project-content-packagestructure.html?lang=en#repository-restrictions

On package install content that is already present in the repos must not be overwritten and if not present in the repos it must not be removed.

Which import mode should the developer use?

A.
update
A.
update
Answers
B.
replace
B.
replace
Answers
C.
merge
C.
merge
Answers
Suggested answer: A

Explanation:

The merge import mode is used to import content that is already present in the repository without overwriting it and without removing content that is not present in the package. This mode preserves existing content properties and nodes while adding new ones from the package. This mode is useful for incremental updates or initial content seeding. Reference:

https://jackrabbit.apache.org/filevault/vaultfs.html#Import_Modes

https://experienceleague.adobe.com/docs/experience-manager-cloudservice/ implementing/deploying/content-package-import-modes.html?lang=en

Which AEM dependency provides APIs for all AEM environments?

A)

B)

C)

D)

A.
Option A
A.
Option A
Answers
B.
Option B
B.
Option B
Answers
C.
Option C
C.
Option C
Answers
D.
Option D
D.
Option D
Answers
Suggested answer: C

Explanation:

Option C is the AEM dependency that provides APIs for all AEM environments. Option C uses the uber-jar dependency with the provided scope and the classifier set to apis. The uber-jar dependency contains all the public Java APIs that are available in AEM. The provided scope indicates that the dependency is not required for runtime, as it is already provided by the AEM platform. The apis classifier indicates that only the API classes are included in the dependency, not the implementation classes. Reference: https://experienceleague.adobe.com/docs/experience-manager-cloudservice/implementing/developing/aem-project-content-package-structure.html?lang=en#projectdependencies

https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/htl/eclipse-setup.html

A development team is starting a new AEM project that is going to integrate with the Adobe

Commerce platform. The developer needs to create a new AEM project using the Maven command line interface.

How can the 'mvn -B archetype:generate' command help the developer with the integration between AEM and Adobe Commerce?

A.
Using the property 'commerceModule=AdobeCommerce' can provide a path to an external jar that integrates between the platforms.
A.
Using the property 'commerceModule=AdobeCommerce' can provide a path to an external jar that integrates between the platforms.
Answers
B.
Using the property ,aemVersion=cloudl automatically provides a report with integration guidelines.
B.
Using the property ,aemVersion=cloudl automatically provides a report with integration guidelines.
Answers
C.
Using the property 'includeCommerce=y'1 the command will generate specific Commerce CoreComponents.
C.
Using the property 'includeCommerce=y'1 the command will generate specific Commerce CoreComponents.
Answers
Suggested answer: C

Explanation:

The includeCommerce property is a boolean flag that indicates whether to include Commerce Core

Components in the project or not. If set to y, the command will generate a commerce module that contains specific Commerce Core Components and their dependencies. These components can be used to integrate AEM with Adobe Commerce platform or other commerce solutions. Reference:

https://experienceleague.adobe.com/docs/experience-manager-corecomponents/ using/developing/archetype/using.html?lang=en#properties

https://experienceleague.adobe.com/docs/experience-manager-corecomponents/ using/components/commerce.html?lang=en

What is the recommended path to override /libs standard functionality?

A.
/conf
A.
/conf
Answers
B.
/apps
B.
/apps
Answers
C.
/content
C.
/content
Answers
D.
/Iibs
D.
/Iibs
Answers
Suggested answer: B

Explanation:

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. Reference:

https://experienceleague.adobe.com/docs/experience-manager-cloudservice/implementing/developing/aem-project-content-packagestructure.html?lang=en#repository-restrictions

https://experienceleague.adobe.com/docs/experience-managerlearn/foundation/development/set-up-a-local-aem-development-environment.html?lang=en#theaem-repository

Which Maven plugin checks if all the requirements declarations made in OSGi bundles are satisfied by the capabilities declarations of other bundles included in the Maven project?

A.
maven-enforcer-plugin
A.
maven-enforcer-plugin
Answers
B.
femaven-assembly-plugin
B.
femaven-assembly-plugin
Answers
C.
content-package-maven-plugin
C.
content-package-maven-plugin
Answers
D.
aemanalyser-maven-plugin
D.
aemanalyser-maven-plugin
Answers
Suggested answer: D

Explanation:

The aemanalyser-maven-plugin is a Maven plugin that checks if all the requirements declarations made in OSGi bundles are satisfied by the capabilities declarations of other bundles included in the Maven project. This plugin ensures that the OSGi bundles are consistent and can be resolved at runtime. The plugin also checks for other issues such as API compatibility, package versioning, and bundle start order. Reference: https://experienceleague.adobe.com/docs/experience-managercloud-service/implementing/developing/aem-project-content-packagestructure.html?lang=en#build-analyzer-maven-plugin

https://github.com/adobe/aemanalysermaven-plugin

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
A.
Use a context aware configuration
Answers
B.
Read the key value from a property file stored in the code base
B.
Read the key value from a property file stored in the code base
Answers
C.
Use an environment variable which is then consumed by an OSGi configuration
C.
Use an environment variable which is then consumed by an OSGi configuration
Answers
D.
Read the key value from OSGi configuration stored in run nNdes
D.
Read the key value from OSGi configuration stored in run nNdes
Answers
Suggested 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. Reference:

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

https://experienceleague.adobe.com/docs/experience-manager-cloudservice/implementing/deploying/environment-variables.html?lang=en

Total 50 questions
Go to page: of 5