Comprehensive Interview Question Bank: .NET, SQL, Angular, Web API, and System Design
General & Conceptual
What is dependency injection?
Difference between middleware and filters?
What is rate limiting?
What is REST architecture?
Difference between functions and subquery?
Return types of Web API action methods?
Why do we use caching?
How to manage states in Web API?
How do you design a secure API?
Windows function in SQL?
Performance optimization techniques in SQL?
Custom middleware?
About tracing and tracing methods?
What is stateful and stateless authentication?
Advantages of using webhooks in Web API?
To avoid cursors, what else can we use if we need to check row by row?
Advantages and disadvantages of synchronous operation?
Query for selecting latest names records from user table in LINQ?
Why does SELECT come at last?
How to pass value from controller to view?
How to rectify error?
Some LINQ questions?
What is 2NF?
Authentication and authorization?
Introduction?
What is DROP and TRUNCATE?
What are HTTP status codes?
How to do pagination in Web API?
Async/await vs async result?
Tracing in .NET?
What is INTERSECT clause?
How to manage/handle state?
How to do SQL query optimization?
How to do caching?
What is CORS?
Middleware vs action filters?
Controller action return types?
What is composite key?
Pros of EF Core?
SQL scenario questions?
How to handle deadlock?
How do you optimize database query?
Suppose there is high traffic, how do you handle scaling?
How to secure Web API?
How do you handle SSO in application?
Suppose API gets 1000 requests at a time, how do you handle them?
How do you encrypt your data before sending it to the API?
Coding & LINQ
Write a LINQ query to segregate filenames into publication/section/page groups.
Write a LINQ query for 4 highest salary (also same with SQL Server).
Reverse a string in code?
Replace a value in a string or variable?
Databases & SQL
What databases have you used in your projects?
What is SQL transaction?
When to go for stored procedure vs function in SQL?
Types of joins?
Difference between UNION and UNION ALL?
Can we have the same index name in two different tables?
Can we use ROLLBACK after a DELETE operation?
How do we implement an approval method on the SQL/database side?
Explain window functions in SQL.
Difference between ROW_NUMBER, RANK, DENSE_RANK?
Difference between LEAD and LAG?
Write a query to find duplicate records.
Write a query to drop duplicate records using window function.
What are CTEs? Explain with scenario and syntax.
CTEs vs subquery for performance optimization?
What is temp table and syntax?
CTEs vs temp table for query performance?
What is stored procedure?
What are views in SQL and how to use them?
How to execute an SSIS package?
What are different methods of executing packages?
Explain EOD function in SQL.
Which function is used to get last 1 month data from today?
Display 4th highest salary?
How to find duplicate values from particular row in SQL?
Power BI / Data Engineering
Difference between append and merge in Power Query?
Challenges faced in Power Query?
What is query folding in Power Query?
What is incremental refresh in Power BI?
In Direct Query, how to deal with large datasets (SQL views vs CTEs)?
Explain star schema and snowflake schema.
Explain fact tables and dimension tables with scenario.
Explain ETL in SSIS.
What are packages in SSIS?
Difference between ALL and ALLEXCEPT in DAX?
Explain SAMEPERIODLASTYEAR example in DAX.
Difference between RELATED and LOOKUPVALUE in DAX?
What are deployment pipelines in Power BI service?
How to transfer dashboards from Dev → UAT → Prod?
What is incremental load?
How do you identify new vs old data?
What fields help for incremental logic?
How do you build a pipeline to fetch data from SQL Server in ADF?
What is row-level security in Power BI?
What is semantic layer?
Explain data mart.
How to create apps in Power BI?
How to transfer dashboards in app?
How to provide access to end number of users in app?
How to grant access for 20 reports in Power BI?
What is Synapse data and Azure Data Pipelines?
Explain slow changing dimension and its types.
Web / API / .NET Core
What is startup class?
Difference between app.Run and app.Use?
Examples of middleware?
Where to store static CC email ID for easy change?
How to host website in IIS?
Website + API in IIS: how many application pools required?
Disadvantages of pooling both website and API in single pool?
How to automate daily file download from website?
What libraries to use to communicate exe with code?
How to implement secure API?
How to read data from appsettings.json?
Explain session and state management techniques in .NET Core?
How to send email from button click with dynamic subject/body?
For AJAX call, what properties do we use?
What parameter do we use for endpoint in AJAX?
How to handle exception logging?
How did you handle API versioning?
How do you handle rate limit in API?
Angular / Frontend
What is Angular?
What is change detection in Angular?
What are Observables and Promises? Key differences?
What is Dependency Injection in Angular?
What is NgRx?
What is RxJS?
What is SPA (Single Page Application)?
How do you optimize Angular app performance?
What is role-based authentication?
Different approaches to authentication without third-party libraries?
AG-Grid in Angular?
Importance of middleware?
What is signal in Angular?
DataTable controls in Angular?
Security features used in Angular + .NET app?
Difference between jQuery and JS?
How login credentials are encrypted?
How user claim is checked?
How you handle lazy loading?
Did you use real-time notification mechanism?
What is decorator?
How to pass data from child to parent component?
Micro-architecture in Angular?
What is interceptor?
Eager loading vs lazy loading?
Create custom pipe?
How OOP is implemented in your project?
Difference between struct and class?
Async/await difference?
Difference between abstract class and interface?
Difference between var and dynamic?
IEnumerable vs IQueryable?
Most usable RxJS operators?
Promise vs Observable?
Difference between Angular 10 and 13?
How to resolve circular dependency problem?
MVC / Web Development
What are action filters in MVC?
What is REST API?
Routing in MVC?
What is middleware in .NET Core?
Caching in .NET Core?
What is startup class in .NET Core?
Difference between click and on event in jQuery?
Difference between Web API and REST API?
Difference between .NET Core and .NET?
Difference between document.ready and window.load?
How to optimize webpage load performance?
What are design patterns?
What is process of deployment and which IIS version used?
Difference between dynamic and static?
What is serialization?
What is application pool?
What are filters in MVC?
What are SOLID principles?
Query to update gender column (male ↔ female)?
What are session management objects?
What is CLR?
What is MVC?
Miscellaneous
Tell me about yourself.
Previous client project explanation.
Explain your current project/module/role.
Explain previous projects.
This was part of Interview Preparation With Bipin — Let’s Crack It!
Comments
Post a Comment