Summer Sale 60% Special Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: best60

Adobe AD0-E116 Adobe Experience Manager Developer Expert Exam Practice Test

Page: 1 / 9
Total 94 questions

Adobe Experience Manager Developer Expert Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$48  $119.99

PDF Study Guide

  • Product Type: PDF Study Guide
$42  $104.99
Question 1

What is the artifact ID of the maven dependency that contains all core AEM APIs?

Options:

A.

core-jar

B.

api-jar

C.

aem-jar

D.

uber-jar

Question 2

A custom AEM application contains a service component that needs to access the JCR repository within the activate method. The activate method usesResourceResolverFactory.getServiceResourceResolver(...) without specifying a sub service name.

What should a developer do to make sure the user service mapping for the service component is available?

Options:

A.

Create a field of type ServiceUserMapper and annotateit with @Reference using ReferencePolicy.STATIC

B.

Wait for the service ServiceUserMapper via BundleContext.getServiceReference(...)

C.

Create a field of type ServiceUserMapped and annotate it with @Reference using ReferencePolicy.DYNAMIC

D.

Create a field of type ServiceUserMapped and annotate it with @Reference

Question 3

Two AEM publish instances feed a single Dispatcher.

Which part of the Dispatcher configuration should a developer review to ensure both AEM publishinstances are used?

Options:

A.

virtualhosts

B.

farms

C.

filter

D.

cache

Question 4

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

What action should the developer take to achieve this?

Options:

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

Question 5

Refer to thefollowing four Client Library Folders.

A developer uses the following:

What is the resulting HTML?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 6

A developer has acomponent located under the path /apps. This component has a Client Library which is directly loaded onto a page. The publish instance loads the page correctly. The dispatcher also loads the page but the Client Library is missing.

How should the developerresolve this issue, while taking security into consideration?

Options:

A.

Change the ACLs for the Client Library.

B.

Move the Client Library under /apps/library.

C.

Add the property allowProxy with a boolean value true.

D.

Allow the path to the clientlibson the dispatcher.

Question 7

A developer wants to consume AEM Page Data in Single Page Application. The Single Page Application is coded to understand JSON format. Only page content should be exposed through JSON. All the existing components are based on foundation components.

Which change should the developer make in the existing components to support this requirement?

Options:

A.

Add JSON as the default extension in Apache Sling Servlet?Script Resolver and Error handler Configuration

B.

Implement a Sling Model Exporter for the components

C.

Create a custom sling event handler to handle JSON requests

D.

Invoke the page URL with the extension .json to get the values to construct the required output

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 doesnot 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] packageorg.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 fixthe Maven build?

Options:

A.

"

com.adode.aem

aem-api

6.4.0

apis

"

B.

"

com.adode.aem

uber-jar

6.4.0

apis

"

C.

"<resources>

<directory>src/main/content/jcr_root

false

**/.vlt

**/.vltignore

libs

"

"

D.

adobe-public-releases

Adobe Public Repository

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

default

"

Question 9

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

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 webconsole to view the above message?

Options:

A.

OSGi -> Log Service and click logs/custom.log

B.

Sling-> Log Support and click logs/custom.log

C.

Sling -> Metrics and click logs/custom.log

D.

AEM -> Log Support and click logs/custom.log

Question 10

A developer creates a custom Client Library named foobar.

This Client Library embeds 5 other Client Libraries and contains 10 JavaScript source files. One of these files, called foo.js, has a bug on line 8which causes an exception. The Client Library is throwing this exception on line 1350 when it is included on a webpage.

How should a developer find the exact line in foo.js where the exception has been thrown?

Options:

A.

1. Enable JS/CSS minification in OSGi configuration console for HTML Library Manager.2. Check the JavaScript exception log in the OSGi web console.

B.

1. Temporarily remove the embedded Client Libraries of the foobar Client Library.2. Use the browser JavaScript debugging tools.

C.

1. Add the selector debugClientLibs to the page request.2. Check the JavaScript exception log in the OSGi web console.

D.

1. Add the query parameter debugClientLibs=true to the request.2. Use the browser JavaScript debugging tools.

Question 11

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 Apacheconfiguration file.

C.

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

D.

Install service pack updates from package share.

Question 12

A developer is creating a custom component that shows a list of pages. For each page, the following items must be shown:

* Title of the page

* Description of the page

* A button with fixed text “Read more” that must be translatable

All of the above fields must bewrapped in a

tag.

The logic for obtaining the list of pages must be reusable for future components.

Which snippet should the developer use to meet these requirements?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 13

A developer is creating a new OSGi bundle com.custom.package.b to expose new services.

com.custom.package.a is already installed and active in the system and has the following package definition:

The system console shows the following package availability:

Bundle com.custom.package.b to be installed has the following packagedefinition:

What will happen when the developer uploads the bundle com.custom.package.b into the system?

Options:

A.

The bundle will install but fail the activation due to unsatisfied dependencies com.sample.package.b and com.sample.package.c.

B.

The bundle willinstall but fail the activation due to unsatisfied dependency com.sample.package.c.

C.

The bundle will install and activate successfully.

D.

The bundle will install but fail the activation due to unsatisfied dependency com.sample.package.b.

Question 14

A developer creates the following code snippet to implement a simple polling importer to fetch stock prices from anexternal source:

The polling importer needs to fetch stock prices for a specific stock symbol and needs to be triggered every 5 minutes.

Which node structure should the developer create in CRX to make sure that the code shown is executed successfully?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Page: 1 / 9
Total 94 questions