AEM Certification Questions
AEM Certification Questions
AEM Certification Questions
1. login()
2. loginAdministrative()
3. subservice()
Answer: subservicename()
1. ./name
2. name
3. /name
4. .name
Answer: ./name (See for options with example)
http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-
annotations.html
Product pages need to be created under category page only. Which of these is true?
What is the default logging level of root logger during AEM installation?
1. Dubug
2. Info
3. Warn
4. Error
Answer : Info
If you have to create a dialog for touch UI. What should be the node name and type to be used for
adding a field to the dialog?
1. Dialog, cq:widget
2. Dialog, nt:unstructured
3. Cq:dialog, cq:dialog
4. Cq:dialog, nt:unstructured
Answer: cq:dialog, nt:unstructured (Or may be with two options to choose. Read question
carefully.)
What is the use of transport user in replication agent? Or Why Transport User check box used in
replication Agent?
1. currentProperties().get()
2. currentDesign().get
3. currentStyle().get
Answer: currentStyle().get()
1. currentDesign
2. currentNode
3. currentResource
4. currentPage
Answer: All except currentResource
1. Instance
2. Workflow Item
3. Payload
Answer: payload
Which property to specify list of templates that can be allowed as child pages?
1. allowedParents
2. allowedPaths
3. allowedTemplates
4. allowedChildren
Answer: allowedChildren
https://docs.adobe.com/docs/en/cq/5-6-1/developing/templates.html#Template%20Availablity
Caching needs to be enabled for CUG pages. What changes should be done in dispatcher.any? select 3
options.
New external Library dependency added to POM. But the bundle still doesn’t load after deployment.
Where should you add external library package to?
1. Private-package
2. Export-package
3. Import-package
4. Include-package
Answer: import-package
Answer: Deploy package content if does not exist in AEM (Read carefully the answers)
What should be the name of a runmode configuration? Run modes are author, foo. Need config only for
foo to run in publish instance
1. Com.project.foo
2. Com.project.foo.config
3. Com.project.author.foo.config
Answer: com.project.foo.config
You are getting 403 error after configuring SSO and login attempt. What would you fix?
1. Incorrect IDP may have been configured in adobe granite SAML 2.0 Auth handler
2. Incorrect SSO server included in Apache Sling Referrer filter
3. Incorrect default login path configured in Day CQ Login selector handler
4. Saml-login path to be included in Apache Sling auth server
Answer: Apache Sling referrer filter option I chose. (Need to check)
You want to overlay a node you write a code with sling:hideChildren=blueprint, cloudconfigs. What does
it do?
You want to change default token expiration to 14days. Which configuration to edit?
Your AEM has gone slow and throw you are getting out of memory error. Logs show a lot of cache
manager :resizeall entries. What is the issue?
1. A known bug
2. Unclosed jcr connections
A developer has created node named stage.publish.prod. What is the developer trying to do?
Create node publish.foo. inside it created a node with type sling:conig. What is the developer trying to
do?
1. Create a configuration for runmode foo
2. Create a package with name publish.foo
Answer : create a configuration for runmode foo
1. Very popular
2. Identifies AEM instances automatically
3. Easy dependency management
4. Archtype can create basic project structure for AEM projects
Answer : 1,3,4
Logger writer or logger to be used for getting logs for search error
You want to extend textimage component. What all you can do?
1. Create mytextimage/icon.png
2. Create mytextimage/ textimage.css
3. Create mytextimage/textimage.jsp
Answer : create mytextimage/textimage.jsp
Which of these is false if you are creating runmodes as part of content package? (Can also be choose 3.
Select true statements)
Clientlibs created under /apps/myapp. The dispatcher blocks access to /apps. How to enable access to
this clientlib
1. Cq:include
2. Cq:import
Answer :cq:include
1. Sample
2. Production
3. Nosamplecontent
Answer: nosamplecontent
AEM is accessible through dispatcher running on default port. Replication agent is configured with
port80. Why?
When page load time is high, which logs will be checked to identify the reason?
1. Error.log
2. Request.log
3. Info.log
Answer : Request.log
Answer :configurationFactory=true
1. Configure the dispatcher flush for the author pointing to a webserver url on which the
Dispatcher is deployed and configured
2. Configure the replication agents for the author pointing to pub1, pub2 and pub3.
3. Configure reverse replication agents for the author pointing to pub1, pub2 and pub3.
4. Configure a static agent for the author.
Answer : 1,2 and 3
1. Maven-scr
2. Maven-sling
3. Maven-bundle
Answer : Maven-sling
When you are adding or updating configurations of an osgi component when felix changes will be
reflected?
If you are keeping asset outside and it is accessed by Author & Publish instance both then what type of
replication you should use?