Vcehome > Adobe > Adobe Experience Manager > AD0-E103 > AD0-E103 Online Practice Questions and Answers

AD0-E103 Online Practice Questions and Answers

Questions 4

A developer creates a Sling Servlet. The Sling Servlet is bound to a path (/service/sling/sample). Refer to the resulting code below.

What should the developer do to make the servlet access controlled using the default ACLs?

A. Use @SlingServletResourceTypes instead of @SlingServletPaths.

B. Modify @SlingServletPaths(value = {"/bin/sling/sample" }).

C. Add @SlingServletName(servletName = "AccessControlServlet") annotation.

D. Add @SlingServletPrefix(value = "/apps") annotation.

Browse 92 Q&As
Questions 5

A developer needs to implement a service component that should be manually configured by operations to react on operational circumstances. The service component should NOT be active by default. The service has the properties myservice.name (one string value) and myservice.stringValues (a list of the string values) to be configured. The developer needs to use OSGi Metatype annotations to make those properties configurable in the Apache Felix Web Console.

Which set of steps should the developer take to meet these requirements?

A. 1. For the class fields myserviceName and myserviceStringValues, add a @AttributeDefinition annotation each with names set to myservice.name and myservice.stringValues respectively.

2.

Use the @Component annotation with configurationFactory = true on the service component class.

3.

Use the @Service service component class.

4.

Use the activate method of the service component class to get the configuration annotation interface class injected.

B. 1. Create an annotation interface as inner class of the service component and annotate it with @ObjectClassDefinition.

2.

Apply @AttributeDefinition for the methods myservice.name and myservice.stringValues.

3.

Use the @Component annotation with configurationPolicy = ConfigurationPolicy.REQUIRE on the service component.

4.

Use the @Designate annotation to link the service component to the created configuration

annotation interface.

5.

Use the activate method of the service component class to get the configuration annotation interface class injected.

C. 1. Create an annotation interface as inner class of the service component and annotate it with @ObjectClassDefinition.

2.

Apply @AttributeDefinition for the methods myservice_name and myservice_stringValues.

3.

Use the @Component annotation with configurationPolicy = ConfigurationPolicy.REQUIRE on the service component.

4.

Use the @Designate annotation to link the service component to the created configuration

annotation interface.

5.

Use the activate method of the service component class to get the configuration annotation interface class injected.

D. 1. For the class fields myserviceName and myserviceStringValues, add a @Property annotation each with names set to myservice.name and myservice.stringValues respectively.

2.

Use the @Component annotation with configurationFactory = true on the service component class.

3.

Use the @Service service component class.

4.

The configuration is automatically injected into the field by the service component runtime.

Browse 92 Q&As
Questions 6

A custom AEM application contains Bundle A and Bundle B. Bundle A has a dependency to Bundle B via Import-Package.

How can both bundles be deployed most efficiently across all environments?

A. Use the Felix Web Console to upload the bundles in the correct order.

B. Create one content package per bundle and use a package dependency to ensure installation order.

C. Embed both bundles in one content package and use property `installationOrder' in package properties for correct bundle installation order.

D. Embed both bundles in one content package: the dependency via Import-Package is enough to ensure correct installation.

Browse 92 Q&As
Questions 7

A developer creates the following code snippet to implement a simple polling importer to fetch stock prices from an external source:

The polling importer needs to fetch stock prices for a specific stock symbol and needs to be triggered every 5 minutes.

Which node structure should the developer create in CRX to make sure that the code shown is executed successfully?

A. Option A

B. Option B

C. Option C

D. Option D

Browse 92 Q&As
Questions 8

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

A. Maven Install Plugin

B. FileVault Package Maven Plugin

C. Content Package Maven Plugin

D. Maven Bundle Plugin

Browse 92 Q&As
Questions 9

A developer needs to implement a header component for a website. The component has the following

requirements:

The component should be configured once on the page highest in the hierarchy.

The header component on pages lower in the hierarchy should look the same and show the same data.

If necessary, the configuration can be overwritten on a child page.

The component should show a list of links that are configured in the header component.

Which code snippet for returning the list of pages should the developer use?

A. Option A

B. Option B

C. Option C

D. Option D

Browse 92 Q&As
Questions 10

A developer needs to install a content package on AEM environment. However, a content package with the same name is already installed.

What would you be the safest way for the developer to install the content package to make sure only the changes of the new content package get applied?

A. Use the "Force Upload option when uploading the new content package.

B. Uninstall the existing content package before installing the new content package.

C. Upload the content package to the CRX Package Share before installing it.

D. Install the content package using the OSGi web console.

Browse 92 Q&As
Questions 11

A custom application contains a service component com.proj.ServiceComponent. A developer needs to configure the string value name and integer value intVal. The actual configuration must be deployed using a content package.

What should the developer do to meet these requirements?

A. Option A

B. Option B

C. Option C

D. Option D

Browse 92 Q&As
Questions 12

Two AEM publish feed a single Dispatcher.

Which part of the Dispatcher configuration should a developer review to ensure both AEM publish instance are used?

A. virtualhosts

B. cache

C. filter

D. farms

Browse 92 Q&As
Questions 13

AEM is installed in $AEM_HOME.

In which subfolder are the command line startup and shutdown scripts located?

A. $AEM_HOME/crx-quickstart/bin/

B. $AEM_HOME/crx-quickstart/scripts/

C. $AEM_HOME/

D. $AEM_HOME/crx-quickstart/opt/

Browse 92 Q&As
Exam Code: AD0-E103
Exam Name: Adobe Experience Manager Developer
Last Update:
Questions: 92 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99