AD0-E116 Dumps

AD0-E116 Free Practice Test

Adobe AD0-E116: Adobe Experience Manager Developer Expert

QUESTION 6

A developer installs the latest Service pack to a local AEM author instance. How should the developer install this package on the publish instance?

Correct Answer: C

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?

Correct Answer: D

QUESTION 8

Adeveloper created an editable template with a Layout Container. The developer needs to restrict the Layout Container to just one column layout.
What should the developer do to the editable template to enforce this restriction?

Correct Answer: D

QUESTION 9

A developer needs to create a banner component. This component shows an image across the full width of the page. A title is shown on top of the image. This text can be aligned to the left, middle,or right. The core components feature a teaser component which matches almost all requirements, but not all.
What is the most maintainable way for the developer to implement these requirements?

Correct Answer: D
https://docs.adobe.com/content/help/en/experience-manager-core-components/using/components/teaser.html

QUESTION 10

A developer needs to implement a service component that should be manuallyconfigured 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?

Correct Answer: C