i
Mphasis
Filter interviews by
SQL query to calculate total and average sales per product category from the product table.
Use the SUM() function to calculate total sales.
Use the AVG() function to calculate average sales.
Group the results by product category using GROUP BY clause.
Example SQL query: SELECT category, SUM(sales) AS total_sales, AVG(sales) AS average_sales FROM product GROUP BY category;
Unix commands for creating a new file include 'touch', 'echo', and redirection operators.
Use 'touch filename' to create an empty file. Example: 'touch myfile.txt'.
Use 'echo' to write text to a new file. Example: 'echo Hello > myfile.txt'.
Use 'cat' with redirection to create a file. Example: 'cat > myfile.txt' then type text and press Ctrl+D to save.
Configure the test framework to automatically re-run failed test cases for improved reliability.
Use a test runner that supports retry mechanisms, like TestNG or JUnit.
In TestNG, use the 'retryAnalyzer' to specify a class that handles retries.
Example: Implement a RetryAnalyzer class that extends 'IRetryAnalyzer' and overrides 'retry()' method.
Set the 'retryAnalyzer' in your test annotations: @Test(retryAnalyzer = R...
Optimize automation execution by parallelizing tests, using efficient frameworks, and leveraging CI/CD tools.
Implement parallel execution: Use tools like Selenium Grid or TestNG to run tests concurrently, reducing overall execution time.
Prioritize test cases: Identify critical test cases that cover essential functionalities and run them first to ensure key features work.
Use efficient test frameworks: Choose framew...
Spring Security uses various annotations to manage security configurations and access control in applications.
@EnableWebSecurity: Enables Spring Security’s web security support and provides the Spring MVC integration.
@PreAuthorize: Used to specify method-level security, allowing access based on roles or expressions. Example: @PreAuthorize("hasRole('ADMIN')")
@PostAuthorize: Similar to @PreAuthorize but checks acces...
Spring and Spring Boot simplify Java development with features like dependency injection, microservices support, and rapid application setup.
Dependency Injection: Promotes loose coupling and easier testing. Example: Using @Autowired to inject services.
Microservices Support: Spring Boot makes it easy to create stand-alone, production-grade Spring applications. Example: Building RESTful APIs.
Convention over Configur...
The JVM executes Java bytecode, providing platform independence and memory management through garbage collection.
The JVM converts Java bytecode into machine code using a Just-In-Time (JIT) compiler.
It manages memory through an automatic garbage collection process, reclaiming memory from objects no longer in use.
The JVM provides a runtime environment that includes a class loader for loading classes and a security m...
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: J...
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 re...
Employing effective strategies can transform negative situations into opportunities for growth and improvement.
Maintain open communication: Encourage team members to express concerns and provide feedback, fostering a culture of transparency.
Stay calm and composed: In high-pressure situations, demonstrating calmness can help stabilize the team and facilitate problem-solving.
Focus on solutions: Shift the focus from ...
I appeared for an interview in Jan 2025.
I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.
10 min, simple question on programming skills
I have used the asynchronous messaging pattern for Microservice communication.
Implemented messaging queues like RabbitMQ or Kafka for decoupled communication
Used message brokers to enable communication between Microservices
Leveraged event-driven architecture for real-time updates and scalability
I have used Application Insights for monitoring and analyzing the performance of .NET applications.
Used Application Insights to track application performance metrics
Analyzed telemetry data to identify performance bottlenecks
Set up alerts and notifications for critical issues
Integrated Application Insights with Azure DevOps for continuous monitoring
We use in-memory caching technique in our project to improve performance and reduce database load.
In-memory caching is used to store frequently accessed data in memory for quick retrieval
Helps reduce database load and improve application performance
Examples: using MemoryCache in .NET, Redis caching, caching frequently accessed data like user profiles or product information
Yes, API Gateways are used in Microservices to manage and secure communication between services.
API Gateways act as a single entry point for clients to access multiple microservices
They handle authentication, authorization, rate limiting, logging, and monitoring
Examples of API Gateways include Kong, Apigee, and AWS API Gateway
We are using OAuth 2.0 for single sign on in the project.
OAuth 2.0 is a widely used authorization framework that enables a third-party application to obtain limited access to an HTTP service.
It allows users to log in once and access multiple applications without having to log in again.
OAuth 2.0 provides secure delegated access to resources without sharing user credentials.
JWT token is a JSON Web Token used for secure transmission of information between parties.
JWT token is a compact and self-contained way to transmit information between parties.
It is digitally signed to verify its authenticity and integrity.
JWT tokens consist of three parts: header, payload, and signature.
They are commonly used for authentication and information exchange in web applications.
Example: JWT tokens are often...
Exception handling and filters in .NET Core Web API
Use try-catch blocks to handle exceptions in the code
Implement global exception handling middleware to catch unhandled exceptions
Use filters like [Authorize] for authentication and [ValidateAntiForgeryToken] for CSRF protection
Create custom exception filters by implementing IExceptionFilter interface
I appeared for an interview in Jan 2025.
I appeared for an interview in Dec 2024.
Math, coding, basic coding mcq
I appeared for an interview in Jun 2025, where I was asked the following questions.
SQL query to calculate total and average sales per product category from the product table.
Use the SUM() function to calculate total sales.
Use the AVG() function to calculate average sales.
Group the results by product category using GROUP BY clause.
Example SQL query: SELECT category, SUM(sales) AS total_sales, AVG(sales) AS average_sales FROM product GROUP BY category;
Unix commands for creating a new file include 'touch', 'echo', and redirection operators.
Use 'touch filename' to create an empty file. Example: 'touch myfile.txt'.
Use 'echo' to write text to a new file. Example: 'echo Hello > myfile.txt'.
Use 'cat' with redirection to create a file. Example: 'cat > myfile.txt' then type text and press Ctrl+D to save.
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 bring a unique combination of experience, skills, and dedication that will greatly benefit the team and help achieve operational excellence.
Proven track record of successfully managing operations and improving efficiency
Strong leadership skills with the ability to motivate and inspire team members
Excellent problem-solving abilities to address challenges and drive results
Dedicated work ethic and commitment to achievin...
Experienced Operations Officer with a background in managing daily operations, optimizing processes, and ensuring efficiency.
Managed a team of employees to ensure smooth operations
Implemented process improvements to increase efficiency
Analyzed data to make informed decisions
Collaborated with other departments to achieve organizational goals
My process for handling operations involves thorough planning, effective communication, and continuous monitoring.
Develop a detailed operations plan outlining tasks, timelines, and responsibilities
Communicate clearly with team members to ensure everyone is on the same page
Regularly monitor progress and make adjustments as needed
Utilize technology and tools to streamline operations and improve efficiency
We currently have 15 expatriates working in various departments.
We have a total of 15 expatriates in our organization.
The expatriates are working in different departments such as finance, marketing, and operations.
Some of the expatriates are on short-term assignments while others are on long-term contracts.
I appeared for an interview in Apr 2025, where I was asked the following questions.
I manage pressure through prioritization, effective communication, and maintaining a positive mindset.
Prioritization: I assess tasks based on urgency and importance, focusing on high-impact activities first. For example, during a project deadline, I create a list of tasks and tackle the most critical ones first.
Effective Communication: I keep open lines of communication with my team and stakeholders to ensure everyone ...
I prioritize tasks, utilize project management tools, and maintain clear communication to manage multiple projects effectively.
Prioritization: I assess project deadlines and importance, focusing on high-impact tasks first. For example, I use a matrix to categorize tasks.
Project Management Tools: I leverage tools like Trello or Asana to track progress and deadlines, ensuring visibility for all stakeholders.
Regular Check...
I possess strong communication, adaptability, and problem-solving skills that drive team success and project delivery.
Effective Communication: I ensure clarity in conveying project goals, which helps align the team and stakeholders. For example, I hold regular check-ins to discuss progress and address concerns.
Adaptability: I thrive in dynamic environments and can pivot strategies when faced with unexpected challenges....
Employing effective strategies can transform negative situations into opportunities for growth and improvement.
Maintain open communication: Encourage team members to express concerns and provide feedback, fostering a culture of transparency.
Stay calm and composed: In high-pressure situations, demonstrating calmness can help stabilize the team and facilitate problem-solving.
Focus on solutions: Shift the focus from the p...
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...
Top trending discussions
Some of the top questions asked at the Mphasis interview for experienced candidates -
The duration of Mphasis interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 221 interview experiences
Difficulty level
Duration
based on 9.1k 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