Adobe AD0-E116 Practice Test - Questions Answers, Page 4

List of questions
Question 31

Which xml tag is used within the vault package definition to add a new path to a content package?
Question 32

A developer needs to upgrade existing components (Proxy Components) based on Core Components Version 1(v1) to Core Components Version 2(v2). How should the developer upgrade to V2 Core Components?
Question 33

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)
Question 34

A developer identifies that some requests for the page /content/sampleproject/page.html take longer than other requests for the same page. Refer to the $DOCROOT/content/sampleproject directory below.
[user@group /opt/dispatcher/cache/content/sampleproject ]$ ks -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 .. drwxr-xr-x. 4 apache apache 4096 Feb 7 03:21 page.html -rw-r-r--. 1 apache apache 0 Feb 7 03:19 .stat The dispatcher.log file contains the following lines:
[ Wed Feb 13 13:14:04 2012] [D] [1376(1572)] checking [/libs/cq/security/userinfo.json] [Wed Feb 13 13:14:04 2012] [D] [1376(1572)] Caching disabled due to query string: tracking_id=1350373444666 [Wed Feb 13 13:14:04 2012] [D] [1376 (1572)] cache-action for [/libs/cq/security/userinfo.json]: None How should the developer make sure that the page is always cached?
Question 35

A developer needs to install a content package on an AEM environment. However a content package with the same name is already installed.
What would 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?
Question 36

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?
Question 37

A developer is working on a project locally and needs to install packages manually. The deployments to the localhost must be automated to speed up development. This functionality must be toggled on and off, depending on the needs of the developer.
Which step should the developer take to achieve this?
Question 38

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?
Question 39

A developer wants to automatically truncate request log files once they exceed 10 MB.
Which OSGi configuration should the developer modify?
Question 40

A developer needs to change the label "Sites" in the navigation of AEM author to "Websites". Which action should the developer take to achieve this?
Question