51+ Adobe CQ5 Interview Questions And Answers

Spread the love

Adobe CQ5 Interview Questions

Question 1. What Is Cq5? Give Some Points About Cq5?

Adobe Communique 5, or CQ5, is a java based mostly large-scale internet content administration system. It combines internet content administration, digital asset administration, and social collaboration to ship an answer that permits to handle unbelievable quantities of data, a number of inner and exterior web sites, a myriad of media belongings, and detailed workflow.

CQ5 is ready of content administration providers constructed on a content-centric Web software framework on high of a Java Content Repository.
The product has been fully redesigned from Communiqué 4, permitting Adobe to make use of new structure and applied sciences.
The Graphical User Interface has been fully re-engineered utilizing AJAX and the newest browser applied sciences. This results in an unparalleled consumer expertise.

Question 2. Why Cq5? What Are The Advantages Of Using Cq5?

Building web sites by a wealthy graphical interface, company design and consumer entry management of modifying and publishing rights.
Implementation of workflows for creating, modifying and publishing of content.
Managing a repository of digital belongings like photos, paperwork and integrating them to the web sites.
Usage of search queries to search out content regardless of the place it’s saved in your group.
Setting up simply the social collaboration blogs, teams.
Tagging utility to arrange the digital belongings akin to photos.

Question 3. Explain The Cq5 Technology Stack?

JCR – Java specification for accessing a content repository, CQ5 makes use of its personal implementation of JCR known as CRX. Apache Jackrabbit is an open-source implementation of JCR 2.Zero specification.
Apache Sling – RESTful framework to entry a JCR over http protocol. It maps the request url to the node in JCR.
OSGi – framework for modular software improvement utilizing java. Each module known as bundle might be independently began and stopped.

Question 4. What Is A Content Repository?

A content repository is a storage unit with an related search and entry strategies permitting application-independent entry to the content, the power to retailer and modify content along with looking out and retrieving. A content repository thus usually varieties the technical underpinning of a content software, like a Content Management System or a Document Management System. It features because the logical storage facility for content.

Question 5. What Is The Contribution Of Servlet Engine In Cq5?

The Servlet Engine acts because the server inside which every CQ (and CRX if used) occasion runs as an online software.
Any Servlet Engine supporting the Servlet API 2.4 (or greater) can be utilized.
Although you possibly can run CQ WCM with out an software server, a Servlet Engine is required.

Question 6. What Is Meant By Jcr (java Content Repository)?

A Java Content Repository makes use of the JSR-170 API to entry the content repository utilizing Java, unbiased of the bodily implementation. JCR is the Java Content Repository customary, also referred to as JSR-170 after its Java Specification Request. Later revised model 2 as (JCR-283). A repository successfully consists of two components:

A Web software that provides the JSR-170 compliant API and momentary knowledge storage (within the type of the session).
A Persistence Manager with persistent knowledge storage, such because the file system or a database.

Question 7. Give A Note About Apache Sling?

Apache Sling is an online software framework for content-centric purposes, utilizing a Java Content Repository, akin to Apache Jackrabbit or CRX, to retailer and handle content.


relies on REST ideas to supply simple improvement of content-oriented purposes.
is embedded inside CQ5.
is used to course of HTTP rendering and data-storage requests which assemble, render and ship the content to a shopper (i.e. the brand new supply).
maps Content objects to Components (which render them and course of incoming knowledge).
comes with each server-side and AJAX scripting help.
can be utilized with a spread of scripting languages, together with JSP, ESP and Ruby.
began as an inner venture of Day Management AG.
has been contributed to the Apache Software Foundation.

Question 8. What Are The 7 Rules Given By David Model?

Rule #1: Data First, Structure Later. Maybe.
Rule #2: Drive the content hierarchy, don’t let it occur.
Rule #3: Workspaces are for clone(), merge() and replace().
Rule #4: Beware of Same Name Siblings.
Rule #5: References thought of dangerous.
Rule #6: Files are Files are Files.
Rule #7: IDs are evil.

Question 9. What Is Osgi In Cq5? Explain?

OSGi stands for “Open Systems Gateway initiative”

“is the dynamic module system for Java™.”
comes underneath the classification Universal Middleware.
“provides the standardized primitives that allow applications to be constructed from small, reusable and collaborative components. These components can be composed into an application and deployed.”
OSGi bundles can include compiled Java code, scripts, content that’s to be loaded within the repository, and configuration or extra recordsdata, as wanted.
permits the bundles to be loaded, and put in, throughout regular operations. In the case of CQ5, that is managed by the Sling Management Console.

Question 10. What Is Rest? What Is A Restful Framework?

REST stands for Representational State Transfer. REST-style architectures include shoppers and servers. Clients provoke requests to servers; servers course of requests and return applicable responses. Requests and responses are constructed across the switch of representations of assets. A useful resource might be primarily any coherent and significant idea that could be addressed. A illustration of a useful resource is usually a doc that captures the present or supposed state of a useful resource.Apache Sling is RESTful framework to entry a java content repository over http protocol.

Question 11. How Is Authentication Achieved In Cq5?

Authentication is the method of figuring out, and verifying, a consumer. The technique of authentication and login might be damaged down as follows:

Authentication info is extracted from the request. In CQ that is carried out by an authentication handler.
The authentication info is then checked to find out whether or not it’s ample and/or appropriate. In CQ that is carried out by the login modules.
The applicable response is initiated.
For CQ, preliminary authentication makes use of a regular HTML-login kind along side the Authorization Header Authentication Handler. The HTML-form will need to have fields for the consumer title and password (the identical subject names should then be utilized by the Authorization Header Authentication Handler).

You also can use an analogous kind for managed entry to varied areas of your web site. For instance, CQ can work together with a LDAP server that shops consumer info centrally, eliminating the necessity for duplication. This central server is then used to confirm login info which lets you understand Single Sign On, each with different in-house purposes and exterior Portals.

Question 12. What Is A Template?

A template is the premise of a web page. A template is used to create a web page and defines which parts can be utilized inside the chosen scope. A template is a hierarchy of nodes that has the identical construction because the web page to be created, however with none precise content.

Each template are constructed up of parts out there to be used.

To create a web page, the content of the template have to be copied (/apps /[application] /templates /[template-name]) to applicable place within the web site tree. This is without doubt one of the major and fascinating options of CQ5.

Question 13. Sling Scripts Cannot Be Called Directly In Cq5- Why?

Scripts can’t be known as straight inside Sling since it’ll break the strict idea of a REST server; you’d combine assets and representations.

If you name the illustration (the script) straight you conceal the useful resource inside your script, so the framework (Sling) not is aware of about it.

Question 14. What Is A Component In Cq5?

• are modular items which understand particular performance to current your content in your web site.
• are re-usable.
• are developed as self-contained items inside one folder of the repository.
• haven’t any hidden configuration recordsdata.
• can include different parts.
• run anyplace inside any CQ system.
• have a standardized consumer interface.
• use widgets.

Question 15. Sling Tag Library, Explain?

In order to make the most of useful Sling features, Sling Tag library have to be declared. When you employ the Sling Tag Library in your script, the script should begin with the next code:

<%@ taglib prefix=”sling” uri=”http://sling.apache.org/taglibs/sling/1.0″ %>

Question 16. How Does Cq Work? Speciality?

CQ is a web-based content administration system. This implies that authors don’t want to put in particular software program with a purpose to use CQ; solely a browser is required.
In CQ, authors create, modify and delete content on an authoring setting.
Basic authoring actions in CQ akin to including textual content, photos, and fundamental layouts, don’t require the information of HTML.
Changes to content in CQ aren’t made seen to the general public till authors activate them (i.e., publish the content). Authors also can deactivate (i.e., unpublish) content if mandatory.

Question 17. Specify Some Points On Cq Wcm?

The CQ WCM is the primary display you will note after logging in.
The left panel of the WCM represents the location hierarchy. Here, one can find a tree construction of the pages and different content that may be expanded or collapsed.
This construction is generated as you nest content pages. This can be how URLs are generated.
Once you click on on a web page from the location hierarchy that comprises youngster pages(i.e., pages nested beneath), the kid pages will seem on the WCM proper panel.
You can inform {that a} web page has youngster pages by the presence of a plus (+) or minus (-) signal beside its icon. In the precise panel, it’s possible you’ll choose one or a number of pages on which you want to carry out actions, together with transferring, deleting, copying, activating or deactivating.
A double-click on the web page title expands the tree and opens the web page on the identical time

Question 18. Digital Asset Manager (dam) In Cq5, Explain?

The DAM is the place authors can add recordsdata (apart from HTML) for publishing on their web sites. Examples embody photos and PDF paperwork. The interface is much like the WCM.

DAM Left Panel : The folder construction is on the left panel, and might be expanded or collapsed by clicking the suitable plus (+) or minus (-) symbols. For your first time utilizing the DAM, you’ll need to navigate to your division’s Digital Assets by the tree, starting with SFU. Contact your Site Administrator in the event you can’t see your division’s Digital Assets house. You can solely see these that you’ve got been approved to.

DAM proper Panel : The proper panel will show the folders and their contents, together with thumbnails of photos. A double-click on the picture will show a bigger model and particulars akin to its dimension, description, tags, and dimensions.

While figuring out the folder construction of the contents inside the DAM is fully to the authors’ discretion, preserving it much like the location construction within the WCM is usually recommended. This will supply a visible reference between the connection of the recordsdata within the DAM and the pages within the WCM. All recordsdata have to be uploaded to the DAM earlier than they can be utilized; the system can’t entry on-line recordsdata. Each have to be activated (the identical means as activating a content web page), in any other case it won’t seem on the revealed web page, and it’ll solely be within the authorrsquo;s modifying window.

Question 19. Clustering In Cq5?

In computing, a cluster is a gaggle of computer systems linked collectively to work, in some respects, as a single pc. Every Cq5 CRX occasion comes pre-configured to run inside a cluster,even when operating a singular occasion. This design function permits the configuration of multi-node clusters with little effort.

Question 20. How Good Is Cq5 When Compared To Other Cms?

CQ5 is ideal for big content-driven websites.

Even non-technical customers can replace the content.
Duplicating the location will likely be very simple to create a cellular pleasant model.
Excellent at managing a number of touch-points.
It could be very simple to deploy and scale up or down.
Time administration:
Very much less period of time to develop.
Relies on actual open requirements which aren’t de facto requirements.
Best integration with third social gathering programs.
Content reusability.

Adobe CQ5 offers automation, a really intuitive interface and nice efficiency

Question 21. What Is Authoring?

An creator in CQ generates the fabric which is able to, sooner or later, be revealed to your web site. Depending on how your occasion and your private entry rights are configured you possibly can carry out many duties, together with amongst others

generate new content,
Edit present content,
create new pages utilizing predefined templates,
transfer, copy or delete pages,
Activate (or deactivate) pages,
Participate in workflows that management how modifications are managed.
When authoring a cellular web page, the web page is displayed in a means that emulates the cellular machine, known as an emulator. When authoring the web page, you possibly can change between a number of emulators to get an actual view of what the end-user will see when accessing the web page.

Question 22. Slinghttpservletrequest, Explain?

“org.apache.sling.api.SlingHttpServletRequest” interface defines the essential knowledge out there from the shopper request to each motion processing and response rendering. The SlingHttpServletRequest extends the javax.servlet.http.HTTPServletRequest.

Question 23. Slinghttpservletresponse, Explain?

“org.apache.sling.api.SlingHttpServletResponse” interface extends the ”javax.servet.http.HttpServletResponse” interface and is at present empty.

It merely exists for symmetry with the SlingHttpServletRequest.

Question 24. Cq Workflow Engine, Explain?

CQ encompasses a number of purposes which might be designed to work together and complement one another. In specific, the Workflow Engine can be utilized in tight conjunction with a number of of the opposite purposes.

Workflows are on the middle of how kind submissions in CQ WCM are usually processed. When creating a brand new kind, the shape submission might be simply related to a workflow mannequin, for instance to retailer the content in a specific location of the repository or to inform a consumer in regards to the kind submission and its content.

Question 25. Cq Widgets, Explain?

Are the extremely polished consumer interface components that work throughout all a very powerful browsers and permit the creation of desktop-grade UI experiences.
These widgets are included inside CQ and, along with being utilized by CQ itself, can be utilized by any web site constructed utilizing CQ.

Question 26. What Are The Benefits Of Osgi Application Framework?

Aplications are transportable, simpler to re-engineer, and adaptable to altering necessities.
It helps administration of software bundle dependencies and variations, simplifying and standardizing third-party library integration.
The framework offers isolation for enterprise purposes which might be composed of a number of, versioned bundles with dynamic life cycles.
OSGi purposes can entry exterior bundle repositories. The framework reinforces service-oriented design on the module stage.
Question 27. Difference Between Design Dialog And Edit Dialog>?

Both dialog and design dialog defines the UI interface for permitting the consumer to configure the part.
Design Dialog of a part might be seen/edited in design mode of the web page. Design dialog is at template stage so all of the web page of the template will share identical design dialog and it’s saved underneath /and many others/designs folder.
Where as Dialog of a part is at web page stage so every part occasion could have its personal dialog and data entered in dialog will likely be saved underneath /content folder.

Question 28. What Is The Purpose Of Clientlibs?

It is used for including web site particular js and css recordsdata to the web page and in addition thridparty js and css recordsdata.

Question 29. What Is Dependency/dependencies In Client Library?

It is an inventory of different shopper library classes on which this library folder relies upon. For instance, given two cq:ClientLibraryFolder nodes F and G, if a file in F requires one other file in G with a purpose to perform correctly, then a minimum of one of many classes of G must be among the many dependencies of F.

Question 30. Difference Between Package And Bundle?

Package: A Package is a zipper file that comprises the content within the type of a file-system serialization (known as “vault” serialization) that shows th content from the repository as an easy-to-use-and-edit illustration of recordsdata and folders. Packages can embody content and project-related knowledge.

Bundle: Bundle is a tightly coupled, dynamically loadable assortment of lessons, jars, and configuration recordsdata that explicitly declare their exterior dependencies (if any).

Question 31. Can You Explain Life Cycle Of Osgi Bundle?

Following are the life cycle states of OSGI:

Installed: The bundle has been efficiently put in.
Resolved: All Java lessons that the bundle wants can be found. This state signifies that the bundle is both able to be began or has stopped.
Starting: The bundle is being began, the BundleActivator.begin technique will likely be known as, and this technique has not but returned. When the bundle has an activation coverage, the bundle will stay within the STARTING state till the bundle is activated in accordance with its activation coverage.
Active: The bundle has been efficiently activated and is operating; its Bundle Activator begin technique has been known as and returned.
Stopping: The bundle is being stopped. The BundleActivator.cease technique has been known as however the cease technique has not but returned.
Uninstalled: The bundle has been uninstalled. It can’t transfer into one other state.

Question 32. What Is Difference Between Parsys And Iparsys?

parsys – It known as “Paragraph System” part in which you’ll add different parts at web page stage.
iparsys – It is inherited paragraph system, which inherits father or mother web page “paragraph system”.
Question 33. What Is Process Step In Workflow?

It is a workflow part which might be discovered at:

“/libs/cq/workflow/components/model/process”, that is used for calling a java class in workflow.

Question 34. Difference Between Cq5.4 And Cq5.5?

Versions of CQ earlier than 5.5 have been based mostly on a servlet container (CQSE, by default, although others may very well be used) operating with a number of webapps: One for the CRX content repository and one for the OSGi container which itself contained Sling and AEM. The Sling webapp was sure to the foundation and dealt with a lot of the request processing.

With CQ 5.5 and AEM, the OSGi container is positioned on the root and the OSGi HTTP service, backed by Sling appearing as the only real request dealing with finish level. The CRX content repository is now simply one other OSGi service, alongside the assorted providers that comprise the remainder of the AEM unctionality. These modifications don’t have an effect on purposes constructed on high of AEM or Sling.

The new structure implies that the quickstart jar set up of AEM can not help different internet purposes operating alongside AEM. However, the warfare model of AEM is designed to be deployed in an software server, the place extra internet purposes might be deployed alongside it.

Added three new connectors to key adobe merchandise – Creative Suite, Scene7, Search&Promote Authors can straight work on cellular apps. Partnered with hybris software program so as to add some good eCommerce capabilities. Added Undo(Ctrl+z) and Redo(Ctrl+y) functionalities.

Question 35. Role Of Dispatcher In Cq5?

Dispatcher is CQ5 caching and/or load balancing instrument. Dispatcher additionally helps to guard your AEM server from assault. It cache responses from publish occasion, to extend the responsiveness and safety of your externally going through revealed web site

Question 36. What Is Replication? And What Are The Steps Involved In Replication?

Steps concerned in replication:

The creator requests that sure content be revealed (activated); this may be initiated by a guide request, or by computerized triggers which have been preconfigured.
The request is handed to the suitable default replication agent; an setting can have a number of default brokers which is able to all the time be chosen for such actions.
The replication agent “packages” the content and locations it within the replication queue.
The content is lifted from the queue and transported to the publish setting utilizing the configured protocol; normally that is HTTP.
A servlet within the publish setting receives the request and publishes the acquired content; the default servlet is http://localhost:4503/bin/receive.

Question 37. What Is Difference Between Parbase And Parsys?

parbase: The parbase permits parts to inherit attributes from different parts, much like subclasses in object oriented languages akin to Java, C++, and so forth. For instance, whenever you open the /libs/basis/parts/textual content node within the CRX Explorer, you see that it has a property named sling:resourceSuperType, which references the parbase part. The parbase right here defines tree scripts to render photos, titles, and so forth, so that each one parts sub classed from this parbase can use this script.

parasys (Paragraph System): The paragraph system (parsys) is a compound part that permits authors so as to add parts of various sorts to a web page and comprises all different paragraph parts. Each paragraph kind is represented as a part. The paragraph system itself can be a part, which comprises the opposite paragraph parts.

Question 38. Explain Multi Site Manager?

Multi Site Manager (MSM) lets you simply handle a number of internet sites that share frequent content. MSM helps you to outline relations between the websites in order that content modifications in a single web site are mechanically replicated in different websites.

For instance, internet sites are sometimes supplied in a number of languages for worldwide audiences. When the variety of websites in the identical language is low (three to 5), a guide course of for synchronizing content throughout websites is feasible. However, as quickly because the variety of websites grows or when a number of languages are concerned, it turns into extra environment friendly to automate the method.

Question 39. How To Customize Page Property Dialog?

Step 1 – Copy /libs/basis/parts/web page/dialog node to template part’s node.
Step 2 – Modify dialog node

Question 40. What Is Difference Between Live Copy And Language Copy?

Live Copy – Copy created from present web site or blue print known as Live Copy. Rollout configurations for this Live Copy might be configured from instruments console.

Language Copy – Site which is created utilizing language instrument known as Language copy. Basically to create a web site for various language.

Question 41. Role Of Persistence Manager In Cq5?

The persistence supervisor saves the repository content to a everlasting storage answer, such because the file system or a database. By default, CRX saves repository content to the Tar persistence supervisor. Following DB’s can be utilized for storing content – DB2, Oracle, SQL Server, MySQL.

Question 42. Difference Between Osgi Bundle And Normal Jar File?

OSGi bundles are jar recordsdata with metadata inside. Much of this metadata is within the jar’s manifest, discovered at META-INF/MANIFEST.MF. This metadata, when learn by an OSGi runtime container, is what offers the bundle its energy.
With OSGi, simply because a category is public doesn’t imply you may get to it. All bundles embody an export listing of bundle names, and if a bundle isn’t within the export listing, it doesn’t exist to the skin world. This permits builders to construct an intensive inner class hierarchy and reduce the floor space of the bundle’s API with out abusing the notion of package-private visibility. A typical sample, as an illustration, is to place interfaces in a single bundle and implementations in one other, and solely export the interface bundle.
All OSGi bundles are given a model quantity, so it’s attainable for an software to concurrently entry totally different variations of the identical bundle (eg: junit 3.8.1 and junit 4.0.). Since every bundle has it’s personal classloader, each bundles lessons can coexist in the identical JVM.
OSGi bundles declare which different bundles they rely on. This permits them to make sure that any dependencies are met earlier than the bundle is resolved. Only resolved bundles might be activated. Because bundles have variations, versioning might be included within the dependency specification, so one bundle can rely on model junit model 3.8.1 and one other bundle rely on junit model 4.0.
In OSGi bundle, there will likely be an Activator.java class in OSGi which is an non-compulsory listener class to be notified of bundle begin and cease occasions.

Question 43. Can We Restrict For Certain Users Not To Display Some Digital Assets?

You can all the time restrict who can entry sure folders in CQ Digital Assets by making the folder a part of a CUG(closed consumer group). Steps to make a folder a part of a CUG:

In CQ DAM, right-click the folder you wish to add closed consumer group properties for and choose Properties.
Click the CUG tab.
Select the Enabled verify field to make the folder and its belongings out there solely to a closed consumer group.
Browse to the login web page, if there’s one, so as to add that info. Add admitted teams by clicking Add merchandise. If mandatory, add the realm. Click OK to avoid wasting your modifications.

Question 44. How You Can Inherit Properties Of One Dialog To Another Dialog?

For inheriting properties we’ve got to create two parts with distinctive names within the base part dialog. For eg. If your plan is to have two wealthy textual content two wealthy textual content areas within the dialog of parts that inherit from the bottom, then you should embody two wealthy textual content areas with distinctive names within the base part dialog. In any case each enter subject of a dialog will need to have a singular title, else they’ll level to the identical property path relative to the jcr:content node of the part when used on a web page.

Question 45. Explain The Role Of Dispatcher In Cq5?

In CQ5 Dispatcher helps to cache and load-balance. The major obligations are,

Caching – Cache as a lot content as attainable[ It helps to reduce the continuous functioning of layout engine frequently for generating content when in dynamic.]
Load-balancing – To enhance the efficiency by load-balancing.

Question 46. Explain The Methods Of Caching Adopted By Dispatcher?

Dispatcher invalidates these pages whose content has been up to date and replaces it with new content.
Auto-Inavidation mechanically removes the contents which aren’t related.

Question 47. State Various Strategies Used By Dispatcher?

Cache as a lot content as attainable as static pages.
Accessing structure engine as little as attainable.

Question 48. How Clustering Is Done In Cq5?

CQ5 CRX is pre-loaded to run inside a cluster,even when operating a single occasion. Hence the configuration of multi-node clusters with little effort occurs in CQ5.

Question 49. How Bundles Are Loaded And Installed In Cq5?

This is managed by the Sling Management Console of CQ5.

Question 50. Explain Osgi[open Systems Gateway Initiative] In Cq5?

Dynamic module system for Java.
Universal Middleware Category.
Helps purposes to be constructed from small, reusable and collaborative parts.
OSGi bundles can include compiled Java code, scripts, or any contents to be loaded within the repository.
Helps the bundles to be loaded, put in.

Spread the love