Run mode precedence - Answers The order of resolution is:
sling.properties file
-r option
system properties (-D)
Filename detection
When you are using an application server you can also define the run mode in web.xml.
Debug Mode - Answers -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
SCR Annotations @Component - Answers The @Component annotation is the only required annotation.
If this annotation is not declared for a Java class, the class is not declared as a component
SCR Annotations @Service - Answers The @Service annotation defines whether and which service
interfaces are provided by the component. This is a class annotation.
SCR Annotations @Property - Answers The @Property annotation defines properties which are made
available to the component through the ComponentContext.getProperties() method
SCR Annotations @Reference - Answers The @Reference annotation defines references to other
services made available to the component by the Service Component Runtime
A small public-sector organization engages you to assist in the architectural design of their AEM system.
They have a small inexperienced staff that are very apprehensive about learning new technologies.
What is the most important factor to consider as you plan the system design?
A) High Availability
B) Low Maintenance
C) Extensibility
D) Usability
E) Performance - Answers Answer: D) Usability
, In AEM 5.6 and above, which two scenarios require that the Sling Referrer Filter's default configuration
be changed? (Choose two.)
A) The SAML Authentication Handler is used to authenticate users.
B) The system host name does not match the external DNS name.
C) Automated scripts, using the curl command, will be executing HTTP PUT requests.
D) A javaScript widget on an external website will be posting comments to an AEM page - Answers
Answer:
A) The SAML Authentication Handler is used to authenticate users.
D) A javaScript widget on an external website will be posting comments to an AEM page
A customer has asked you to incorporate measures to prevent content grabbing. Which two
recommendations should be implemented? (Choose two.)
A) Configure Dispatcher allowedClients section
B) Configure Apache Sling GET Servlet
C) Configure Apache Sling POST Servlet
D) Configure Dispatcher filter section - Answers Answer:
B) Configure Apache Sling GET Servlet
D) Configure Dispatcher filter section
A marketing company wants to provide AEM Authors with Dialog/Design Dialog in their native language.
Which approach should be taken to ensure that non-authorable content can be presented in desired
language?
A) Enclose non-author-able content within cq:text tag
B) Enclose non-author-able content within i18n API