[Q54-Q72] Verified AD0-E116 dumps Q&As - Pass Guarantee Exam Dumps Test Engine [2021]

Share

Verified AD0-E116 dumps Q&As - Pass Guarantee Exam Dumps Test Engine [2021]

AD0-E116 dumps and 95 unique questions

NEW QUESTION 54
In OSGi bundle Activator.java is registered through a service DevelopInfo.java DeveloperInfo.java

Activator.java

Maven install generates an error during deployment. Refer to the error information below:

Which action should the developer take to resolve the build error?

  • A. @Service annotation is missing in DeveloperInfo.java.
  • B. Interface DeveloperInfo does NOT have any method.
  • C. Activator class is NOT implementing DeveloperInfo interface.
  • D. The required Maven repository for OSGi is missing.

Answer: C

 

NEW QUESTION 55
How should a developer enable remote debugging of an AEM server without modifying the AEM start script?

  • A. Rename the quickstart jar file to include the additional debug settings.
  • B. Enable the remote debugging service through the AEM Cloud Services menu.
  • C. Include an additional JVM parameter when starting AEM with java -jar.
  • D. Enable the remote debugging service through the AEM Web Console.

Answer: A

 

NEW QUESTION 56
A developer running a local AEM instance and working on an AEM project needs to change a large number of files locally in filesystem. The developer needs to get the changes uploaded to the local AEM instance to verify changes almost immediately in the browser.
What action should the developer take to most efficiently meet these requirements?

  • A. Install FileVault bundle in the AEM instance and register the local working directory for synchronization
  • B. Build a Content Package using maven and deploy it after each change
  • C. Make the changes in CRXDE, create a content package, download it and expand it into the working directory after each change
  • D. Access CRXDE and upload the files through the interface

Answer: A

 

NEW QUESTION 57
The following stack trace is written in the error.log file after installing a custom application package.
Could not start bundle com.adobe.cq.sample-bundle [526]. Reason: {}. Will retry.
org.osgi.framework.BundleException: Unable to resolve com.adobe.cq.sample-bundle [526](R 526.0): missing requirement [com.adobe.cq.sample-bundle] osgi.wiring.package What are two different ways that the developer could resolve the OSGi bundle dependency error? (Choose two)

  • A. Go to the project parent pom.xml file and add the dependency with the scope "compile" and instruct the bundle plugin to include the dependency in runtime
  • B. Create a folder named "deploy" under $AEM_HOME/crx-quickstart/ and copy com.example.customlib-3.8.jar in there so AEM uploads it automatically
  • C. Install the jar in AEM via the curl command 'curl -u username:password -F file=@"./com.example.customlib-3.8.jar" -F name="Dependency" -F force=true -F install=true http://localhost:4502/crx/packmgr/service.jsp --progress-bar -o upload.txt'
  • D. Upload the file com.example.customlib-3.8.jar into /apps/<project>/libs folder in CRX DE to make it available for the OSGi bundle
  • E. Go to the Dependency Finder in the System Console to find if another bundle is exporting a similar version of the classes and change the project pom.xml to match the same version

Answer: A,E

 

NEW QUESTION 58
A developer needs to configure sets of values according to the following parameters:
- Varies for different staging environments
- Varies for different content paths
- Diffets between author and publish
Which implementation strategy should the developer use to meet these requirements?

  • A. A custom cloud condifuration
  • B. A JCR property at the content root node of the site with inheritedPageProperties
  • C. A context aware configuration with buckets using an OSGi configuration
  • D. One OSGi configuration for the set of values with runmodes

Answer: C

 

NEW QUESTION 59
A developer wants to consume AEM Page Data in Single Page Application. The Single Page Application is coded to understand JSON format. Only page content should be exposed through JSON. All the existing components are based on foundation components.
Which change should the developer make in the existing components to support this requirement?

  • A. Implement a Sling Model Exporter for the components
  • B. Add JSON as the default extension in Apache Sling Servlet?Script Resolver and Error handler Configuration
  • C. Invoke the page URL with the extension .json to get the values to construct the required output
  • D. Create a custom sling event handler to handle JSON requests

Answer: A

Explanation:
https://sling.apache.org/documentation/the-sling-engine/servlets.html

 

NEW QUESTION 60
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. Embed both bundles in one content package: the dependency via Import-Package is enough to ensure correct installation.
  • 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. Use the Felix Web Console to upload the bundles in the correct order.

Answer: A

 

NEW QUESTION 61
A banking AEM application contains functionality to calculate a mortgage rate based on user input. A servlet in place calculates the result in the backend. A call to an internal third-party REST service is required to retrieve the average object value based on a given zip code.
The following three service interfaces are used:
MortgageCalculationServlet, MortgageCalculationService and ObjectValueLookupRestService where MortgageCalculationServlet has a dependency to MortgageCalculationService and MortgageCalculationService has a dependency to ObjectValueLookupRestService.
The calculation has many combinations of input parameters and edge cases, so the JUnit coverage must be as high as possible.
Which two strategies should the developer use to ensure testability of the application code? (Choose two)

  • A. Use static methods to avoid boilerplate in application code
  • B. Use the standard OSGi @Reference annotation to wire the dependencies in application code
  • C. Use BundleContext.getServiceReference(...) and BundleContext.getService(...) in application code to look up for the required services just before usage
  • D. Deploy a third party dependency injection container to wire dependencies more efficiently in application code
  • E. Use a mock framework to be able to create and inject mocks in the test code

Answer: B,E

 

NEW QUESTION 62
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. A Launcher with the field exclude that has the value jcr:nodeType==cq:Page
  • B. A Launcher with the field condition that has the value jcr:content/page
  • C. A Launcher with the field path pointing to the folder and nodetype field have the value cq:Page
  • D. A Launcher with the field path pointing to the folder and condition field and have the value jcr:content/jcr:primaryType==cq:Page

Answer: C

 

NEW QUESTION 63
A developer is working on the following Sling Model that is being used in a component.
@Model(adaptables = SlingHttpServletRequest.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL) public class SampleModel {
@Inject
private Page currentPage;
private boolead matchingTitle;
@PostConstruct
private void init(){
matchingTitle = title.equals(currentPage.getName());
}
public boolean isMatchingTitle(){
return matchingTitle;
}
}
The model must check if the configured value of the jct:title property for the component matches the same name of the current page. If the jcr:title property of the component has NOT been configured, then isMatchingTitle() must return false.
How should the developer inject the title property in this model?

  • A. "@ValueMapValue
    @Via(""jcr:title"")
    @Default(values = """")
    private String titile;"
  • B. "@ValueMapValue
    @Via(""jcr:title"")
    @Required
    private String titile;"
  • C. "@ValueMapValue
    @Named(""jcr:title"")
    @Required
    private String titile;"
  • D. "@ValueMapValue
    @Named(""jcr:title"")
    @Default(values = """")
    private String titile;"

Answer: D

 

NEW QUESTION 64
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?

  • A. "<div data-one=""foo"" data-two=2 data-three=""""></div>
    <div data-two=0 data-three=""""></div>"
  • B. "<div data-one=""foo"" data-two=2 data-three=""""></div>
    <div data-one="""" data-two=0 data-three=""""></div>"
  • C. "<div data-one=""foo"" data-two=""2"" data-three=""true""></div>
    <div data-one="""" data-two=""0"" data-three=""false""></div>"
  • D. "<div data-one=""foo"" data-two=""2"" data-three></div>
    <div data-two=""0""></div>"

Answer: D

 

NEW QUESTION 65
AEM is installed in $AEM_HOME.
In which subfolder are the command line startup and shutdown scripts located?

  • A. $AEM_HOME/crx-quickstart/opt/
  • B. $AEM_HOME/crx-quickstart/bin/
  • C. $AEM_HOME/
  • D. $AEM_HOME/crx-quickstart/scripts

Answer: B

 

NEW QUESTION 66
A developer needs to create an OSGi service to run on an Author instance and send out newsletters at periodic intervals. Intervals should be customized using the Web Console Configuration. Concurrent execution must be prevented.
Which code snippet should a developer use to achieve?


  • A. Option C
  • B. Option A
  • C. Option B
  • D. Option D

Answer: B

 

NEW QUESTION 67
A custom AEM application has a run time dependency to a third party OSGi bundle that is NOT included in out-of-the-box AEM. The third party dependency needs to be available for multiple applications and be upgraded separately from the custom AEM application.
How should a developer make sure that the bundle is installed on all environments?

  • A. Add the dependency to the third party bundle in pom.xml of the project bundle
  • B. Embed the third party bundle in the bundle that depends on it
  • C. Embed the bundle in a content package to have it automatically deployed
  • D. Declare the dependency correctly using a link to the OSGi Bundle Reposirory (OBR)

Answer: C

 

NEW QUESTION 68
Which log file contains AEM application request and response entries?

  • A. request.log
  • B. response.log
  • C. history.log
  • D. audit.log

Answer: A

 

NEW QUESTION 69
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. 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
  • C. 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
  • D. 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

Answer: A

 

NEW QUESTION 70
A developer wants to extend AEM Core Components to create a custom Carousel Component.
How should the developer extend the Core Components?

  • A. Make changes to the original component and assign a component group.
  • B. Copy the Core Carousel component to /apps/<project> folder.
  • C. Use the sling:resourceType property to point to the core component.
  • D. Use the sling:resourceSuperType property to point to the core component.

Answer: D

 

NEW QUESTION 71
Refer to the following Client Library node structure.
+clientlibs
- jcr:primaryType="cq:ClientLibraryFolder"
- categories="[clientlibs.example]"
+ js.txt
- jcr:primaryType="nt:file"
+ css.txt
- jcr:primaryType="nt:file"
+ js
- jcr:primaryType="nt:folder"
- javascript1.js
- javascript2.js
The js.txt looks like
javascript1.js
javascript2.js
The JavaScript is NOT present in the Client Library when it is loaded.
What should a developer do to resolve this issue?

  • A. Add #base=js as the first line in the js.txt file
  • B. Change the js folder to a Client Library node and add the property categories = "[clientlibs.example]"
  • C. Split the js and css into 2 Client Libraries since they can't be in the same Client Library
  • D. Change the js folder to a Client Library node and embed it on the clientlibs node

Answer: A

 

NEW QUESTION 72
......


Adobe AD0-E116 Exam Syllabus Topics:

TopicDetails
Topic 1
  • Determine the steps required around planning and implementing AEM upgrades and repository migration activities/tasks
  • Explain the setup steps around release management
Topic 2
  • Determine the correct steps to implement SPA structure and components
  • Given a design, create complex components including the HTL, models, and services
Topic 3
  • Determine the approach to implement a headless or hybrid implementation
  • Explain how to create and manage OSGi configurations
Topic 4
  • Determine the correct method to create unit tests and map mock data
  • Given a scenario, determine the approach for any third-party integration
Topic 5
  • Given a scenario, determine the correct method to Create and manage custom OAK indices
  • Identify the steps to create and manage AEM dispatcher configurations
Topic 6
  • Recommend & implement solutions to sync content/configurations across AEM environments
  • Identify the steps to set up and maintain front-end and back-end dependency management
Topic 7
  • Determine the correct steps to configure OOTB SAML and LDAP integration
  • Determine the correct steps to configure multi-tenancy
Topic 8
  • Determine the correct usage of each archetype when building projects
  • Given a scenario, determine the correct method to develop workflows

 

AD0-E116 Dumps for Pass Guaranteed - Pass AD0-E116 Exam: https://www.practicetorrent.com/AD0-E116-practice-exam-torrent.html

AD0-E116 Exam Dumps - Try Best AD0-E116 Exam Questions: https://drive.google.com/open?id=10OOq3mvZX4_q3WptWk4mtW_OPl4Xu0_i