i
Mphasis
Filter interviews by
Select alternate rows from SQL
Use the modulo operator to filter alternate rows
Add a WHERE clause with the modulo operator
Example: SELECT * FROM table WHERE id % 2 = 0
Example: SELECT * FROM table WHERE MOD(id, 2) = 0
Entity framework supports left/right join to pull details from joinee table.
Use LINQ to perform left/right join in Entity framework
Use DefaultIfEmpty() method to perform left join
Use join...into statement to perform right join
Example: var result = from employee in context.Employees
join department in context.Departments on employee.DepartmentId equals department.Id into empDept
from department in empDept.DefaultIfEm...
Singleton and static are both design patterns used to create objects with global access, but they differ in their implementation.
Singleton restricts the instantiation of a class to a single object, while static allows multiple instances.
Singleton provides a global point of access to the object, while static members are accessed through the class name.
Singleton can be lazy-loaded, while static members are initializ...
Endpoints are URLs that clients use to access resources in a WebAPI.
Endpoints are the entry points for a WebAPI.
They define the resources that can be accessed by clients.
Endpoints are identified by a URL and HTTP method.
Examples of endpoints include /api/users and /api/products.
Endpoints can have parameters that are passed in the URL or request body.
Dependency injection is a design pattern where objects are passed as dependencies rather than being created within a class.
Reduces coupling between classes
Increases testability and maintainability
Allows for easier swapping of dependencies
Examples: Constructor injection, Setter injection, Interface injection
Runtime polymorphism is the ability of an object to take on multiple forms during runtime.
It is achieved through inheritance and method overriding.
The method called depends on the actual object type at runtime.
Example: Animal class with a speak() method, and Dog and Cat classes that inherit from Animal and override the speak() method.
When a Dog object calls speak(), the overridden method in the Dog class is execut...
Junit testing for rest services involves testing the functionality and performance of RESTful APIs using Junit framework.
Write test cases to validate the input and output of REST services
Use Junit annotations like @Test, @Before, @After for setup and teardown
Mock external dependencies using frameworks like Mockito for isolated testing
Verify HTTP status codes, response body, headers in test cases
Use tools like Rest...
System design involves creating a high-level architecture of a software system based on requirements and design principles.
System design focuses on structuring software components and their interactions.
Design principles like SOLID, DRY, and KISS help in creating scalable and maintainable systems.
Consider factors like performance, scalability, security, and maintainability during system design.
Use design patterns ...
Interconnect between microservices involves communication protocols, service discovery, load balancing, and fault tolerance.
Use communication protocols like HTTP, gRPC, or messaging queues for inter-service communication
Implement service discovery mechanisms to locate and connect to other microservices dynamically
Utilize load balancing techniques to distribute incoming requests evenly across multiple instances of ...
Hashmap uses hashing to store key-value pairs, while linkedlist is a data structure used to store a collection of elements.
Hashmap uses a hash function to map keys to indices in an array, where the values are stored.
Linkedlist is a collection of nodes, where each node contains a value and a reference to the next node.
Hashmap can have collisions, where multiple keys map to the same index, which is resolved using se...
I appeared for an interview in Jan 2025.
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
I am an experienced Module Lead with expertise in Automation framework design and end-to-end testing activities.
I have designed and implemented automation frameworks using tools like Selenium and Appium.
I have experience in creating reusable components, libraries, and utilities for automation.
I have conducted end-to-end testing activities including test planning, execution, and reporting.
I have worked on continuous int...
I appeared for an interview in May 2025, where I was asked the following questions.
Microservices can lead to increased complexity, operational overhead, and challenges in data management and inter-service communication.
Increased Complexity: Managing multiple services can complicate deployment and monitoring. For example, a simple feature may require coordination across several microservices.
Operational Overhead: Each microservice may require its own infrastructure, leading to higher costs and resourc...
Java 8 introduced several enhancements in memory management, including the Metaspace and improvements in garbage collection.
Metaspace replaces PermGen: In Java 8, the PermGen space is replaced by Metaspace, which dynamically resizes based on the application's needs.
Improved Garbage Collection: Java 8 introduced the G1 garbage collector as the default, optimizing memory management for large heaps.
Compressed OOPs: Java 8...
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
A program to find if a given string is a palindrome or not.
Create a function that takes a string as input
Reverse the string and compare it with the original string
If they are the same, then the string is a palindrome
Duplicate characters in a string can be identified using a single loop by utilizing a set to track seen characters.
Use a Set: Initialize an empty set to keep track of characters that have been seen as you iterate through the string.
Check for Duplicates: For each character, check if it is already in the set. If it is, it’s a duplicate; if not, add it to the set.
Example: For the string 'hello', as you loop through, 'h' a...
Basis data structure and algo
System design involves creating a high-level architecture of a software system based on requirements and design principles.
System design focuses on structuring software components and their interactions.
Design principles like SOLID, DRY, and KISS help in creating scalable and maintainable systems.
Consider factors like performance, scalability, security, and maintainability during system design.
Use design patterns like ...
I applied via Recruitment Consulltant and was interviewed in Mar 2024. There was 1 interview round.
SQL query for updating data in a database table.
Use the UPDATE statement in SQL to modify existing records in a table.
Specify the table name, column names, and values to be updated in the query.
Use WHERE clause to specify the condition for which records to update.
Example: UPDATE table_name SET column1 = value1, column2 = value2 WHERE condition;
I applied via Approached by Company and was interviewed in Feb 2024. There were 3 interview rounds.
Indexing in SQL is a way to optimize database performance by creating a data structure that allows for faster retrieval of data.
Indexing is a technique used to quickly locate and access the rows in a database table.
It works by creating an ordered list of values from one or more columns in a table.
By using indexes, the database engine can quickly find the rows that match a certain condition without having to scan the en...
A recursive query is a query that refers to itself in order to retrieve data from a database.
A recursive query is used to retrieve hierarchical data such as organizational structures or family trees.
It typically involves a common table expression (CTE) in SQL.
The query continues to execute until a specific condition is met, such as reaching the root node in a tree structure.
Example: Finding all employees and their mana...
Various types of joins in SQL include inner join, left join, right join, and full outer join.
Inner join: Returns rows when there is a match in both tables.
Left join: Returns all rows from the left table and the matched rows from the right table.
Right join: Returns all rows from the right table and the matched rows from the left table.
Full outer join: Returns rows when there is a match in either table.
Top trending discussions
The duration of Mphasis Module Lead interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 33 interview experiences
Difficulty level
Duration
based on 272 reviews
Rating in categories
Software Engineer
6.7k
salaries
| ₹4 L/yr - ₹8.4 L/yr |
Senior Software Engineer
6k
salaries
| ₹6.6 L/yr - ₹20 L/yr |
Associate Software Engineer
4.9k
salaries
| ₹2 L/yr - ₹5.6 L/yr |
Module Lead
2.5k
salaries
| ₹15.8 L/yr - ₹27 L/yr |
Transaction Processing Officer
2.3k
salaries
| ₹1.4 L/yr - ₹4.7 L/yr |
Cognizant
Wipro
Accenture
TCS