AD0-E116 無料問題集「Adobe Experience Manager Developer Expert」
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?
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?
正解:D
解答を投票する
A custom AEM application 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?
How should a developer make sure that the bundle is installed on all environments?
正解:A
解答を投票する
A developer is working on a dialog for a contact list component. The dialog has the following requirements:
1. The list of contacts must include one or more entries.
2. Contact details must include a full name.
3. Contact details must include an email address
4. Contact details can optionally include a short bio
5. Authors need to be able to rearrange the contacts in the list
Which dialog configuration should the developer use to meet all of these requirements?




1. The list of contacts must include one or more entries.
2. Contact details must include a full name.
3. Contact details must include an email address
4. Contact details can optionally include a short bio
5. Authors need to be able to rearrange the contacts in the list
Which dialog configuration should the developer use to meet all of these requirements?




正解:D
解答を投票する