Upload Button Icon Add office photos

Microsoft Corporation

Compare button icon Compare button icon Compare
4.0

based on 1.6k Reviews

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Microsoft Corporation Software Engineer II Interview Questions and Answers

Updated 17 Sep 2021

Microsoft Corporation Software Engineer II Interview Experiences

2 interviews found

I applied via LinkedIn and was interviewed in Aug 2021. There were 3 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. System Design of Car Parking.
  • Ans. 

    Design a system for managing car parking.

    • Determine the size and layout of the parking lot.

    • Decide on the type of parking system (e.g. self-parking, valet).

    • Implement a ticketing system for tracking cars and payments.

    • Use sensors or cameras to monitor parking spaces.

    • Integrate with a payment gateway for online payments.

    • Provide real-time information on available parking spaces.

    • Consider implementing a loyalty program for freq

  • Answered by AI
  • Q2. System Design of Elevator
  • Ans. 

    Designing a system for an elevator

    • Identify the requirements and constraints

    • Determine the number of floors and elevators needed

    • Choose the elevator algorithm (e.g. FCFS, SCAN, LOOK)

    • Design the elevator controller

    • Consider safety features (e.g. emergency stop, overload protection)

    • Include user interface (e.g. buttons, displays)

    • Consider maintenance and repair

    • Test and optimize the system

  • Answered by AI
  • Q3. System Design of Photo-sharing App.
  • Ans. 

    A photo-sharing app system design

    • Use a scalable architecture to handle large amounts of data

    • Implement a secure authentication and authorization system

    • Utilize a content delivery network (CDN) for fast image loading

    • Allow users to tag and categorize photos for easy search and discovery

    • Implement a notification system for likes, comments, and new followers

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - For SDE2 only first interview round was coding round, other three interview rounds were of system design.
Be confident about your design.

Skills evaluated in this interview

I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. DSA and few System Design Questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well for LC Medium and Hard questions.

Software Engineer II Interview Questions Asked at Other Companies

Q1. There are fifteen horses and a racing track that can run five hor ... read more
Q2. Title: Minimum steps required to make the product of array equal ... read more
asked in NCR Voyix
Q3. What are interfaces and what is difference between an interface a ... read more
Q4. Title: Next Greater Element for every element in the array Descri ... read more
Q5. What is the difference between C++ and Objective C and where will ... read more

Interview questions from similar companies

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 Resume tips
Round 2 - Technical 

(4 Questions)

  • Q1. Depends on the role they hire, technical round will be there
  • Q2. Java Concepts and At least one program they will ask to write
  • Q3. Manual and automation related questions
  • Q4. SQL concepts questions
Round 3 - Behavioral 

(1 Question)

  • Q1. Manager will check capability and will ask managerial questions
Round 4 - HR 

(1 Question)

  • Q1. Some HR questions and Package discussion

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare according to the role applied and attend the interview
Round 1 - Aptitude Test 

It was easy

Round 2 - Technical 

(2 Questions)

  • Q1. Nice question based on core java
  • Q2. Opps, new keyword, immutable class, exception
Round 3 - HR 

(3 Questions)

  • Q1. What is your family background?
  • Q2. Share details of your previous job.
  • Q3. Why should we hire you?
Round 4 - HR 

(2 Questions)

  • Q1. What are your strengths and weaknesses?
  • Q2. Strengths and weaknesses

Interview Preparation Tips

Interview preparation tips for other job seekers - Nice work, nice one to one, nice to know about company is good

I applied via LinkedIn and was interviewed before Aug 2021. There were 4 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Basic Array String Stack based problem solving
Round 2 - Technical 

(1 Question)

  • Q1. Basic DS Algo questions on Array, Queues, Stacks, and Recusrion. Difficulty should be easy to medium. Basic OOPs language questions.
Round 3 - Technical 

(1 Question)

  • Q1. Basic OOPs question, SQL queries, and in depth microservices design architecture. Difficulty easy to medium.
Round 4 - Behavioral 

(1 Question)

  • Q1. Basic questions and project overview, and then salary discussion.

Interview Preparation Tips

Topics to prepare for Oracle Software Engineer II interview:
  • Data Structures
  • Algorithms
  • OOPS
Interview preparation tips for other job seekers - The above interview process was for Non-OCI teams and that too for backend developer. This cannot be considered as preparation for OCI teams. Nothing was outside of resume.

I applied via Recruitment Consultant and was interviewed before May 2020. There were 5 interview rounds.

Interview Questionnaire 

7 Questions

  • Q1. Basic data structures.
  • Q2. Array , Linked list, Java
  • Q3. MCQ
  • Q4. Java
  • Q5. Analytical
  • Q6. Data Structure and Problem solving
  • Q7. Managerial

Interview Preparation Tips

Interview preparation tips for other job seekers - Be true with you resume.
Don't add any skill which you are not aware of.
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all Resume tips
Round 2 - Technical 

(1 Question)

  • Q1. Nice process to be followed
Round 3 - Technical 

(2 Questions)

  • Q1. Nice question to be asked
  • Q2. Nice interview to be asked

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare for the interview nicely wwe we we we w e w e w e

Interview Questionnaire 

2 Questions

  • Q1. LinkedIn system design
  • Q2. Questions about python dictionaries and lists
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Properly align and format text in your resume. A recruiter will have to spend more time reading poorly aligned text, leading to high chances of rejection.
View all Resume tips
Round 2 - Coding Test 

It was easy level coding problem

Round 3 - Technical 

(1 Question)

  • Q1. Technical round with senior engineer
Round 4 - Behavioral 

(1 Question)

  • Q1. Questions about past challenges and Work experience

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare for problem solving and design skills as well as microservices

I applied via Naukri.com and was interviewed in Aug 2021. There were 3 interview rounds.

Round 1 - Technical 

(12 Questions)

  • Q1. What are interfaces and what is difference between an interface and abstract class
  • Ans. 

    Interfaces define a contract for behavior, while abstract classes provide partial implementation.

    • Interfaces only define method signatures, while abstract classes can have both abstract and concrete methods.

    • A class can implement multiple interfaces, but can only inherit from one abstract class.

    • Interfaces are used for loose coupling and flexibility in design.

    • Abstract classes are used for code reuse and to enforce a commo

  • Answered by AI
  • Q2. What are solid principles and explain them
  • Ans. 

    SOLID principles are a set of five design principles for writing maintainable and scalable code.

    • Single Responsibility Principle (SRP) - a class should have only one reason to change

    • Open-Closed Principle (OCP) - a class should be open for extension but closed for modification

    • Liskov Substitution Principle (LSP) - subtypes should be substitutable for their base types

    • Interface Segregation Principle (ISP) - clients should n...

  • Answered by AI
  • Q3. What are extension methods
  • Ans. 

    Extension methods are static methods that allow adding new functionality to existing types without modifying the original type.

    • Extension methods are defined in a static class.

    • They must be declared with the 'this' keyword before the first parameter.

    • They can be called as if they were instance methods of the extended type.

    • Extension methods can be used to add functionality to built-in types or custom types.

    • Example: adding ...

  • Answered by AI
  • Q4. Does c# support multiple inheritence
  • Ans. 

    No, C# does not support multiple inheritance.

    • C# only supports single inheritance, where a class can inherit from only one base class.

    • However, C# does support multiple interface inheritance, where a class can implement multiple interfaces.

    • This is achieved using the 'interface' keyword instead of 'class'.

  • Answered by AI
  • Q5. How routing is done in mvc
  • Ans. 

    Routing in MVC is done through the use of routes, which map URLs to controller actions.

    • Routes are defined in the RouteConfig.cs file in the App_Start folder

    • Routes consist of a URL pattern and a corresponding controller action

    • Routes can also include optional parameters and constraints

    • Routing is done through the use of the ASP.NET routing engine

    • Routing can be customized by creating custom route handlers

  • Answered by AI
  • Q6. What are filters in mvc
  • Ans. 

    Filters in MVC are used to intercept and modify HTTP requests and responses.

    • Filters can be used to implement authentication and authorization.

    • They can also be used for caching and logging.

    • Examples of filters include AuthorizationFilter, ActionFilter, and ExceptionFilter.

  • Answered by AI
  • Q7. What is difference between virtual and override keywords
  • Ans. 

    Virtual keyword is used to declare a method in a base class that can be overridden in a derived class. Override keyword is used in the derived class to override the implementation of the virtual method.

    • Virtual keyword is used in the base class to declare a method that can be overridden in the derived class

    • Override keyword is used in the derived class to override the implementation of the virtual method

    • Virtual methods p...

  • Answered by AI
  • Q8. What are indexes in sql
  • Ans. 

    Indexes in SQL are used to improve the performance of queries by allowing faster data retrieval.

    • Indexes are created on one or more columns of a table.

    • They work like a book index, allowing the database to quickly find the data.

    • Indexes can be clustered or non-clustered.

    • Clustered indexes determine the physical order of data in a table.

    • Non-clustered indexes create a separate structure to store the index data.

    • Indexes should...

  • Answered by AI
  • Q9. What is difference between stored procedure and function
  • Ans. 

    Stored procedures are used to perform a set of actions, while functions return a single value.

    • Stored procedures are precompiled and stored in the database, while functions are compiled at runtime.

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

    • Functions can be called from within stored procedures, but stored procedures cannot be called from within functions.

  • Answered by AI
  • Q10. Tell me about yourself
  • Q11. What is dependency injection
  • Ans. 

    Dependency injection is a design pattern used to remove hard-coded dependencies and make code more modular and testable.

    • Dependency injection involves injecting dependencies into a class rather than having the class create them itself.

    • This allows for easier testing and swapping out of dependencies.

    • There are three types of dependency injection: constructor injection, setter injection, and interface injection.

    • Examples of ...

  • Answered by AI
  • Q12. What is singleton design pattern
  • Ans. 

    Singleton design pattern restricts the instantiation of a class to a single instance and provides a global point of access to it.

    • Used when only one instance of a class is required throughout the system

    • Provides a global point of access to the instance

    • Implemented using a private constructor, static method, and static variable

    • Example: Logger class in Java

  • Answered by AI
Round 2 - Behavioral 

(6 Questions)

  • Q1. Tell me about yourself
  • Q2. What are different projects that I have worked
  • Q3. Did you face any challenges in your earlier projects
  • Q4. What is your salary expectations
  • Q5. Explain about dependency injection
  • Ans. 

    Dependency injection is a design pattern that allows objects to receive dependencies from external sources rather than creating them internally.

    • Dependency injection helps to decouple components and make them more reusable and testable.

    • There are three types of dependency injection: constructor injection, setter injection, and interface injection.

    • Example: Instead of creating a database connection object inside a class, w...

  • Answered by AI
  • Q6. What is a singleton design pattern
  • Ans. 

    Singleton design pattern restricts the instantiation of a class to a single instance and provides a global point of access to it.

    • Used when only one instance of a class is required throughout the system

    • Provides a global point of access to the instance

    • Implemented using a private constructor, static method, and static variable

    • Example: Logger class, Database connection class

  • Answered by AI
Round 3 - HR 

(5 Questions)

  • Q1. Why should we hire you?
  • Q2. Share details of your previous job.
  • Q3. What are your salary expectations?
  • Q4. Why are you looking for a change?
  • Q5. Tell me about yourself.

Interview Preparation Tips

Interview preparation tips for other job seekers - when a question is asked it would be better if you explain with a real time exampl

Skills evaluated in this interview

Contribute & help others!
anonymous
You can choose to be anonymous

Microsoft Corporation Interview FAQs

How to prepare for Microsoft Corporation Software Engineer II 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 Microsoft Corporation. The most common topics and skills that interviewers at Microsoft Corporation expect are microsoft, C++, Computer science, Coding and Debugging.
What are the top questions asked in Microsoft Corporation Software Engineer II interview?

Some of the top questions asked at the Microsoft Corporation Software Engineer II interview -

  1. System Design of Photo-sharing A...read more
  2. System Design of Eleva...read more
  3. System Design of Car Parki...read more

Tell us how to improve this page.

Microsoft Corporation Software Engineer II Salary
based on 253 salaries
₹20 L/yr - ₹65 L/yr
164% more than the average Software Engineer II Salary in India
View more details

Microsoft Corporation Software Engineer II Reviews and Ratings

based on 26 reviews

4.2/5

Rating in categories

3.4

Skill development

4.1

Work-life balance

3.9

Salary

3.5

Job security

4.2

Company culture

3.3

Promotions

3.3

Work satisfaction

Explore 26 Reviews and Ratings
Software Engineer
1.9k salaries
unlock blur

₹13 L/yr - ₹50 L/yr

Senior Software Engineer
1k salaries
unlock blur

₹25 L/yr - ₹95 L/yr

Software Engineer2
979 salaries
unlock blur

₹20 L/yr - ₹72 L/yr

Consultant
611 salaries
unlock blur

₹13 L/yr - ₹42 L/yr

Support Engineer
586 salaries
unlock blur

₹7.5 L/yr - ₹30 L/yr

Explore more salaries
Compare Microsoft Corporation with

Google

4.4
Compare

Amazon

4.1
Compare

Deloitte

3.8
Compare

TCS

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