All fields

“Caching” in Information Technology

166 questions across 15 technologies.

Information Technology

166 questions in 15 technologies

#QuestionTechnologyTopicLevel
1What is the difference between in-memory caching (like a Map or node-cache) and a distributed cache (like Redis)? Node.js › CachingNode.jsCachingIntermediate
2What is multi-tier caching (combining an in-memory L1 cache with a distributed L2 cache), and what problem does it solve? Node.js › CachingNode.jsCachingAdvanced
3What is caching, and why is it commonly used to improve the performance of a Node.js application? Node.js › CachingNode.jsCachingBeginner
4What is caching in Next.js and why is it important? Next.js › CachingNext.jsCachingBeginner
5How does the newer Output Caching middleware (introduced in .NET 7) differ from Response Caching middleware? ASP.NET Core › CachingASP.NET CoreCachingIntermediate
6How does HybridCache (introduced in .NET 9) unify in-memory and distributed caching, and what problems does it solve? ASP.NET Core › CachingASP.NET CoreCachingIntermediate
7How do you configure Redis as the backing distributed cache for both IDistributedCache and Output Caching in the same application? ASP.NET Core › CachingASP.NET CoreCachingIntermediate
8What is the risk of caching sensitive or user-specific data with an incorrectly scoped cache key, and how do you prevent cross-user data leakage? ASP.NET Core › CachingASP.NET CoreCachingIntermediate
9What HTTP caching headers (Cache-Control, ETag) can a Node.js/Express API use to let clients and CDNs cache responses? Node.js › CachingNode.jsCachingIntermediate
10What is the risk of caching sensitive or user-specific data with a shared cache key, and how do you avoid it? Node.js › CachingNode.jsCachingIntermediate
11What is negative caching, and why might you deliberately cache the fact that a lookup returned 'not found'? Node.js › CachingNode.jsCachingIntermediate
12What are the main caching layers in the Next.js App Router? Next.js › CachingNext.jsCachingIntermediate
13What is response caching middleware, and how does it differ from application-level data caching? ASP.NET Core › CachingASP.NET CoreCachingAdvanced
14How do HTTP caching headers (Cache-Control, ETag) set by an ASP.NET Core API interact with browser and CDN caching, complementing server-side caching? ASP.NET Core › CachingASP.NET CoreCachingAdvanced
15How would you implement cache-aside versus write-through caching patterns for a frequently-read, occasionally-written resource? ASP.NET Core › CachingASP.NET CoreCachingAdvanced
16How would you monitor and measure cache effectiveness (hit rate) in a production ASP.NET Core application to validate a caching strategy is actually helping? ASP.NET Core › CachingASP.NET CoreCachingAdvanced
17What is the 'stale-while-revalidate' caching strategy, and how would you implement it for an API response? Node.js › CachingNode.jsCachingAdvanced
18How would you implement a write-behind (write-back) caching strategy, and what durability risk does it introduce? Node.js › CachingNode.jsCachingAdvanced
19What caching pitfalls should you watch out for when building a Next.js application with dynamic, user specific data? Next.js › CachingNext.jsCachingAdvanced
20What is the write through caching pattern, and how does it differ from cache aside? Redis › Caching PatternsRedisCaching PatternsBeginner
21What is the difference between file based caching and in memory caching using tools like Redis or Memcached? PHP › Caching Strategies in PHPPHPCaching Strategies in PHPBeginner
22How does the read through caching pattern work, and how is it different from cache aside from the application's perspective? Redis › Caching PatternsRedisCaching PatternsIntermediate
23How do you decide which caching pattern, cache aside, write through, or write behind, is right for a specific application feature? Redis › Caching PatternsRedisCaching PatternsIntermediate
24What is IMemoryCache, and when is it appropriate to use for caching in ASP.NET Core? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Beginner
25What is caching in a PHP application, and why is it important for improving performance? PHP › Caching Strategies in PHPPHPCaching Strategies in PHPBeginner
26What is response caching middleware in ASP.NET Core, and how does it differ from application-level data caching? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
27What 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
28What HTTP caching headers (Cache-Control, ETag) can a client and CDN use, and how do they relate to server-side caching strategies? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
29What are the risks of caching sensitive or user-specific data, and how do you avoid cache poisoning across users? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
30What is the write behind, also called write back, caching pattern, and what risk does it introduce? Redis › Caching PatternsRedisCaching PatternsIntermediate
31What is the difference between page caching, query caching, and object caching, and when should each be used? PHP › Caching Strategies in PHPPHPCaching Strategies in PHPIntermediate
32How does cache invalidation work, and why is deciding when to clear a cache often considered one of the harder problems in caching? PHP › Caching Strategies in PHPPHPCaching Strategies in PHPIntermediate
33What caching strategies are commonly used in Laravel applications, and how does the Cache facade simplify working with different cache backends? PHP › Caching Strategies in PHPPHPCaching Strategies in PHPIntermediate
34How does HybridCache (introduced in .NET 9) combine in-memory and distributed caching to solve common pain points? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
35How does Redis's data structure support (beyond simple key-value) enable caching patterns not possible with IMemoryCache? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
36How should a team design a comprehensive multi layer caching strategy for a high traffic PHP application, combining OPcache, application level caching, and a CDN? PHP › Caching Strategies in PHPPHPCaching Strategies in PHPAdvanced
37What are the fundamental differences between Redis and Memcached as caching solutions? Redis › Redis vs MemcachedRedisRedis vs MemcachedBeginner
38What is OPcache, and how does it improve PHP application performance by caching compiled bytecode? PHP › Performance Optimization & OPcachePHPPerformance Optimization & OPcacheBeginner
39What is the purpose of the Vary response header, and how does ASP.NET Core's content negotiation interact with HTTP caching correctness? ASP.NET Core › Content Negotiation & Output FormattersASP.NET CoreContent Negotiation & Output FormattersIntermediate
40How would you configure and use output caching or response caching for the static, non-interactive portions of a Blazor application? ASP.NET Core › Blazor Integration with ASP.NET CoreASP.NET CoreBlazor Integration with ASP.NET CoreAdvanced
41How would you implement memoization (caching function results) as a higher-order function wrapping an existing Function, and what thread-safety considerations apply for a memoized function used concurrently? Java › Functional Interfaces & Method ReferencesJavaFunctional Interfaces & Method ReferencesAdvanced
42How would you implement caching for a GraphQL API, given that unlike REST, a single endpoint serves widely varying query shapes that don't map cleanly to standard HTTP caching? Node.js › GraphQLNode.jsGraphQLAdvanced
43How does enabling Draft Mode affect caching behavior for a page that is normally statically generated? Next.js › Draft Mode & Preview ModeNext.jsDraft Mode & Preview ModeAdvanced
44How would you decide between Redis and Memcached for a large scale application with a purely simple, high volume string caching requirement and no need for advanced features? Redis › Redis vs MemcachedRedisRedis vs MemcachedAdvanced
45What performance and caching considerations become especially important when developing a WordPress plugin that will run on a high traffic website? PHP › WordPress Plugin & Theme DevelopmentPHPWordPress Plugin & Theme DevelopmentAdvanced
46What is the purpose of health check response caching and how does frequent health check polling itself impact application performance? .NET › Diagnostics & Performance.NETDiagnostics & PerformanceIntermediate
47How does automatic caching work in React Query, and why does it make an app feel faster? React › Data Fetching (React Query & SWR)ReactData Fetching (React Query & SWR)Intermediate
48How does caching work in CloudFront, and how do you control how long content stays cached? AWS › Amazon CloudFront & Content DeliveryAWSAmazon CloudFront & Content DeliveryIntermediate
49What caching strategies are commonly implemented using ElastiCache, such as lazy loading and write through? AWS › Amazon ElastiCache (Redis & Memcached)AWSAmazon ElastiCache (Redis & Memcached)Intermediate
50How do applications retrieve secrets at runtime, and what caching strategies help reduce the cost and latency of frequent secret retrieval? AWS › AWS Secrets Manager & Parameter StoreAWSAWS Secrets Manager & Parameter StoreIntermediate
51How does local caching work within Storage Gateway to balance performance for frequently accessed data against the durability benefits of cloud storage? AWS › AWS Storage GatewayAWSAWS Storage GatewayIntermediate
52How can properly and effectively caching network images using a package like cached_network_image genuinely help meaningfully improve both your app's own overall performance and its actual data usage? Flutter › Flutter Performance OptimizationFlutterFlutter Performance OptimizationIntermediate
53How does GraphQL's own built in caching mechanism, typically provided through a normalized cache, genuinely help meaningfully reduce redundant, unnecessary network requests within a Flutter app? Flutter › GraphQL in FlutterFlutterGraphQL in FlutterIntermediate
54How do you optimize image loading and caching in MAUI? .NET MAUI › Performance & Optimization.NET MAUIPerformance & OptimizationAdvanced
55How do you optimize image loading and caching in MAUI? .NET MAUI › Performance & Optimization.NET MAUIPerformance & OptimizationAdvanced
56Why can't you use WeakMap for caching results keyed by primitive values like strings or numbers? JavaScript › Map, Set, WeakMap & WeakSetJavaScriptMap, Set, WeakMap & WeakSetAdvanced
57Why is reflection generally slower than direct code, and what techniques (like caching or compiled expressions) mitigate this cost? C# › Attributes & ReflectionC#Attributes & ReflectionAdvanced
58How does Python's small integer caching (interning) affect identity comparisons ('is') versus equality comparisons ('==') for integers? Python › Data Types & StructuresPythonData Types & StructuresAdvanced
59How would you implement a caching/memoization decorator from scratch, similar to functools.lru_cache? Python › DecoratorsPythonDecoratorsAdvanced
60How would you implement a thread-safe caching decorator that correctly handles concurrent calls from multiple threads? Python › DecoratorsPythonDecoratorsAdvanced
61How does Python evaluate default argument expressions ONLY ONCE at definition time, and what SAFE pattern exploits this for genuinely useful caching? Python › Functions & ScopePythonFunctions & ScopeAdvanced
62What is functools.cached_property and how does it differ from @property combined with manual caching? Python › functools & Functional Programming ToolsPythonfunctools & Functional Programming ToolsAdvanced
63How does object interning (like small integer caching and string interning) affect memory and identity comparisons? Python › Memory Management & Garbage CollectionPythonMemory Management & Garbage CollectionAdvanced
64How does the module search and caching system handle submodule imports like `import package.subpackage.module`? Python › Modules & PackagingPythonModules & PackagingAdvanced
65Why does copying only the .csproj file before the rest of the source code in a Dockerfile improve build caching? .NET › Docker & Containerization.NETDocker & ContainerizationAdvanced
66How would you design a custom annotation-driven caching mechanism (similar to Spring's @Cacheable) using a dynamic proxy combined with reflection? Java › AnnotationsJavaAnnotationsAdvanced
67What is Redis's EXPIRE and how do TTL-based keys interact with Redis's own memory eviction policies under memory pressure? Node.js › CachingNode.jsCachingAdvanced
68How would you optimize Docker layer caching in a Node.js Dockerfile to speed up repeated builds during development? Node.js › Docker & DeploymentNode.jsDocker & DeploymentAdvanced
69How does OPcache's file validation and preloading feature work, and what performance benefit does preloading provide beyond standard bytecode caching? PHP › Performance Optimization & OPcachePHPPerformance Optimization & OPcacheAdvanced
70How does Symfony's caching and configuration compilation process contribute to strong production performance, and what needs to happen when deploying an updated version of a Symfony application? PHP › Symfony Framework EssentialsPHPSymfony Framework EssentialsAdvanced
71How can template caching and precompilation in Blade and Twig improve the performance of rendering templates on every incoming request? PHP › Template Engines (Blade & Twig)PHPTemplate Engines (Blade & Twig)Advanced
72How can build caching within a CI/CD pipeline significantly reduce the total time needed to complete each individual pipeline run for a Flutter project? Flutter › CI/CD Pipelines for Flutter AppsFlutterCI/CD Pipelines for Flutter AppsAdvanced
73What deployment and hosting considerations are genuinely specific to a Flutter web app, including properly configuring correct routing on the actual hosting server and setting up an effective caching strategy? Flutter › Flutter for Web DevelopmentFlutterFlutter for Web DevelopmentAdvanced
74What are the practical performance considerations of reading from SharedPreferences repeatedly throughout your app, and how does properly caching those particular values in memory help meaningfully avoid genuinely unnecessary repeated disk access? Flutter › Local Data Storage with SharedPreferencesFlutterLocal Data Storage with SharedPreferencesAdvanced
75What is IMemoryCache, and when is it appropriate for an ASP.NET Core application? ASP.NET Core › CachingASP.NET CoreCachingBeginner
76What is the difference between res.set('Cache-Control', 'no-cache') and 'no-store' in an Express response? Node.js › CachingNode.jsCachingBeginner
77What is IDistributedCache, and how does it differ from IMemoryCache in a horizontally-scaled ASP.NET Core deployment? ASP.NET Core › CachingASP.NET CoreCachingIntermediate
78How do you configure a cache entry's absolute versus sliding expiration, and when would you combine both? ASP.NET Core › CachingASP.NET CoreCachingIntermediate
79How does the [OutputCache] attribute's VaryByValue option let you cache based on custom, computed criteria beyond query strings or headers? ASP.NET Core › CachingASP.NET CoreCachingIntermediate
80How would you implement a Least Recently Used (LRU) cache in Node.js, and why is eviction necessary for an in-memory cache? Node.js › CachingNode.jsCachingIntermediate
81What is memoization, and how does it differ from a general-purpose external cache like Redis? Node.js › CachingNode.jsCachingIntermediate
82How would you cache the result of a database query in Node.js while ensuring the cache is properly invalidated when the underlying data changes? Node.js › CachingNode.jsCachingIntermediate
83How do you control how long a fetched piece of data stays cached before it is considered stale? Next.js › CachingNext.jsCachingIntermediate
84What is the 'cache stampede' (thundering herd) problem, and how would you mitigate it in an ASP.NET Core application? ASP.NET Core › CachingASP.NET CoreCachingAdvanced
85What are common cache invalidation strategies for ensuring cached data doesn't become stale, and why is invalidation considered a genuinely hard problem? ASP.NET Core › CachingASP.NET CoreCachingAdvanced
86How would you cache the results of an expensive, paginated database query while correctly handling different page/filter parameter combinations? ASP.NET Core › CachingASP.NET CoreCachingAdvanced
87What are the main cache invalidation strategies (TTL, write-through, cache-aside), and when is each appropriate? Node.js › CachingNode.jsCachingAdvanced
88What is cache stampede (thundering herd), and how do you prevent it in a high-traffic Node.js service? Node.js › CachingNode.jsCachingAdvanced
89How would you manually clear cached data after a user performs an action, such as creating a new post? Next.js › CachingNext.jsCachingAdvanced
90What does the GetOrCreateAsync pattern accomplish when working with IMemoryCache, and why is it preferred over separate TryGetValue/Set calls? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Beginner
91How do you connect a Node.js application to Redis using the official node-redis client? Node.js › Caching with RedisNode.jsCaching with RedisBeginner
92What is the cache aside pattern, and how does it work with Redis? Redis › Caching PatternsRedisCaching PatternsBeginner
93What is the difference between absolute expiration and sliding expiration when configuring a cache entry? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
94How do you configure and use Redis as a distributed cache in ASP.NET Core with StackExchange.Redis? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
95What are common cache invalidation strategies, and why is cache invalidation considered a genuinely hard problem? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Intermediate
96What Redis data structures beyond simple string values are useful for a Node.js application, and what are they typically used for? Node.js › Caching with RedisNode.jsCaching with RedisIntermediate
97How would you implement a simple rate limiter using Redis's INCR command with expiration? Node.js › Caching with RedisNode.jsCaching with RedisIntermediate
98What is Redis Pub/Sub, and how would a Node.js application use it to broadcast real-time events across multiple server instances? Node.js › Caching with RedisNode.jsCaching with RedisIntermediate
99What is IDistributedCache, and how does it differ from IMemoryCache in a multi-instance deployment? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
100What is the 'cache stampede' (thundering herd) problem, and how can you mitigate it? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
101How would you implement cache tag-based invalidation to clear a group of related cache entries at once? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
102How do you handle cache serialization for complex objects when using IDistributedCache, given it only natively supports byte[]? .NET › Caching (In-Memory, Distributed & Redis).NETCaching (In-Memory, Distributed & Redis)Advanced
103How would you implement a distributed lock using Redis to coordinate access to a shared resource across multiple Node.js instances? Node.js › Caching with RedisNode.jsCaching with RedisAdvanced
104How would you prevent a cache stampede, where many requests simultaneously try to regenerate the same expired cache entry at once? Redis › Caching PatternsRedisCaching PatternsAdvanced
105How do you implement cache invalidation correctly when the same underlying data is cached under multiple different keys? Redis › Caching PatternsRedisCaching PatternsAdvanced
106How does the cache stampede problem occur, and what strategies help prevent it in a high traffic PHP application? PHP › Caching Strategies in PHPPHPCaching Strategies in PHPAdvanced
107What is Entity Framework Core, and how does it relate to the Repository and Unit of Work patterns? .NET › Entity Framework Core & Data Access.NETEntity Framework Core & Data AccessBeginner
108What is the purpose of the express.static() built-in middleware, and how would you use it to serve a folder of static assets? Node.js › Express & MiddlewareNode.jsExpress & MiddlewareBeginner
109How do you fetch data inside a server component in the App Router? Next.js › Data FetchingNext.jsData FetchingBeginner
110What is on-demand revalidation in Next.js, and how is it different from time based revalidation? Next.js › On-Demand Revalidation StrategiesNext.jsOn-Demand Revalidation StrategiesBeginner
111What does getStaticProps do in the Next.js Pages Router? Next.js › Pages Router Data Fetching (getStaticProps, getServerSideProps & getStaticPaths)Next.jsPages Router Data Fetching (getStaticProps, getServerSideProps & getStaticPaths)Beginner
112What are the three main rendering strategies available in Next.js, and what does each one mean? Next.js › Rendering (SSR/SSG/ISR)Next.jsRendering (SSR/SSG/ISR)Beginner
113How do you set an expiration time on a Redis key so it automatically gets deleted after a certain period? Redis › Expiration & EvictionRedisExpiration & EvictionBeginner
114What is the difference between the EXPIRE, TTL, and PERSIST commands in Redis? Redis › Expiration & EvictionRedisExpiration & EvictionBeginner
115How do you check the cache hit and miss ratio for a Redis instance being used as a cache, and why does this metric matter? Redis › Redis Monitoring & ObservabilityRedisRedis Monitoring & ObservabilityBeginner
116Does Memcached support data persistence the way Redis does with RDB and AOF? Redis › Redis vs MemcachedRedisRedis vs MemcachedBeginner
117What is Docker Compose, and how does it simplify running a multi-container .NET application locally (e.g., API + database + Redis)? .NET › Docker & Containerization.NETDocker & ContainerizationIntermediate
118How does header-based API versioning work, and what's a scenario where it's preferred over URL segment versioning? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningIntermediate
119How does query string-based API versioning work, and what are its trade-offs compared to URL segment versioning? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningIntermediate
120How do claims transformations (IClaimsTransformation) let you augment a user's claims after initial authentication but before authorization checks run? ASP.NET Core › AuthenticationASP.NET CoreAuthenticationIntermediate
121What is an IResourceFilter, and how does its position in the pipeline (before model binding) make it useful for short-circuiting expensive work? ASP.NET Core › FiltersASP.NET CoreFiltersIntermediate
122How do you add pre-built health checks for common external dependencies like SQL Server, Redis, or a URL endpoint, using the community AspNetCore.Diagnostics.HealthChecks packages? ASP.NET Core › Health ChecksASP.NET CoreHealth ChecksIntermediate
123What are the four types of references in java.lang.ref (strong, soft, weak, phantom), and how does each affect an object's eligibility for garbage collection? Java › Garbage CollectionJavaGarbage CollectionIntermediate
124How does session-based authentication work in a Node.js/Express application, and what does the session store need to handle? Node.js › Authentication & AuthorizationNode.jsAuthentication & AuthorizationIntermediate
125How does BullMQ (built on Redis) implement a job queue in Node.js, and what are its core building blocks? Node.js › Background Jobs & QueuesNode.jsBackground Jobs & QueuesIntermediate
126What is job concurrency in a worker process, and how do you configure it safely in BullMQ? Node.js › Background Jobs & QueuesNode.jsBackground Jobs & QueuesIntermediate
127What are the trade-offs of using an in-memory job queue (like a simple array-based queue) versus a persistent, Redis-backed queue? Node.js › Background Jobs & QueuesNode.jsBackground Jobs & QueuesIntermediate
128How do you fetch multiple pieces of data in parallel to avoid slow, sequential loading? Next.js › Data FetchingNext.jsData FetchingIntermediate
129How do you use revalidateTag to refresh multiple related pieces of cached content at once? Next.js › On-Demand Revalidation StrategiesNext.jsOn-Demand Revalidation StrategiesIntermediate
130How does incremental static regeneration let you get the benefits of both static pages and fresh content? Next.js › Rendering (SSR/SSG/ISR)Next.jsRendering (SSR/SSG/ISR)Intermediate
131What is the difference between the LRU and LFU eviction algorithms, and when would you choose one over the other? Redis › Expiration & EvictionRedisExpiration & EvictionIntermediate
132How do you subscribe to and handle a specific type of keyspace notification, such as being alerted whenever a key expires? Redis › Keyspace NotificationsRedisKeyspace NotificationsIntermediate
133How do you trim a Redis list to keep only a specific number of the most recent items, discarding older entries automatically? Redis › Lists in RedisRedisLists in RedisIntermediate
134How do you bind an interface to a specific concrete implementation within a service container, and why is this a common and valuable pattern? PHP › Dependency Injection & Service ContainersPHPDependency Injection & Service ContainersIntermediate
135How do file locking mechanisms in PHP, using the flock function, help prevent data corruption when multiple processes might write to the same file concurrently? PHP › File Handling & File System FunctionsPHPFile Handling & File System FunctionsIntermediate
136How does the static keyword affect a variable declared inside a function, and how does this differ from a regular local variable? PHP › Functions & ScopePHPFunctions & ScopeIntermediate
137How 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
138How does API rate limiting work, and why is it an important protection mechanism for a public facing RESTful API? PHP › RESTful API Development with PHPPHPRESTful API Development with PHPIntermediate
139How does token revocation work with stateless JWTs, given they can't simply be 'deleted' server-side once issued? .NET › Authentication & Authorization (Identity, JWT, OAuth).NETAuthentication & Authorization (Identity, JWT, OAuth)Advanced
140What is a 'circuit' in Blazor Server, and how does server-side state management work across it? .NET › Blazor (Server & WebAssembly).NETBlazor (Server & WebAssembly)Advanced
141How does service lifetime (Scoped, Singleton, Transient) have different practical meaning in Blazor Server versus Blazor WebAssembly? .NET › Blazor (Server & WebAssembly).NETBlazor (Server & WebAssembly)Advanced
142How would you design configuration for a multi-tenant application where each tenant needs different settings resolved at runtime? .NET › Configuration & Options.NETConfiguration & OptionsAdvanced
143How do refresh tokens work alongside short-lived JWT access tokens, and how would you implement a refresh endpoint? ASP.NET Core › AuthenticationASP.NET CoreAuthenticationAdvanced
144How would you implement sign-out that properly invalidates both a cookie session and any associated server-side state? ASP.NET Core › AuthenticationASP.NET CoreAuthenticationAdvanced
145How would you design an authorization system supporting dynamically-configurable, admin-managed permissions rather than hardcoded policies in code? ASP.NET Core › AuthorizationASP.NET CoreAuthorizationAdvanced
146How does Blazor Server's SignalR-based interactivity affect load balancing and horizontal scaling decisions for an ASP.NET Core deployment? ASP.NET Core › Blazor Integration with ASP.NET CoreASP.NET CoreBlazor Integration with ASP.NET CoreAdvanced
147How would you design configuration for a multi-tenant ASP.NET Core application where each tenant needs different settings resolved at runtime? ASP.NET Core › Configuration & Options PatternASP.NET CoreConfiguration & Options PatternAdvanced
148How would you design a filter-based rate limiting solution before ASP.NET Core 7's built-in rate limiting middleware existed, and why is the built-in middleware now generally preferred? ASP.NET Core › FiltersASP.NET CoreFiltersAdvanced
149How do you choose between HashMap, LinkedHashMap, and TreeMap based on their different ordering guarantees and performance characteristics? Java › Collections FrameworkJavaCollections FrameworkAdvanced
150How would you implement the Proxy pattern to add lazy initialization to an expensive-to-create object, and how does this differ structurally from the Decorator pattern despite both wrapping an object behind a shared interface? Java › Design Patterns in JavaJavaDesign Patterns in JavaAdvanced
151What are the main strategies for optimizing performance in a .NET application? .NET › Diagnostics & Performance.NETDiagnostics & PerformanceAdvanced
152What happens to in-memory state (like an in-memory cache) when using the Node.js cluster module, and how do you handle this correctly? Node.js › Clustering & Worker ThreadsNode.jsClustering & Worker ThreadsAdvanced
153How would you implement rate limiting or throttling for outgoing notifications to avoid overwhelming users or violating a provider's sending limits? Node.js › Email & NotificationsNode.jsEmail & NotificationsAdvanced
154How would you implement a simple in-process file-based cache in Node.js, and what are the tradeoffs versus using Redis? Node.js › File System & File ProcessingNode.jsFile System & File ProcessingAdvanced
155How would you implement HTTP/2 server push in Node.js, and why has server push become less commonly recommended over time? Node.js › HTTP & Web ServersNode.jsHTTP & Web ServersAdvanced
156How does Docker Compose simplify running a Node.js application alongside its dependencies (like a database and Redis) during local development? Node.js › Docker & Containerization for Node.jsNode.jsDocker & Containerization for Node.jsAdvanced
157How does SWR's stale while revalidate strategy work, and why is it useful? React › Data Fetching (React Query & SWR)ReactData Fetching (React Query & SWR)Advanced
158What is request deduplication in Next.js, and how does it help with data fetching? Next.js › Data FetchingNext.jsData FetchingAdvanced
159What are common performance issues when integrating a database with Next.js, and how do you fix them? Next.js › Database Integration with Next.jsNext.jsDatabase Integration with Next.jsAdvanced
160How would you handle a very large number of dynamic pages, such as millions of products, without making the build take too long? Next.js › Dynamic Routes & Catch-All SegmentsNext.jsDynamic Routes & Catch-All SegmentsAdvanced
161What are the tradeoffs between using revalidatePath and revalidateTag for a large application with many interconnected pages? Next.js › On-Demand Revalidation StrategiesNext.jsOn-Demand Revalidation StrategiesAdvanced
162How would you design a rendering strategy for a large application with a mix of static marketing pages, semi dynamic product pages, and fully personalized account pages? Next.js › Rendering (SSR/SSG/ISR)Next.jsRendering (SSR/SSG/ISR)Advanced
163How would you build a reliable cache invalidation system using keyspace notifications, while accounting for their delivery limitations? Redis › Keyspace NotificationsRedisKeyspace NotificationsAdvanced
164How would you use a Bloom filter to prevent a cache stampede or unnecessary database lookups for items that definitely do not exist? Redis › RedisBloom (Probabilistic Data Structures)RedisRedisBloom (Probabilistic Data Structures)Advanced
165How should a team approach a comprehensive performance optimization effort for a PHP application experiencing slow response times under production load, prioritizing which areas to address first? PHP › Performance Optimization & OPcachePHPPerformance Optimization & OPcacheAdvanced
166How can you store session data in a shared storage system like Redis or a database instead of the default local file storage, and why is this often necessary for applications running on multiple servers? PHP › Sessions & CookiesPHPSessions & CookiesAdvanced