Deloitte Angular + .NET Interview Questions for 5+ years
Shared question set for 5+ years of experience. Topics and wording follow the supplied notes; these are questions, not official company guidance.
- What is the difference between .NET Framework and .NET Core?
- How would you convert an existing .NET Framework REST API project into .NET Core?
- What are async and await and how do they work internally?
- What is dependency injection in .NET Core?
- What is middleware in .NET Core and how is it used?
- If controllers lack try/catch before production release, is there a faster fix than editing each controller?
- If a user's JWT and API URL are visible in the browser inspector, how can APIs be secured against misuse?
- What is the difference between Parallel.ForEach and Task.WhenAll?
- What does AsNoTracking do and when should it be used?
- What is microservice architecture and how does it compare to monolithic architecture?
- Is it mandatory for each microservice to have its own database, or can multiple microservices share one database?
- How do we find and fix APIs that are slow in production but fine locally?
- How do you write a query to get departments with more than five employees?
- How do you get employees who joined in the last six months while avoiding static date logic?
- What is an Azure Function and have you used it?
- Write a method to return all unique elements from a list along with their count. For example, for {1,2,2,3,3,3,4} the output is 1 -> 1, 2 -> 2, 3 -> 3, 4 -> 1.
- Write a query for the top 2 salaries per department from an Employees table.
- Can you explain Angular architecture?
- How do you integrate API calls in Angular?
- How will you pass a token along with an HTTP request?
- Have you created any custom directive?
- If you have multiple environments like dev, QA, UAT, prod, how will you handle switching between them?