Free AD0-E103 Exam Braindumps (page: 3)

Page 3 of 24

A developer wants to change the log level for a custom API. Which OSGi configuration should the developer modify?

  1. Apache Sling Logging Configuration
  2. Apache Sling Log Tracker Service
  3. Apache Sling Logging Writer Configuration
  4. Adobe Granite Log Analysis Service

Answer(s): A


Reference:

https://docs.adobe.com/content/help/en/experience-manager-64/deploying/configuring/osgi-configuration-settings.html



Refer to the following four Client Library Folders.


A developer uses the following:


What is the resulting HTML?





Answer(s): A



A developer is installing a content package with the package manager. The developer needs to restrict the approximate number of nodes in a batch that is saved to persistent storage in one transaction.
How should the developer modify the number of transient nodes to be triggered until automatic saving?

  1. AEM instances automatically modify the number of transient nodes based on the load balancing.
  2. Modify the export package manifest header and copy the content package to AEM installation folder.
  3. Select the option MergePreserve for the Access Control Handling drop-down in the Install Package dialog-box.
  4. Change the value of Save Threshold in the Install Package dialog-box.

Answer(s): C



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?


  1. 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.

  2. 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.
  3. 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.
  4. 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.

Answer(s): C



Page 3 of 24



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

Balamohan commented on May 09, 2020
There was about 14 less questions than advertised. I emailed their support and they sent me the latest version in an hour. So it is all good now.
INDIA
upvote