March Sale - Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dpm65

Note! The AD0-E116 Exam is no longer available. Get in touch with our Live Chat or email us for more information about the AD0-E117 Exam.

AD0-E116 Adobe Experience Manager Developer Expert Questions and Answers

Questions 4

A developer is working on a complex project with multiple bundles. One bundle provides an OSGiservice for other bundles.

Which two options are necessary to ensure that the other bundles can reference that OSGi service? (Choose two.)

Options:

A.

The bundles consuming the service need to import the fully qualified name of the service interface.

B.

Thebundle providing the service needs to contain an adequate SCR descriptor file.

C.

The bundle providing the service needs to export the java package of the service interface.

D.

The bundle providing the service needs to contain a whitelist of allowed consumer bundles.

E.

The service needs to correctly declare metatype information.

Buy Now
Questions 5

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

AD0-E116 Question 5

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?

AD0-E116 Question 5

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 6

A custom AEM application is using the PageManager API.

What should a developer add to make the application compile and run correctly in AEM?

Options:

A.

a maven dependency to AEM uber-jar to the content package

B.

a maven dependency tobundle cq-wcm-core to the application bundle

C.

a maven dependency to AEM uber-jar to the application bundle

D.

a maven dependency to bundle cq-wcm-api to the content package

Buy Now
Questions 7

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.

Buy Now
Questions 8

A developer identifies that some requests for the page /content/sampleproject/page.html take longer than other requests for the same page.

Refer to the $DOCROOT/content/sampleproject directory below.

[user@group /opt/dispatcher/cache/content/sampleproject ]$ ks -la

total 2

drwxr-xr-x. 5 apache apache 4096 Feb 11 11:41 .

drwxr-xr-x. 3 apache apache 4096 Nov 29 16:07 ..

drwxr-xr-x. 4 apache apache 4096 Feb 7 03:21 page.html

-rw-r--r--. 1 apache apache 0 Feb 7 03:19 .stat

The dispatcher.log file contains the following lines:

[Wed Feb 13 13:14:04 2012] [D] [1376(1572)] checking [/libs/cq/security/userinfo.json]

[Wed Feb 13 13:14:04 2012] [D] [1376(1572)] Caching disabled due to query string: tracking_id=1350373444666

[Wed Feb 13 13:14:04 2012] [D] [1376(1572)] cache-action for [/libs/cq/security/userinfo.json]: None

How should the developer make sure that the page is always cached?

Options:

A.

"Modify the dispatcher.any file to contain the following lines:

/filter

{

...

/0023 { /type ""allow"" /url ""/content/*/*.html?tracking_id=*"" }

...

}"

B.

"Modify the dispatcher.any file to contain the following lines:

/rules

{

...

/0000 { /glob ""*"" /type ""allow"" /params ""tracking_id"" }

...

}"

C.

"Modify the dispatcher.any file to contain the following lines:

/ignoreUrlParams

{

...

/0002 { /glob ""tracking_id"" /type ""allow"" }

...

}"

D.

"Modify the dispatcher.any file to contain the following lines:

/filter

{

...

/0023 { /type ""allow"" /url ""/content/*/*.html"" /params ""tracking_id"" }

...

}"

Buy Now
Questions 9

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?

Options:

A.

Define Style Definitions using PagePolicy dialog on Editable Template.

B.

Create two new client libraries with a dark and light theme and map them to the Page component.

C.

Set the sling:resourceSuperType property to core/wcm/components/page/v2/page on the Page component.

D.

Create a new dialog for the custom Page components.

Buy Now
Questions 10

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

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

How should the developer meet this requirement?

Options:

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

Buy Now
Questions 11

A developer is working with the following HTL expression in a component rendering script:

${'path/page.infinity.json' @extension = 'html',

removeSelectors = ['foo'],

selectors = ['foo', 'bar'],

prependSuffix = 'hello',

suffix = 'world' }

What is the expected output of this expression?

Options:

A.

path/page.foo.bar.html/hello/world

B.

path/page.infinity.json.bar.html/world

C.

path/page.bar.html/hello/world

D.

path/page.bar.html/world

Buy Now
Questions 12

A developer needs to create a component with the following requirements:

* The component must be configurable

* The component should be editable, NOT removable

* An author should be unable to add the component to a page through design mode

AD0-E116 Question 12

AD0-E116 Question 12

Which mode structure should thedeveloper use to meet these requirements?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 13

A developer needs to change the label "Sites" in the navigation of AEM author to "Websites".

Which action should the developer take to achieve this?

Options:

A.

Change the code of/libs/granite/ui/components/shell/clientlibs/shell/js/globalnav.js to display the new value

B.

Create a new node /apps/cq/core/content/nav/sites and update the property jcr:itle

C.

Modify the code of /libs/granite/ui/components/shell/globalnav/overlay/overlay.jsp to display the new value

D.

Modify the node /libs/cq/core/content/nav/sites by updating the jcr:title property

Buy Now
Questions 14

A banking AEM application contains functionality to calculate a mortgage rate based on user input. A servlet in place calculates the result in the backend. A call to an internal third-party REST service is required to retrieve the average object value based on a given zip code.

The following three service interfaces are used:

MortgageCalculationServlet, MortgageCalculationService and ObjectValueLookupRestService where MortgageCalculationServlet has a dependency to MortgageCalculationService andMortgageCalculationService has a dependency to ObjectValueLookupRestService.

The calculation has many combinations of input parameters and edge cases, so the JUnit coverage must be as high as possible.

Which two strategies should the developer use to ensure testability of the application code? (Choose two)

Options:

A.

Use the standard OSGi @Reference annotation to wire the dependencies in application code

B.

Use BundleContext.getServiceReference(...) and BundleContext.getService(...) in application code to look up for the required services just before usage

C.

Deploy a third party dependency injection container to wire dependencies more efficiently in application code

D.

Use a mock framework to be able to create and inject mocks in the test code

E.

Use static methodsto avoid boilerplate in application code

Buy Now
Exam Code: AD0-E116
Exam Name: Adobe Experience Manager Developer Expert
Last Update: Feb 29, 2024
Questions: 94
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 28 Mar 2024