Adobe AD0-E103 Adobe Experience Manager Sites Developer Exam Practice Test

Page: 1 / 14
Total 94 questions
Question 1

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?



Answer : D


Question 2

In OSGi bundle Activator.java is registered through a service DevelopInfo.java

DeveloperInfo.java

Activator.java

Maven install generates an error during deployment. Refer to the error information below:

Which action should the developer take to resolve the build error?



Answer : C


Question 3

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?



Answer : D


Question 4

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 directly to 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?



Answer : B


Question 5

For each CRX node in the hierarchy, which actions can be configured using the user admin interface?



Answer : A


Question 6

A developer needs to implement a service component that should be manually configured by operations to react on operational circumstances. The service component should NOT be active by default. The service has the properties myservice.name (one string value) and myservice.stringValues (a list of the string values) to be configured.

The developer needs to use OSGi Metatype annotations to make those properties configurable in the Apache Felix Web Console.

Which set of steps should the developer take to meet these requirements?



Answer : C


Question 7

A developer is installing a content package with the package manager. The developer needs to restrict the approximate number of nodes in a batch that is saved to persistent storage in one transaction.

How should the developer modify the number of transient nodes to be triggered until automatic saving?



Page:    1 / 14   
Total 94 questions