Upload Button Icon Add office photos

Target

Compare button icon Compare button icon Compare

Filter interviews by

Target Senior Engineer Interview Questions and Answers

Updated 1 Feb 2025

19 Interview questions

A Senior Engineer was asked 4mo ago
Q. What is the implementation of the factory design pattern?
Ans. 

Factory design pattern is a creational pattern that provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.

  • Factory method pattern defines an interface for creating objects, but lets subclasses decide which class to instantiate.

  • It promotes loose coupling by eliminating the need to bind application-specific classes into the code.

  • Example: A ...

A Senior Engineer was asked 4mo ago
Q. What is the role of API Gateway in microservices architecture?
Ans. 

API Gateway acts as a single entry point for all client requests in a microservices architecture.

  • API Gateway handles authentication, authorization, rate limiting, and routing of requests to appropriate microservices.

  • It helps in decoupling client applications from individual microservices, providing a more flexible and scalable architecture.

  • API Gateway can also perform tasks like request/response transformation, lo...

Senior Engineer Interview Questions Asked at Other Companies

Q1. What does the 'M' signify in M20, M25, and M30 grades of concrete ... read more
asked in Nagarro
Q2. Write a program that takes an integer N and an array of integers ... read more
asked in Tata Elxsi
Q3. What is Quality Assurance. Difference between Quality assurance a ... read more
Q4. Is it possible to work with multiple threads in core data? If so, ... read more
Q5. When would you perform a half or full engine overhaul?
A Senior Engineer was asked 4mo ago
Q. Write an SQL query to fetch data from two tables using joins.
Ans. 

SQL query to fetch data from two tables using joins

  • Use the JOIN keyword to combine rows from two tables based on a related column

  • Specify the columns to select from each table in the SELECT statement

  • Use the ON keyword to specify the join condition

A Senior Engineer was asked 4mo ago
Q. What is the CQRS pattern in microservices?
Ans. 

CQRS pattern in microservices separates read and write operations for improved scalability and performance.

  • CQRS stands for Command Query Responsibility Segregation

  • It separates the read and write operations into two different models

  • Write operations update the data store, while read operations query a separate data store

  • CQRS can improve performance and scalability by allowing each model to be optimized for its speci...

A Senior Engineer was asked 4mo ago
Q. What is the role of exception handling in programming, and how is the 'finally' block used in this context, as well as the process of throwing exceptions?
Ans. 

Exception handling is crucial in programming to handle errors and ensure proper execution. The 'finally' block is used to clean up resources, and throwing exceptions allows for error propagation.

  • Exception handling is used to manage errors and unexpected situations in a program.

  • The 'finally' block is used to execute code that should always run, regardless of whether an exception is thrown or not.

  • Throwing exceptions...

A Senior Engineer was asked 4mo ago
Q. How are distributed transactions handled in a microservice architecture?
Ans. 

Distributed transactions in microservices involve using compensating transactions and event-driven architecture.

  • Microservices typically use compensating transactions to maintain consistency across multiple services.

  • Event-driven architecture can help in coordinating distributed transactions by using events to trigger actions in different services.

  • Implementing distributed transactions in microservices requires caref...

A Senior Engineer was asked 4mo ago
Q. How does object comparison work with specific fields?
Ans. 

Object comparison with specific fields involves comparing values of selected fields between two objects.

  • Object comparison can be done by comparing the values of specific fields in two objects.

  • Fields can be selected based on unique identifiers or criteria for comparison.

  • Example: Comparing the 'name' field of two person objects to check if they are the same.

Are these interview questions helpful?
A Senior Engineer was asked 4mo ago
Q. Can you provide the code to reverse a string using recursion?
Ans. 

Code to reverse a string using recursion

  • Create a recursive function that takes a string as input

  • Base case: if the string is empty or has only one character, return the string

  • Recursive case: return the last character of the string concatenated with the result of calling the function on the substring excluding the last character

A Senior Engineer was asked 4mo ago
Q. What is your approach to designing a system capable of handling thousands of requests?
Ans. 

My approach involves using load balancing, caching, asynchronous processing, and horizontal scaling.

  • Implement load balancing to distribute requests evenly across multiple servers.

  • Utilize caching mechanisms to store frequently accessed data and reduce response times.

  • Use asynchronous processing for long-running tasks to free up resources for handling more requests.

  • Implement horizontal scaling by adding more servers ...

A Senior Engineer was asked 4mo ago
Q. What is indexing in a database, and what data structures are commonly used for indexing?
Ans. 

Indexing in a database is a technique to improve the speed of data retrieval by creating a data structure that allows for quick lookup.

  • Indexing involves creating a separate data structure that contains pointers to the actual data in the database.

  • Common data structures used for indexing include B-trees, hash tables, and binary search trees.

  • Indexes can be created on one or multiple columns in a database table to spe...

Target Senior Engineer Interview Experiences

11 interviews found

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

I appeared for an interview in Jan 2025.

Round 1 - Technical 

(6 Questions)

  • Q1. What is the role of exception handling in programming, and how is the 'finally' block used in this context, as well as the process of throwing exceptions?
  • Ans. 

    Exception handling is crucial in programming to handle errors and ensure proper execution. The 'finally' block is used to clean up resources, and throwing exceptions allows for error propagation.

    • Exception handling is used to manage errors and unexpected situations in a program.

    • The 'finally' block is used to execute code that should always run, regardless of whether an exception is thrown or not.

    • Throwing exceptions allo...

  • Answered by AI
  • Q2. What are the differences between SQL and NoSQL databases, and can you mention some NoSQL databases that you are familiar with?
  • Q3. What are the ACID properties implemented in your project, and can you provide a brief overview of the CAP Theorem?
  • Ans. 

    ACID properties ensure data integrity in transactions. CAP Theorem states that a distributed system can only guarantee two out of three: Consistency, Availability, Partition Tolerance.

    • ACID properties: Atomicity, Consistency, Isolation, Durability

    • Example: In a banking application, a transfer of funds should be atomic, consistent, isolated, and durable

    • CAP Theorem: Consistency, Availability, Partition Tolerance - a distri...

  • Answered by AI
  • Q4. Database disaster recovery?
  • Ans. 

    Database disaster recovery involves strategies to restore data and maintain operations after a failure or data loss.

    • Regular backups: Schedule daily or weekly backups to ensure data can be restored.

    • Redundancy: Use replication to maintain copies of the database in different locations.

    • Testing recovery plans: Regularly test disaster recovery plans to ensure they work effectively.

    • Use of cloud services: Leverage cloud-based ...

  • Answered by AI
  • Q5. What is the difference between Comparable and Comparator in Java? And how to Implement in Collections.
  • Ans. 

    Comparable is an interface used for natural ordering, while Comparator is used for custom ordering in Java Collections.

    • Comparable interface is used to define the natural ordering of objects. It is implemented by the class whose objects are to be sorted.

    • Comparator interface is used to define custom ordering of objects. It is implemented by a separate class.

    • To implement Comparable, the class needs to override the compare...

  • Answered by AI
  • Q6. Implementation of Generics in Java
  • Ans. 

    Generics in Java allow for creating classes, interfaces, and methods that operate on types parameterized at compile time.

    • Generics provide type safety by allowing compile-time type checking.

    • They enable code reusability and reduce the need for casting.

    • Example: List<String> list = new ArrayList<>();

  • Answered by AI
Round 2 - Technical 

(10 Questions)

  • Q1. Can you provide the code to reverse a string using recursion?
  • Ans. 

    Code to reverse a string using recursion

    • Create a recursive function that takes a string as input

    • Base case: if the string is empty or has only one character, return the string

    • Recursive case: return the last character of the string concatenated with the result of calling the function on the substring excluding the last character

  • Answered by AI
  • Q2. How does object comparison work with specific fields?
  • Ans. 

    Object comparison with specific fields involves comparing values of selected fields between two objects.

    • Object comparison can be done by comparing the values of specific fields in two objects.

    • Fields can be selected based on unique identifiers or criteria for comparison.

    • Example: Comparing the 'name' field of two person objects to check if they are the same.

  • Answered by AI
  • Q3. How does the distributed transactions being handled in a microservice?
  • Ans. 

    Distributed transactions in microservices involve using compensating transactions and event-driven architecture.

    • Microservices typically use compensating transactions to maintain consistency across multiple services.

    • Event-driven architecture can help in coordinating distributed transactions by using events to trigger actions in different services.

    • Implementing distributed transactions in microservices requires careful de...

  • Answered by AI
  • Q4. Aggregator Pattern in Microservice
  • Ans. 

    Aggregator pattern is used in microservices architecture to combine multiple service responses into a single response.

    • Aggregator pattern helps in reducing the number of client requests by combining multiple service responses.

    • It can be implemented using a separate service or within an existing service.

    • Example: A shopping website aggregating product information from different microservices like inventory, pricing, and re...

  • Answered by AI
  • Q5. What is the implementation of the factory design pattern?
  • Ans. 

    Factory design pattern is a creational pattern that provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.

    • Factory method pattern defines an interface for creating objects, but lets subclasses decide which class to instantiate.

    • It promotes loose coupling by eliminating the need to bind application-specific classes into the code.

    • Example: A car m...

  • Answered by AI
  • Q6. What is indexing in a database, and what data structures are commonly used for indexing?
  • Ans. 

    Indexing in a database is a technique to improve the speed of data retrieval by creating a data structure that allows for quick lookup.

    • Indexing involves creating a separate data structure that contains pointers to the actual data in the database.

    • Common data structures used for indexing include B-trees, hash tables, and binary search trees.

    • Indexes can be created on one or multiple columns in a database table to speed up...

  • Answered by AI
  • Q7. What is your approach to designing a system capable of handling thousands of requests?
  • Ans. 

    My approach involves using load balancing, caching, asynchronous processing, and horizontal scaling.

    • Implement load balancing to distribute requests evenly across multiple servers.

    • Utilize caching mechanisms to store frequently accessed data and reduce response times.

    • Use asynchronous processing for long-running tasks to free up resources for handling more requests.

    • Implement horizontal scaling by adding more servers to ha...

  • Answered by AI
  • Q8. What is the CQRS pattern in microservices?
  • Ans. 

    CQRS pattern in microservices separates read and write operations for improved scalability and performance.

    • CQRS stands for Command Query Responsibility Segregation

    • It separates the read and write operations into two different models

    • Write operations update the data store, while read operations query a separate data store

    • CQRS can improve performance and scalability by allowing each model to be optimized for its specific t...

  • Answered by AI
  • Q9. What is the role of API Gateway in microservices architecture?
  • Ans. 

    API Gateway acts as a single entry point for all client requests in a microservices architecture.

    • API Gateway handles authentication, authorization, rate limiting, and routing of requests to appropriate microservices.

    • It helps in decoupling client applications from individual microservices, providing a more flexible and scalable architecture.

    • API Gateway can also perform tasks like request/response transformation, logging...

  • Answered by AI
  • Q10. Write SQL query to fetch data from two tables using joins?
  • Ans. 

    SQL query to fetch data from two tables using joins

    • Use the JOIN keyword to combine rows from two tables based on a related column

    • Specify the columns to select from each table in the SELECT statement

    • Use the ON keyword to specify the join condition

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare a strong foundation in System Design, NoSQL, Microservices, and Core Java.

Senior Engineer Interview Questions & Answers

user image shubham kumar

posted on 27 Jun 2024

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

It was basically two leetcode Questions Mainly from array with some algorithm required to apply and other from LinkedList.

Round 2 - Highl Level Design 

(2 Questions)

  • Q1. First the discussion was mainly on Projects you have worked on for first 20 minutes.
  • Q2. Then was given to Design a chat application basically a High Level. Interviewer was friendly and prompt listener.
Round 3 - Behavioral 

(2 Questions)

  • Q1. Very Detailed Project Discussion and Scenario based Questions basically your achievements in detail.
  • Q2. Then some Implementation questions related to designing and Java based and Kafka based.
Round 4 - HR 

(1 Question)

  • Q1. CTC Discussion and Expectations plus Notice period and other documents.
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Java-based coding, streams and lambda, design patterns

Senior Engineer Interview Questions & Answers

user image Satyabrata Sahoo

posted on 26 Jul 2024

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

(3 Questions)

  • Q1. Design principles for Low Level Architecture
  • Ans. 

    Low level architecture design principles focus on optimizing performance, efficiency, and resource utilization.

    • Optimize for performance by minimizing latency and maximizing throughput

    • Efficiently utilize resources such as memory, CPU, and network bandwidth

    • Design for scalability and flexibility to accommodate future growth

    • Use modular and reusable components to promote maintainability and code reusability

    • Consider security...

  • Answered by AI
  • Q2. Mvcc architecture
  • Q3. Kafka Architecture

Skills evaluated in this interview

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

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

Round 1 - Technical 

(3 Questions)

  • Q1. Asked about resume and then some questions on Linkedlist, Stack
  • Q2. Java garbage collection
  • Q3. What is Bean in Spring
  • Ans. 

    A bean in Spring is a Java object that is instantiated, assembled, and managed by the Spring IoC container.

    • Beans are defined in the Spring configuration file using XML or annotations.

    • Beans are singleton by default but can be configured as prototype.

    • Beans can have dependencies injected by the container.

    • Example: @Component annotation in Spring creates a bean.

    • Example:

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Write design for URL sortner
  • Ans. 

    Design a URL shortener system

    • Use a unique identifier for each long URL to generate a short URL

    • Store the mapping of short URL to long URL in a database

    • Implement a redirect mechanism to redirect short URLs to their corresponding long URLs

    • Consider scalability and performance while designing the system

  • Answered by AI
  • Q2. Program to detect cycle on linked list
  • Ans. 

    Use Floyd's Tortoise and Hare algorithm to detect cycle in a linked list.

    • Initialize two pointers, slow and fast, at the head of the linked list.

    • Move slow pointer by one step and fast pointer by two steps.

    • If they meet at any point, there is a cycle in the linked list.

  • Answered by AI

Skills evaluated in this interview

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

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

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

2 coding problems.

One is on Hasmap

second one is on Tree

Round 3 - One-on-one 

(2 Questions)

  • Q1. Pair programming Round
  • Q2. One problem step by step solving with unit test cases maintaining time complexity and space complexity.
  • Ans. 

    Step-by-step problem-solving with unit tests, focusing on time and space complexity.

    • Identify the problem clearly, e.g., finding the maximum number in an array.

    • Choose an efficient algorithm, e.g., O(n) time complexity for a linear search.

    • Implement the solution in code, ensuring clarity and maintainability.

    • Write unit tests to cover edge cases, e.g., empty array, single element.

    • Analyze space complexity, ensuring minimal a...

  • Answered by AI
Round 4 - One-on-one 

(1 Question)

  • Q1. High level Design
Round 5 - One-on-one 

(1 Question)

  • Q1. Techno - Managerial
Round 6 - HR 

(1 Question)

  • Q1. Normal discussion benefits and salary

Senior Engineer Interview Questions & Answers

user image Saumyadipta Sarkar

posted on 11 Jul 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed before Jul 2023. There were 3 interview rounds.

Round 1 - Coding Test 

Mostly dynamic programming and tree based programs

Round 2 - One-on-one 

(2 Questions)

  • Q1. Coding Coordinate geometry problem
  • Q2. Coding on trees
Round 3 - One-on-one 

(2 Questions)

  • Q1. HLD / LLD , Java technical questions
  • Q2. Pair programming
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Questions around spring boot. Rotate and array k times. Merge two sorted lists.
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Double-check your resume for any spelling mistakes. The recruiter may consider spelling mistakes as careless behavior or poor communication skills.
View all tips
Round 2 - One-on-one 

(2 Questions)

  • Q1. Flood fill algorithm, other problems and technical questions
  • Q2. Flood fill algorithm Other rech questions
Round 3 - Coding Test 

Water bill management system
Flood fill algo

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare good HLD and data structure for lead enginner role

Top trending discussions

View All
Interview Tips & Stories
2w
toobluntforu
·
works at
Cvent
Can speak English, can’t deliver in interviews
I feel like I can't speak fluently during interviews. I do know english well and use it daily to communicate, but the moment I'm in an interview, I just get stuck. since it's not my first language, I struggle to express what I actually feel. I know the answer in my head, but I just can’t deliver it properly at that moment. Please guide me
Got a question about Target?
Ask anonymously on communities.

Target Interview FAQs

How many rounds are there in Target Senior Engineer interview?
Target interview process usually has 2-3 rounds. The most common rounds in the Target interview process are One-on-one Round, Technical and Coding Test.
How to prepare for Target Senior Engineer 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 Target. The most common topics and skills that interviewers at Target expect are Debugging, Data Quality, Agile, Forecasting and Python.
What are the top questions asked in Target Senior Engineer interview?

Some of the top questions asked at the Target Senior Engineer interview -

  1. What is the role of exception handling in programming, and how is the 'finally'...read more
  2. What are the ACID properties implemented in your project, and can you provide a...read more
  3. What is the difference between Comparable and Comparator in Java? And how to Im...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.6/5

based on 11 interview experiences

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 60%
2-4 weeks 40%
View more

Interview Questions from Similar Companies

Reliance Retail Interview Questions
3.9
 • 1.7k Interviews
DMart Interview Questions
3.9
 • 448 Interviews
Walmart Interview Questions
3.6
 • 408 Interviews
Vishal Mega Mart Interview Questions
3.7
 • 173 Interviews
Landmark Group Interview Questions
3.9
 • 157 Interviews
Lowe's Interview Questions
4.1
 • 136 Interviews
Tesco Interview Questions
3.8
 • 136 Interviews
Shoppers Stop Interview Questions
4.1
 • 120 Interviews
Decathlon Interview Questions
3.8
 • 112 Interviews
View all
Target Senior Engineer Salary
based on 308 salaries
₹18.7 L/yr - ₹50 L/yr
281% more than the average Senior Engineer Salary in India
View more details

Target Senior Engineer Reviews and Ratings

based on 34 reviews

4.5/5

Rating in categories

4.4

Skill development

4.6

Work-life balance

4.2

Salary

4.3

Job security

4.5

Company culture

3.2

Promotions

4.0

Work satisfaction

Explore 34 Reviews and Ratings
Sr. Engineer

Bangalore / Bengaluru

4-9 Yrs

₹ 19.2-42 LPA

Sr Engineer - Target India

Bangalore / Bengaluru

4-9 Yrs

₹ 19.2-42 LPA

Sr Engineer - Target India

Bangalore / Bengaluru,

India

2-5 Yrs

Not Disclosed

Explore more jobs
Senior Engineer
308 salaries
unlock blur

₹27 L/yr - ₹50 L/yr

Senior Software Engineer
258 salaries
unlock blur

₹23.8 L/yr - ₹44.2 L/yr

Software Engineer
233 salaries
unlock blur

₹8.7 L/yr - ₹25.4 L/yr

Lead Engineer
161 salaries
unlock blur

₹28.2 L/yr - ₹94 L/yr

Data Analyst
149 salaries
unlock blur

₹9.9 L/yr - ₹18 L/yr

Explore more salaries
Compare Target with

Reliance Retail

3.9
Compare

DMart

3.9
Compare

Vishal Mega Mart

3.7
Compare

Future Group

4.2
Compare
write
Share an Interview