Add office photos
Engaged Employer

Wunderman Thompson Commerce

3.8
based on 73 Reviews
Video summary
Filter interviews by

10+ Kranjan Enterprises Interview Questions and Answers

Updated 5 Feb 2024

Q1. Magento2 config ways, Also how we can set config so at time of deployment in multiple environments it auto update magento.

Ans.

Magento2 config can be set via XML files, database, or environment variables. Configuration can be automatically updated during deployment using tools like Ansible or Jenkins.

  • Magento2 configuration can be set via XML files in the app/code/[Vendor]/[Module]/etc directory

  • Configuration can also be set in the database using the core_config_data table

  • Environment variables can be used to set configuration values

  • Tools like Ansible or Jenkins can be used to automatically update confi...read more

View 1 answer

Q2. Doctor Ninja's House Problem Statement

In a network of 'N' cities with 'M' paths connecting them, Doctor Ninja aims to purchase a house in a city 'X' such that it is possible to reach every other city from city...read more

Ans.

The task is to find a city 'X' from which all other cities can be reached in a given graph.

  • Find the mother vertices in the graph.

  • If there are multiple mother vertices, return the minimum value.

  • If there are no mother vertices, return -1.

Add your answer

Q3. Scramble String Problem Statement

You are given an integer 'N' and two strings S and R, each having the size N. Determine if you can scramble string S to obtain string R using specified operations.

Your task is...read more

Ans.

The question asks to determine if string 'R' can be obtained by scrambling string 'S' using certain operations.

  • The length of both strings 'S' and 'R' should be the same.

  • The operations can be applied recursively on the substrings of 'S'.

  • If the length of 'S' is 1, the scrambling process stops.

  • The strings only contain lowercase letters.

Add your answer

Q4. Swap Two Numbers Without Using a Third Variable

Your task is to swap two given numbers without utilizing an additional variable and print the swapped values.

Input:

The first line contains an integer 't', indic...read more
Ans.

Swapping two numbers without using a third variable in Java.

  • Use bitwise XOR operation to swap the numbers without using a third variable.

  • a = a XOR b; b = a XOR b; a = a XOR b; will swap the values of a and b.

  • Ensure to handle edge cases like when a and b are the same number.

Add your answer
Discover Kranjan Enterprises interview dos and don'ts from real experiences

Q5. What is MVC, and how magento uses MVC

Ans.

MVC stands for Model-View-Controller. Magento uses MVC architecture to separate business logic, presentation, and user input.

  • Model represents the data and business logic

  • View represents the presentation layer

  • Controller handles user input and updates the model and view accordingly

  • Magento uses the layout XML files to define the view layer

  • Magento's controllers are responsible for handling requests and responses

  • Magento's models are responsible for interacting with the database and...read more

View 1 answer

Q6. What is the Mview file usage and what are the indexing techniques.

Ans.

Mview files are used for indexing in Magento. Indexing techniques include full, partial, and delta indexing.

  • Mview files are used to store data for indexing purposes.

  • Full indexing updates all data in the index, while partial indexing updates only specific data.

  • Delta indexing updates only the data that has changed since the last indexing.

  • Indexing can be done manually or automatically based on a schedule or trigger.

Add your answer
Are these interview questions helpful?

Q7. What caching techniques magento uses, and how we can control them.

Ans.

Magento uses various caching techniques to improve performance. We can control them through configuration settings.

  • Magento uses full page caching, block caching, and session caching.

  • Full page caching stores the entire page in cache to reduce server load.

  • Block caching stores individual blocks of content in cache to reduce database queries.

  • Session caching stores session data in cache to reduce database queries.

  • Caching can be controlled through configuration settings in the admi...read more

Add your answer

Q8. what is Redis cache, and how we can modify / clear a customer based cache.

Ans.

Redis cache is an in-memory data structure store that can be used as a database, cache, and message broker.

  • Redis cache is used to speed up the performance of web applications by storing frequently accessed data in memory.

  • To modify or clear a customer based cache, we can use Redis commands like DEL, KEYS, and FLUSHDB.

  • For example, to clear a customer's cache, we can use the command 'DEL customer:123'.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. ways to create a custom attribute in magento Product, Customer and Sales.

Ans.

Custom attributes can be created in Magento Product, Customer and Sales.

  • For Product: Use Magento's setup script to create a custom attribute.

  • For Customer: Use Magento's customer setup script to create a custom attribute.

  • For Sales: Use Magento's sales setup script to create a custom attribute.

  • Custom attributes can also be created programmatically using Magento's API.

  • Attributes can be added to attribute sets and used in product listings and filters.

View 1 answer

Q10. What is the use of composer.json and composer.lock

Ans.

composer.json defines dependencies and composer.lock ensures their versions are consistent.

  • composer.json lists the dependencies required by the project

  • composer.lock ensures that the versions of the dependencies remain consistent across different environments

  • composer.lock is generated automatically when dependencies are installed or updated

  • composer.json can be manually edited to add or remove dependencies

  • composer.lock should be committed to version control to ensure consistent...read more

Add your answer

Q11. Steps to make packaging an magento module as a global package to use in composer require.

Ans.

To make a Magento module a global package for Composer, follow these steps:

  • Create a composer.json file in the root directory of the module

  • Specify the name, version, and type of the package in the composer.json file

  • Add the module's files to the 'src' directory

  • Create a 'vendor' directory in the module's root directory

  • Run 'composer install' to generate the vendor/autoload.php file

  • Publish the package to a repository like Packagist

  • Use 'composer require' to install the package in o...read more

Add your answer
Q12. What is the difference between @RestController and @Controller in Spring?
Ans.

The main difference is that @RestController is a specialized version of @Controller that is used for RESTful web services.

  • RestController is used for creating RESTful web services, while Controller is used for handling web requests in a traditional MVC application

  • RestController eliminates the need for annotating each method with @ResponseBody as it is done automatically

  • RestController returns data directly in the response body, while Controller returns the name of the view to r...read more

Add your answer

Q13. Requirement Gap Document? Best Achievements? Why change company and domain? Tools for requirement gathering? Agile followed in your company? How you prep story from Epic? Challenges in Scrum with Stakeholders,...

read more
Ans.

Answering questions related to business consulting and requirements gathering.

  • Requirement Gap Document is a crucial tool for identifying gaps between current and desired states.

  • Achievements include successful implementation of ERP systems and streamlining business processes.

  • Changed company for growth opportunities and to expand domain knowledge.

  • Tools for requirement gathering include interviews, surveys, and workshops.

  • Agile methodology followed in previous company with daily ...read more

Add your answer
Q14. What is the Singleton Design Pattern?
Ans.

Singleton Design Pattern ensures a class has only one instance and provides a global point of access to it.

  • Ensures a class has only one instance by providing a global access point to it.

  • Uses a private constructor to restrict instantiation of the class from other classes.

  • Provides a static method to access the single instance of the class.

  • Commonly used in scenarios where only one instance of a class is needed, such as database connections or configuration settings.

Add your answer

Q15. Difference cookies and Cache. Agile Methodologies and ceremonies.

Ans.

Cookies and cache are both used to store data, but cookies are stored on the client side while cache is stored on the server side. Agile methodologies are a set of principles and ceremonies used in software development.

  • Cookies are small text files that are stored on the client's computer by a website. They are used to remember user preferences and login information.

  • Cache is a temporary storage area on the server that stores frequently accessed data to reduce server load and i...read more

Add your answer

Q16. Swap 2 numbers without using 3rd variable

Ans.

Swapping 2 numbers without using a third variable in Java

  • Use addition and subtraction to swap the values

  • Use XOR operator to swap the values

  • Use multiplication and division to swap the values

Add your answer

Q17. 1) @Controller & @RestController difference

Ans.

The @Controller annotation is used to create a controller class for handling HTTP requests, while @RestController is used for RESTful web services.

  • The @Controller annotation is used for traditional web applications that return HTML views.

  • The @RestController annotation is used for creating RESTful web services that return JSON or XML data.

  • The @RestController annotation is a combination of @Controller and @ResponseBody annotations.

  • Both annotations are used to handle HTTP reques...read more

Add your answer

Q18. Capabilities in Selenium.

Ans.

Selenium is a powerful tool for automating web browsers and supports multiple programming languages.

  • Selenium can automate web browsers like Chrome, Firefox, Safari, and Edge.

  • It supports multiple programming languages like Java, Python, C#, and Ruby.

  • Selenium can handle various types of web elements like text boxes, buttons, drop-downs, and alerts.

  • It can perform actions like clicking, typing, selecting, and scrolling on web pages.

  • Selenium can also handle multiple windows, frame...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Kranjan Enterprises

based on 2 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.0
 • 362 Interview Questions
3.6
 • 178 Interview Questions
3.9
 • 157 Interview Questions
3.5
 • 143 Interview Questions
4.3
 • 138 Interview Questions
4.0
 • 137 Interview Questions
View all
Top Wunderman Thompson Commerce Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter