Free AD0-E116 Exam Braindumps (page: 4)

Page 3 of 24

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

What should the developer do to meet these requirements?

  1. "Use a file com.proj.ServiceComponent.cfg with content
    name=""Service name""
    intVal=I""5"""
  2. "Use a file com.proj.ServiceComponent.configwith content name=""Service name""
    intVal=I""5"""
  3. "Use a file com.proj.ServiceComponent.xml with content <?xml version=""1.0"" encoding=""UTF-8""?>
    <jcr:root jcr:primaryType=""sling:OsgiConfig""
    name=""Service Name""
    intVal=""5""/>"
  4. "Use a file com.proj.ServiceComponent.xml with content <?xml version=""1.0"" encoding=""UTF-8""?>
    <jcr:root xmlns:jcr=""http://www.jcp.org/jcr/1.0"" jcr:primaryType=""sling:OsgiConfig"" name=""Service Name""
    intVal=""{Integer}5""/>"

Answer(s): B



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?

  1. A Launcher with the field path pointing to the folder and condition field and have thevalue jcr:content/jcr:primaryType==cq:Page
  2. A Launcher with the field condition that has the value jcr:content/page
  3. A Launcher with the field exclude that has the value jcr:nodeType==cq:Page
  4. A Launcher with the field path pointing to the folder and nodetype field have the value
    cq:Page

Answer(s): D



Refer to thefollowing four Client Library Folders.



A developer uses the following:



What is the resulting HTML?

  1. Option A
  2. Option B
  3. Option C
  4. Option D

Answer(s): C



A developer is working on a complex project with multiple bundles. One bundle provides an OSGiservice for other bundles.

Which two options are necessary to ensure that the other bundles can reference that OSGi service? (Choose two.)

  1. The bundles consuming the service need to import the fully qualified name of the service interface.
  2. Thebundle providing the service needs to contain an adequate SCR descriptor file.
  3. The bundle providing the service needs to export the java package of the service
    interface.
  4. The bundle providing the service needs to contain a whitelist of allowed consumer bundles.
  5. The service needs to correctly declare metatype information.

Answer(s): A,C






Post your Comments and Discuss Adobe AD0-E116 exam with other Community members:

AD0-E116 Discussions & Posts