If you're looking for Adobe CQ5 Interview Questions, you are at right place. There are lot of opportunities from many reputed companies in the world. According to research Adobe CQ5 has a market share of about 0.4%. So, You still have opportunity to move ahead in your career in Adobe CQ5 Commerce Development. Mindmajix offers advanced Adobe CQ5 Interview Questions that helps you in cracking your interview & acquire dream career.
Q. Difference between Design Dialog and Edit Dialog
Both dialog and design dialog defines the UI interface for allowing the user to configure the component.
Design Dialog of a component can be seen/edited in design mode of the page. Design dialog is at template level so all the page of the template will share same design dialog and it is stored under /etc/designs folder.
Where as Dialog of a component is at page level so each component instance will have its own dialog and information entered in dialog will be stored under /content folder.
Q. What is the purpose of clientlibs?
It is used for adding site specific js and css files to the page and also thridparty js and css files.
Q. What is Dependency/Dependencies in client library?
It is a list of other client library categories on which this library folder depends. For example, given two cq:ClientLibraryFolder nodes F and G, if a file in F requires another file in G in order to function properly, then at least one of the categories of G should be among the dependencies of F.
Q. What is embed and difference between dependency and embed in client library?
Embed: Used to embed code from other libraries. If node F embeds nodes G and H, the resulting HTML will be a concetration of content from nodes G and H.
Dependency: Please refer to above answer.
Q. Difference between package and bundle?
Package: A Package is a zip file that contains the content in the form of a file-system serialization (called “vault” serialization) that displays the content from the repository as an easy-to-use-and-edit representation of files and folders. Packages can include content and project-related data.
Bundle: Bundle is a tightly coupled, dynamically loadable collection of classes, jars, and configuration files that explicitly declare their external dependencies (if any).
Q. Can you explain life cycle of OSGI bundle?
Following are the life cycle states of OSGI:
Installed – The bundle has been successfully installed.
Resolved – All Java classes that the bundle needs are available. This state indicates that the bundle is either ready to be started or has stopped.
Starting – The bundle is being started, the BundleActivator.start method will be called, and this method has not yet returned. When the bundle has an activation policy, the bundle will remain in the STARTING state until the bundle is activated according to its activation policy.
Active – The bundle has been successfully activated and is running; its Bundle Activator start method has been called and returned.
Stopping – The bundle is being stopped. The BundleActivator.stop method has been called but the stop method has not yet returned.
Uninstalled – The bundle has been uninstalled. It cannot move into another state.
Q. What is difference between parsys and iparsys?
parsys – It is called “Paragraph System” component in which you can add other components at page level.
iparsys – It is inherited paragraph system, which inherits parent page “paragraph system”.
Q. What is process step in workflow?
It is a workflow component which can be found at – “/libs/cq/workflow/components/model/process”, this is used for calling a java class in workflow.
Q. Difference between CQ5.4 and CQ5.5?
Versions of CQ before 5.5 were based on a servlet container (CQSE, by default, though others could be used) running with multiple webapps: One for the CRX content repository and one for the OSGi container which itself contained Sling and AEM. The Sling webapp was bound to the root and handled most of the request processing.
With CQ 5.5 and AEM, the OSGi container is positioned at the root and the OSGi HTTP service, backed by Sling acting as the sole request handling end point. The CRX content repository is now just another OSGi service, alongside the various services that comprise the rest of the AEM unctionality. These changes do not affect applications built on top of AEM or Sling.
The new architecture means that the quickstart jar installation of AEM can no longer support other web applications running alongside AEM. However, the war version of AEM is designed to be deployed in an application server, where additional web applications can be deployed alongside it.
Added three new connectors to key adobe products – Creative Suite, Scene7, Search&Promote
Authors can directly work on mobile apps.
Partnered with hybris software to add some nice eCommerce capabilities.
Added Undo(Ctrl+z) and Redo(Ctrl+y) functionalities.
Q. Role of Dispatcher in CQ5?
Dispatcher is CQ5 caching and/or load balancing tool. Dispatcher also helps to protect your AEM server from attack. It cache responses from publish instance, to increase the responsiveness and security of your externally facing published website
Q. What is Replication? and What are the steps involved in Replication?
Replication is process of activating/publishing the page from Author Instance to Process Instance.
Steps involved in replication:
1) The author requests that certain content be published (activated); this can be initiated by a manual request, or by automatic triggers which have been preconfigured.
2) The request is passed to the appropriate default replication agent; an environment can have several default agents which will always be selected for such actions.
3) The replication agent “packages” the content and places it in the replication queue.
4) The content is lifted from the queue and transported to the publish environment using the configured protocol; usually this is HTTP.
5) A servlet in the publish environment receives the request and publishes the received content; the default servlet is http://localhost:4503/bin/receive.
Q. What is difference between parbase and parsys?
parbase: The parbase allows components to inherit attributes from other components, similar to subclasses in object oriented languages such as Java, C++, and so on. For example, when you open the /libs/foundation/components/text node in the CRX Explorer, you see that it has a property named sling:resourceSuperType, which references the parbase component. The parbase here defines tree scripts to render images, titles, and so on, so that all components sub classed from this parbase can use this script.
parasys (Paragraph System): The paragraph system (parsys) is a compound component that allows authors to add components of different types to a page and contains all other paragraph components. Each paragraph type is represented as a component. The paragraph system itself is also a component, which contains the other paragraph components.
Q. Explain Multi Site Manager?
Multi Site Manager (MSM) enables you to easily manage multiple web sites that share common content. MSM lets you define relations between the sites so that content changes in one site are automatically replicated in other sites.
For example, web sites are often provided in multiple languages for international audiences. When the number of sites in the same language is low (three to five), a manual process for synchronizing content across sites is possible. However, as soon as the number of sites grows or when multiple languages are involved, it becomes more efficient to automate the process.
Q. How to customize page property dialog?
Step 1 – Copy /libs/foundation/components/page/dialog node to template component’s node
Step 2 – Modify dialog node
Q. Classes involved in URL Resolution?
Get Updates on Tech posts, Interview & Certification questions and training schedules