A List of top and most frequently asked aem interview questions and answers.
What is Adobe CQ5 ?
Adobe Communique 5, currently known as Adobe Experience Manager is a content management system from Adobe.
Background:
AEM uses Java Content Repository (JCR).
AEM uses Apache Felix as OSGI Container.
AEM is meant for building websites and to manage marketing content and assets.
Brief the History of CQ5 ?
CQ5 was started by a swiss company called Day Software in early 2000. Adobe acquired Day Software in 2010 and from the next release it was renamed to Adobe Experience Manager.
Why we need a Content Management System ?
The main motive of Content Management System is to make the website content dynamic so that it will be useful or website authors to change the content directly without any code changes.
What are the advantages of AEM over other CMS ?
Firstly, the main intent of using AEM is because of its workflows and querying abilities.
Notes:
- Easier management of Digital Assets.
- Social Collaboration.
- Usage of search queries.
- Including Clientlibs.
What is JCR ?
Java Content Repository is a specification provided by the java community to access the content repository in a platform independent way.
What is the role of Dispatcher in AEM ?
Dispatcher has few responsibilities in AEM.
Below are some of them :
- Useful for Caching.
- Acts as a Load Balancer Tool.
- Shares and distributes the requests between other instances.
What is a Template ?
A Template defines the style for the pages in the application.
What is a Component ?
Components are reusable nodes where we write business logic and all our jsp and clientlibs will be present over there.
Explain Replication ?
Because of multiple instances in AEM, whatever we do the changes in Author server needs to be pushed to Publish and this process is called Replication.
Note:
Publish server details must be setup in Replication Agents inorder for it to work.
How to setup Replication Agent ?
In Agents on author panel we need to give publish server details in transport tab and there you go it will be done.
Can we do Reverse Replication ?
Yes. This process will bring data from publish instance to author instance.
What is Sightly ?
Sightly is a HTML templating Language. Instead of JSP files in the component we use HTML.
What is a Dialog ?
Dialog is a Panel where Site Authors can change the content of that particular section.
Explain difference between Dialog and Design Dialog ?
Dialog :
- Accessible in Edit Mode.
- Page Level.
- Stores data in Content node.
Design Dialog :
- Accessible in Design Mode.
- Template Level.
- Stores data in ETC node.
What is the difference between Parsys and IParsys ?
Parsys :
- We can drop components here.
- No Inheritance.
IParsys :
- We can drop components here.
- Can be inherited.
Explain the use of global.jsp ?
It declares Sling, JSTL and other taglibs and makes component creation easier.
Can we directly use global.jsp from CQ Libs ?
We can but we should not use. We have to manually overwrite the global.jsp in our codebase. Best practice is to override any jsp that we use from libs.
Explain benefits of OSGI ?
- Reduces complexity by usage of bundles.
- Helps in constructing reusable components.
- Performance.
What are OSGI bundle Lifecycle states ?
OSGI Bundle Lifecycle states :
- Installed
- Resolved
- Starting
- Active
- Stopping
- Uninstalled.
Where do we find OSGI bundles ?
Felix Console.
In which console do we set the permissions for a particular path ?
User Admin Console.
How to set Doctype in AEM ?
Libs Foundation Page JSP
<%= Doctype.fromRequest(request).getDeclaration() %>
In above value we get current Doctype, we can change this to any other XHTML or HTML by setting declaration string as follows:
Doctype.valueOf("HTML_5").toRequest(request);
Explain resolve and adapt of a resource ?
Resolve :
We can resolve using ResourceResolver which we can get from method getResourceResolver() and then use resolve() method to resolve a resource.
Adapt :
We can adapt a resource to any anothor type using adaptTo() method.
Why do we extend a new component from an other component ?
To get same features, we extend new component. For this to work, we need to set sling:resourceSuperType path of component to be extended in new component.
How to change from Classic version of AEM to touch version of AEM from URL?
For Classic UI, we use cf# in the url.
For Touch UI, we use editor.html in the url.
How to set the AEM version to either touch or classic by default instead of changing URL ?
We can change the versions in below bundle.
WCM Authoring UI Mode Service
Can we write Author specific code ?
Yes. Based on WCM Mode we can get the value of mode currently we are in and based on that condition we can write the logic.
Explain Multi Site Management ?
This is about handling Multi Lingual Content to provide Localized content based on country.
With which tool we can find Resources by querying ?
Query Debugger.
What is XType ?
xtype is a kind of property on a node, which we place in our dialog to capture author data.
Example XTypes:
- textfield
- datefield
- richtext
- selection
Can we create page without template ?
No. When we create a page, without selecting template page will not create.
We will be bringing up more aem interview questions and answers soon.
Related Article : AEM Interview Questions
Related Article : AEM Interview Questions
More adobe aem interview questions will be added soon.
Thanks for Visiting !!!