You are on page 1of 7

ExamsBoost

Boost up Your Certification Score

Adobe
AD0-E103
Adobe Experience Manager Developer

For More Information – Visit link below:

https://www.examsboost.com/
Product Version
 Up to Date products, reliable and verified.
 Questions and Answers in PDF Format.

Visit us athttps://www.examsboost.com/test/ad0-e103/
Question: 1
A developer is working with the following HTL expression in a component rendering script
${'path/page.infinity.jsori ©extension = 'html,
removeSelectors = [Too'],
selectors = ['foo1, 'bar'],
prependSuffix = 'hello',
suffix = 'world'}
What is the expected output of this expression?

A. path/page.foo.bar.html/hello/world
B. path/page.infinity.json.bar.html/world
C. path/page.bar.html/hello/worId
D. path/page.bar.html/worId

Answer: C

Question: 2
In which maven build phase is the content package assembled?

A. install
B. compile
C. package
D. deploy

Answer: C

Question: 3
A developer has a component named foobar with the following file:
foobar.html:
<div data-one=n${'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?

A. "<div data-one=""foo"'1 data-two=""2"'1 data-three=""true""></div> <div data-one='.......datatwo=


llllO"" data-three=""false""></div>"
B. "<div data-one=""foo,,M data-two=2 data-three=""""x/div> <div data-one="......data-two=0
datathree='.......></
div>"
C. "<div data-one=""foo"" data-two=""2"" data-threex/div> <div data-two=""0""x/div>"

Visit us athttps://www.examsboost.com/test/ad0-e103/
D. "<div data-one=""foo"" data-two=2 data-three='.......></div>
<div data-two=0 data-three='.......></div>"

Answer: C

Question: 4
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. 1. Use console at /system/console/crypto to encrypt the value


2. Either create an encrypted value for each AEM instance and use runmodes to apply the different
values or make sure relevant instances share the same master key
3. When loading the value in the code, call CryptoSupport.unprotect(_) before using the value
B. 1. Use console at /system/console/configMgr and tick the checkbox "encrypt" before saving a
configuration
2. Use encrypted values work across all instances
3. When loading the value in the code, call CryptoSupport.unprotect(...) before using the value
C. 1. Use console at /system/console/crypto to encrypt the value
2. Either create an encrypted value for each AEM instance and use runmodes to apply the different
values or make sure relevant instances share the same master key
3. Sensitive information is automatically decrypted using the CryptoSupport OSGi service before the
value is returned
D. 1. Use console at /system/console/configMgr and tick the checkbox "encrypt" before saving a
configuration
2. Either create an encrypted value for each AEM instance and use runmodes to apply the different
values or make sure relevant instances share the same master key
3. Sensitive information is automatically decrypted using the CryptoSupport OSGi service before the
value is returned

Answer: A

Question: 5
A developer creates a template-type for building editable templates.
The resulting editable templates and pages must always contain a specific layout container that can
NOT be deleted by the author.
How should the developer meet this requirement?

A. Add the layout container component to the structure section of the template-type
B. Add the layout container component by including it on the actual page component
C. Add a content policy to the template-type to disable the removal of the layout container
D. Add the layout container component to the initial section of the template-type

Visit us athttps://www.examsboost.com/test/ad0-e103/
Answer: A

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

A. Maven Bundle Plugin


B. Content Package Maven Plugin
C. FileVault Package Maven Plugin
D. Maven Install Plugin

Answer: B

Question: 7
A custom AEM application contains a service component that needs to access the JCR repository
within the activate method. The activate method uses
ResourceResolverFactory.getServiceResourceResolver(...) without specifying a sub service name.
What should a developer do to make sure the user service mapping for the service component is
available?

A. Create a field of type ServiceUserMapper and annotate it with ©Reference using


ReferencePolicy.STATIC
B. Wait for the service ServiceUserMapper via BundleContext.getServiceReference(...)
C. Create a field of type ServiceUserMapped and annotate it with ©Reference using
ReferencePolicy.DYNAMIC
D. Create a field of type ServiceUserMapped and annotate it with ©Reference

Answer: D

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

A. The word "config" is a sign of factory


B. The word "factory" is a sign of factory
C. Should be set package.myClass.config.factory-<identifer>
D. Must be set package.myClass.config.factory-<identifer>

Answer: C

Visit us athttps://www.examsboost.com/test/ad0-e103/
Question: 9
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)

A. Implement a Java class extending from class com.adobe.granite.workflow.exec.WorkflowProcess


B. Create a Workflow component node of the Super Resource Type
"cq/workflow/components/model/process" under the folder /apps/components
C. Create a Workflow component node of the Super Resource Type "cq/workflow/components/step"
under the folder /etc/workflow/models
D. Implement a Java class with this method "public void process (Workltem item, WorkflowSession
wfsession) throws WorkflowException"
E. Implement a Java class implementing the interface
com.adobe.granite.workflow.exec.WorkflowProcess

Answer: B E

Question: 10
A developer has a component named foobar with the following file:
FooBar.java
import com.adobe.cq.sightly.WCMUsePojo;
public class FooBar extends WCMUsePojo; {
©Override
public void activate() throws Exception {}
public String getLink() {
return "http://www.foo'bar.com";
}
public String getText() { return "foo'bar";
} foobar.html
<div data-sly-use.fooBar="FooBar">
<a href="${fooBar.link}" title="${fooBar.text}">
${fooBar.text}
</a>
</div>
What is the output when the component is rendered?

A. "<div>
<a href="https://www.foo%27bar.com"" title=""foo'bar"">
foo&#39;bar
</a>
</div>"
B. "<div>

Visit us athttps://www.examsboost.com/test/ad0-e103/
<a href=""https://www.foo%27bar.com"" title=""foo&#39;bar""> foo'bar
</a>
</div>"
C. "<div>
<ahref=""https://www.foo&#39;bar.com "" title=""foo&#39;bar"">
foo&#39;bar
</a>
</div>"
</a>
</div>"
D. "<div>
<a href=""https;//www.foo%27bar.com"" title=""foo&#39;bar"">
foo&#39;bar
</a>
</div>"

Answer: D

Visit us athttps://www.examsboost.com/test/ad0-e103/
Thank You for Trying Our Product

For More Information – Visit link below:


https://www.examsboost.com/
20% Discount Coupon Code:
20off2019

FEATURES

 90 Days Free Updates


 Money Back Pass Guarantee
 Instant Download or Email Attachment
 24/7 Live Chat Support
 PDF file could be used at any Platform
 50,000 Happy Customer

Visit us athttps://www.examsboost.com/test/ad0-e103/

Powered by TCPDF (www.tcpdf.org)

You might also like