AmbitionBox

AmbitionBox

Search

Interview Questions

  • Reviews
  • Salaries
  • Interview Questions
  • About Company
  • Benefits
  • Jobs
  • Office Photos
  • Community
  • Home
  • Companies
  • Reviews
  • Salaries
  • Jobs
  • Interviews
  • Salary Calculator
  • Awards 2024
  • Campus Placements
  • Practice Test
  • Compare Companies
+ Contribute
notification
notification
Login
  • Home
  • Communities
  • Companies
    • Companies

      Discover best places to work

    • Compare Companies

      Compare & find best workplace

    • Add Office Photos

      Bring your workplace to life

    • Add Company Benefits

      Highlight your company's perks

  • Reviews
    • Company reviews

      Read reviews for 6L+ companies

    • Write a review

      Rate your former or current company

  • Salaries
    • Browse salaries

      Discover salaries for 6L+ companies

    • Salary calculator

      Calculate your take home salary

    • Are you paid fairly?

      Check your market value

    • Share your salary

      Help other jobseekers

    • Gratuity calculator

      Check your gratuity amount

    • HRA calculator

      Check how much of your HRA is tax-free

    • Salary hike calculator

      Check your salary hike

  • Interviews
    • Company interviews

      Read interviews for 40K+ companies

    • Share interview questions

      Contribute your interview questions

  • Jobs
  • Awards
    pink star
    VIEW WINNERS
    • ABECA 2025
      VIEW WINNERS

      AmbitionBox Employee Choice Awards - 4th Edition

    • ABECA 2024

      AmbitionBox Employee Choice Awards - 3rd Edition

    • AmbitionBox Best Places to Work 2022

      2nd Edition

    Participate in ABECA 2026 right icon dark
For Employers
Upload Button Icon Add office photos
logo
Engaged Employer

i

This company page is being actively managed by Mphasis Team. If you also belong to the team, you can get access from here

Mphasis Verified Tick

Compare button icon Compare button icon Compare
3.3

based on 9.2k Reviews

Play video Play video Video summary
  • About
  • Reviews
    9.2k
  • Salaries
    70.9k
  • Interviews
    854
  • Jobs
    51
  • Benefits
    916
  • Photos
    101
  • Posts
    5

Filter interviews by

Mphasis Interview Questions and Answers

Updated 18 Jul 2025
Popular Designations

577 Interview questions

An Associate Software Engineer was asked 1w ago
Q. Write a program to check if a number is prime.
Ans. 

A prime number is a natural number greater than 1 that cannot be formed by multiplying two smaller natural numbers.

  • A prime number has exactly two distinct positive divisors: 1 and itself.

  • Examples of prime numbers: 2, 3, 5, 7, 11.

  • The number 1 is not prime, and 2 is the only even prime number.

  • To check if a number n is prime, test divisibility from 2 to √n.

View all Associate Software Engineer interview questions
An Application Developer was asked 1w ago
Q. Write a SQL query to generate total sales and average sales in each product category from the product table.
Ans. 

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;

View all Application Developer interview questions
An Application Developer was asked 1w ago
Q. What are the Unix commands for writing a new file?
Ans. 

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.

View all Application Developer interview questions
A Module Lead was asked 2w ago
Q. How do you execute a test suite with a large number of automation scripts in a short amount of time?
Ans. 

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...

View all Module Lead interview questions

What people are saying about Mphasis

View All
aishwaryanagare
Verified Icon
1d
works at
Mphasis
Java Dev with 3+ Yrs Exp - Spring Expertise!
I’m a Java Developer with 3+ years of hands-on experience in building scalable, high-performance applications using Spring Boot and Microservices. I’m deeply passionate about engineering smart, efficient solutions that solve real business problems and drive measurable results. I’d be glad to connect and explore how my skills can add value to your clients’ technology goals and contribute to their long-term growth and success. Best regards, Aishwarya Nagare
Got a question about Mphasis?
Ask anonymously on communities.
A Module Lead was asked 2w ago
Q. How do you configure the framework to automatically execute failed test cases?
Ans. 

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...

View all Module Lead interview questions
A Senior Software Developer was asked 3w ago
Q. What are the different annotations used in Spring Security?
Ans. 

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...

View all Senior Software Developer interview questions
A Senior Software Developer was asked 3w ago
Q. What are the reasons for using Spring and Spring Boot frameworks?
Ans. 

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...

View all Senior Software Developer interview questions
Are these interview questions helpful?
A Senior Software Developer was asked 3w ago
Q. What are the inner workings of the Java Virtual Machine (JVM)?
Ans. 

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...

View all Senior Software Developer interview questions
A Module Lead was asked 3w ago
Q. What are the disadvantages of microservices?
Ans. 

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...

View all Module Lead interview questions
A Module Lead was asked 3w ago
Q. What are the changes in memory management in Java 8?
Ans. 

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...

View all Module Lead interview questions
1 2 3 4 5 6 7

Mphasis Interview Experiences

854 interviews found

Plsql Developer Interview Questions & Answers

user image Anonymous

posted on 3 Mar 2025

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
-
Result
-
Round 1 - Technical 

(15 Questions)

  • Q1. Self introduction and questions related to my project
  • Add your answer
  • Q2. What are joins in SQL, and can you provide examples of their usage?
  • Ans. 

    Joins in SQL are used to combine rows from two or more tables based on a related column between them.

    • Joins are used to retrieve data from multiple tables based on a related column.

    • Common types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN.

    • Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column;

  • Answered by AI
    Add your answer
  • Q3. What are the built-in functions available in SQL?
  • Ans. 

    Some built-in functions in SQL include AVG, COUNT, MAX, MIN, SUM, and CONCAT.

    • AVG: Calculates the average value of a numeric column

    • COUNT: Counts the number of rows in a result set

    • MAX: Returns the maximum value in a column

    • MIN: Returns the minimum value in a column

    • SUM: Calculates the sum of values in a column

    • CONCAT: Concatenates two or more strings together

  • Answered by AI
    Add your answer
  • Q4. What are the different types of cursors in database management systems?
  • Ans. 

    Types of cursors in database management systems include implicit, explicit, and parameterized cursors.

    • Implicit cursors are automatically created by the database when a SQL statement is executed.

    • Explicit cursors are defined by the programmer and give more control over the result set.

    • Parameterized cursors allow for dynamic SQL statements with parameters.

    • Examples: SELECT statement using implicit cursor, DECLARE, OPEN, FET...

  • Answered by AI
    Add your answer
  • Q5. What is the difference between procedures and functions in programming?
  • Ans. 

    Procedures are used to perform an action, while functions return a value.

    • Procedures do not return a value, while functions do.

    • Functions can be used in SQL queries, while procedures cannot.

    • Functions can be called from within SQL statements, while procedures cannot.

    • Procedures can have OUT parameters to return multiple values, while functions can only return a single value.

  • Answered by AI
    Add your answer
  • Q6. What is the query to print the third highest salary from the given table?
  • Ans. 

    Use a subquery to find the third highest salary in a table.

    • Use the RANK() function to assign a rank to each salary in descending order.

    • Filter the results to only include rows with a rank of 3.

    • Consider handling ties in salaries appropriately.

  • Answered by AI
    Add your answer
  • Q7. What is a package, and how do you utilize it in your project?
  • Ans. 

    A package is a collection of related procedures, functions, variables, and other PL/SQL constructs.

    • Packages help organize and encapsulate code for easier maintenance and reuse.

    • They can contain both public and private elements.

    • Packages can be used to group related functionality together, improving code modularity.

    • Example: CREATE PACKAGE my_package AS ... END my_package;

  • Answered by AI
    Add your answer
  • Q8. Can you describe two complex JIRA issues you have worked on?
  • Ans. 

    Resolved a critical bug causing data loss and implemented a new feature for better user experience.

    • Identified root cause of data loss bug by analyzing database queries and logs

    • Collaborated with cross-functional teams to prioritize and implement a fix

    • Designed and implemented a new feature based on user feedback to enhance usability

  • Answered by AI
    Add your answer
  • Q9. What are the different types of indexes?
  • Ans. 

    Different types of indexes include B-tree, Bitmap, Function-based, and Reverse key indexes.

    • B-tree indexes are the most common type and are suitable for most indexing needs.

    • Bitmap indexes are used for columns with low cardinality, such as gender or status columns.

    • Function-based indexes are created based on expressions or functions applied to columns.

    • Reverse key indexes store keys in reverse order to reduce contention in...

  • Answered by AI
    Add your answer
  • Q10. What are analytical functions in sql?
  • Ans. 

    Analytical functions in SQL are used to perform calculations across a set of rows related to the current row.

    • Analytical functions operate on a group of rows and return a single result for each row.

    • They can be used to calculate running totals, moving averages, rank, percentiles, etc.

    • Examples include ROW_NUMBER(), RANK(), DENSE_RANK(), SUM() OVER(), AVG() OVER().

  • Answered by AI
    Add your answer
  • Q11. What are aggregate functions in SQL?
  • Ans. 

    Aggregate functions in SQL are functions that operate on a set of values and return a single value as output.

    • Aggregate functions include functions like SUM, AVG, COUNT, MIN, and MAX.

    • They are used with the GROUP BY clause to perform calculations on groups of rows.

    • Examples: SELECT SUM(salary) FROM employees; SELECT AVG(age) FROM students GROUP BY class;

  • Answered by AI
    Add your answer
  • Q12. How did you handle performance tuning in your project?
  • Ans. 

    I identified and optimized slow-performing SQL queries by analyzing execution plans and indexing strategies.

    • Identified slow-performing SQL queries using tools like Oracle SQL Developer or TOAD.

    • Analyzed execution plans to understand query performance bottlenecks.

    • Optimized queries by rewriting SQL code, adding indexes, or restructuring data.

    • Used tools like Explain Plan or SQL Tuning Advisor to improve query performance.

    • R...

  • Answered by AI
    Add your answer
  • Q13. What is data modeling?
  • Ans. 

    Data modeling is the process of creating a visual representation of data structures and relationships within a database.

    • Data modeling helps in organizing and understanding complex data systems.

    • It involves identifying entities, attributes, and relationships between them.

    • Examples include ER diagrams, UML diagrams, and relational data models.

  • Answered by AI
    Add your answer
  • Q14. What steps did you take to perform root cause analysis in your project?
  • Ans. 

    I conducted thorough analysis by reviewing code, logs, and discussing with team members.

    • Reviewed code to identify potential issues

    • Analyzed logs for error messages and patterns

    • Discussed with team members to gather insights and perspectives

    • Used debugging tools to trace the root cause

  • Answered by AI
    Add your answer
  • Q15. What is a trigger in database management, and what are its different types?
  • Ans. 

    A trigger in database management is a special type of stored procedure that is automatically executed when certain events occur in a database.

    • Triggers can be used to enforce business rules, maintain referential integrity, and automate repetitive tasks.

    • There are two main types of triggers: row-level triggers and statement-level triggers.

    • Row-level triggers are fired for each row affected by a triggering statement, while ...

  • Answered by AI
    Add your answer

Skills evaluated in this interview

Anonymous

Senior Sdet Engineer Interview Questions & Answers

user image Anonymous

posted on 9 Mar 2025

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview in Feb 2025.

Round 1 - Technical 

(5 Questions)

  • Q1. Explain cucumber framework
  • Ans. 

    Cucumber is a testing framework that supports Behavior Driven Development (BDD) using plain language for writing test cases.

    • Cucumber allows writing test cases in Gherkin language, which is human-readable.

    • It promotes collaboration between developers, testers, and non-technical stakeholders.

    • Example of a Gherkin scenario: 'Given the user is on the login page, When they enter valid credentials, Then they should be redirect...

  • Answered by AI
    Add your answer
  • Q2. Difference between Interface and Abstraction
  • Ans. 

    Interfaces define contracts for classes, while abstraction hides implementation details, focusing on essential features.

    • An interface can contain method signatures but no implementation, e.g., 'public interface Animal { void makeSound(); }'

    • Abstraction can be achieved using abstract classes, which can have both abstract methods and concrete methods, e.g., 'abstract class Shape { abstract void draw(); }'

    • A class can implem...

  • Answered by AI
    Add your answer
  • Q3. How do you handle exceptions in java
  • Ans. 

    In Java, exceptions are handled using try-catch blocks, allowing graceful error management and maintaining program flow.

    • Use try-catch blocks to catch exceptions: try { // code that may throw an exception } catch (ExceptionType e) { // handle exception }

    • Use finally block for cleanup: try { // code } catch (Exception e) { // handle exception } finally { // cleanup code }

    • Throw exceptions using '...

  • Answered by AI
    Add your answer
  • Q4. Write xpath on a given platform using axes
  • Ans. 

    XPath expressions use axes to navigate XML documents, selecting nodes based on their relationships.

    • Axes define the node set relative to the current node, e.g., 'child', 'parent', 'ancestor'.

    • Example: //book/child::title selects all title elements that are children of book elements.

    • Example: //book/ancestor::library selects all library elements that are ancestors of book elements.

    • Using 'following-sibling', e.g., //h1/foll...

  • Answered by AI
    Add your answer
  • Q5. Java code for string manipulation
  • Ans. 

    Java provides various methods for string manipulation, including concatenation, substring extraction, and character replacement.

    • String Concatenation: Use '+' operator or StringBuilder for efficient concatenation. Example: String result = str1 + str2;

    • Substring Extraction: Use substring() method to extract parts of a string. Example: String part = str.substring(0, 5);

    • Character Replacement: Use replace() method to replace...

  • Answered by AI
    Add your answer

Interview Preparation Tips

Interview preparation tips for other job seekers - Average Questions, so prepare well.
Anonymous

Software Engineer Interview Questions & Answers

user image Anonymous

posted on 11 Mar 2025

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected
Round 1 - Aptitude Test 

Aptitude, english, coding,mcqs

Round 2 - Group Discussion 

Group discussion on few topics

Round 3 - Technical 

(2 Questions)

  • Q1. Java full stack development
  • Add your answer
  • Q2. Python fundaments
  • Add your answer
Round 4 - HR 

(1 Question)

  • Q1. Relocation , package, wfo/wfh
  • Add your answer

Interview Preparation Tips

Interview preparation tips for other job seekers - I would suggest this company as a good learning place for the freshers.
Anonymous

Devops Engineer Interview Questions & Answers

user image Anonymous

posted on 27 Feb 2025

Interview experience
1
Bad
Difficulty level
Easy
Process Duration
-
Result
Not Selected
Round 1 - Technical 

(2 Questions)

  • Q1. What is the agile methodology?
  • Ans. 

    Agile methodology is a project management approach that emphasizes flexibility, collaboration, and incremental progress.

    • Agile focuses on delivering small, incremental releases and adapting to change quickly.

    • It promotes collaboration between cross-functional teams and encourages frequent communication.

    • Key principles include customer satisfaction, responding to change, and delivering working software.

    • Common agile framewo...

  • Answered by AI
    Add your answer
  • Q2. What is the waterfall model in software development?
  • Ans. 

    Waterfall model is a linear sequential software development process where progress flows in one direction like a waterfall.

    • Involves distinct phases such as requirements, design, implementation, testing, and maintenance.

    • Each phase must be completed before moving on to the next.

    • Changes are difficult to implement once a phase is completed.

    • Example: Traditional software development approach.

    • Example: Construction projects.

  • Answered by AI
    Add your answer

Interview Preparation Tips

Interview preparation tips for other job seekers - The interviewer was yawning during the interview and seemed to be merely reading the questions. The questions were not technical; they focused on theoretical concepts such as agile methodology and the waterfall model. The interviewer did not appear to take the situation seriously.
Anonymous

Pyspark Developer Interview Questions & Answers

user image Anonymous

posted on 28 Jan 2025

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview in Dec 2024.

Round 1 - Technical 

(8 Questions)

  • Q1. Pyspark architecture
  • Add your answer
  • Q2. Optimisation in pyspark
  • Ans. 

    Optimisation in PySpark involves improving performance and efficiency of Spark jobs.

    • Use partitioning to distribute data evenly across nodes

    • Avoid shuffling data between nodes as much as possible

    • Use broadcast variables for small lookup tables

    • Cache intermediate results to avoid recomputation

    • Optimize transformations and actions for better performance

  • Answered by AI
    Add your answer
  • Q3. Null handling in spark
  • Ans. 

    Null handling in Spark involves handling missing or null values in data processing.

    • Use functions like coalesce, na.fill, na.drop to handle null values

    • Consider using when and otherwise functions for conditional null handling

    • Be cautious of potential null pointer exceptions when working with null values

  • Answered by AI
    Add your answer
  • Q4. Operators in airflow
  • Ans. 

    Airflow operators are used to define the tasks to be executed in a workflow.

    • Operators are classes that define the logic to execute a task in Airflow.

    • There are various types of operators such as BashOperator, PythonOperator, and more.

    • Operators can be customized to suit specific task requirements.

    • Operators can be chained together to create complex workflows.

    • Example: BashOperator executes a bash command, PythonOperator ru...

  • Answered by AI
    Add your answer
  • Q5. Sql coding for average rolling , lead lag
  • Ans. 

    SQL coding for calculating average rolling, lead, and lag functions.

    • Use window functions like ROWS BETWEEN and ORDER BY for calculating rolling averages.

    • Use LEAD and LAG functions to access data from previous or next rows.

    • Example: SELECT col1, AVG(col2) OVER (ORDER BY col1 ROWS BETWEEN 3 PRECEDING AND CURRENT ROW) AS rolling_avg FROM table_name;

  • Answered by AI
    Add your answer
  • Q6. Mysql to gcs ,how to move 10 tables at a time?
  • Ans. 

    Use Apache Sqoop to move 10 tables from MySQL to Google Cloud Storage.

    • Use Apache Sqoop to import data from MySQL to HDFS

    • Use Google Cloud Storage connector for Hadoop to move data from HDFS to GCS

    • Create a script to automate the process for all 10 tables

  • Answered by AI
    Add your answer
  • Q7. Explode json data
  • Ans. 

    Exploding JSON data in PySpark allows you to transform nested structures into flat tables for easier analysis.

    • Use the `explode` function to flatten arrays in JSON data.

    • Example: df.select(explode(df.json_column)).show() to display exploded rows.

    • For nested JSON, combine `explode` with `selectExpr` to access deeper levels.

    • Example: df.selectExpr('explode(nested_array) as exploded').show() for nested arrays.

  • Answered by AI
    Add your answer
  • Q8. Error logs
  • Add your answer

Interview Preparation Tips

Interview preparation tips for other job seekers - prepare everything in your resume
Anonymous

Software Engineer2 Interview Questions & Answers

user image gopinath m

posted on 18 Jul 2025

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview in Jan 2025, where I was asked the following questions.

  • Q1. About dotnet development
  • Add your answer
  • Q2. About frontend development
  • Add your answer
  • Q3. About sql development
  • Add your answer
Anonymous

Test Lead Interview Questions & Answers

user image Anonymous

posted on 11 Feb 2025

Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
More than 8 weeks
Result
Selected Selected

I appeared for an interview in Jan 2025.

Round 1 - Technical 

(1 Question)

  • Q1. Technical questions on Mainframes and TOSCA
  • Add your answer
Round 2 - Technical 

(1 Question)

  • Q1. Client round with technical questions on mainframes and tosca
  • Add your answer
Round 3 - HR 

(1 Question)

  • Q1. Till date they have not enrolled me even after confirming and doing my documentation
  • Add your answer
Round 4 - HR 

(1 Question)

  • Q1. Documentation round which is still going on and its been 2 months
  • Add your answer
Anonymous

Angular Developer Interview Questions & Answers

user image Anonymous

posted on 18 Mar 2025

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I appeared for an interview in Feb 2025, where I was asked the following questions.

  • Q1. What strategies can be employed to enhance the performance of an Angular application?
  • Ans. 

    Enhancing Angular app performance involves optimization techniques like lazy loading, change detection strategies, and efficient data handling.

    • Use Lazy Loading: Load feature modules only when needed to reduce initial load time. Example: Implementing lazy loading in the routing module.

    • Optimize Change Detection: Use OnPush strategy to limit checks to only when inputs change. Example: Using ChangeDetectionStrategy.OnPush ...

  • Answered by AI
    Add your answer
  • Q2. How do you handle data binding in Angular?
  • Ans. 

    Data binding in Angular connects component data to the template, enabling dynamic updates and interaction.

    • 1. **Interpolation**: Use double curly braces to bind component properties to the template. Example: `{{ title }}`.

    • 2. **Property Binding**: Bind DOM properties to component properties using square brackets. Example: `<img [src]='imageUrl'>`.

    • 3. **Event Binding**: Use parentheses to listen to events and call co...

  • Answered by AI
    Add your answer
  • Q3. What are the lifecycle events in Angular?
  • Ans. 

    Angular lifecycle events manage component states from creation to destruction, enabling developers to hook into key moments.

    • ngOnInit: Called once after the first ngOnChanges. Ideal for initialization logic. Example: Fetching data from a service.

    • ngOnChanges: Invoked before ngOnInit and whenever one or more data-bound input properties change. Example: Reacting to input changes.

    • ngDoCheck: Called during every change detect...

  • Answered by AI
    Add your answer
  • Q4. What are the default filters in Angular?
  • Ans. 

    Angular provides built-in filters for formatting data in templates, enhancing user experience and readability.

    • Currency Filter: Formats a number as currency. Example: {{ amount | currency:'USD':true }}

    • Date Filter: Formats a date object. Example: {{ today | date:'fullDate' }}

    • Decimal Filter: Formats a number as a decimal. Example: {{ pi | number:2 }}

    • Json Filter: Converts an object into a JSON string. Example: {{ object | ...

  • Answered by AI
    Add your answer
  • Q5. How can events be handled in Angular?
  • Ans. 

    Angular handles events using event binding, directives, and services for user interactions and component communication.

    • Event Binding: Use parentheses to bind events in templates, e.g., <button (click)='onClick()'>Click Me</button>.

    • Event Object: Access event properties by passing $event, e.g., <input (input)='onInput($event)'>.

    • Custom Events: Use EventEmitter to create and emit custom events from child ...

  • Answered by AI
    Add your answer
  • Q6. How can security and vulnerabilities be managed in Angular applications?
  • Ans. 

    Manage security in Angular by using built-in features, best practices, and regular updates to mitigate vulnerabilities.

    • Use Angular's built-in security features like DomSanitizer to prevent XSS attacks.

    • Implement Content Security Policy (CSP) to restrict resources that can be loaded.

    • Regularly update Angular and its dependencies to patch known vulnerabilities.

    • Validate and sanitize user inputs to prevent injection attacks.

    • ...

  • Answered by AI
    Add your answer
  • Q7. What are some best practices to follow while coding in Angular?
  • Ans. 

    Follow best practices in Angular to enhance code quality, maintainability, and performance.

    • Use Angular CLI for project setup and management to ensure consistency.

    • Organize code into modules for better separation of concerns.

    • Implement lazy loading for feature modules to improve application performance.

    • Utilize services for data management and business logic, keeping components lean.

    • Follow the Angular style guide for namin...

  • Answered by AI
    Add your answer
  • Q8. What is dependency injection in Angular?
  • Ans. 

    Dependency injection in Angular is a design pattern that allows a class to receive its dependencies from external sources rather than creating them itself.

    • Promotes code reusability and modularity by decoupling components.

    • Angular's injector is responsible for creating and managing dependencies.

    • Services can be injected into components, directives, and other services.

    • Example: A logging service can be injected into multipl...

  • Answered by AI
    Add your answer
  • Q9. What is the difference between ngShow and ngIf in AngularJS?
  • Ans. 

    ngShow toggles visibility with CSS, while ngIf adds/removes elements from the DOM based on a condition.

    • ngShow: Uses CSS display property to show/hide elements without removing them from the DOM.

    • Example: <div ng-show='isVisible'>Content</div> - Content remains in DOM but hidden if isVisible is false.

    • ngIf: Conditionally includes or excludes elements from the DOM based on the expression's truthiness.

    • Example: &...

  • Answered by AI
    Add your answer
  • Q10. What is the difference between call, apply, and bind in JavaScript?
  • Ans. 

    call, apply, and bind are methods to set the context of 'this' in JavaScript functions.

    • call: Invokes a function with a specified 'this' value and arguments provided individually. Example: func.call(obj, arg1, arg2);

    • apply: Similar to call, but arguments are provided as an array. Example: func.apply(obj, [arg1, arg2]);

    • bind: Returns a new function with a specified 'this' value, allowing for later invocation. Example: cons...

  • Answered by AI
    Add your answer
  • Q11. What is the difference between map, filter, and reduce functions?
  • Ans. 

    Map, filter, and reduce are array methods in JavaScript for transforming and processing data.

    • Map: Creates a new array by applying a function to each element. Example: [1, 2, 3].map(x => x * 2) results in [2, 4, 6].

    • Filter: Creates a new array with elements that pass a test. Example: [1, 2, 3].filter(x => x > 1) results in [2, 3].

    • Reduce: Reduces an array to a single value by applying a function. Example: [1, 2, ...

  • Answered by AI
    Add your answer
  • Q12. What is the difference between the "for," "for each," and "for of" constructs in programming?
  • Ans. 

    Different looping constructs in programming serve unique purposes for iterating over collections.

    • for: A traditional loop that iterates over a range of numbers. Example: for (let i = 0; i < 5; i++) { console.log(i); }

    • for each: A method to iterate over elements in an array or collection. Example: array.forEach(item => console.log(item));

    • for of: A modern loop for iterating over iterable objects like arrays, strings,...

  • Answered by AI
    Add your answer
  • Q13. What function can be written to check if a string is a palindrome?
  • Ans. 

    A palindrome is a string that reads the same forwards and backwards. Here's how to check for it in JavaScript.

    • Convert the string to lowercase to ensure case insensitivity. Example: 'Racecar' becomes 'racecar'.

    • Remove non-alphanumeric characters to focus only on letters and numbers. Example: 'A man, a plan, a canal: Panama!' becomes 'amanaplanacanalpanama'.

    • Reverse the cleaned string and compare it to the original cleaned...

  • Answered by AI
    Add your answer

Skills evaluated in this interview

Anonymous

Technical Dotnet Lead Interview Questions & Answers

user image Anonymous

posted on 15 Nov 2024

Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Coding Test 

10 min, simple question on programming skills

Round 2 - Technical 

(7 Questions)

  • Q1. Which Microservice communication pattern you have used?
  • Ans. 

    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

  • Answered by AI
    Add your answer
  • Q2. Which Application Insight tool you have used?
  • Ans. 

    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

  • Answered by AI
    Add your answer
  • Q3. Caching Technique is used in your project
  • Ans. 

    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

  • Answered by AI
    Add your answer
  • Q4. Api Gateways is used in MicrosServices
  • Ans. 

    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

  • Answered by AI
    Add your answer
  • Q5. Which single sign on technology/Mechanism is used in project
  • Ans. 

    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.

  • Answered by AI
    Add your answer
  • Q6. What is JWT token,why we use it
  • Ans. 

    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...

  • Answered by AI
    Add your answer
  • Q7. How to implement exception handling and filters in .net core web api
  • Ans. 

    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

  • Answered by AI
    Add your answer

Interview Preparation Tips

Interview preparation tips for other job seekers - brush up on every thing from basic to advance

Skills evaluated in this interview

Anonymous

Associate Software Engineer Interview Questions & Answers

user image Anonymous

posted on 9 Nov 2024

Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Oct 2024. There were 4 interview rounds.

Round 1 - Aptitude Test 

Online test -math & quants,verbal,puzzle,computer programming,logical

Round 2 - Group Activity 

(1 Question)

  • Q1. They select everyone from this & nothing serious
  • Add your answer
Round 3 - Technical 

(3 Questions)

  • Q1. Any program which you know.
  • Ans. 

    One program I know is a simple calculator program written in Python.

    • The program takes user input for two numbers and an operator (+, -, *, /).

    • It then performs the operation and displays the result.

    • Example: input 5, +, 3 -> output 8

  • Answered by AI
    Add your answer
  • Q2. About the projects in the resume
  • Add your answer
  • Q3. About the internship
  • Add your answer
Round 4 - HR 

(2 Questions)

  • Q1. Tell about yourself
  • Ans. 

    I'm a passionate software engineer with a strong foundation in coding, problem-solving, and a keen interest in developing innovative solutions.

    • Graduated with a degree in Computer Science, where I developed a solid understanding of algorithms and data structures.

    • Completed an internship at XYZ Company, where I contributed to a team project that improved application performance by 30%.

    • Proficient in languages like Java, Py...

  • Answered by AI
    Add your answer
  • Q2. Can you relocate yourself(your answer should be yes)
  • Ans. 

    Yes, I am open to relocating for the right opportunity to grow and contribute to the team effectively.

    • Relocation can provide exposure to new technologies and methodologies.

    • It allows for networking with professionals in different regions.

    • I am adaptable and enjoy exploring new environments, which can enhance my creativity.

    • For example, moving to a tech hub can offer more collaboration opportunities.

  • Answered by AI
    Add your answer

Interview Preparation Tips

Interview preparation tips for other job seekers - They are just taking the mass recuritments.Nothing to worry,if you clear 1st round & have good communication skills then 210% you will be selected.People who have 0 skills have been selected from our college.
Anonymous
More about working at Mphasis
  • HQ - Bangalore/Bengaluru, Karnataka, India
  • IT Services & Consulting
  • 10k-50k Employees (India)
  • Public
  • Financial Services
  • Hardware & Networking
  • Insurance
  • Emerging Technologies

Mphasis Interview FAQs

How many rounds are there in Mphasis interview?
Mphasis interview process usually has 2-3 rounds. The most common rounds in the Mphasis interview process are Technical, HR and Resume Shortlist.
How to prepare for Mphasis interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Mphasis. The most common topics and skills that interviewers at Mphasis expect are Java, Javascript, SQL, Spring Boot and Microservices.
What are the top questions asked in Mphasis interview?

Some of the top questions asked at the Mphasis interview -

  1. 1. All types of database commands- DDL, DML, DCL, TCL 2. Write a java code to r...read more
  2. 1. What are the commands used for maven build 2. What are the different stages ...read more
  3. interviewer gives you a particular situation of training about such a trainee ...read more
What are the most common questions asked in Mphasis HR round?

The most common HR questions asked in Mphasis interview are -

  1. What are your strengths and weakness...read more
  2. Where do you see yourself in 5 yea...read more
  3. What are your salary expectatio...read more
How long is the Mphasis interview process?

The duration of Mphasis interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Mphasis Interviews By Designations

  • Mphasis Associate Software Engineer Interview Questions
  • Mphasis Senior Software Engineer Interview Questions
  • Mphasis Software Engineer Interview Questions
  • Mphasis Module Lead Interview Questions
  • Mphasis Transaction Processing Officer Interview Questions
  • Mphasis Software Developer Interview Questions
  • Mphasis Delivery Module Lead Interview Questions
  • Mphasis Automation Test Engineer Interview Questions
  • Show more
  • Mphasis Senior Test Engineer Interview Questions
  • Mphasis Project Lead Interview Questions

Interview Questions for Popular Designations

  • Associate Software Engineer Interview Questions
  • Senior Software Engineer Interview Questions
  • Software Engineer Interview Questions
  • Module Lead Interview Questions
  • Transaction Processing Officer Interview Questions
  • Software Developer Interview Questions
  • Delivery Module Lead Interview Questions
  • Automation Test Engineer Interview Questions
  • Show more
  • Senior Test Engineer Interview Questions
  • Project Lead Interview Questions

Overall Interview Experience Rating

4/5

based on 733 interview experiences

Difficulty level

Easy 26%
Moderate 68%
Hard 5%

Duration

Less than 2 weeks 75%
2-4 weeks 17%
4-6 weeks 4%
6-8 weeks 2%
More than 8 weeks 2%
View more

Explore Interview Questions and Answers for Top Skills at Mphasis

Java Interview Questions & Answers
250 Questions
Software Development Interview Questions & Answers
250 Questions
Web Development Interview Questions & Answers
250 Questions
Operating Systems Interview Questions & Answers
250 Questions

Interview Questions from Similar Companies

LTIMindtree
LTIMindtree Interview Questions
3.7
 • 3k Interviews
DXC Technology
DXC Technology Interview Questions
3.6
 • 842 Interviews
EXL Service
EXL Service Interview Questions
3.7
 • 804 Interviews
Nagarro
Nagarro Interview Questions
4.0
 • 793 Interviews
Hexaware Technologies
Hexaware Technologies Interview Questions
3.5
 • 760 Interviews
Optum Global Solutions
Optum Global Solutions Interview Questions
4.0
 • 681 Interviews
NTT Data
NTT Data Interview Questions
3.8
 • 662 Interviews
 Publicis Sapient
Publicis Sapient Interview Questions
3.5
 • 645 Interviews
Persistent Systems
Persistent Systems Interview Questions
3.6
 • 643 Interviews
GlobalLogic
GlobalLogic Interview Questions
3.6
 • 629 Interviews
View all

Mphasis Reviews and Ratings

based on 9.2k reviews

3.3/5

Rating in categories

3.2

Skill development

3.5

Work-life balance

2.8

Salary

3.4

Job security

3.2

Company culture

2.5

Promotions

3.1

Work satisfaction

Explore 9.2k Reviews and Ratings
Jobs at Mphasis
Mphasis
Revenue Assurance Manager

Bangalore / Bengaluru

7-12 Yrs

Not Disclosed

Mphasis
Mphasis is hiring For Collateral Management / Reference Data

Bangalore / Bengaluru

1-3 Yrs

Not Disclosed

Mphasis
SRE (Python)

Bangalore / Bengaluru

5-10 Yrs

₹ 0.3-40 LPA

Explore more jobs
Mphasis Salaries in India
Software Engineer
6.8k salaries
unlock blur

₹4 L/yr - ₹8.5 L/yr

Senior Software Engineer
6k salaries
unlock blur

₹6.6 L/yr - ₹20 L/yr

Associate Software Engineer
4.9k salaries
unlock blur

₹2 L/yr - ₹5.6 L/yr

Module Lead
2.5k salaries
unlock blur

₹15.8 L/yr - ₹27 L/yr

Transaction Processing Officer
2.3k salaries
unlock blur

₹1.4 L/yr - ₹4.7 L/yr

Explore more salaries
Compare Mphasis with
Cognizant

Cognizant

3.7
Compare
Wipro

Wipro

3.7
Compare
Accenture

Accenture

3.7
Compare
TCS

TCS

3.6
Compare
Popular Calculators
Are you paid fairly?
Monthly In-hand Salary Calculator
Gratuity Calculator
HRA Calculator
Salary Hike Calculator
  • Home >
  • Interviews >
  • Mphasis Interview Questions
write
Share an Interview
Stay ahead in your career. Get AmbitionBox app
Awards Banner

Trusted by over 1.5 Crore job seekers to find their right fit company

80 Lakh+

Reviews

4 Crore+

Salaries

10 Lakh+

Interviews

1.5 Crore+

Users

Contribute
Search

Interview Questions

  • Reviews
  • Salaries
  • Interview Questions
  • About Company
  • Benefits
  • Jobs
  • Office Photos
  • Community
Users/Jobseekers
  • Companies
  • Reviews
  • Salaries
  • Jobs
  • Interviews
  • Salary Calculator
  • Practice Test
  • Compare Companies
Employers
  • Create a new company
  • Update company information
  • Respond to reviews
  • Invite employees to review
  • AmbitionBox Offering for Employers
  • AmbitionBox Employers Brochure
AmbitionBox Awards
  • ABECA 2025 winners awaited tag
  • Participate in ABECA 2026
  • Invite employees to rate
AmbitionBox
  • About Us
  • Our Team
  • Email Us
  • Blog
  • FAQ
  • Credits
  • Give Feedback
Terms & Policies
  • Privacy
  • Grievances
  • Terms of Use
  • Summons/Notices
  • Community Guidelines
Get AmbitionBox app

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

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter