Upload Button Icon Add office photos

Filter interviews by

Mphasis Pyspark Developer Interview Questions and Answers

Updated 28 Jan 2025

Mphasis Pyspark Developer Interview Experiences

1 interview found

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

I was interviewed in Dec 2024.

Round 1 - Technical 

(8 Questions)

  • Q1. Pyspark architecture
  • Q2. Optimisation in pyspark
  • Q3. Null handling in spark
  • Q4. Operators in airflow
  • Q5. Sql coding for average rolling , lead lag
  • Q6. Mysql to gcs ,how to move 10 tables at a time?
  • Q7. Explode json data
  • Q8. Error logs

Interview Preparation Tips

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

Interview questions from similar companies

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

I was interviewed in Sep 2024.

Round 1 - Coding Test 

Hadoop + Spark MCQ online test

Round 2 - Technical 

(2 Questions)

  • Q1. Spark Architecture
  • Q2. Transformations vs Actions
  • Ans. 

    Transformations are lazy operations that create new RDDs, while Actions are operations that trigger computation and return results.

    • Transformations are operations like map, filter, and reduceByKey that create a new RDD from an existing one.

    • Actions are operations like count, collect, and saveAsTextFile that trigger computation on an RDD and return results.

    • Transformations are lazy and are only executed when an action is c...

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

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

Round 1 - Coding Test 

Basic python coding, list, dict, generators etc

Round 2 - HR 

(1 Question)

  • Q1. Salary negotiation

Interview Preparation Tips

Topics to prepare for DXC Technology Pyspark Developer interview:
  • Python
  • Spark
  • RDD
  • SQL
Interview preparation tips for other job seekers - Code well
Interview experience
1
Bad
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected
Round 1 - Technical 

(1 Question)

  • Q1. React hooks, nodejs routing, metadata, aws deployment process, microservices, dom, event loop

Interview Preparation Tips

Interview preparation tips for other job seekers - Interview was for only 30 mins, the interviewer was also not aware that interview is 30 mins only. he said to answer the questions fast, asked questions from front end, backend, database, deployment everything in 30 mins. The interviewer did not seem interested in hearing the answers, he was moving the next question event before i finished speaking. Very bad experience. I answer all the questions well, still received rejection mail with 30 seconds of interview got over. felt like he had pre-decided to reject and was not interested in the interview. The HR was also very rude and did got give detailed feedback when questioned on the reason for rejection.
Interview experience
3
Average
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Referral and was interviewed in Dec 2024. There were 2 interview rounds.

Round 1 - Technical 

(3 Questions)

  • Q1. Run time polymorphism code
  • Q2. Linked list code
  • Q3. Deep copy shallow copy differences
  • Ans. 

    Deep copy creates a new copy of an object with its own unique memory space, while shallow copy creates a new object that references the same memory locations as the original object.

    • Deep copy duplicates all nested objects, while shallow copy only duplicates the references to nested objects.

    • Deep copy ensures that changes to the copied object do not affect the original object, while shallow copy may lead to unintended sid...

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. More deep questions about polymorphism code
  • Q2. Code for interchange of strings without strcpy
  • Ans. 

    Use a loop to swap characters of two strings without using strcpy function.

    • Create two arrays of characters to store the strings

    • Use a loop to iterate through each character of the strings and swap them

    • Ensure to handle cases where strings have different lengths

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - please prepare oops concept and data structure well because its easy for first round but for second round its too difficult - the interviewer was so irritating and asked very stupid wuestions
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Walk-in and was interviewed in Nov 2024. There were 3 interview rounds.

Round 1 - Coding Test 

It's walkin, so they conducted 1 technical mcqs round.

Round 2 - Technical 

(11 Questions)

  • Q1. Multi threading
  • Q2. Internal working of hashmap
  • Ans. 

    HashMap in Java is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values based on keys.

    • HashMap uses an array of buckets to store key-value pairs.

    • Keys are hashed to determine the index in the array where the key-value pair will be stored.

    • In case of hash collisions, a linked list or a balanced tree is used to store multiple key-value pairs in the same bucket.

    • HashMap allows null keys...

  • Answered by AI
  • Q3. Spring batch related
  • Q4. Non repeating characters in a array
  • Ans. 

    Function to find and return all non-repeating characters in an array of strings.

    • Iterate through the array and count the occurrences of each character using a HashMap.

    • Then iterate through the array again and check if the count of each character is 1, if so add it to the result list.

    • Return the list of non-repeating characters.

  • Answered by AI
  • Q5. 3rd highest salary
  • Ans. 

    To find the 3rd highest salary in a database, we can use a SQL query with the 'LIMIT' and 'OFFSET' keywords.

    • Use a SQL query with 'ORDER BY salary DESC' to sort the salaries in descending order.

    • Use 'LIMIT 1 OFFSET 2' to skip the first two highest salaries and retrieve the third highest salary.

    • Example: SELECT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 2;

  • Answered by AI
  • Q6. Qualifier vs primary
  • Ans. 

    A qualifier in Java is used to specify additional information about a primary, which is the main data type or variable.

    • A primary in Java is the main data type or variable, while a qualifier provides additional information about the primary.

    • Qualifiers can be used to modify the behavior or characteristics of a primary.

    • For example, in Java, 'final' is a qualifier that can be used to make a variable constant.

  • Answered by AI
  • Q7. Controller vs restcontroller
  • Ans. 

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

    • Both @Controller and @RestController are used in Spring MVC to handle HTTP requests, but @RestController is specifically used for RESTful web services.

    • @Controller is used to create web pages, while @RestController is used to return data in JSON or XML format.

    • @RestController is a convenience annotati...

  • Answered by AI
  • Q8. Spring boot annotataions
  • Q9. Oops concepts with examples
  • Ans. 

    OOP concepts include inheritance, encapsulation, polymorphism, and abstraction.

    • Inheritance: Allows a class to inherit properties and behavior from another class. Example: class Dog extends Animal.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: private variables with public getter and setter methods.

    • Polymorphism: Ability for objects to be treated as instances of their paren...

  • Answered by AI
  • Q10. Spring batch configuration
  • Q11. They covered all java, spring and Microservices
Round 3 - Technical 

(4 Questions)

  • Q1. Microservices architecture
  • Q2. How do Microservices communicate
  • Ans. 

    Microservices communicate with each other through various communication protocols like HTTP, messaging queues, and gRPC.

    • Microservices can communicate over HTTP using RESTful APIs.

    • Messaging queues like RabbitMQ or Kafka can be used for asynchronous communication between microservices.

    • gRPC is a high-performance, open-source RPC framework that can be used for communication between microservices.

    • Service discovery mechanism...

  • Answered by AI
  • Q3. How to access the Microservice end point
  • Ans. 

    Microservice endpoints can be accessed using HTTP requests with the appropriate URL

    • Use HTTP methods like GET, POST, PUT, DELETE to interact with the microservice

    • Construct the URL with the base URL of the microservice and the specific endpoint path

    • Include any necessary headers or parameters in the request for authentication or data filtering

  • Answered by AI
  • Q4. Why we use microservices
  • Ans. 

    Microservices allow for modular, scalable, and flexible software development by breaking down applications into smaller, independent services.

    • Microservices enable easier maintenance and updates as each service can be developed, deployed, and scaled independently.

    • They improve fault isolation, as failures in one service do not necessarily affect the entire application.

    • Microservices promote agility and faster time-to-mark...

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Explain architecture of your project
  • Q2. Some questions on Java, Spring Boot and sql
Round 2 - Technical 

(2 Questions)

  • Q1. Project flow and some behavioural questions
  • Q2. Project contribution of yours
  • Ans. 

    Developed a web application for tracking employee attendance and performance

    • Implemented user authentication and authorization using Spring Security

    • Utilized Hibernate for database interaction and data persistence

    • Designed and developed RESTful APIs for frontend integration

    • Used AngularJS for frontend development to create interactive user interfaces

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Basic formalities before offer release

Interview Preparation Tips

Interview preparation tips for other job seekers - Understand your project properly and have your basic of programming very clear
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Company Website and was interviewed in Nov 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

A standard online test conducted through one of the testing platforms.

Round 2 - Technical 

(4 Questions)

  • Q1. Java 8 features
  • Q2. Rest API
  • Q3. Java 8 coding problem
  • Q4. Collections
Round 3 - Technical 

(1 Question)

  • Q1. It was based on my previous project
Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

I applied via Approached by Company and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - Technical 

(5 Questions)

  • Q1. Discussion about my previous project
  • Q2. Question on html, css, javascript & react
  • Q3. Explain about promises
  • Ans. 

    Promises are objects representing the eventual completion or failure of an asynchronous operation.

    • Promises are used to handle asynchronous operations in JavaScript.

    • They can be in one of three states: pending, fulfilled, or rejected.

    • Promises can be chained using .then() to handle success and .catch() to handle errors.

    • Example: const myPromise = new Promise((resolve, reject) => { ... });

  • Answered by AI
  • Q4. Use state, context api
  • Q5. Box modelling in css, css pre processors
  • Ans. 

    Box model in CSS refers to the way elements are rendered in a web page. CSS preprocessors like SASS or LESS help streamline CSS development.

    • Box model in CSS includes content, padding, border, and margin.

    • CSS preprocessors like SASS or LESS allow for variables, nesting, and mixins to be used in CSS.

    • Example: box-sizing: border-box; in CSS changes the box model to include padding and border in the element's total width and

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - I got a call that i have been selected to the final round, but the final round never did happend

Skills evaluated in this interview

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

I applied via Approached by Company and was interviewed in Jun 2024. There was 1 interview round.

Round 1 - Technical 

(6 Questions)

  • Q1. Can we call future method from batch class
  • Ans. 

    Yes, future methods can be called from a batch class in Salesforce.

    • Future methods can be called from batch classes to perform asynchronous processing.

    • This can be useful for offloading long-running tasks to future methods to avoid hitting governor limits.

    • Example: Calling a future method from a batch class to update records in Salesforce asynchronously.

  • Answered by AI
  • Q2. What's the use of @track decorator. Is it mandatory to explicitly use it? If yes, for which use case?
  • Ans. 

    The @track decorator in Salesforce is used to track changes to a property in a Lightning web component.

    • Used to make a property reactive and trigger re-renders when its value changes

    • Not mandatory but recommended for properties that need to be reactive

    • Use @track when you want changes to a property to be reflected in the UI

  • Answered by AI
  • Q3. When does APEX CPU Limit Exceeded error happens. What's the best practice to avoid getting this error?
  • Ans. 

    APEX CPU Limit Exceeded error happens when code consumes too much CPU time. Best practices include optimizing code, reducing loops, and using asynchronous processing.

    • Avoid using nested loops and optimize code for better performance

    • Use asynchronous processing like @future or Queueable to offload CPU intensive tasks

    • Limit the use of SOQL queries inside loops to reduce CPU consumption

  • Answered by AI
  • Q4. When does Mixed DML Exception occurs?
  • Ans. 

    Mixed DML Exception occurs when DML operations are performed on setup and non-setup objects in a single transaction.

    • Occurs when DML operations are performed on both setup and non-setup objects in a single transaction

    • Setup objects include User, Profile, PermissionSet, etc.

    • Non-setup objects include custom objects, standard objects like Account, Contact, etc.

  • Answered by AI
  • Q5. Debug the following code: var a=10; function abc() { console.log(a); var a=2; } abc();
  • Ans. 

    The code will output 'undefined' because variable 'a' is hoisted within the function.

    • Variable 'a' is hoisted to the top of the function scope, so when 'console.log(a)' is called, 'a' is undefined.

    • To fix this, move the declaration of 'var a=2;' above the 'console.log(a);' statement.

  • Answered by AI
  • Q6. Write a SOQL query to fetch the values of description field from the Account. Why does "the description field cannot be filtered in the query call"?
  • Ans. 

    SOQL query to fetch description field from Account and reason for inability to filter

    • SOQL query: SELECT Description FROM Account

    • Description field is not filterable because it is a long text field

    • Long text fields cannot be filtered in SOQL queries

  • Answered by AI

Skills evaluated in this interview

Mphasis Interview FAQs

How many rounds are there in Mphasis Pyspark Developer interview?
Mphasis interview process usually has 1 rounds. The most common rounds in the Mphasis interview process are Technical.
How to prepare for Mphasis Pyspark Developer 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 Ab Initio.

Tell us how to improve this page.

Mphasis Pyspark Developer Interview Process

based on 1 interview

Interview experience

4
  
Good
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.4k Interviews
Infosys Interview Questions
3.7
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
DXC Technology Interview Questions
3.7
 • 805 Interviews
Nagarro Interview Questions
4.0
 • 775 Interviews
View all
Software Engineer
6.3k salaries
unlock blur

₹2 L/yr - ₹11 L/yr

Senior Software Engineer
5.6k salaries
unlock blur

₹6 L/yr - ₹23 L/yr

Associate Software Engineer
4.6k salaries
unlock blur

₹2 L/yr - ₹7 L/yr

Module Lead
2.4k salaries
unlock blur

₹8.1 L/yr - ₹33 L/yr

Transaction Processing Officer
2.3k salaries
unlock blur

₹1.4 L/yr - ₹4.5 L/yr

Explore more salaries
Compare Mphasis with

Cognizant

3.8
Compare

Wipro

3.7
Compare

Accenture

3.9
Compare

TCS

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview