Black Friday Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Adobe AD0-E103 Adobe Experience Manager Developer Exam Practice Test

Demo: 14 questions
Total 94 questions

Adobe Experience Manager Developer Questions and Answers

Question 1

A developer is creating templates and/or components using CRXDE Lite. The developer needs to check the files into source control.

Which tool should the developer use to achieve this goal?

Options:

A.

vlt command

B.

Content Explorer

C.

http://localhost:4502/crx/checkout

D.

mvn command

Question 2

A Client-Side Library has the category "library.example".

Which HTL statement should a developer use to reference only the CSS files of this Client-Side library

Options:

A.

B.

C.

D.

Question 3

A developer creates two custom classes. ClassA has the following code:

package com.aem.abc;

import org.slf4j.Logger;

import org.slf4j.LoggerFactory;

public class ClassA {

private static final Logger logger = LoggerFactory.getLogger(this.getClass());

public void classAMethod() {

logger.debug("Message from Class A method");

}

}

The developer creates a custom log custom.log with debug level in OSGi sling log support for the Java package com.aem.abc. The developer adds another class ClassB with the following code:

package com.aem.xyz;

import org.slf4j.Logger;

import org.slf4j.LoggerFactory;

public class ClassB {

private static final Logger logger = LoggerFactory.getLogger(this.getClass());

public void classBMethod() {

logger.debug("Message from Class B method");

}

}

Which action must the developer take to see the log messages in the same file from both classes?

Options:

A.

Configure custom.log in OSGi web console -> Sling -> Log Support and replace com.aem.xyz with com.aem.abc

B.

Configure custom.log in OSGi web console -> Sling -> Log Support and replace com.aem.abc with com.aem.xyz

C.

Create separate a log file in the OSGi web console -> Sling -> Log Support for logger com.aem.xyz

D.

Configure custom.log in OSGi web console -> Sling -> Log Support and replace com.aem.abc with com.aem

Question 4

A developer needs to install a content package on an AEM environment. However a content package with the same name is already installed.

What would be the safest way for the developer to install the content package to make sure only the changes of the new content package get applied?

Options:

A.

Upload the content package to the CRX Package Share before installing it

B.

Use the "Force Upload" option when uploading the new content package

C.

Uninstall the existing content package before installing the new content package

D.

Install the content package using the OSGi web console

Question 5

A developer wants to automatically truncate request log files once they exceed 10 MB.

Which OSGi configuration should the developer modify?

Options:

A.

Apache Sling Logging Configuration

B.

Adobe Granite Log Analysis Service

C.

Apache Sling Customizable Request Data Logger

D.

Apache Sling Logging Writer Configuration

Question 6

Which xml tag is used within the vault package definition to add a new path to a content package?

Options:

A.

B.

C.

D.

Question 7

Which log file contains AEM application request and response entries?

Options:

A.

response.log

B.

request.log

C.

history.log

D.

audit.log

Question 8

A developer needs to ensure that the path /content//segments exists on all environments with the correct initial content that the developer provides in a package. Content that exists in that path should NOT be affected.

Which import mode should the developer use in the filter definition?

Options:

A.

update

B.

merge

C.

replace

D.

optional

Question 9

A service component periodically retrieves content from an external REST interface and saves the information in JCR. The REST endpoint is configured via an OSGi service property. There is one URL for production (runmode prod) and another URL for all other environments.

How should a developer configure the OSGi service?

Options:

A.

Underneath /apps//settings, create the sub folders global and prod and node with name .conf each and configure the properties via node properties.

B.

Underneath /config//settings, create the sub folders config.default and config.prod and a file with the name .config each and list the properties as key value pairs in there.

C.

Underneath /apps/, create the sub folders config and config.prod and a file with the name .config each and list the properties as key value pairs in there.

D.

Underneath /config//settings, create the sub folders config and config.prod and a file with the name .config each and list the properties as key value pairs in there.

Question 10

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?

Options:

A.

Use the Felix Web Console to upload the bundles in the correct order.

B.

Create one content package per bundle and use a package dependency to ensure installation order.

C.

Embed both bundles in one content package and use property ‘installationOrder’ in package properties for correct bundle installation order.

D.

Embed both bundles in one content package: the dependency via Import-Package is enough to ensure correct installation.

Question 11

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)

Options:

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

Question 12

Too many pages are invalidated in the dispatcher cache when a page is published.

What is most likely causing this issue in the dispatcher configuration?

Options:

A.

Sticky session are NOT configured properly, resulting in requests being delivered to the wrong server.

B.

The level of cache invalidation is NOT appropriate for the published content model.

C.

File globbing in the dispatcher configuration is NOT correct.

D.

The OS file system permissions are NOT properly configured.

Question 13

The custom AEM application needs to keep a flat list of all page paths underneath /content/thesite in memory for a real-time integration with high performance requirements.

The developer has the following intermediate state of the class:

What action should the developer take to meet these requirements?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 14

There are performance, stability, and security issues with an installed AEM instance.

What should a developer do to fix these issues?

Options:

A.

Delete and reinstall the AEM instance.

B.

Install Adobe-provided Apache configuration file.

C.

Stop, clear cache files, and restart the AEM instance.

D.

Install service pack updates from package share.

Demo: 14 questions
Total 94 questions