Weekend Sale - 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: spcl70

Note! AD0-E103 has been withdrawn.

AD0-E103 Practice Exam Questions with Answers Adobe Experience Manager Developer Certification

Question # 6

The following stack trace is written in the error.log file after installing a custom application package.

Could not start bundle com.adobe.cq.sample-bundle [526]. Reason: {}. Will retry.

org.osgi.framework.BundleException: Unable to resolve com.adobe.cq.sample-bundle [526](R 526.0): missing requirement [com.adobe.cq.sample-bundle] osgi.wiring.package

What are two different ways that the developer could resolve the OSGi bundle dependency error? (Choose two)

A.

Go to the Dependency Finder in the System Console to find if another bundle is exporting a similar version of the classes and change the project pom.xml to match the same version

B.

Install the jar in AEM via the curl command 'curl -u username:password -F file=@"./com.example.customlib-3.8.jar" -F name="Dependency" -F force=true -F install=true http://localhost:4502/crx/packmgr/service.jsp --progress-bar -o upload.txt '

C.

Create a folder named "deploy" under $AEM_HOME/crx-quickstart/ and copy com.example.customlib-3.8.jar in there so AEM uploads it automatically

D.

Go to the project parent pom.xml file and add the dependency with the scope "compile" and instruct the bundle plugin to include the dependency in runtime

E.

Upload the file com.example.customlib-3.8.jar into /apps//libs folder in CRX DE to make it available for the OSGi bundle

Full Access
Question # 7

Which environment variable in the AEM start script should a developer modify to enable remote debugging?

A.

CQ_RUNMODE

B.

CQ_JVM_OPTS

C.

CQ_PORT

D.

CQ_HOST

E.
Full Access
Question # 8

The dependency of an AEM project fails when a developer configures using Apache Maven. Refer to the error information below.

INFO] ---------------------------------------

[ERROR] COMPILATION ERROR :

[INFO] ---------------------------------------

[ERROR] /training/core/src/main/java/com/adobe/training/core/listeners/SimpleResourceListener.java:[18,28] package org.apache.sling.api does not exist

[ERROR] /training/core/src/main/java/com/adobe/training/core/filters/LoggingFilter.java:[26,28] package org.apache.sling.api does not exist

[ERROR] /training/core/src/main/java/com/adobe/training/core/filters/LoggingFilter.java:[27,31] package org.apache.sling.engine does not exist

[ERROR] /training/core/src/main/java/com/adobe/training/core/models/HelloWorldModel.java:[22,37] package org.apache.sling.api.resource does not exist

[ERROR] /training/core/src/main/java/com/adobe/training/core/models/HelloWorldModel.java:[25,33] package org.apache.sling.api.settings does not exist

[ERROR] /training/core/src/main/java/com/adobe/training/core/models/HelloWorldModel.java:[31,13] cannot find symbol

symbol: class SlingSettingsService

location: class com.adobe.training.core.models.HelloWorldModel

What should a developer add to the pom.xml to fix the Maven build?

A.

"

com.adode.aem

aem-api

6.4.0

apis

"

B.

"

com.adode.aem

uber-jar

6.4.0

apis

"

C.

"

src/main/content/jcr_root

<filtering>false

**/.vlt

**/.vltignore

libs

"

"

D.

adobe-public-releases

Adobe Public Repository

https://repo.adobe.com/nexus/content/groups/public/

default

"

Full Access
Question # 9

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?

A.

com.adobe.granite.workflow.exec.ParticipantStepChooser

B.

com.day.cq.workflow.exec.ParticipantChooser

C.

com.day.cq.workflow.exec.WorkItem

D.

com.adobe.granite.workflow.exec.WorkflowData

Full Access
Question # 10

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

AD0-E103 question answer

he 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:

AD0-E103 question answer

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

What should the developer do to resolve this issue?

A.

Replace the defaultValue=”0” attribute of the ‘charLimit’ field in the dialog with min=”0”.

B.

Add the @Default annotation to the ‘chatLimit’ variable in the Sling Model.

C.

Replace the defaultValue=”0” attribute of the charLimit field in the dialog with defaultValue=”{Long}0”.

D.

Change the defaultInjectionStrategy of the Truncation Sling Model to DefaultInjectionStrategy.REQUIRED.

Full Access
Question # 11

A developer wants to create a Client Library that will only be included on touch enabled devices.

What action should the developer take to achieve this?

A.

Add the line "#base=touch" to the js.txt and css.txt files in the Client Library Folder

B.

Pass the parameter user-agent='touch' when referencing the Client Library

C.

Set the channels property on the Client Library Folder to "touch"

D.

Create a resource folder called "touch" under the Client Library Folder

Full Access
Question # 12

A developer creates a template-type for building editable templates.

The resulting editable templates and pages must always contain a specific layout container that can NOT be deleted by the author.

How should the developer meet this requirement?

A.

Add the layout container component to the structure section of the template-type

B.

Add the layout container component by including it on the actual page component

C.

Add a content policy to the template-type to disable the removal of the layout container

D.

Add the layout container component to the initial section of the template-type

Full Access
Question # 13

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?

A.

AEM instances automatically modify the number of transient nodes based on the load balancing.

B.

Modify the export package manifest header and copy the content package to AEM installation folder.

C.

Select the option MergePreserve for the Access Control Handling drop-down in the Install Package dialog-box.

D.

Change the value of Save Threshold in the Install Package dialog-box.

Full Access
Question # 14

Which log file should a developer use to search for exception stacktraces?

A.

/crx-quickstart/logs/error.log

B.

/crx-quickstart/logs/request.log

C.

/crx-quickstart/logs/access.log

D.

/crx-quickstart/logs/info.log

Full Access