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

AD0-E116 Questions and Answers

Note! Following AD0-E116 Exam is Retired now. Please select the alternative replacement for your Exam Certification. The new exam code is AD0-E117

AD0-E116 Questions and Answers

Question # 6

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?

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.

Full Access
Question # 7

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?

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

Full Access
Question # 8

A custom AEMapplication has a run time dependency to a third party OSGi bundle that is NOT included in out-of-the-box AEM. The third party dependency needs to be available for multiple applications and be upgraded separately from the custom AEM application.

How should a developer make sure that the bundle is installed on all environments?

A.

Add the dependency to the third party bundle in pom.xml of the project bundle

B.

Embed the third party bundle in the bundle that depends on it

C.

Embed the bundle in a content package to have it automatically deployed

D.

Declare the dependency correctly using a link to the OSGi Bundle Reposirory (OBR)

Full Access
Question # 9

A developer is working on an HTL script for a custom component. The script has the following requirements:

* This script must list the title of every child page of the current page.

* If a child page does not have any children, then its title should link directlyto that page.

* If a child page has children, then the title of every one of its children should be listed be-neath its title.

* The title of every grandchild page should link directly to that page.

Which HTL script should the developer use to meet these requirements?

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 10

Which maven plugin is required to install a content package on a local AEM environment using maven?

A.

Maven Bundle Plugin

B.

Content Package Maven Plugin

C.

FileVault Package Maven Plugin

D.

MavenInstall Plugin

Full Access
Question # 11

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

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

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

Full Access
Question # 12

A developer wants to extend AEM Core Components to create a custom Carousel Component.

How should the developer extend the Core Components?

A.

Make changes to theoriginal component and assign a component group.

B.

Use the sling:resourceSuperType property to point to the core component.

C.

Use the sling:resourceType property to point to the core component.

D.

Copy the Core Carousel component to/apps/ folder.

Full Access
Question # 13

A developer wants to change the log level for a custom API.

Which OSGi configuration should the developer modify?

A.

Apache Sling Logging Configuration

B.

Apache Sling Log Tracker Service

C.

ApacheSling Logging Writer Configuration

D.

Adobe Granite Log Analysis Service

Full Access