Adobe Experience Manager Questions + Answers

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Adobe Experience Manager Questions + Answers

Post by answerhappygod »

Question 1
You are using IIS as the Web server with the dispatcher and your websites root folder path is /content/mycompany. The page /content/mycompany/aboutus is edited and activated to the AEM publish instance. Assuming the dispatcher flush agent is NOT available and IIS is installed on C:\inetpub of the Windows server, what needs to done for the new version of the page to be seen from the IIS Web server?
A. Delete the subfolders of the directory "C:\inetpub\wwwroot" to dear the content cache.
B. Nothing.
C. Delete the directory "C:\inetpub\tempn to clear the content cache.
D. Delete the following directory "C:\inetpub\wwwroot\content\mycompany" to clear the content cache.


Answer : B

Question 2
Which three best practice statements are true regarding permissions and privileges?
(Choose three).
A. Access rights should not be assigned on a user-by-user basis.
B. Use deny statements to specify the access rights of a group of users.
C. After installation, update the passwords for the default users to prevent security breaches.
D. Use a test installation to ensure correct relationships between Users and Groups,


Answer : A,B,D

Reference:
https://docs.adobe.com/docs/en/cq/5-6-1 ... admin.html
Question 3
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


Answer : C

Reference:
http://docs.adobe.com/docs/en/cq/5-6-1/ ... gging.html
Question 4
Which statement about client libraries is true?
A. A client library node type has the jcr:primaryType value nt:folder
B. The clientlibrary for a project called myappshould be defined under /etc/clientlibs/myapp
C. To include only CSS files In the header.jsp from the client lib called "myproject.all" use <cqincludeClientLib categories="myproject all/>
D. Use the Day CQ HTML Library Manager service in the Felix console to compress and minify the generated CSS for better performance on production systems.


Answer : A

Reference:
http://docs.adobe.com/docs/en/cq/5-6-1/ ... dgets.html
Question 5
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 thecomponent


Answer : C

Reference:
http://felix.apache.org/documentation/s ... lugin/scr- annotations.html

Question 6
Which two URLs will show the server logs? (Choose two.)
A. http://{server}/system/console/status-slinglogs
B. http://{server}/system/console/slinglog
C. http://{server}/bin/crxde/logs
D. http://{server}/system/console/logs


Answer : B,C

Reference:
http://docs.adobe.com/docs/en/cq/5-6-1/ ... ining.html
Question 7
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.


Answer : C

Question 8
Which three statements about configuring a development environment for a new AEM project called customer bank, that contains both custom OSGi services and AEM components is true? (Choose three).
A. http://<aemhost>:<aemport>/system/console/depfinderls used to find the dependencies
B. The repository for AEM dependency jar files can be either http://repo.adobe.com/nexus/content/groups/public/ or the local Apache Archiva with all required dependencies
C. Create a Maven project with archtypemultimodule-content-package-archetype from the repository http://repo.adobe.com/nexus/content/groups/public/
D. Create a Maven project with archtype simple-content-package-archetype from repository http://repo.adobe.com/nexu5/content/gmups/public/


Answer : B,C,D

Reference:
http://docs.adobe.com/docs/en/cq/5-6-1/ ... build-aem- projects-using-apache-maven.html
Question 9
Which property should be used to find the repository where the configuration changes made in the Web Console are saved?
A. Persistent Identity (PID)
B. Reference Repository
C. Component.id
D. Component.name


Answer : A

Reference:
http://docs.adobe.com/docs/en/cq/5-6-1/ ... _osgi.html
Question 10
How do you delete a property inside a Node object?
A. node.setProperty(npropertyName","");
B. node.setProperty("propertyName",null);
C. node.delete("propertyName");
D. node.removeProperty("propertyName");


Answer : B

Question 11
Which template allowed Paths expression would allow a page to be created with the path/ content / main / page1/ page2?
A. /content/main/?
B. /content/main/[^/]+(/,*)?
C. /content/main/[A/]+[A/]
D. /content/main/*


Answer : C

Reference:
http://docs.adobe.com/docs/en/cq/5-6-1/ ... lates.html
Question 12
The same OSGI configuration parameter is present under /libs/*/config.. AND
/apps/*/config..and modified in both locations as well as via felix Console. During runtime, what is the reload order?
A. /libs/*/config, Felix Console and /apps/*/config
B. Felix Console,/apps/*/config and /llbs/*/config
C. /llbs/*/config, /apps/*/config and Felix Console
D. /apps/*/config, /libs/*/config and Felix Console


Answer : A

Reference:
http://kalkanotel.com/change-made-via-f ... over-apps- and-libs-why-i71179.htm
Question 13
You are logged in as userA and you are impersonating userB. How are your activities logged in the access.log?
A. The logged userld is "userB impersonated by userA"
B. The logged userld is "userA on behalf of userB"
C. The logged userld is "userB"
D. The logged userld is "userA"


Answer : C

Question 14
Where are ACL node permissions for a node stored in the JCR?
A. They are stored as ACL permission in the groups under /home/groups
B. They are stored as ACL permissions in the user node under/home/users
C. They are stored as rep:policy node under the same node
D. They are stored inside the template node under/etc/designs


Answer : A

Question 15
Which Maven plugin allows directinstallation of the bundle into AEM?
A. maven-sling-plugin
B. maven-scr-plugin
C. maven-bundle-plugin
D. maven-javadoc-plugin


Answer : D

Reference:
http://docs.adobe.com/docs/en/cq/5-6-1/ ... build-aem- projects-using-apache-maven.html


Question 16
When configuring a custom log file on a production publish instance, which two statements are true? (Choose two).
A. Web Console url http://<aemhost>:<port>/system/console/slinglog provides information about Sling Logging.
B. Always start with the log level DEBUG on the production server to get more information.
C. Create a run mode based on Apache Sling Logging Logger configuration for publish run mode as org.apache.sling.commons.log.LogManager.factory.config-<identlfier>.
D. The physical location of the custom log file is NOT relative to the crx-quickstart folder.


Answer : C,D

Reference:
http://docs.adobe.com/docs/en/cq/5-4/de ... ng_cq.html
Question 17
Which is a valid out-of-the-box sling run mode?
A. activate
B. production
C. loadsamplecontent
D. nosamplecontent


Answer : B

Reference:
http://docs.adobe.com/docs/en/cq/5-6-1/ ... rking.html
Question 18
The default installation location for AEM 6.0 in an Application Server is ${user.dfr}/crx- quickstart.Which method is used to change this location?
A. Configure the sling.home parameter in the WEB-INF/web.xml file of the AEM WAR file after deployment.
B. Configure the sling.home parameter in the WEB-INF/web.xml file of the AEM WAR file before deployment.
C. Configure the sling.run.modes parameter in the WEB-INF/web.xml file of the AEM WAR file after deployment,
D. Configure the sling.run.modes parameter in the WEB-INF/web.xml file of the AEM WAR file before deployment.


Answer : A

Reference:
http://docs.adobe.com/docs/en/cq/5-6-1/ ... rking.html
Question 19
In a typical Maven project, you will have a content module that contains a file src/main/content/META-INF/vault/filter.xml which defines the filters for the AEM package built by Maven.
Your project has this structure:



Select the correct filter entry thatwould be included in the src/main/content/META-
INF/vault/filter.xml file:
A. <filter root=7apps/myproject/templates7>
B. <filterroot=7libs/foundation7> -
C. <filterroot=7apps7>
D. <filter root=7etc/designs/myproject7>


Answer : D

Question 20
Using the default Dispatcher configuration, which type of URL will have a response cached by the Dispatcher?
A. URL denied by the /cache sections in dispatcher.any file.
B. URL without a file extension.
C. URL with query parameters.
D. URL with an extension in its suffix.


Answer : A

Reference:
https://docs.adobe.com/docs/en/dispatch ... onfig.html

Question 21
What is the difference between extending a component and component overlay?
A. There is NO difference.
B. Overlay is to override default component functionality. Extending is to extend the component functionality through the use of Resource Hierarchy and super types.
C. Overlay is to extend the component functionality through the use of Resource Hierarchy and super types. Extending is to override default component functionality.
D. Extending component means extending the behavior of foundation component, Overlay component is overriding the behavior of custom component.


Answer : C

Reference:
http://docs.adobe.com/docs/en/aem/6-0/d ... cf/client- customize.html
Question 22
Which OSGI bundle should be disabled to restrict web-based log viewing?
A. Adobe CRXDE Support (com.day.crx.crxde-support)
B. Apache Sling OSGiLogService Implementation (org.apache.sling.commons.logservi
C. Granite Requests Logging (com.adobe.granite.requests.logging)
D. Day Commons Library - Input/OutputSupport (day-commons-io)


Answer : A

Reference:
http://docs.adobe.com/docs/en/cq/5-6-1/ ... klist.html
Question 23
Which command would you enter in your CQ Component script to get the template path of an AEM page in publish instance?
A. Properties-get("cq:temp|ate"/-);
B. Page.getTemplate();
C. Page.getTemplate().getPath();
D. resource.getTemplate.getPath();


Answer : B

Reference:
https://helpx.adobe.com/experience-mana ... -apis.html
Question 24
You are creating a new OSGi configuration in the repository. When are the configuration changesapplied?
A. By stopping and starting the bundle that refer the service,
B. Changes are applied as soon as the node is updated by restarting the service.
C. Immediately.
D. After restarting the CQ instance.


Answer : B

Reference:
http://docs.adobe.com/docs/en/cq/5-6-1/ ... _osgi.html
Question 25
How do you specify the dependency of Junit with any version greater than or equal to 3.8?









A. Exhibit A
B. Exhibit B
C. Exhibit C
D. Exhibit D


Answer : B

Reference:
http://docs.adobe.com/docs/en/cq/5-6-1/ ... tings.html
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply