Latest [Aug 28, 2021] Adobe AD0-E116 Exam Practice Test To Gain Brilliante Result [Q34-Q49]

Share

Latest [Aug 28, 2021] Adobe AD0-E116 Exam Practice Test To Gain Brilliante Result

Take a Leap Forward in Your Career by Earning Adobe AD0-E116

NEW QUESTION 34
A developer needs to create a banner component. This component shows an image across the full width of the page. A title is shown on top of the image. This text can be aligned to the left, middle, or right. The core components feature a teaser component which matches almost all requirements, but not all.
What is the most maintainable way for the developer to implement these requirements?

  • A. Inherit from the teaser core component.
  • B. Use and configure the teaser core component.
  • C. Overlay the teaser core component.
  • D. Create a new custom component from scratch.

Answer: A

Explanation:
Reference:
https://docs.adobe.com/content/help/en/experience-manager-core-components/using/components/teaser.html

 

NEW QUESTION 35
Refer to the following four Client Library Folders.

A developer uses the following:

What is the resulting HTML?

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

Answer: B

 

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

  • A. Create a script for tile rendering in Component B and use data-sly-resource attribute with a Sling selector in Component A to render the tile.
  • B. Component A calls the HTL of Component B directly using a data-sly-include attribute.
  • C. Component A overlays Component B and overwrites the base renderer to facilitate the tiles.
  • D. Component A inherits from Component B and overwrites the base renderer to facilitate the tiles.

Answer: A

 

NEW QUESTION 37
A developer wants to create a Client Library that will only be included on touch enabled devices.
What action should the developer take to achieve this?

  • A. Set the channels property on the Client Library Folder to "touch"
  • B. Pass the parameter user-agent='touch' when referencing the Client Library
  • C. Create a resource folder called "touch" under the Client Library Folder
  • D. Add the line "#base=touch" to the js.txt and css.txt files in the Client Library Folder

Answer: A

 

NEW QUESTION 38
A developer created an editable template with a Layout Container. The developer needs to restrict the Layout Container to just one column layout.
What should the developer do to the editable template to enforce this restriction?

  • A. Overlay wcm.foundation.components.page.responsive Client Library and set @max_col to 1
  • B. Using Template Editor, set the responsive settings to 1 column for Layout Container Policy
  • C. Using Template Editor, lock the Structure Component for the template
  • D. Add responsive column control component to the template and set column type to 1

Answer: B

 

NEW QUESTION 39
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. Build a Content Package using maven and deploy it after each change
  • B. Access CRXDE and upload the files through the interface
  • C. Make the changes in CRXDE, create a content package, download it and expand it into the working directory after each change
  • D. Install FileVault bundle in the AEM instance and register the local working directory for synchronization

Answer: D

 

NEW QUESTION 40
Which log file should a developer use to search for exception stacktraces?

  • A. <aem-install>/crx-quickstart/logs/error.log
  • B. <aem-install>/crx-quickstart/logs/info.log
  • C. <aem-install>/crx-quickstart/logs/request.log
  • D. <aem-install>/crx-quickstart/logs/access.log

Answer: A

 

NEW QUESTION 41
There is a config file package.myClass.config.factory-myApp.xml - what is true? (Choose two)

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

Answer: A

 

NEW QUESTION 42
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-two=""0""></div>"
  • C. "<div data-one=""foo"" data-two=2 data-three=""""></div>
    <div data-one="""" data-two=0 data-three=""""></div>"
  • D. "<div data-one=""foo"" data-two=""2"" data-three=""true""></div>
    <div data-one="""" data-two=""0"" data-three=""false""></div>"

Answer: B

 

NEW QUESTION 43
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 a content policy to the template-type to disable the removal of the layout container
  • C. Add the layout container component by including it on the actual page component
  • D. Add the layout container component to the initial section of the template-type

Answer: D

 

NEW QUESTION 44
After a recent code deployment, an AEM site is experiencing longer than usual query execution time. The deployment package contained some new Lucene index definitions. A developer needs to identify the long running queries and confirm that the new index definitions are getting applied correctly.
Which action should the developer take to investigate this problem?

  • A. Goto Tools > Operations > Diagnosis > Query Performance > Slow Queries. Select a Query and Click on Explain
  • B. Goto Tools > Operations > Diagnosis > Log Messages. Configure DEBUG log level on com.day.cq.search to monitor search queries.
  • C. Goto Tools > Operations > Diagnosis > Index Manager. Select the new Indexes and run a consistency check.
  • D. Goto Tools > Operations > Diagnosis > Download Thread Dumps. Analyze the Thread Dumps to identify long running requests.

Answer: A

 

NEW QUESTION 45
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. Embed the bundle in a content package to have it automatically deployed
  • B. Embed the third party bundle in the bundle that depends on it
  • C. Declare the dependency correctly using a link to the OSGi Bundle Reposirory (OBR)
  • D. Add the dependency to the third party bundle in pom.xml of the project bundle

Answer: A

 

NEW QUESTION 46
After adding new features, a developer's environment is experiencing slowness before ultimately running out of memory. The initial log analysis points towards a large number of open sessions.
Which action should the developer take to further monitor the overall session count on this AEM instance?

  • A. Go to Web Console > Status > Threads, verify the overall thread count.
  • B. Run the following command to generate thread dumps jstack -l <pid> >> threaddumps.log, analyze thread dumps to find long running sessions.
  • C. Go to <aem-install>/crx-qiuckstart/logs/strderr/log, use the following command grep -o 'CRXSessionImpl' strderr.log| wc -l.
  • D. Go to Tools > Operations > Monitoring. Create a new report based on Number of Active Sessions as metric.

Answer: C

 

NEW QUESTION 47
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. Create a Workflow component node of the Super Resource Type "cq/workflow/components/model/process" under the folder /apps/components
  • B. Implement a Java class implementing the interface com.adobe.granite.workflow.exec.WorkflowProcess
  • C. Implement a Java class extending from class com.adobe.granite.workflow.exec.WorkflowProcess
  • D. Implement a Java class with this method "public void process (WorkItem item, WorkflowSession wfsession) throws WorkflowException"
  • E. Create a Workflow component node of the Super Resource Type "cq/workflow/components/step" under the folder /etc/workflow/models

Answer: A,B

 

NEW QUESTION 48
A developer determines that the dispatcher is NOT refreshing the cached page /content/sampleproject/sample.html after it is updated.
The dispatcher.any contains the following entries:
/cache
{
/docroot "/opt/dispatcher/cache"
/statfile "/tmp/dispatcher-website.stat"
/statfileslevel "2"
/rules
{
/0000 { /glob "*" /type "allow" }
}
/invalidate
{
/0000 { /glob "*" /type "deny" }
}
}
Refer to the $DOCROOT directory below:
[user@group /opt/dispatcher/cache]$ ls -la
total 2
drwxr-xr-x. 5 apache apache 4096 Feb 11 11:41 .
drwxr-xr-x. 3 apache apache 4096 Nov 29 16:07 ..
drw-r--r--. 4 root root 4096 Feb 7 03:21 content
-rw-r--r--. 1 apache apache 0 Feb 7 03:19 .stat
The dispatcher needs to cache the page and refresh it after it gets updated.
What action should the developer take to meet these requirements?

  • A. Delete the contents of the DOCROOT directory
  • B. Change the value of the entry /statfileslevel to "3"
  • C. Add the entry /0001 { /glob "*.html" /type "allow" } in the /invalidate section
  • D. Remove /statfile or /statfileslevel

Answer: C

 

NEW QUESTION 49
......

Authentic Best resources for AD0-E116 Online Practice Exam: https://www.dumpstorrent.com/AD0-E116-exam-dumps-torrent.html