Summer Sale - Limited Time 55% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 5763r953

Welcome To DumpsPedia

AD0-E116 Sample Questions Answers

Questions 4

A custom bundle of an application is in state "Installed" after deploying it with Maven.

What should a developer do to change it to state "Active"?

Options:

A.

Use the "Start" action for the bundle in the Apache Felix Web Console

B.

Ensure all OSGi requirements are met and re-deploy using Maven

C.

Use the "Update" action for the bundle in the Apache Felix Web Console

D.

Reinstall the content package using the package manager

Buy Now
Questions 5

A developer installs the latest Service pack to a local AEM author instance.

How should the developer install this package on the publish instance?

Options:

A.

Replicate from package manager of publish instance

B.

Use upload/install from OSGi console of publish instance

C.

Replicate from package manager of author instance

D.

Use upload/install from OSGi console of author instance

Buy Now
Questions 6

AEM is installed in $AEM_HOME.

In which subfolder are the command line startup and shutdown scripts located?

Options:

A.

$AEM_HOME/

B.

$AEM_HOME/crx-quickstart/scripts

C.

$AEM_HOME/crx-quickstart/opt/

D.

$AEM_HOME/crx-quickstart/bin/

Buy Now
Questions 7

A developer is working on the following Sling Model that is being used in a component.

@Model(adaptables = SlingHttpServletRequest.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL)

public class SampleModel {

@Inject

private Page currentPage;

private boolead matchingTitle;

@PostConstruct

private void init(){

matchingTitle = title.equals(currentPage.getName());

}

public boolean isMatchingTitle(){

return matchingTitle;

}

}

The model must check if the configured value of the jct:title property for the component matches the same name of the current page. If the jcr:title property of the component has NOT been configured, then isMatchingTitle() must return false.

How should the developer inject the title property in this model?

Options:

A.

"@ValueMapValue

@Via(""jcr:title"")

@Required

private String titile;"

B.

"@ValueMapValue

@Named(""jcr:title"")

@Default(values = """")

private String titile;"

C.

"@ValueMapValue

@Named(""jcr:title"")

@Required

private String titile;"

D.

"@ValueMapValue

@Via(""jcr:title"")

@Default(values = """")

private String titile;"

Buy Now
Questions 8

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 createsa 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;

importorg.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 mustthe 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 Supportand 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

Buy Now
Questions 9

A developer has a component named foobar with the following file:

FooBar.java

importcom.adobe.cq.sightly.WCMUsePojo;

public class FooBar extends WCMUsePojo; {

@Override

public void activate() throws Exception {}

public String getLink() {

return "http://www.foo'bar.com";

}

public String getText() {

return "foo'bar";

}

}

foobar.html

What is the output when the component is rendered?

Options:

A.

"

href=""https://www.foo%27bar.com"" title=""foo'bar"" >

foo'bar

"

B.

"

href=""https://www.foo%27bar.com"" title=""foo 'bar"">

foo'bar

"

C.

"

href=""https://www.foo 'bar.com"" title=""foo'bar"">

foo'bar

"

D.

"

href=""https://www.foo%27bar.com"" title=""foo 'bar"">

foo'bar

"

Buy Now
Questions 10

A developer is creating a custom method. This method must return a String property y from child x. the method must use only Sling APIs.

How should the developer retrieve property y of node x, and node x may or may NOT exist?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

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 is creating templates and/or components using CRXDE Lite. The developer needs to check the files into source control.

Whichtool should the developer use to achieve this goal?

Options:

A.

vlt command

B.

Content Explorer

D.

mvn command

Buy Now
Questions 13

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

Buy Now
Questions 14

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
Status:
Expired , and Replaced By
Exam Code: AD0-E116
Exam Name: Adobe Experience Manager Developer Expert
Last Update: Mar 1, 2024
Questions: 94
$72  $159.99
$54  $119.99
$45  $99.99
buy now AD0-E116