Interview Questions.

Top 100+ Adobe Aem/cq Interview Questions And Answers

fluid

Top 100+ Adobe Aem/cq Interview Questions And Answers

Question 1. What Is Adobe Cq5?

Answer :

Adobe CQ5(additionally called Adobe Experience Manager) is a java primarily based content material management system from adobe. It is based on a content material repository to save the content of a internet site and use JCR(java content repository) specification to get right of entry to the content repository.

It makes use of RestfulApache Sling framework to map request url to the corresponding node in content material repository It uses powerful OSGi framework internally to permit modular utility improvement. It manner man or woman portions of your application(called bundles in terms of OSGi) may be independently commenced and stopped. It uses Apache Felix because the OSGi container. Therefore exceptional parts of cq5 can be independently started out and stopped.

Question 2. What Is The Technology Stack Used In Cq5 Or Aem(adobe Experience Manager)?

Answer :

Adobe CQ5 makes use of the subsequent technologies : JCR – Java specification for having access to a content repository JSR-283 specification jcr 2.0 , cq5 uses its personal implementation of jcr called CRX. Apache Jackrabbit is an open-supply implementation of jcr 2.Zero specification. Apache Sling – RESTful framework to get entry to a jcr over http protocol.

It maps the request url to the node in jcr. OSGi(Apache Felix) – Framework for modular application improvement the use of java. Each module called bundle may be independently commenced and stopped.OSGi box which offers implemention lessons for OSGi framework.

Adobe CQ5 Interview Questions
Question three. Why A Content Management System Is Required In Cq?

Answer :

Now a days web sites are very dynamic in nature, content wishes to be updated very frequently, So, it's far simpler to manage the content of such websites the use of a CMS.

Question 4. What Are The Advantages Of Cq5 Over Other Cms?

Answer :

Below are the blessings of CQ5 over other CMS(Content management System):- Implementation of workflows for creating, editing and publishing of content. Managing a repository of virtual property like photographs, documents and integrating them to the web sites.

Usage of seek queries to find content material regardless of in which it's far saved on your corporation. Setting up easily the social collaboration blogs, corporations. Tagging utility to arrange the digital property inclusive of images.

Adobe Flex Tutorial
Question 5. Explain Architecture Of Cq5 Application?

Answer :

A CQ template enables you to outline a regular fashion for the pages on your software. A template contains of nodes that designate the page structure.

Adobe Flex Interview Questions
Question 6. What Is Aem?

Answer :

Adobe Experience Manager (AEM), is a java based totally content management gadget that is provided from Adobe. It became formerly known as Day CQ5, but become obtained from Adobe in 2010. AEM is primarily based on a content repository and makes use of the JCR to get right of entry to the content inside the repository.

AEM uses the Apache Sling framework to map request url to the corresponding node inside the content material repository. It additionally uses the OSGI framework to internally permit modular utility improvement.

Question 7. What Are The Advantages Of Aem Over Another Cms?

Answer :

One massive gain of AEM over another CMS is how it integrates with different products from Adobe and with the Adobe Marketing Cloud. AEM comes built in with functions like workflows to control content material inside the CMS, the use of seek queries to locate anything you're looking for, putting in social collaboration, tagging content material, and a manner to manipulate your virtual content.

AEM also includes a manner to control cell packages, mobile websites, e-commerce, and marketing marketing campaign control.

Adobe ColdFusion Interview Questions
Question eight. What Is The Technology Stack That Cq5 Is Based On?

Answer :

The CQ5 era stack is based totally on three technologies. These technology are: Apache Sling, OSGI (Apache Felix), and the Java Content Repository (JCR). Apache Sling is a RESTful framework that is used to get admission to a jcr over http protocol. It will then map that request url to the node within the jcr. OSGI is a framework that is used for modular software improvement the use of Java.

Each module, which is called a package deal, may be stopped and began independently at some point of runtime. The Java Content Repository uses the JSR-170 API to get right of entry to the content repository through the usage of Java independently of the physical implementation. CQ5 uses its very own implementation of the jcr referred to as CRX.

Question 9. What Is The Role Of The Dispatcher?

Answer :

The dispatcher is AEM’s caching and/or load balancing tool. By the use of the dispatcher it may additionally help protect your AEM server from attack for the reason that it will likely be using cached pages. The aim of the dispatcher is to cache as a whole lot content as possible, so it does not need to get admission to the layout engine. Load balancing is the practice of dispensing computational load of the website throughout numerous times of AEM.

The advantages of using the dispatcher as a load balancing tool is so that you advantage increased processing strength for the reason that dispatcher stocks report requests between numerous times of AEM, and to have elevated fail-safe coverage. This is accomplished via if the dispatcher does not receive responsesfrom an instance, it's going to routinely relay the request to any other example.

Adobe Flex Actionscript Interview Questions
Question 10. What Is Sightly?

Answer :

Sightly is an HTML templating language that was added in AEM 6.Zero. It is supposed to take the location of JSP files and is the preferred templating system for HTML. The name sightly method “pleasing to the attention”, and its attention is to hold your markup beautiful and maintainable.

Question eleven. Why Is A Content Management System (cms) Required?

Answer :

A content management device is a chunk of software program that is used to create and control files and Web web sites. Many websites are dynamic, so their content material desires to be updated often. In order control those changes efficaciously, it is advocate that a content control gadget be used. Which is why AEM is a content material management gadget.

Adobe After Effects Interview Questions
Question 12. What Is Restful?

Answer :

Representational State Transfer (REST) is an architectural style and an method to communications that is frequently used within the improvement of internet offerings.

It is predicated on a stateless, client server, cacheable communications protocol. RESTful applications use HTTP requests to publish statistics, examine facts, and delete facts.The six architectural constraints of REST are: uniform interface, stateless, cacheable, purchaser server, layered system, and code on demand.

Adobe CQ5 Interview Questions
Question 13. What Are The Benefits Of Using Osgi?

Answer :

The fundamental benefits of the use of OSGI are:

It reduces the complexity of the machine with the aid of having the whole lot in bundles.
It makes the components loosely coupled and clean to control on account that they may be set up, deleted, updated, commenced, and stopped at run time.
It increases the performance of the machine on account that parts of the utility that aren't in use, do not need to be loaded within the reminiscence.
Question 14. What Is The Listener Property In Aem?

Answer :

The listener property in AEM for a issue is used to define what occurs earlier than or after an action on the aspect. This is introduced by the usage of the “cq:listeners” node with a node sort of “cq:EditListenersConfig”. The listener assets can also be added to any widget in AEM.

In order to feature a listener to that widget you just want to feature to feature a node this is known as “listeners” with a sort of “nt:unstructured”. Then you just want to feature toddler nodes to the “listeners” node that are activities of that widget. You can discover a list of occasions for every widget by searching CQ Widget API documentation.

Question 15. How Do You Load Digital Assets In Dam?

Answer :

You can upload digital assets to your dam via the usage of the graphical user interface or via WebDav access.

If you are the use of the graphical user interface, you would simply browse for the chosen documents you would really like to feature, and then cq will create the metadata for those assets in the dam folder. You would usually use the WebDav alternative while you want to add a big variety or belongings without delay.

Adobe Fireworks Interview Questions
Question 16. How Do You Build A Bundle Through Crxde?

Answer :

You can construct a package through crxde by navigating to the source folder of your mission located beneath “apps”. Once you do this, proper click on the “src” folder and pick to create a bundle.

This will open the wizard with a purpose to walk you through creating your bundle. It is suggested which you now not use crxde to create OSGI bundles for AEM. Instead you need to be the use of Maven.

Question 17. What Is The Purpose Of The Activator.Java File?

Answer :

The purpose of the Activator.Java document is that it is to be notified any time there are bundle start and stop occasions for that package. The Activator.Java report is an non-compulsory listener class that is created whilst you create a package via crxde.

Adobe Analytics Interview Questions
Question 18. What Is A Cq5 Overlay/override Component?

Answer :

The overlay/override aspect is used when you need to use an out of the box element in AEM and you need to feature extra features to it and you want to trade it across all instances of that issue. For instance in case you need to add features to the out of the container “text” thing, but you don’t want to create a brand new element, you'll want to replicate the “text” element from “libs/foundation/components” to “apps/foundation/additives” and preserve the same folder shape this is used. When that is done, any modifications that carried out to this new aspect will be meditated in the out of the container “text” issue, with out converting the original code beneath “libs”. It is normally no longer a very good practice to modify the original code, that's why CQ offers the capacity to apply overlays.

Adobe Flex Interview Questions
Question 19. What Is The Difference Between A Dialog And A Design Dialog?

Answer :

A conversation is a key element of the thing due to the fact they offer an interface for authors to configure and provide enter to that aspect.

This input could be stored on the page degree within the jcr. A layout dialog is a dialog with the intention to handiest show while you are in layout mode in AEM. The enter that is received here could be saved at the template level and may be accessed throughout the entire website.

Question 20. What Is Extending A Component?

Answer :

Extending a element is while you need to create a brand new thing so that it will no longer override a base factor, however may have the identical capabilities as the original so that you can trade or build upon that component.

In order to increase a aspect, you must set“sling:resourceSuperType” of the aspect to the bottom issue you would really like to increase. By doing this, you will inherit the entirety from the base aspect.

Adobe Edge Interview Questions
Question 21. How Does Sightly Differ From Other Templating Systems?

Answer :

Sightly differs from different templating structures in three ways. Sightly is secure via default, it offers separation of issues, and sightly is HTML5 due to the fact it's miles a legitimate HTML5 record. Sightly is secure by default as it routinely filters and escapes all variables being output to the presentation layer to prevent move-site-scripting vulnerabilities. Sightly gives seperation of situation because it is purposely confined to ensure that a real programming language is used to specific the corresponding good judgment. This is achieved thru the Use-API sample.

Question 22. Can You Create A Page Without A Template?

Answer :

Pages are typically created through choosing a template for the page while you create them within the Website console. However, a page can be created manually in the crxde with the aid of the usage of the same residences which might be created while you make a page in the Website console.

For example, in crxde underneath the content folder, create a node with the following kind “cq:Page” and store it. Then add a child node with the following kind “cq:PageContent”. Then you can upload the specified homes to reveal any components you need displayed at the web page. It is usually now not precise exercise to create pages manually.

Question 23. What Are Xtypes And How Are They Useful In Aem?

Answer :

In the ExtJS language an xtype is a symbolic call given to a class. In AEM those xtypes are widgets that used within the advent of components. AEM comes with a gaggle of widgets which are available out of the box. You also can create and define your personal xtype to be used in AEM.

An example of an xytpe is while you are growing your dialog to your aspect, and also you want the author on the way to enter textual content, you'll add a “cq:Widget” that has an xtype belongings of “textfield”.

Question 24. How Do You Add Properties To The Page Properties Dialog?

Answer :

You can add houses in your page homes dialog by means of copying the dialog located below “libs/basis/additives/page/conversation” and including it on your web page template. This will can help you upload new tabs and upload new properties that you would like the author to chooses from for pages that use that template.

You should modify the authentic web page dialog as well to get the identical result, however it isn't advocated.

Adobe ColdFusion Interview Questions
Question 25. What Is The Difference Between The Author And Publish Environment?

Answer :

A production surroundings normally has  difference instances of AEM jogging. One is the author instance, and the other is the put up example. These two instances are commonly stored in two exceptional settings.

The author example is wherein you'll enter and manipulate content on your internet site. This is wherein you will administer your web page as properly. The writer surroundings is typically kept at the back of a firewall. The submit example is wherein you will make your content to be had in your focused target audience. The put up environment is generally saved in a Demilitarized Zone (DMZ).

Question 26. What Is A Replication Agent?

Answer :

A replication agent is used to submit energetic content material from the writer surroundings to the publish surroundings, to flush content material from the dispatcher cache, and return user enter from the put up environment to the writer environment. The replication dealers are relevant to AEM.

Question 27. What Is Resource Mapping?

Answer :

Resource mapping is used to define redirects, arrogance URLs and digital hosts for AEM. You can use aid mapping to prefix all requests with “/content material” so the inner structure of the AEM web page is hidden from your visitors. You also can use aid mapping to define a redirect so that all requests to the gateway page of your site are redirected to another site.

Adobe Flex Actionscript Interview Questions
Question 28. What Is Resource Resolution In Sling?

Answer :

Resource resolution in Sling is how Sling takes a URL and tries to remedy it to a script. This is carried out by means of extracting information from the URL. Here is an example

URL:

http://myhost/equipment/undercover agent.Printable.A4.Html/a/b?X=12

Question 29. It Can Be Broken Down As Follows:

Answer :

Protocol Host Content route Selector(s) Extension Suffix Param(s)

http:// myhost equipment/secret agent .Printable.A4. Html / a/b ? X=12

Sling makes use of the content material route this is extracted from the request to locate the aid inside the JCR. When this resource is placed, the sling aid kind is extracted, after which it's miles used to placed the script for use for rendering that content material.

Question 30. What Design Patterns Are Used In Aem?

Answer :

Since AEM is constructed using OSGI, a number of the design patterns for OSGI are valid. Some of those design styles are Singleton (Service), Adapter Service, Resource Adapter Service, and Whiteboard. Also, for the reason that AEM is modular, you have to be capable of use any design sample to your application.

Question 31. What Is Reverse Replication?

Answer :

Reverse replication is the system of replicating content from submit environment to the author environment. In order to accomplish this you need a opposite replication agent on your writer instance this is configured to get content material from the publish environment outbox.




CFG