All fields

“Performance & Lazy Loading” in Information Technology

41 questions across 5 technologies.

Information Technology

41 questions in 5 technologies

#QuestionTechnologyTopicLevel
1What is lazy loading in Angular and why is it useful for performance? Angular › Performance & Lazy LoadingAngularPerformance & Lazy LoadingBeginner
2How would you use Angular's built in deferred loading, the at defer block, to improve performance further? Angular › Performance & Lazy LoadingAngularPerformance & Lazy LoadingAdvanced
3How does the OnPush change detection strategy improve performance in a large Angular application? Angular › Performance & Lazy LoadingAngularPerformance & Lazy LoadingIntermediate
4How does using trackBy, or the track expression in the newer at for syntax, improve the performance of rendering lists? Angular › Performance & Lazy LoadingAngularPerformance & Lazy LoadingIntermediate
5How do you check your Angular app's actual bundle size and find opportunities to reduce it? Angular › Performance & Lazy LoadingAngularPerformance & Lazy LoadingBeginner
6How would you preload a lazy loaded component before the user actually navigates to it? React › Code Splitting & Lazy LoadingReactCode Splitting & Lazy LoadingAdvanced
7How does lazy loading versus eager loading of resources and how minimizing unnecessary work within a request's critical path help improve overall PHP application response times? PHP › Performance Optimization & OPcachePHPPerformance Optimization & OPcacheIntermediate
8How do standalone components handle lazy loading differently from NgModule based lazy loading? Angular › Standalone ComponentsAngularStandalone ComponentsIntermediate
9What is cache-aside (lazy loading) pattern, and how does it compare to write-through caching? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
10What do the different loading strategies like beforeInteractive, afterInteractive, and lazyOnload actually control? Next.js › Third-Party Script OptimizationNext.jsThird-Party Script OptimizationIntermediate
11How do you use multiple Suspense boundaries on the same page to stream different sections independently? Next.js › Loading UI & Streaming with SuspenseNext.jsLoading UI & Streaming with SuspenseIntermediate
12What is code splitting in Next.js and why does it matter for performance? Next.js › Bundle Analysis & Code SplittingNext.jsBundle Analysis & Code SplittingBeginner
13How do you lazy load a feature module so its code is only downloaded when a user actually navigates to it? Angular › NgModules & Modular ArchitectureAngularNgModules & Modular ArchitectureIntermediate
14What performance benefits does the new control flow syntax offer compared to the older structural directives? Angular › New Control Flow Syntax (@if, @for & @switch)AngularNew Control Flow Syntax (@if, @for & @switch)Advanced
15What is Angular DevTools and how do you install it? Angular › Angular DevTools & DebuggingAngularAngular DevTools & DebuggingBeginner
16How do you create a production build of an Angular app? Angular › Build, Environments & DeploymentAngularBuild, Environments & DeploymentBeginner
17Why is it important to set a bundle size budget in an Angular project's configuration? Angular › Build, Environments & DeploymentAngularBuild, Environments & DeploymentBeginner
18What is change detection in Angular and why does it exist? Angular › Change DetectionAngularChange DetectionBeginner
19What is the ngFor structural directive used for, and how does the newer at for syntax compare to it? Angular › DirectivesAngularDirectivesBeginner
20When is a micro frontend architecture usually not worth the added complexity for a project? Angular › Micro Frontends with AngularAngularMicro Frontends with AngularBeginner
21How does the new at for control flow block work, and why does it require a track expression? Angular › New Control Flow Syntax (@if, @for & @switch)AngularNew Control Flow Syntax (@if, @for & @switch)Beginner
22How do you create a clickable link to navigate between pages using Angular's router? Angular › RoutingAngularRoutingBeginner
23What are the main benefits of adding server side rendering to an Angular app? Angular › Server-Side Rendering with Angular UniversalAngularServer-Side Rendering with Angular UniversalBeginner
24Why does the standalone components approach generally result in smaller final bundle sizes? Angular › Standalone ComponentsAngularStandalone ComponentsBeginner
25What does the CDK's virtual scrolling feature do, and why is it useful for very long lists? Angular › Angular CDK (Component Dev Kit)AngularAngular CDK (Component Dev Kit)Intermediate
26How do you use the Profiler tab in Angular DevTools to find slow components? Angular › Angular DevTools & DebuggingAngularAngular DevTools & DebuggingIntermediate
27Why does the Angular style guide recommend using the OnPush change detection strategy where possible? Angular › Angular Style Guide & Best PracticesAngularAngular Style Guide & Best PracticesIntermediate
28What is the difference between the Default and OnPush change detection strategies? Angular › Change DetectionAngularChange DetectionIntermediate
29What does ngOnDestroy do, and why is it important for cleaning up resources like subscriptions? Angular › Lifecycle HooksAngularLifecycle HooksIntermediate
30What is a feature module, and how does it help organize a larger Angular application? Angular › NgModules & Modular ArchitectureAngularNgModules & Modular ArchitectureIntermediate
31What is a service worker, and what role does it play in making an Angular app work offline? Angular › Progressive Web Apps (PWA) with AngularAngularProgressive Web Apps (PWA) with AngularIntermediate
32What is hydration in the context of Angular server side rendering, and why is it necessary? Angular › Server-Side Rendering with Angular UniversalAngularServer-Side Rendering with Angular UniversalIntermediate
33What does zoneless change detection mean, and how does Angular know when to update the screen without Zone.js? Angular › Zoneless Change Detection & Zone.jsAngularZoneless Change Detection & Zone.jsIntermediate
34What are the main benefits of removing Zone.js from an Angular application? Angular › Zoneless Change Detection & Zone.jsAngularZoneless Change Detection & Zone.jsIntermediate
35How do you manually split a large component using dynamic imports in Next.js? Next.js › Bundle Analysis & Code SplittingNext.jsBundle Analysis & Code SplittingIntermediate
36How do you use the Link component to enable fast client side navigation between pages? Next.js › Routing (App/Pages Router)Next.jsRouting (App/Pages Router)Intermediate
37How would you use Angular CLI commands to build your project for production and analyze the resulting bundle size? Angular › Angular CLI & Project StructureAngularAngular CLI & Project StructureAdvanced
38What are some best practices for structuring a large Angular application with many features? Angular › Angular Style Guide & Best PracticesAngularAngular Style Guide & Best PracticesAdvanced
39How does ng-template work together with content projection to allow more flexible, conditional content? Angular › Content Projection (ng-content)AngularContent Projection (ng-content)Advanced
40What are some of the main challenges teams face when adopting a micro frontend architecture with Angular? Angular › Micro Frontends with AngularAngularMicro Frontends with AngularAdvanced
41What is the difference between a pure and an impure pipe in Angular, and when would you need an impure one? Angular › Pipes (Built-in & Custom)AngularPipes (Built-in & Custom)Advanced