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

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

List of questions

Question 11

Report
Export
Collapse

A developer is installing a content package with the package manager. The developer needs to restrict the approximate number of nodes in a batch that is saved to persistent storage in one transaction.

How should the developer modify the number of transient nodes to be triggered until automatic saving?

AEM instances automatically modify the number of transient nodes based on the load balancing.
AEM instances automatically modify the number of transient nodes based on the load balancing.
Modify the export package manifest header and copy the content package to AEM installation folder.
Modify the export package manifest header and copy the content package to AEM installation folder.
Select the option MergePreserve for the Access Control Handling drop-down in the Install Package dialog-box.
Select the option MergePreserve for the Access Control Handling drop-down in the Install Package dialog-box.
Change the value of Save Threshold in the Install Package dialog-box.
Change the value of Save Threshold in the Install Package dialog-box.
Suggested answer: C
asked 02/10/2024
himanshu deshpande
41 questions

Question 12

Report
Export
Collapse

A developer needs to implement a service component that should be manually configured by operations to react on operational circumstances. The service component should NOT be active by default. The service has the properties

myservice.name (one string value) and myservice.stringValues (a list of the string values) to be configured.

The developer needs to use OSGi Metatype annotations to make those properties configurable in the Apache Felix Web Console. Which set of steps should the developer take to meet these requirements?

1. For the class fields myserviceName and myserviceStringValues, add a @AttributeDefinition annotation each with names set to myservice.name and myservice.stringValues respectively.
1. For the class fields myserviceName and myserviceStringValues, add a @AttributeDefinition annotation each with names set to myservice.name and myservice.stringValues respectively.
Use the @Component annotation with configurationFactory = true on the service component class.
Use the @Component annotation with configurationFactory = true on the service component class.
Use the @Service service component class.
Use the @Service service component class.
Use the activate method of the service component class to get the configuration annotation interface class injected.
Use the activate method of the service component class to get the configuration annotation interface class injected.
1. Create an annotation interface as inner class of the service component and annotate it with @ObjectClassDefinition.
1. Create an annotation interface as inner class of the service component and annotate it with @ObjectClassDefinition.
Apply @AttributeDefinition for the methods myservice.name and myservice.stringValues.
Apply @AttributeDefinition for the methods myservice.name and myservice.stringValues.
Use the @Component annotation with configurationPolicy = ConfigurationPolicy.REQUIRE on the service component.
Use the @Component annotation with configurationPolicy = ConfigurationPolicy.REQUIRE on the service component.
Use the @Designate annotation to link the service component to the created configuration annotation interface.
Use the @Designate annotation to link the service component to the created configuration annotation interface.
Use the activate method of the service component class to get the configuration annotation interface class injected.
Use the activate method of the service component class to get the configuration annotation interface class injected.
1. Create an annotation interface as inner class of the service component and annotate it with @ObjectClassDefinition.
1. Create an annotation interface as inner class of the service component and annotate it with @ObjectClassDefinition.
Apply @AttributeDefinition for the methods myservice_name and myservice_stringValues.
Apply @AttributeDefinition for the methods myservice_name and myservice_stringValues.
Use the @Component annotation with configurationPolicy = ConfigurationPolicy.REQUIRE on the service component.
Use the @Component annotation with configurationPolicy = ConfigurationPolicy.REQUIRE on the service component.
Use the @Designate annotation to link the service component to the created configuration annotation interface.
Use the @Designate annotation to link the service component to the created configuration annotation interface.
Use the activate method of the service component class to get the configuration annotation interface class injected.
Use the activate method of the service component class to get the configuration annotation interface class injected.
1. For the class fields myserviceName and myserviceStringValues, add a @Property annotation each with names set to myservice.name and myservice.stringValues respectively.
1. For the class fields myserviceName and myserviceStringValues, add a @Property annotation each with names set to myservice.name and myservice.stringValues respectively.
Use the @Component annotation with configurationFactory = true on the service component class.
Use the @Component annotation with configurationFactory = true on the service component class.
Use the @Service service component class.
Use the @Service service component class.
The configuration is automatically injected into the field by the service component runtime.
The configuration is automatically injected into the field by the service component runtime.
Suggested answer: C
asked 02/10/2024
Antonios Petropoulos
32 questions

Question 13

Report
Export
Collapse

A developer creates Editable Templates based on a custom Page component. The developer wants to leverage the Style System within the Editable Templates to allow authors to switch between the Dark and Light Theme. The Style System dialog is NOT enabled for the site.

What should the developer do to resolve this issue?

Define Style Definitions using Page Policy dialog on Editable Template.
Define Style Definitions using Page Policy dialog on Editable Template.
Create two new client libraries with a dark and light theme and map them to the Page component.
Create two new client libraries with a dark and light theme and map them to the Page component.
Set the sling:resourceSuperType property to core/wcm/components/page/v2/page on the Page component.
Set the sling:resourceSuperType property to core/wcm/components/page/v2/page on the Page component.
Create a new dialog for the custom Page components.
Create a new dialog for the custom Page components.
Suggested answer: B

Explanation:

Reference: https://medium.com/adobetech/using-aem-style-system-to-increase-reusability-of-components-8177c5b65c9e

asked 02/10/2024
JAOID EL OUALITI
29 questions

Question 14

Report
Export
Collapse

A developer creates a custom component. The component dialog includes the following two fields:

Adobe AD0-E103 image Question 14 91040 10022024173901000000

The component should display the first ‘X’ characters of the text entered in the ‘text’ input where ‘X’ is the number entered in the ‘charLimit’ input. If zero, or no value, is entered in the ‘charLimit’ input then the text should be unaltered. The developer creates the following Sling Model to perform the trancation:

Adobe AD0-E103 image Question 14 91040 10022024173901000000

A Null Pointer Exception occurs if NO charLimit values is set in the component dialog.

What should the developer do to resolve this issue?

Replace the defaultValue=”0” attribute of the ‘charLimit’ field in the dialog with min=”0”.
Replace the defaultValue=”0” attribute of the ‘charLimit’ field in the dialog with min=”0”.
Add the @Default annotation to the ‘chatLimit’ variable in the Sling Model.
Add the @Default annotation to the ‘chatLimit’ variable in the Sling Model.
Replace the defaultValue=”0” attribute of the charLimit field in the dialog with defaultValue=”{Long}0”.
Replace the defaultValue=”0” attribute of the charLimit field in the dialog with defaultValue=”{Long}0”.
Change the defaultInjectionStrategy of the Truncation Sling Model to DefaultInjectionStrategy.REQUIRED.
Change the defaultInjectionStrategy of the Truncation Sling Model to DefaultInjectionStrategy.REQUIRED.
Suggested answer: D
asked 02/10/2024
Narender B
31 questions

Question 15

Report
Export
Collapse

A custom AEM application contains Bundle A and Bundle B. Bundle A has a dependency to Bundle B via Import-Package.

How can both bundles be deployed most efficiently across all environments?

Use the Felix Web Console to upload the bundles in the correct order.
Use the Felix Web Console to upload the bundles in the correct order.
Create one content package per bundle and use a package dependency to ensure installation order.
Create one content package per bundle and use a package dependency to ensure installation order.
Embed both bundles in one content package and use property ‘installationOrder’ in package properties for correct bundle installation order.
Embed both bundles in one content package and use property ‘installationOrder’ in package properties for correct bundle installation order.
Embed both bundles in one content package: the dependency via Import-Package is enough to ensure correct installation.
Embed both bundles in one content package: the dependency via Import-Package is enough to ensure correct installation.
Suggested answer: D
asked 02/10/2024
Sajan Limbu
29 questions

Question 16

Report
Export
Collapse

After adding new features, a developer’s environment is experiencing slowness before ultimately running out of memory. The initial log analysis points towards a large number of open sessions.

Which action should the developer take to further monitor the overall session count on this AEM instance?

Run the following command to generate thread dumps jstack -l <pid> >> threaddumps.log, analyze thread dumps to find long running sessions.
Run the following command to generate thread dumps jstack -l <pid> >> threaddumps.log, analyze thread dumps to find long running sessions.
Go to Web Console > Status > Threads, verify the overall thread count.
Go to Web Console > Status > Threads, verify the overall thread count.
Go to Tools > Operations > Monitoring. Create a new report based on Number of Active Sessions as metric.
Go to Tools > Operations > Monitoring. Create a new report based on Number of Active Sessions as metric.
Go to <aem-install>/crx-qiuckstart/logs/strderr/log, use the following command grep -o‘CRXSessionImpl’ strderr.log| wc -l.
Go to <aem-install>/crx-qiuckstart/logs/strderr/log, use the following command grep -o‘CRXSessionImpl’ strderr.log| wc -l.
Suggested answer: D
asked 02/10/2024
Endre Horvath
32 questions

Question 17

Report
Export
Collapse

An OSGi bundle Activator.java is registered through a service DevelopInfo.java DeveloperInfo.java

Adobe AD0-E103 image Question 17 91043 10022024173901000000

Activator.java

Adobe AD0-E103 image Question 17 91043 10022024173901000000

Maven install generates an error during deployment. Refer to the error information below:

Adobe AD0-E103 image Question 17 91043 10022024173901000000

Which action should the developer take to resolve the build error?

@Service annotation is missing in DeveloperInfo.java.
@Service annotation is missing in DeveloperInfo.java.
Interface DeveloperInfo does NOT have any method.
Interface DeveloperInfo does NOT have any method.
Activator class is NOT implementing DeveloperInfo interface.
Activator class is NOT implementing DeveloperInfo interface.
The required Maven repository for OSGi is missing.
The required Maven repository for OSGi is missing.
Suggested answer: C
asked 02/10/2024
Mohammedsaleh Ibrahim
42 questions

Question 18

Report
Export
Collapse

An online insurance company website has user-generated content that must be replicated in all publish instances.

What action should the developer take to achieve this?

Configure the dispatcher flush agent in publish instance.
Configure the dispatcher flush agent in publish instance.
Configure reverse replication agents for the author.
Configure reverse replication agents for the author.
Configure the replication agent in the publish instances.
Configure the replication agent in the publish instances.
Disable static agent in the author instance.
Disable static agent in the author instance.
Suggested answer: A

Explanation:

Reference: https://helpx.adobe.com/fi/experience-manager/6-4/sites/deploying/using/replication.html

asked 02/10/2024
Andre van Mierlo
37 questions

Question 19

Report
Export
Collapse

A developer needs to analyze log messages for custom Java application. The developer writes the following Java class:

Adobe AD0-E103 image Question 19 91045 10022024173901000000

The developer creates a custom log named custom.log with a debug level in OSGi web console for Java package com.abc.xyz.

Where should the developer look in the OSGi web console to view the above message?

OSGi -> Log Service and click logs/custom.log
OSGi -> Log Service and click logs/custom.log
Sling-> Log Support and click logs/custom.log
Sling-> Log Support and click logs/custom.log
Sling -> Metrics and click logs/custom.log
Sling -> Metrics and click logs/custom.log
AEM -> Log Support and click logs/custom.log
AEM -> Log Support and click logs/custom.log
Suggested answer: B
asked 02/10/2024
Nick Wells
43 questions

Question 20

Report
Export
Collapse

A developer must create a workflow step that assigns a ‘WorkItem’ to the appropriate person based on who has the least amount work to do. The group that must perform the action is configured into the workflow.

Which non-deprecated interface should the Java implementation class use to perform the assignment?

com.adobe.granite.workflow.exec.ParticipantStepChooser
com.adobe.granite.workflow.exec.ParticipantStepChooser
com.day.cq.workflow.exec.ParticipantChooser
com.day.cq.workflow.exec.ParticipantChooser
com.day.cq.workflow.exec.WorkItem
com.day.cq.workflow.exec.WorkItem
com.adobe.granite.workflow.exec.WorkflowData
com.adobe.granite.workflow.exec.WorkflowData
Suggested answer: B

Explanation:

Reference: https://docs.adobe.com/content/help/en/experience-manager-64/developing/extending-aem/extending-workflows/workflows-step-ref.html

asked 02/10/2024
Aurelie Touraille Colombo
32 questions
Total 92 questions
Go to page: of 10
Search

Related questions