MEAN Stack Technical Round Questions & Answers
40 questions for the technical round stage — 3 easy, 32 medium, 5 hard.
About the technical round round
The technical round is the core of a MEAN Stack interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
Tips for the technical round round
- Say your approach out loud before you start writing.
- After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question.
- Pick one project you can explain end to end, including what you would do differently.
- If you get stuck, explain what you would try next instead of going silent.
Create a text index and run a relevance-sorted search in MongoDB.
Show answer
What are route guards and what kinds exist in modern Angular?
Show answer
How does change detection work in Angular, and what does OnPush do?
Show answer
Write a unit test for an Angular component using TestBed.
Show answer
Write a standalone Angular component that displays a list of products using @for.
Show answer
How do real-time features work in a MEAN application?
Show answer
After a new release, a bug affects many users. How do you respond and prevent a repeat?
Show answer
A penetration test report says your API returns other users' invoices when the invoice id is changed. How do you fix it?
Show answer
Write a group validator that checks password and confirm password match.
Show answer
Your MEAN app must handle a festival sale with ten times normal traffic. How do you prepare?
Show answer
Write a functional HTTP interceptor that adds a JWT and handles 401 errors.
Show answer
Write a resolver that loads a product before the detail page opens.
Show answer
Explain the difference between switchMap, mergeMap, concatMap and exhaustMap.
Show answer
A mobile team and the Angular team both consume your API, and you need to change a response field. How do you avoid breaking clients?
Show answer
Configure routes with lazy loading, a child route and a wildcard 404 route.
Show answer
An npm audit shows several high-severity vulnerabilities in the Express project. How do you handle it?
Show answer
What types of indexes does MongoDB support?
Show answer
How does $lookup work in an aggregation pipeline?
Show answer
Write an aggregation that finds the top five customers by total spend with their names.
Show answer
Show the tsconfig settings you would enable for a strict Node.js Express API.
Show answer
What is the inject() function and how does it compare to constructor injection?
Show answer
Implement a type-ahead search box that calls the API only after the user pauses typing and ignores outdated results. Which RxJS approach would you use?
Show answer
What is the role of a controller-service-repository structure in an Express API?
Show answer
Define a typed Mongoose model in TypeScript with an instance method.
Show answer
How do you serve an Angular build and an Express API from the same Node server?
Show answer
Write an Nginx server block that serves Angular and proxies /api to Node.
Show answer
What are TypeScript utility types such as Partial, Pick, Omit and Record used for?
Show answer
Write a debounced search helper in TypeScript using a closure.
Show answer
A dashboard needs data from three independent APIs before it can render. How would you load them?
Show answer
Provide a configuration object through an InjectionToken and use it in a service.
Show answer
What is the difference between an interface and a type alias in TypeScript?
Show answer
What is the difference between valueChanges and statusChanges, and what does updateOn do?
Show answer
Write an injectable service that fetches and caches a list of categories.
Show answer
What is Angular and how is it different from a library like React?
Show answer
A list API that uses Mongoose populate on three references has become slow. How would you improve it?
Show answer
Write an exhaustive switch over a union type using never.
Show answer
What are Angular's lifecycle hooks and when is each typically used?
Show answer
What is the difference between a cold and a hot Observable?
Show answer
How do containers and orchestration fit into deploying a MEAN stack?
Show answer
Frequently asked questions
What happens in the MEAN Stack technical round round?
The technical round is the core of a MEAN Stack interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
How do I clear the technical round round?
Say your approach out loud before you start writing. After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question. Pick one project you can explain end to end, including what you would do differently.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.