Citi Bank Angular Interview Questions for 5-8+ years
Shared question set for 5-8+ years of experience, L2 round. Topics and wording follow the supplied notes; these are questions, not official company guidance.
- How is your application managing state and sharing data between components?
- How are you securing your Angular application?
- Where do you store authentication tokens? Sub-question: Session Storage vs Local Storage, and can tokens be stored in a service using RxJS observables?
- How do you optimize an Angular application? (Lazy loading, OnPush change detection, trackBy, caching)
- Write a function to fetch data from an API (the JSONPlaceholder API was used).
- How do you design API calling from the UI? When do you use the Async Pipe? When should you unsubscribe manually?
- Explain Angular change detection.
- Explain the different types of Signals and the use case of computed().
- What are the steps to set up NgRx in an Angular application?
- Do you create HLD or LLD documents while implementing new features?
- Explain the use cases of switchMap, concatMap and mergeMap.
- How would you track every route change to monitor user navigation? (Expected: Router events)
- A reactive form contains a dropdown that gets enabled/disabled from multiple events, and a defect is reported where it behaves incorrectly. How would you debug which event is changing its state?
- Your UI development is complete, but backend APIs are still under development and API contracts are available. How will you test your application? (Expected: mocking APIs)
- Your form has more than 50 fields. Will you keep the complete reactive form and template inside one component?
- How would you build a dynamic form using JSON configuration instead of hardcoding controls?
- Your application has a stepper, and each step is a different Angular component. How would you share the complete form across all steps?
- Are you familiar with the Facade Pattern in Angular? Explain where you have used it.
- Have you worked with teams from different organizations where your module depended on parallel development teams? How did you manage communication and dependencies?
- Have you created any Proof of Concept (POC)? Explain one.
- Which third-party Angular libraries have you used in your projects, and why?