Upload Button Icon Add office photos
Engaged Employer

i

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

Tech Mahindra Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Tech Mahindra Senior Software Engineer 2 Interview Questions and Answers

Updated 8 Jan 2025

Tech Mahindra Senior Software Engineer 2 Interview Experiences

2 interviews found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Not Selected

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

Round 1 - Coding Test 

Coding questions on js

Round 2 - HR 

(1 Question)

  • Q1. Basic questions
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-

I applied via Campus Placement

Round 1 - Technical 

(2 Questions)

  • Q1. What is DNS in linux environment
  • Ans. 

    DNS in Linux environment is a system that translates domain names to IP addresses.

    • DNS stands for Domain Name System

    • It is responsible for translating human-readable domain names (like google.com) into IP addresses (like 172.217.7.238)

    • DNS servers store DNS records which contain information about domain names and their corresponding IP addresses

    • Linux systems use DNS to resolve domain names to IP addresses when connecting

  • Answered by AI
  • Q2. What is apipa address in windows server
  • Ans. 

    APIPA address in Windows Server is a self-assigned IP address when DHCP server is not available.

    • APIPA stands for Automatic Private IP Addressing

    • It is a feature in Windows that automatically assigns an IP address in the range of 169.254.0.1 to 169.254.255.254 when a DHCP server is not available

    • APIPA is used to ensure that a device can still communicate on a network even if a DHCP server is not present

  • Answered by AI

Skills evaluated in this interview

Senior Software Engineer 2 Interview Questions Asked at Other Companies

asked in Synechron
Q1. What microservices patterns are you aware ? let's assume that the ... read more
Q2. Draw a system diagram for ecommers system to place an order and g ... read more
asked in Synechron
Q3. What is the internal implementation of hashmap? Let's assume that ... read more
Q4. what is the need for @Service annotation?
Q5. Internal working of Node.js and how node processes asynchronous r ... read more

Interview questions from similar companies

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

I was interviewed in Nov 2024.

Round 1 - Coding Test 

Berribot test with AI by asking questions on various application level and providing a code snippet to find the longest common prefix in a string array.

Round 2 - Technical 

(15 Questions)

  • Q1. Introduction on self
  • Q2. What are the key features of Java 8 that facilitate coding with streams?
  • Ans. 

    Java 8 features like lambda expressions and functional interfaces make coding with streams easier and more efficient.

    • Lambda expressions allow for concise and readable code when working with streams.

    • Functional interfaces like Predicate, Function, and Consumer can be used with streams to perform operations on elements.

    • Stream API provides methods like map, filter, and reduce for processing collections of data in a declara...

  • Answered by AI
  • Q3. What is the purpose of Optional in Java 8, and which methods are commonly used with it?
  • Ans. 

    Optional in Java 8 is used to represent a value that may or may not be present, reducing the chances of NullPointerException.

    • Optional is used to avoid NullPointerException by explicitly stating whether a value is present or not.

    • Commonly used methods with Optional include isPresent(), get(), orElse(), orElseGet(), and map().

    • Example: Optional<String> optionalString = Optional.ofNullable("Hello");

  • Answered by AI
  • Q4. What is multiple inheritance, and how is it achieved?
  • Ans. 

    Multiple inheritance is a feature in object-oriented programming where a class can inherit attributes and methods from more than one parent class.

    • Allows a class to inherit from multiple parent classes, combining their attributes and methods

    • Can lead to the diamond problem where ambiguity arises if two parent classes have a method with the same name

    • Achieved in languages like C++ using virtual inheritance or interfaces in

  • Answered by AI
  • Q5. What are the steps to write an immutable class?
  • Ans. 

    Steps to write an immutable class

    • Make the class final so it cannot be extended

    • Make all fields private and final

    • Do not provide setter methods for the fields

    • Ensure that any mutable objects within the class are also immutable

    • If a mutable object must be returned, make a deep copy before returning it

  • Answered by AI
  • Q6. Design patterns :Singleton and factory
  • Q7. What are the different types of dependency injection?
  • Ans. 

    Types of dependency injection include constructor injection, setter injection, and interface injection.

    • Constructor injection: Dependencies are provided through a class's constructor.

    • Setter injection: Dependencies are provided through setter methods.

    • Interface injection: Dependencies are provided through an interface method.

  • Answered by AI
  • Q8. @primary vs @qualifier
  • Ans. 

    In Spring framework, @primary is used to specify the primary bean to be autowired, while @qualifier is used to specify a specific bean to be autowired.

    • Use @Primary when there are multiple beans of the same type and you want to specify the primary one to be autowired.

    • Use @Qualifier when you want to specify a specific bean to be autowired by its name.

    • Example: @Primary annotation can be used on a bean definition to mark i...

  • Answered by AI
  • Q9. What is transaction management in Spring Boot applications?
  • Ans. 

    Transaction management in Spring Boot ensures data integrity by managing database transactions.

    • Spring Boot uses @Transactional annotation to manage transactions

    • It ensures that all operations within a transaction are completed successfully or rolled back if an error occurs

    • Transactions can be managed programmatically using TransactionTemplate

    • Supports different transaction isolation levels like READ_COMMITTED, REPEATABLE_

  • Answered by AI
  • Q10. What are the different isolation levels in transactions and how do propagation types work?
  • Ans. 

    Isolation levels in transactions determine the degree to which transactions are isolated from each other. Propagation types define how transactions are propagated between different components.

    • Isolation levels include READ UNCOMMITTED, READ COMMITTED, REPEATABLE READ, and SERIALIZABLE.

    • Propagation types include REQUIRED, REQUIRES_NEW, SUPPORTS, MANDATORY, and NEVER.

    • Isolation levels control the visibility of changes made ...

  • Answered by AI
  • Q11. What are the different design patterns used in microservice architecture?
  • Ans. 

    Design patterns in microservice architecture help in solving common design problems and improving scalability, maintainability, and flexibility.

    • Service Registry pattern - used for service discovery and registration

    • Circuit Breaker pattern - used for fault tolerance and resilience

    • API Gateway pattern - used for routing and load balancing

    • Saga pattern - used for managing distributed transactions

    • Event Sourcing pattern - used...

  • Answered by AI
  • Q12. How does inter-service communication work in microservices?
  • Ans. 

    Inter-service communication in microservices involves using protocols like HTTP, gRPC, or messaging queues.

    • Microservices communicate with each other through APIs using protocols like HTTP or gRPC.

    • Message queues like RabbitMQ or Kafka can be used for asynchronous communication between services.

    • Service discovery tools like Consul or Eureka help services locate each other dynamically.

    • API gateways can be used to manage and...

  • Answered by AI
  • Q13. How does fault tolerance work in microservices?
  • Ans. 

    Fault tolerance in microservices ensures system reliability by handling failures gracefully.

    • Microservices architecture breaks down applications into smaller, independent services.

    • Each microservice is designed to be resilient to failures and can continue to operate even if one service fails.

    • Fault tolerance is achieved through redundancy, monitoring, and graceful degradation.

    • Examples of fault tolerance mechanisms include...

  • Answered by AI
  • Q14. How does Apache Kafka work?
  • Ans. 

    Apache Kafka is a distributed streaming platform that allows for the publishing and subscribing to streams of records.

    • Apache Kafka is designed to be highly scalable and fault-tolerant.

    • It uses a distributed commit log to store messages.

    • Producers publish messages to topics, and consumers subscribe to topics to receive messages.

    • Kafka can be used for real-time stream processing, data pipelines, and event sourcing.

    • It provid...

  • Answered by AI
  • Q15. What is the difference between RestTemplate and Feign Client?
  • Ans. 

    RestTemplate is a synchronous client for making HTTP requests, while Feign Client is a declarative HTTP client that simplifies making API calls.

    • RestTemplate is part of the Spring framework and requires manual configuration for each request.

    • Feign Client is a declarative client that uses annotations to define API endpoints and parameters.

    • RestTemplate is synchronous, blocking the calling thread until the response is recei...

  • Answered by AI
Round 3 - Behavioral 

(1 Question)

  • Q1. General managerial questions focusing on projects worked as well as testing and deployment strategies used
Round 4 - Behavioral 

(1 Question)

  • Q1. General managerial questions
Round 5 - HR 

(1 Question)

  • Q1. Normal HR Questions like why leaving job ,notice period ,expectations
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. Can you provide an explanation of your project?
  • Ans. 

    Developed a web-based project management tool for tracking tasks and deadlines.

    • Used React.js for front-end development

    • Implemented RESTful APIs using Node.js and Express

    • Utilized MongoDB for database management

    • Incorporated authentication and authorization features for user security

  • Answered by AI
  • Q2. What is microservice architecture?
  • Ans. 

    Microservice architecture is an architectural style that structures an application as a collection of loosely coupled services.

    • Each service is self-contained and can be developed, deployed, and scaled independently.

    • Services communicate with each other over lightweight protocols like HTTP or messaging queues.

    • Microservices allow for better scalability, flexibility, and resilience compared to monolithic architectures.

    • Exam...

  • Answered by AI
  • Q3. Collection framework and Spring annotation and explanation

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare for questions based on Backend Spring and Spring Boot Microservices.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I was interviewed in Dec 2024.

Round 1 - Technical 

(2 Questions)

  • Q1. Dsa questions related to string array and hasmap
  • Q2. Tree graphs linked list

Interview Preparation Tips

Interview preparation tips for other job seekers - Dsa brush up well and coding questions
Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Walk-in and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - One-on-one 

(2 Questions)

  • Q1. How the login components works in Angular
  • Ans. 

    Login components in Angular handle user authentication and authorization.

    • Use Angular's built-in forms module to create login form

    • Implement authentication service to handle login logic

    • Use Angular router to navigate to different pages based on login status

  • Answered by AI
  • Q2. What is abstract
  • Ans. 

    Abstract is a concept or idea that is not concrete or tangible.

    • Abstract classes in programming are classes that cannot be instantiated and are meant to be inherited by other classes.

    • Abstract data types are data types defined by their behavior and operations, rather than their implementation.

    • Abstract art is art that does not attempt to represent an accurate depiction of visual reality.

  • Answered by AI

Skills evaluated in this interview

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

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

Round 1 - Technical 

(2 Questions)

  • Q1. Java8,hashmap internal working,Runnable vs callable,linked list internal working,map vs flat map ,Comparable vs comparator
  • Q2. Concurrent hashmap internal working spring boot exceptions handling
Round 2 - Technical 

(2 Questions)

  • Q1. Custom key as hahsmpa
  • Q2. Java8 interview questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Ve prepared with java8 microservices spring boot
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Referral and was interviewed before Jan 2024. There were 2 interview rounds.

Round 1 - One-on-one 

(2 Questions)

  • Q1. Java and Design
  • Q2. Rest API
Round 2 - One-on-one 

(2 Questions)

  • Q1. Java 11 and API Question
  • Q2. Integration and Unit Test
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Sep 2023. There were 2 interview rounds.

Round 1 - Technical 

(4 Questions)

  • Q1. The questions were on oops and java8.
  • Q2. Stream api coding questions
  • Q3. Functional interface questions
  • Q4. Trivia questions on oops concept
Round 2 - Technical 

(1 Question)

  • Q1. The interview has a few coding questions and few technical questions on java,hibernate and spring

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare java8 well
Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
4-6 weeks
Result
Selected Selected

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

Round 1 - Coding Test 

Question regarding dot net, data structures, Web API

Round 2 - Aptitude Test 

Team work , How to solve a particular problem

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well on the tech stack and be positive

Tech Mahindra Interview FAQs

How many rounds are there in Tech Mahindra Senior Software Engineer 2 interview?
Tech Mahindra interview process usually has 1-2 rounds. The most common rounds in the Tech Mahindra interview process are Technical, Coding Test and HR.
What are the top questions asked in Tech Mahindra Senior Software Engineer 2 interview?

Some of the top questions asked at the Tech Mahindra Senior Software Engineer 2 interview -

  1. what is DNS in linux environm...read more
  2. what is apipa address in windows ser...read more
  3. Basic questi...read more

Tell us how to improve this page.

Tech Mahindra Senior Software Engineer 2 Interview Process

based on 2 interviews

Interview experience

4.5
  
Good
View more
Tech Mahindra Senior Software Engineer 2 Salary
based on 31 salaries
₹9 L/yr - ₹23.9 L/yr
42% less than the average Senior Software Engineer 2 Salary in India
View more details

Tech Mahindra Senior Software Engineer 2 Reviews and Ratings

based on 4 reviews

1.7/5

Rating in categories

3.5

Skill development

2.3

Work-life balance

2.4

Salary

1.7

Job security

2.0

Company culture

2.4

Promotions

2.8

Work satisfaction

Explore 4 Reviews and Ratings
Software Engineer
26.4k salaries
unlock blur

₹2 L/yr - ₹9.2 L/yr

Senior Software Engineer
21.4k salaries
unlock blur

₹5.5 L/yr - ₹22.3 L/yr

Technical Lead
11.7k salaries
unlock blur

₹9.5 L/yr - ₹38 L/yr

Associate Software Engineer
5.4k salaries
unlock blur

₹1.8 L/yr - ₹8.2 L/yr

Team Lead
5k salaries
unlock blur

₹5.2 L/yr - ₹17 L/yr

Explore more salaries
Compare Tech Mahindra with

Infosys

3.6
Compare

Cognizant

3.8
Compare

Accenture

3.8
Compare

Wipro

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