Policybazaar - ASP.NET Developer Interview Preparation Guide
About Policybazaar: Policybazaar is a leading service-based organization in India, primarily offering an online shared platform for comparing and purchasing different insurance products from various providers. It has grown into a unicorn startup with over 100 million users. It offers Health Insurance, Car Insurance, Particular Machinary etc to the customer. (Source: policybazaar.com)
📋 Hiring Process at Policybazaar
- Technical Interview: Focuses on OOPs, C#, ASP.NET MVC/Core, Middleware, Entity Framework, LINQ, Design Patterns.
- Managerial Round: Project experience, problem-solving approach, team collaboration, and leadership skills.
- HR Round: Salary negotiations, company culture, joining timeline.
🧠 ASP.NET & C# Interview Topics
-
What is the Class and Object, Types of Class?
Class is the Blue Print of the object. It does contain the behaviours and action of the object. And Object is the instance of the class that contain all the behaviour and action.
Classes are different type :
- Concrete Class: Regular class that is the basic blue print contains action method and properties.
- Abstract Class: It can not be instantiated through created object. It contain abstract and non-abstract mthod. It is used for the abstraction purpose and used via inherited in some other class.
- Sealed Class: Inheritance does not support. - Partial Class: Partial class can be devided into different source file with different properties and they combine into one during the run-time. It is created as Prefix of the Partial Keyword. -
What is the Polymorphism, Run Time and Compile Time Polymorphism?
Polymorphism referes multiple form. It referes that Multiple method can be formed into classes via different signature to perform diffrent operation
Different type of Polymorphism :
- Compile Time Polymorphism: Compile Time polymorphism also referred as Method Overloading, It is bind and Error generate during compilation of the code. Same method name in the class refer as method overloading and it is achieve via passing different number of parameter into mthod and changing the data types of the passaing parameter.
- Run Time Polymorphism: Run Time Polymorphism also referred as Method Overriding, It is bind and Error generate during run time of the code. Derived class method override the implementation of the same method name of the Base class refer the Run Time Polymorphism or Method Overriding. The override keyword used for overriding of the method.
-
What is the DI and difference between Scoped, Singleton, and Transient lifetimes in DI?
Dependency Injection is the inversion of control. So What does that mean, The ASP.NET Core introduced this concept and implmentation for the loose coupling between the classes. It basically removes the dependency of one class method execution or service injection from the other class and So If A class use the object of B class and any change occur into B class' method or service then A class does not make modification or changes into it's own method or class. You can inject it through different ways, Construtor based Injection, Properties Based or Particular Method. Below are some different DI and their Scope-
- Singleton: One instance for the app’s lifetime.
- Scoped: One per HTTP request.
- Transient: New instance every time it's injected. -
LINQ: Language Integrated Query enables querying data from collections like arrays, lists, or databases using SQL-like syntax.
var result = students.Where(s => s.Marks > 75).Select(s => s.Name);
-
Entity Framework: ORM tool for .NET. Supports Code-First, DB-First, and Model-First approaches. Enables CRUD operations with LINQ.
context.Students.Where(x => x.Age > 18).ToList();
-
Middleware: Software in the request pipeline. Used for logging, exception handling, auth.
app.UseMiddleware<LoggingMiddleware>();
- New in ASP.NET 9: Native AOT support, improved middleware chaining, updated minimal APIs, and enhanced JSON performance.
- CLR (Common Language Runtime): Manages code execution, memory, security, garbage collection in .NET ecosystem.
🗄️ SQL Server / Database Interview Topics
-
JOIN Operators:
- INNER JOIN: Matches rows in both tables.
- LEFT JOIN: All rows from left, matched rows from right.
- RIGHT JOIN: All rows from right, matched from left.
- FULL JOIN: All rows when there's a match in either table.
SELECT E.Name, D.DeptName FROM Employees E LEFT JOIN Departments D ON E.DeptId = D.Id;
-
Stored Procedure: Precompiled SQL logic.
CREATE PROCEDURE GetEmployeeById @Id INT AS BEGIN SELECT * FROM Employees WHERE Id = @Id END
- Indexes: Speed up query performance. Types: Clustered, Non-clustered, Full-Text, XML.
- Constraints: Enforce rules - NOT NULL, UNIQUE, CHECK, DEFAULT, PRIMARY KEY, FOREIGN KEY.
- Performance Tools: Query Analyzer, SQL Profiler, Execution Plan, Index Tuning Wizard.
-
Range Queries:
- DENSE_RANK(): Gives rank without skipping numbers for ties.
-
RANGE: Used in `OVER` clause for windows.
SELECT Name, Salary, DENSE_RANK() OVER (ORDER BY Salary DESC) AS Rank FROM Employees;
💻 JavaScript & Frontend Concepts
-
var / let / const:
-
var
- function scoped, hoisted. -
let
- block scoped, mutable. -
const
- block scoped, immutable binding.
-
-
async / await: Handle asynchronous operations using promises.
async function getUser() { const response = await fetch('/api/user'); const data = await response.json(); return data; }
- Event Loop: Handles asynchronous operations via task queue and microtask queue.
- Closure: A function that remembers the variables from its lexical scope even when executed outside.
-
Arrow Functions: Shorter syntax and no binding of `this`.
const add = (a, b) => a + b;
💰 Salary Expectations at Policybazaar (ASP.NET Developer)
- Entry-Level (0–2 years): ₹4–6 LPA
- Mid-Level (3–5 years): ₹7–11 LPA
- Senior Developer (6–9 years): ₹12–18 LPA
- Tech Lead/Architect (10+ years): ₹20–28 LPA
Sources: Glassdoor India, AmbitionBox