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

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

List of questions

Question 11

Report
Export
Collapse

A client is having issues with some query results:

• Many of the client's industry terms have the same meaning, and users do not always search the exact wording

• Many users search by typing in short phrases instead of exact keywords, ex:// "cats and dogs"

What index analyzers should the AEM developer recommend?

1. Add a Mapping filter to the current indexes
1. Add a Mapping filter to the current indexes
Add a Stop filter to the current indexes
Add a Stop filter to the current indexes
1. Tokenize the current indexes with a Keyword tokenizer
1. Tokenize the current indexes with a Keyword tokenizer
Add a Mapping filter to the current indexes
Add a Mapping filter to the current indexes
1. Add a Synonym filter to the current indexes
1. Add a Synonym filter to the current indexes
Add a Stop filter to the current indexes
Add a Stop filter to the current indexes
1. Add a Synonym filter to the current indexes
1. Add a Synonym filter to the current indexes
Add a LowerCase filter to the current indexes
Add a LowerCase filter to the current indexes
Suggested 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 https://www.validexamdumps.com "Cats and Dogs" are treated the same.

Reference: 1 Lucene Analyzers section

asked 02/10/2024
VIVEKANANDAN BALARAMAN
37 questions

Question 12

Report
Export
Collapse

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?

The number of threads in Scheduler
The number of threads in Scheduler
The number of threads in Apache Felix Jetty Http Service
The number of threads in Apache Felix Jetty Http Service
Launchers for each workflow
Launchers for each workflow
Maximum Parallel Jobs in OSGI console
Maximum Parallel Jobs in OSGI console
Suggested answer: D

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

asked 02/10/2024
bhaskar siddanadham
32 questions

Question 13

Report
Export
Collapse

A custom component has one dialog field:

Adobe AD0-E134 image Question 13 91389 10022024174001000000

The developer needs to implement a Sling Model to perform a business logic on the authored value.

The developer writes the following HTL snippet.

Adobe AD0-E134 image Question 13 91389 10022024174001000000

Which two implementations will support this HTL snippet? (Choose two.)

A)

Adobe AD0-E134 image Question 13 91389 10022024174001000000

B)

Adobe AD0-E134 image Question 13 91389 10022024174001000000

C)

Adobe AD0-E134 image Question 13 91389 10022024174001000000

D)

Adobe AD0-E134 image Question 13 91389 10022024174001000000

Option A
Option A
Option B
Option B
Option C
Option C
Option D
Option D
Suggested answer: B, D

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-blockstatements.html?lang=en#use

asked 02/10/2024
Assane SENE
39 questions

Question 14

Report
Export
Collapse

A developer needs to create a new Title component. The requirements are:

The layout must be the same as the Title core component
The layout must be the same as the Title core component
The text property must have the page title as prefix (e.g., Page Title - <component text>)
The text property must have the page title as prefix (e.g., Page Title - <component text>)
The component must be reusableWhich approach is recommended?
The component must be reusableWhich approach is recommended?
Create a Proxy Component of Title core component
Create a Proxy Component of Title core component
Create a Custom Sling Model that overrides the default behavior
Create a Custom Sling Model that overrides the default behavior
Customize the component templateB, 1. Create a custom component from scratch
Customize the component templateB, 1. Create a custom component from scratch
Create a Custom Sling Model for the component that follows the requirement
Create a Custom Sling Model for the component that follows the requirement
Create a Model Exporter
Create a Model Exporter
Create a Proxy Component from Title core component
Create a Proxy Component from Title core component
Create a Custom Sling Model that overrides the default behavior
Create a Custom Sling Model that overrides the default behavior
Suggested answer: A

Explanation:

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 AEMCreate

Proxy Component section 4 Proxy Components in AEM 6.4 section 5 AEM Proxy Component Pattern and Component Versioning section

asked 02/10/2024
aakriti grover
51 questions

Question 15

Report
Export
Collapse

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

Adobe AD0-E134 image Question 15 91391 10022024174001000000

A)

Adobe AD0-E134 image Question 15 91391 10022024174001000000

B)

Adobe AD0-E134 image Question 15 91391 10022024174001000000

C)

Adobe AD0-E134 image Question 15 91391 10022024174001000000

D)

Adobe AD0-E134 image Question 15 91391 10022024174001000000

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

Explanation:

Option C is the correct implementation for the Sling Model. Option C 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 C also uses the @Inject annotation with the name parameter set to "./name" and "./occupations" to inject the values of the name and occupations properties into the name and occupations fields. Option C also uses the @Named annotation with the value parameter set to "byline" to specify the name of the Sling Model that can be used in HTL scripts. Reference:

https://sling.apache.org/documentation/bundles/models.html

https://experienceleague.adobe.com/docs/experience-manager-htl/using-htl/htl-blockstatements.html?lang=en#use

asked 02/10/2024
Joost Huggers
34 questions

Question 16

Report
Export
Collapse

SPA components are connected to AEM components via the MapTo() method.

Which code should be used to correctly connect an SPA component called ItemList to its AEM equivalent?

('project/components/content/itemList,).MapTo(ltemList,ltemListEditConfig);
('project/components/content/itemList,).MapTo(ltemList,ltemListEditConfig);
MapToCproject/cornponents/content/itemList^ltemListJtemListEditConfig);
MapToCproject/cornponents/content/itemList^ltemListJtemListEditConfig);
ItemList.MapToCproject/components/content/itemList1);
ItemList.MapToCproject/components/content/itemList1);
MapTo(ltemList)('project/components/content/itemList,,ltemListEditConfig);
MapTo(ltemList)('project/components/content/itemList,,ltemListEditConfig);
Suggested answer: C

Explanation:

The MapTo() method is used to map a SPA component to an AEM component by specifying the sling:resourceType of the AEM component as an argument. The MapTo() method should be called on the SPA component and not on a string. The second argument of the MapTo() method is optional and can be used to provide an edit configuration for the SPA component.

Reference: 1 Map SPA components to AEM components section 2 Developing SPAs for AEM section

asked 02/10/2024
Erik de Bont
39 questions

Question 17

Report
Export
Collapse

Refer to the exhibit.

Adobe AD0-E134 image Question 17 91393 10022024174001000000

The current page has three children.

What is the final rendered html output for the code snippet?

A)

Adobe AD0-E134 image Question 17 91393 10022024174001000000

B)

Adobe AD0-E134 image Question 17 91393 10022024174001000000

C)

Adobe AD0-E134 image Question 17 91393 10022024174001000000

Option A
Option A
Option B
Option B
Option C
Option C
Suggested answer: B

Explanation:

Option B is the final rendered html output for the code snippet. The code snippet uses the data-slylist block statement to iterate over the child pages of the current page. The data-sly-list statement assigns each child page to a variable named page and provides an index variable named i. The code snippet then uses the data-sly-test block statement to check if the index is odd or even and applies a different CSS class accordingly. The code snippet also uses the data-sly-element block statement to create an HTML element with the name specified by the elementName variable. The code snippet also uses the data-sly-attribute block statement to add an attribute with the name specified by the attrName variable and the value specified by the attrValue variable. The code snippet also uses the data-sly-resource block statement to include a resource with the path specified by the page.path variable and the resourceType specified by the resourceType variable. Reference:

https://experienceleague.adobe.com/docs/experience-manager-htl/using-htl/htl-blockstatements.html?lang=en

asked 02/10/2024
leconte maxime
36 questions

Question 18

Report
Export
Collapse

A developer needs to create a dynamic participant step where the participant is selected automatically at run time.

The developer decides to develop an OSGi service, which needs to implement the com.day.cq.workflow.exec.ParticipantStepChooser interface.

Which method should the developer implement from the com.day.cq.workflow.exec.ParticipantStepChooser interface?

String getParticipant(Workltem workltem, WorkflowSession workflowSession, MetaDataMap metaDataMap)
String getParticipant(Workltem workltem, WorkflowSession workflowSession, MetaDataMap metaDataMap)
void getParticipant(Workltem workltem, WorkflowSession workflowSession, MetaDataMap metaDataMap)
void getParticipant(Workltem workltem, WorkflowSession workflowSession, MetaDataMap metaDataMap)
String getDynamicParticipant(Workltem workltem, WorkflowSession workflowSession,MetaDataMap metaDataMap)
String getDynamicParticipant(Workltem workltem, WorkflowSession workflowSession,MetaDataMap metaDataMap)
void getDynamicParticipant(Workltem workltem, WorkflowSession workflowSession,MetaDataMap metaDataMap)
void getDynamicParticipant(Workltem workltem, WorkflowSession workflowSession,MetaDataMap metaDataMap)
Suggested answer: C

Explanation:

The com.day.cq.workflow.exec.ParticipantStepChooser interface is intended for implementations that will define the participant dynamically. This interface replaces the deprecated com.day.cq.workflow.exec.ParticipantChooser interface. The method getDynamicParticipant returns the dynamically resolved Principal id based on the work item, workflow session and metadata map parameters. Reference: https://developer.adobe.com/experience-manager/referencematerials/ cloud-service/javadoc/com/day/cq/workflow/exec/ParticipantStepChooser.html

asked 02/10/2024
Razan Althubaiti
42 questions

Question 19

Report
Export
Collapse

An AEM application has a Header and Footer authored on every page.

The customer asks for the following:

A centralized Header and Footer
A centralized Header and Footer
The ability to create a variation for both the Header and Footer
The ability to create a variation for both the Header and Footer
Change the Header and Footer for specific time periods
Change the Header and Footer for specific time periods
The ability to restore a previous version for both the Header and FooterWhat should the developer use to meet the requirements?
The ability to restore a previous version for both the Header and FooterWhat should the developer use to meet the requirements?
Custom component
Custom component
Content fragment
Content fragment
Static template
Static template
Experience fragment
Experience fragment
Suggested answer: D

Explanation:

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. Reference: https://experienceleague.adobe.com/docs/experiencemanager- 65/authoring/authoring/experience-fragments.html?lang=en

asked 02/10/2024
Eric Zarghami
51 questions

Question 20

Report
Export
Collapse

AEM SPA integration provides various design models. In an application the developer chooses to use

AEM as a headless CMS without using the SPA Editor SDK framework.

What would be an advantage for this design model?

The content author can edit the app using AEM's content authoring experience.
The content author can edit the app using AEM's content authoring experience.
The developer has full control over the app.
The developer has full control over the app.
The SPA is compatible with the template editor
The SPA is compatible with the template editor
The developer keeps control over the app by only enabling authoring in restricted areas of the app
The developer keeps control over the app by only enabling authoring in restricted areas of the app
Suggested answer: B

Explanation:

AEM SPA integration provides various design models for different levels of authoring capabilities and developer control. In the design model where AEM is used as a headless CMS without using the SPA

Editor SDK framework, the developer has full control over the app and can use any SPA framework or library. However, this also means that the content author cannot edit the app using AEM's content authoring experience, the SPA is not compatible with the template editor, and the developer cannot enable authoring in restricted areas of the app. Reference:

https://experienceleague.adobe.com/docs/experience-manager-learn/spa-editor-overview/spaoverview.html?lang=en#design-models

asked 02/10/2024
Subha Mishra
39 questions
Total 50 questions
Go to page: of 5
Search

Related questions