An application contains an OSGi configuration that contains a password.
How should a developer prevent this sensitive information from being stored in plain text in JCR?
A developer needs to create a new component called “Component A”. Component A must show a list of other components that all have a resource type of existing “Component B”. Component A must render this list of tiles for each Component B where the tile rendering is different from the default one. The list of rendered tiles must be reusable by future new components.
How should the developer implement this functionality?
Which maven plugin is required to install a content package on a local AEM environment using maven?
A custom AEM application is using the PageManager API.
What should a developer add to make the application compile and run correctly in AEM?
A developer has a component named foobar with the following file:
foobar.html:
What is the output when the component is rendered?
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?
A developer is installing a content package with the package manager. The developer needs to restrict the approximate number of nodes in a batch that is saved to persistent storage in one transaction.
How should the developer modify the number of transient nodes to be triggered until automatic saving?
A developer needs to create a component with the following requirements:
* The component must be configurable
* The component should be editable, NOT removable
* An author should be unable to add the component to a page through design mode
Which mode structure should the developer use to meet these requirements?
A developer must create a workflow step that assigns a ‘WorkItem’ to the appropriate person based on who has the least amount work to do.
The group that must perform the action is configured into the workflow.
Which non-deprecated interface should the Java implementation class use to perform the assignment?
A developer creates a custom component. The component dialog includes the following two fields:
he component should display the first ‘X’ characters of the text entered in the ‘text’ input where ‘X’ is the number entered in the ‘charLimit’ input. If zero, or no value, is entered in the ‘charLimit’ input then the text should be unaltered. The developer creates the following Sling Model to perform the trancation:
A Null Pointer Exception occurs if NO charLimit values is set in the component dialog.
What should the developer do to resolve this issue?
An application runs specific license checks against certain DAM assets every day. It should send an email to a configured list if it finds warnings, and mark the asset accordingly. A service component that uses the Apache Sling Scheduler Service is created. DAM assets that must NOT be used anymore are hidden using ACLs and the license check must re-check them.
How should a developer obtain a resource resolver that can read and update the DAM assets?