In this post, we have put together the AEM (Adobe Experience Manager) Interview Questions and answers for beginner, intermediate and experienced candidates. These important questions are categorized for quick browsing before the interview or to act as a helping guide on different topics in AEM for interviewers. These questions are most helpful when interviewing for roles such as AEM developer and AEM admin.
AEM INTERVIEW QUESTIONS 2+ years to 6+ years
Q3.) You might be aware that whenever I upload a DAM asset in AEM, a back-end workflow gets triggered. Now I have to upload approx 3000 dam assets of various sizes in my AEM instance and I don’t want to burden my instance with thousands of workflows at once. How shall I go about it?
Q2.) You have a lot of brands – Nike, Adidas etc and in your AEM content structure, there are a lot of pages of these brands. You cannot segregate the site hierarchy for these brands. The client is expecting a different theme for all these brands. How would your solution be?
The real lesson here is: If your content is hierarchical, by all means, capitalize on that fact! Don’t try to treat your content as a Big Flat List, especially if you’ll be doing a lot of updates. (If you’re doing mostly reads and few writes, on the other hand, it doesn’t much matter.) Introducing a bit of hierarchy to your content organization scheme will go a long way toward promoting fast update performance.
Friends, this blog post might be somewhat tricky and thought-provoking . The questions which are mentioned below are basically business scenarios which are asked in an interview and you are required to ponder over it and come up with the most feasible solution. The answers to these questions might differ approach to approach. There could be a possibility that you may come up with a better solution or maybe the answers which I have written below might broaden the scope of your thinking. Do let me know if you have a better solution for them. I would be happy to add it here.
It is common to have multiple CQ Publisher instances in different environments (DEV, QA, PROD, etc.). When you make user administration and security changes toward users and groups on the production server, you may want to bring them down to the lower DEV and QA environments so they don’t go out of sync. In such scenario, you have to copy over both user/group definition and the permission definition. This post shows you how to copy users and groups you set up on one CQ instance (source CQ) to another instance (destination CQ), and how to bring over the permissions (resource-based ACLs) from the source CQ to the destination CQ.
The property could be present at any of the pages in the hierarchy, so the first solution you may think of is getting a property on that page, if it’s not present iterate to its parent page, check the property on that page, if it’s not present iterate parent page and so on. But this is a Brute-force method. Not at all appreciated.
Q13. ) Imagine you have a component A with a dialog A , and another component B with dialog B . You want to use that other dialogA’s tab into dialogB ? Now you want to use a user input from dialog A into dialog B, how will you proceed with that?
Alternatively, you may use InheritanceValueMap to achieve this task. This interface is meant to make it much easier for developers to access properties inherited from parent pages. To do this, the interface provides two methods, getInherited(String, Class) and getInherited(String, Object), each of these methods will check for a value on the current resource and then check up the page hierarchy for another page with a value on the same content attribute. It will only attempt to retrieve values at the same page content path.
Q15. ) Let’s say there are Article pages and NEWS Pages in your project. Every article page can be linked to NEWS pages using Related NEWS component. And every NEWS page should have RELATED Articles component with list a of Articles where it is present. How will design the solution for this, keeping in mind Caching Strategies and Authoring Convenience ? Advertisement
Q14. ) Consider there are 3 components: 1. Component A ———A.jsp ————-output T1 2. Component B ———B.jsp ————-output T2 ; sling:resourceSuperType is A You want to create another component C (sling:resourceType is B ) and component D (sling:resourceSuperType is B ) wherein, you need an output of T3 only. Which jsps you may override in both the cases individually?
What are the advantages of AEM CMS CQ5 over another CMS?
How to start AEM in debug mode?
Overlay in AEM is the process of redefining the existing functionality and customising it. It can be making a custom component by modifying the current foundation component according to requirements. Recommended Posts:
In AEM, Dispatcher is a tool that is used to balance the load and helps in caching. The device can be considered as a security enhancement option for the AEM server from external attacks.
Starting the AEM in debug mode will let us enable the debugger mode. The following code needs to be added in the command line:
Custom tag libraries can be developed using AEM. This facilitates the calling or invoking its actions from an AEM component. These actions can be invoked using XML code.
In reverse replication, the content is transferred from the publisher environment to theauthor environment. It is used to replicate data related to profile details of the user and posts in the website’s forum.
FAQ
What is difference between AEM and CQ5?
What is cq in Adobe CQ5 CMS?