A customer created a workflow launcher to trigger the "Custom Workflow" based on "Node Created" under the folder /var/classes, but the workflow is not triggered.
What is the reason the workflow is not triggered?
Which tool is commonly used to manage front-end dependencies and automate tasks like bundling, minification, and transpilation in an AEM project?
A client wants to ensure that only specific components are available to content authors when using an editable template in AEM. Additionally, they require that certain fields within a content fragment model adhere to strict validation rules for data integrity.
Which two steps would the developer take to meet both requirements? (Choose two.)
A developer is using the Oak query engine.
Which query language is recommended?
A developer is creating a new component to be included in an SPA. They created a Sling Model and React component but are experiencing issues getting them to work together.
Which change is needed to make sure these two components work together?
What is the correct way to implement the OSGi service class for this interface?
public interface SimpleService {
String getMessage();
}
Options:
A developer is debugging an issue where a Sling Model is not properly adapting to the resource. Upon investigation, the developer notices the following Sling Model code:
@Model(adaptables = Resource.class)
public class MyCustomModel {
}
What is causing the issue?
A customer has the requirement to use SAML authentication on AEM using their SAML 2.0 compatible IDP.
Example:
AEM: www.wknd.com/content/siteB/index.html
IDP: https://www.idpB.com
How should an AEM Developer configure their SAML Authentication Handler?
A developer needs to configure two style options (style-a and style-b) for a text component so authors can choose between different pre-defined styles for their content. What is the correct way to define the cq:editConfig node?
What is the default file to store the dispatcher cache configuration?
A developer is tasked with designing a solution to accommodate multiple client projects within a single Adobe Experience Manager (AEM) instance, each requiring its own set of unique resources, code, and content.
Given the need for true multi-tenancy, where each tenant operates independently with zero knowledge of other tenants and no shared code, content, or common authors, which approach should the developer recommend?
A developer is creating a dialog for a component, which has a checkbox field. After saving the component configuration, the developer noticed that the checkbox value is stored as a String type in JCR.
What should be done to store the checkbox value as a Boolean type in JCR?
How would a developer create a new Adobe Experience Manager project version 2.0 for 6.5 using the Adobe Experience Manager Maven Archetype with package com.mysite?
A developer has created a new Sling Model called Flarp. The developer wants to create a unit test for this Sling Model.
The current unit test looks like this:
@ExtendWith(AemContextExtension.class)
class FlarpImplTest {
private final AemContext ctx = new AemContext();
@BeforeEach
public void setUp() throws Exception {
ctx.addModelsForClasses(FlarpImpl.class);
}
@Test
public void testGetName() {
final String expected = "<
ctx.currentResource("/content/bar");
Flarp bar = ctx.request().adaptTo(Flarp.class);
String actual = bar.getName();
assertEquals(expected, actual);
}
}
What needs to be changed for the unit test to successfully test the getName() method of the Flarp Sling Model?
Which action is typically performed by a replication agent in AEM?