Adobe AD0-E134 Practice Test - Questions Answers, Page 3

List of questions
Question 21

An AEM Developer needs to create a new component to help support a new product launch.
β’ The client is on AEM 6.5 on-premise with the latest version of WCM Core Components
β’ The component must include text, image, and a link
β’ The component must support multiple designs
Which process should the AEM Developer use to support the launch?
Question 22

An AEM application is expected to export a content fragment in JSON format without any customization for a headless implementation.
What is the recommended approach?
Question 23

In a non-optimized website, the final HTML generated for a typical page by publish instance includes a relatively large number of <script> elements that refer to other script files loaded from AEM environment. The developer wants to minimize these network calls by combining all required client library code into a single file to reduce the number of back-and-forth requests on page load.
Which step should a developer take to solve this issue?
Question 24

An AEM application development team is assigned a task to create an Event-Driven Data Layer implementation for an Analytics solution.
Which Adobe recommended best practice should the developer choose?
Question 25

A developer is on an AEM application that is being used to calculate an employee's salary. The calculation is done in an OSGi service called CalculationService. This service class has a dependency on one other service, called the EmployeeService.
How should the developer make sure that the critical code in the CalculationService has a high unit test coverage?
Question 26

An AEM Developer receives requirements for Sling Models in a human-readable yaml format. A custom application needs to be built. The dependency is as shown:
Question 27

A developer needs to create a workflow custom process step in AEM. In a custom process step, an OSGi component needs to implement the WorkflowProcess interface.
Which method should the developer implement?
Question 28

A customer adds third-party client libraries to add some features in an existing AEM application, which will significantly reduce performance.
How should the developer optimize the site?
Question 29

A snippet throws an exception at runtime:
@Model(adaptables = {Resource.class}) public class MyCustomModel {
(SSIingObject
private Resource resource;
What should the developer add to fix it?
Question 30

Which two unit testing dependencies are generated by AEM archetype? (Select two.)
Question