Find Interview Questions for Top Companies
Hungerbox Interview Questions and Answers
Ques:- How do you create and manage templates and components in AEM
Right Answer:
To create and manage templates and components in AEM, follow these steps:

1. **Create a Template**:
- Navigate to the AEM Sites console.
- Select the appropriate site and click on "Create" > "Page".
- Choose a template from the available options or create a new one using the Template Editor.

2. **Create a Component**:
- Go to the AEM Sites console and navigate to the "Apps" folder.
- Right-click on the desired location and select "Create" > "Component".
- Define the component properties, including name, description, and the component type (e.g., HTL, JSP).

3. **Manage Templates and Components**:
- Use the AEM Touch UI or Classic UI to edit, configure, and manage templates and components.
- Utilize the "Component Policy" to define the behavior and properties of components.
- Version control can be managed through AEM's built-in versioning features.

4. **Testing and Publishing**:
- Test the templates and components in the author environment.
- Once verified, publish them to the publish environment for live use.

5. **Maintain and Update**:
- Regularly review and update templates and components as needed to ensure they meet project requirements and best practices.
Ques:- What is the difference between Classic AUTOSAR and Adaptive AUTOSAR
Right Answer:
Classic AUTOSAR is designed for safety-critical applications with a focus on real-time performance and static architectures, while Adaptive AUTOSAR is intended for more complex, high-performance applications that require dynamic software updates and support for advanced computing platforms.
Ques:- What is the role of Apache Sling in AEM development
Right Answer:
Apache Sling is a web framework used in AEM development that maps HTTP requests to content resources based on the URL. It allows developers to create and manage content in a flexible way, enabling the use of Java servlets, scripts, and other components to deliver dynamic web applications.
Ques:- How do you approach debugging and troubleshooting in software development
Right Answer:
I approach debugging and troubleshooting by following these steps:

1. **Reproduce the Issue**: Confirm the bug by replicating the problem consistently.
2. **Check Logs and Error Messages**: Review logs and error messages for clues about the issue.
3. **Isolate the Problem**: Narrow down the code or component where the issue occurs.
4. **Use Debugging Tools**: Utilize debugging tools or IDE features to step through the code and inspect variables.
5. **Review Recent Changes**: Look at recent code changes that might have introduced the bug.
6. **Consult Documentation**: Refer to documentation for libraries or frameworks being used.
7. **Test Hypotheses**: Make small changes to the code to test potential fixes and observe the results.
8. **Collaborate**: Discuss the issue with teammates for additional perspectives.
9. **Document Findings**: Keep notes on what was tried and the outcomes to avoid repeating the same steps.
10. **Implement Fixes
Ques:- Can you explain the architecture of AEM and its core components (Sling, OSGi, JCR)
Right Answer:
AEM (Adobe Experience Manager) architecture is based on three core components:

1. **Sling**: A web framework that maps HTTP requests to content resources. It allows developers to create dynamic web applications by using a resource-oriented approach, enabling easy access to content stored in the JCR.

2. **OSGi**: A modular system and service platform that allows for the dynamic loading and unloading of components (bundles). In AEM, OSGi manages the lifecycle of these components, enabling modular development and deployment.

3. **JCR (Java Content Repository)**: A specification for a content repository that stores and manages content in a hierarchical structure. AEM uses JCR to store all content, including pages, assets, and configurations, allowing for efficient content retrieval and management.

Together, these components enable AEM to deliver a flexible, scalable, and efficient content management solution.
Ques:- What would be your sourcing strategy to buy low value items?
Right Answer:
My sourcing strategy for low-value items would involve consolidating purchases to achieve bulk discounts, using a competitive bidding process to select suppliers, establishing long-term relationships with reliable vendors, and leveraging e-procurement tools to streamline the purchasing process and reduce administrative costs.
Ques:- What is in-transit inventory and how it is calculated, how do you monitor in-transit inventory levels?
Right Answer:
In-transit inventory refers to goods that have been shipped by a supplier but have not yet been received by the buyer. It is calculated by tracking the quantity of items that are currently being transported, which can be determined by the shipping documents and the expected delivery times. To monitor in-transit inventory levels, companies can use inventory management systems that provide real-time updates on shipment statuses, track delivery schedules, and analyze transportation lead times.
Ques:- What process you adopt for purchase
Right Answer:
The process I adopt for purchasing includes the following steps:

1. Identify the need for goods or services.
2. Conduct market research to find potential suppliers.
3. Request and evaluate quotes or proposals from suppliers.
4. Negotiate terms and conditions, including price and delivery.
5. Place the purchase order with the selected supplier.
6. Receive and inspect the goods or services upon delivery.
7. Process payment and maintain records for future reference.
Ques:- What is the actual problem comes during the purchase
Right Answer:
The actual problems that can arise during the purchase include inaccurate demand forecasting, supplier reliability issues, price fluctuations, quality discrepancies, communication breakdowns, and delays in delivery.
Ques:- What is the DOM and how do you manipulate it
Right Answer:
The DOM (Document Object Model) is a programming interface for web documents that represents the structure of a webpage as a tree of objects. You can manipulate the DOM using JavaScript by selecting elements (e.g., using `document.getElementById`, `document.querySelector`), modifying their properties (e.g., `element.innerHTML`, `element.style`), adding or removing elements (e.g., `element.appendChild`, `element.remove`), and responding to events (e.g., `element.addEventListener`).
Ques:- What are event bubbling and event delegation in JavaScript
Right Answer:
Event bubbling is a JavaScript event propagation method where an event starts from the target element and bubbles up to its ancestors in the DOM hierarchy. Event delegation is a technique that involves attaching a single event listener to a parent element to manage events for multiple child elements, leveraging event bubbling to handle events efficiently.
Ques:- What are cookies sessions and local storage in web development
Right Answer:
Cookies are small pieces of data stored on the user's computer by the web browser while browsing a website, used for tracking and remembering information about the user. Sessions are temporary storage on the server that keeps track of user data across multiple requests during a single visit, typically expiring when the user closes the browser. Local storage is a web storage feature that allows websites to store data in the user's browser persistently, even after the browser is closed, with no expiration time.
Ques:- What is AJAX and how does it work
Right Answer:
AJAX (Asynchronous JavaScript and XML) is a web development technique that allows web pages to communicate with a server and update content asynchronously without reloading the entire page. It works by using JavaScript to send requests to the server, which can return data (often in JSON or XML format) that the browser can then use to update the webpage dynamically.
Ques:- What is the difference between var let and const in JavaScript
Right Answer:
`var` is function-scoped or globally-scoped and can be re-declared and updated. `let` is block-scoped, can be updated but not re-declared in the same scope. `const` is also block-scoped, cannot be updated or re-declared, and must be initialized at the time of declaration.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

1 Lakh+
Companies
6 Lakh+
Interview Questions
50K+
Job Profiles
20K+
Users