Question 1
Which maven plugin is required to install a content package on a local AEM environment using maven?
Question 2
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?

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?
Question 3
A developer needs to implement a functionality that requires creating a Custom Workflow Step.
Which two steps should the developer take to start developing the custom behavior? (Choose two)
Which two steps should the developer take to start developing the custom behavior? (Choose two)
Question 4
The structure section of an editable template has a locked component.
What happens to the content of that component when a developer unlocks it?
What happens to the content of that component when a developer unlocks it?
Question 5
A developer has a component named foobar with the following file:
foobar.html:
<div data-one="${'foo'}" data-two="${2}" data-three="${true}"></div>
<div data-one="${''}" data-two="${0}" data-three="${false}"></div>
What is the output when the component is rendered?
foobar.html:
<div data-one="${'foo'}" data-two="${2}" data-three="${true}"></div>
<div data-one="${''}" data-two="${0}" data-three="${false}"></div>
What is the output when the component is rendered?