Adobe AD0-E116 Practice Test - Questions Answers, Page 5

List of questions
Question 41

A developer wants to consume AEM Page Data in Single Page Application. The Single Page Application is coded to understand JSON format. Only page content should be exposed through JSON. All the existing components are based on foundation components.
Which change should the developer make in the existing components to support this requirement?
Question 42

A developer running a local AEM instance and working on an AEM project needs to change a large number of files locally in filesystem. The developer needs to get the changes uploaded to the local AEM instance to verify changes almost immediately in the browser.
What action should the developer take to most efficiently meet these requirements?
Question 43

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?
Question 44

A developer needs an existing workflow to run only when pages are created under a certain folder. What should the developer create to achieve this?
Question 45

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

There is a config file package.myClass.config.factory-myApp.xml – what is true? (Choose two)
Question 47

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

A developer 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?
Question 49

A developer needs to configure sets of values according to the following parameters:
- Varies for different staging environments
- Varies for different content paths
- Diffets between author and publish
Which implementation strategy should the developer use to meet these requirements?
Question 50

Which environment variable in the AEM start script should a developer modify to enable remote debugging?
Question