Which statement about the usage of declarative services while creating an OSGi component is true?
A. ©Property annotation is used to reference to other services from the component by component runtime
B. ©Reference annotation is optional and used to define properties available to the component
C. ©Component annotation is the only required annotationand missing which will NOT declare the class as component
D. ©Service annotation is required and describes which service Interface Is served by the component
Which three statements about replicate permissions on a resource are true? (Choose three).
A. The replication rights are evaluated bottom-up in the node tree.
B. The allow replication rights has higher precedence than deny replication rights.
C. To grant replication rights to a user on any resource, user has to have read permissions for/etc/replication, /bin.
D. The allow replication rights has lower precedence than deny replication rights.
In a typical author, publish and dispatcher setup,where is the dispatcher flush configured?
A. In the author instance.
B. In the publish instance.
C. In the dispatcher module.
D. At the webserver level.
Which Maven plugin allows direct installation of the bundle into AEM?
A. maven-sling-plugin
B. maven-scr-plugin
C. maven-bundle-plugin
D. maven-javadoc-plugin
You have written an OSGi service with the class name com.acme.myapp.EmailUpdate, You only we this service to run on the publish instance. Which two configurations would run the service on the publish instance only? (Choose two).
A. Option A
B. Option B
C. Option C
D. Option D
Which should be configured to create a custom log file with a different log level?
A. Apache Sling Log Configuration
B. Apache Sling Logging Reader Configuration
C. Apache Sling Logging Logger Configuration
D. Apache Sling Logging Configuration
You add "sling.run.modes=publish/f in sling.properties and start the instance using the command "java -jar aem-6-p4502.jar -r author". In which mode will the instance start?
A. Both author and publish.
B. Author
C. Publish
D. Due to conflict in the run modes, AEM will not start.
Which three statements are true when an AEM author instance is started in debug mode? (Choose three.)
A. When AEM starts in debug mode, it does not force JVM to fork a separate process.
B. AEMstarts with -Xdebug option (e.g;java -Xdebug -Xnoagent -Djava.compiler=NONE - Xmnjdwp:transport=dt_socket,server=y,suspend=n/address=30303–jaraem6~autbor-p4502).
C. AEM starts with an option -debug (e.g; Java -jaraem6-author-p4502 -debug 30303) from command line.
D. When AEM starts in debug mode, it forces JVM to fork a process.
Which is avalid way of creating an OSGI service?
A. class MyServiceImplextends ServiceRegistry { }
B. ©Service classMyServiceImplextends MyService