If you're looking for Adobe CQ5 Interview Questions & Answers for Experienced or Freshers, you are at right place. There are a 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 the opportunity to move ahead in your career in Adobe CQ5 Development. Mindmajix offers Advanced Adobe CQ5 Interview Questions 2019 that helps you in cracking your interview & acquire dream career as Adobe CQ5 Developer.
Adobe CQ5 Question And Answers
1. Aem vs Sitecore
|Integration||Easy to access||Easy to access|
Multiple User Access Supported
|Multiple User Access Supported|
|Customization||Moderate customizations||Highly customizable|
|Single platform support||Yes||No|
2. Difference between Design Dialog and Edit Dialog
Ans: 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 the design mode of the page. Design dialog is at template level so all the page of the template will share the same design dialog and it is stored under /etc/designs folder.
Whereas Dialog of a component is at page level so each component instance will have its own dialog and information entered in the dialog will be stored under /content folder.
3. What is the purpose of clientlibs?
Ans: It is used for adding site-specific js and CSS files to the page and also third party js and CSS files.
4. What is Dependency/Dependencies in the client library?
Ans: 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.
5. What is embed and difference between dependency and embed in the client library?
Ans: Embed: Used to embed code from other libraries. If node F embeds nodes G and H, the resulting HTML will be a concentration of content from nodes G and H.
Dependency: Please refer to the above answer.
6. Difference between package and bundle?
Ans: 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).
7. Can you explain the life cycle of the OSGI bundle?
Ans: 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.
8. What is the difference between parsys and iparsys?
Ans: parsys: It is called the “Paragraph System” component in which you can add other components at the page level.
iparsys: It is an inherited paragraph system, which inherits parent page “paragraph system”.
9. What is the process step in the workflow?
Ans: It is a workflow component that can be found at this is used for calling a java class in the workflow.
10. 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 web apps: One for the CRX content repository and one for the OSGi container which itself contained Sling and AEM. The Sling web app 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 endpoint. The CRX content repository is now just another OSGi service, alongside the various services that comprise the rest of the AEM functionality. 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.
Subscribe to our youtube channel to get new updates..!
Added three new connectors to key Adobe products – Creative Suite, Scene7, Search&Promote
The authors can directly work on mobile apps.
Partnered with hybrids software to add some nice eCommerce capabilities.
Added Undo(Ctrl+z) and Redo(Ctrl+y) functionalities.
11. Role of Dispatcher in CQ5?
Ans: The dispatcher is CQ5 caching and/or load balancing tool. The dispatcher also helps to protect your AEM server from attack. It caches responses from publish instance, to increase the responsiveness and security of your externally facing published website
12. What is Replication? and What are the steps involved in Replication?
Ans: Replication is the process of activating/publishing the page from Author Instance to Process Instance.
Steps involved in replication:
- The author requests that certain content be published (activated); this can be initiated by a manual request, or by automatic triggers that have been preconfigured.
- 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.
- The replication agent “packages” the content and places it in the replication queue.
- The content is lifted from the queue and transported to the publish environment using the configured protocol; usually, this is HTTP.
- A servlet in the publish environment receives the request and publishes the received content; the default servlet is https://localhost:4503/bin/receive.
13. What is the difference between par base and parsys?
Ans: par base: The par base 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 par base component. The par base here defines tree scripts to render images, titles, and so on so that all components subclassed from this par base can use this script.
phrases (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.
14. Explain the Multi-Site Manager?
Ans: 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 syncronizing 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.
15. How to customize page property dialog?
Ans: Step 1 – Copy /libs/foundation/components/page/dialog node to template component’s node
Step 2 – Modify dialog node
16. Classes involved in URL Resolution?