| 1 | What is the Options pattern, and why is it preferred over injecting IConfiguration directly and reading string keys throughout an application? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Intermediate |
| 2 | What are Configuration and Options pattern in .NET Core? .NET Core › Configuration & Options Pattern | .NET Core | Configuration & Options Pattern | Intermediate |
| 3 | How do you validate configuration options at application startup to fail fast on misconfiguration, using ValidateDataAnnotations and ValidateOnStart? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Advanced |
| 4 | How does ASP.NET Core's configuration system layer multiple sources together, and what is the default provider precedence? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Beginner |
| 5 | How does named options support configuring multiple distinct instances of the same options class? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Intermediate |
| 6 | How does the configuration binder handle nested objects and arrays when binding a JSON section to a strongly-typed C# class? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Advanced |
| 7 | How do environment variables map to nested configuration keys, given some shells don't support colons in variable names? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Intermediate |
| 8 | How does the command-line configuration provider let you override settings via arguments when running an application, and what's its precedence? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Intermediate |
| 9 | What is the difference between IOptions<T>, IOptionsSnapshot<T>, and IOptionsMonitor<T>, and which is safe to inject into a singleton? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Advanced |
| 10 | How does configuration hot-reload work with reloadOnChange for appsettings.json, and what are its limitations? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Advanced |
| 11 | How would you write a custom configuration provider to load settings from an unsupported source, like a remote configuration service or database? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Advanced |
| 12 | How 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 Pattern | ASP.NET Core | Configuration & Options Pattern | Advanced |
| 13 | How do you write a custom IValidateOptions<T> implementation for validation logic beyond what DataAnnotations attributes can express? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Advanced |
| 14 | How does appsettings.{Environment}.json layering work, and how does ASP.NET Core determine the current environment? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Intermediate |
| 15 | What is user secrets (dotnet user-secrets), and why should it be used only for local development, never production? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Intermediate |
| 16 | How do you use IHostEnvironment/IWebHostEnvironment to conditionally configure services based on the current environment? ASP.NET Core › Configuration & Options Pattern | ASP.NET Core | Configuration & Options Pattern | Intermediate |
| 17 | What is the Options pattern, and why is it preferred over directly injecting IConfiguration into services? .NET › Configuration & Options | .NET | Configuration & Options | Intermediate |
| 18 | How would you design configuration for a multi-tenant application where each tenant needs different settings resolved at runtime? .NET › Configuration & Options | .NET | Configuration & Options | Advanced |
| 19 | How does System.Text.Json's configuration (via AddJsonOptions) let you customize the default JSON serialization behavior globally? ASP.NET Core › Content Negotiation & Output Formatters | ASP.NET Core | Content Negotiation & Output Formatters | Intermediate |
| 20 | How does the Options pattern's IOptions<T>/IOptionsSnapshot<T> relate to and build upon the standard DI container? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Intermediate |
| 21 | What is the Options pattern's relationship to DI, and how does IOptions<T> itself get resolved through the container? .NET › Dependency Injection | .NET | Dependency Injection | Advanced |
| 22 | How do you register a service using a factory delegate instead of a simple type mapping, when construction requires reading configuration or resolving other services conditionally? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Intermediate |
| 23 | How does hosting an ASP.NET Core application in a Docker container change considerations around Kestrel configuration and reverse proxying compared to traditional VM or bare-metal hosting? ASP.NET Core › Hosting Models: Kestrel, IIS & Reverse Proxies | ASP.NET Core | Hosting Models: Kestrel, IIS & Reverse Proxies | Intermediate |
| 24 | What role does a reverse proxy play in TLS/SSL termination, and why is this pattern common in production deployments? ASP.NET Core › Hosting Models: Kestrel, IIS & Reverse Proxies | ASP.NET Core | Hosting Models: Kestrel, IIS & Reverse Proxies | Intermediate |
| 25 | How do you manage different configurations for different environments (development, staging, production) using Maven profiles or Gradle's equivalent mechanisms? Java › Build Tools: Maven & Gradle | Java | Build Tools: Maven & Gradle | Intermediate |
| 26 | How would you use an enum to represent a fixed set of configuration keys combined with a shared lookup method, avoiding scattered String literal keys throughout a codebase? Java › Enums | Java | Enums | Intermediate |
| 27 | What is the difference between role-based and claims-based authorization in ASP.NET Core? ASP.NET Core › Authorization | ASP.NET Core | Authorization | Beginner |
| 28 | What is IMemoryCache, and when is it appropriate for an ASP.NET Core application? ASP.NET Core › Caching | ASP.NET Core | Caching | Beginner |
| 29 | What is dependency injection, and how does ASP.NET Core's built-in DI container support it out of the box? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Beginner |
| 30 | How do you exclude a globally-registered filter from running on one specific action or controller? ASP.NET Core › Filters | ASP.NET Core | Filters | Beginner |
| 31 | What is Kestrel, and how does its role in ASP.NET Core hosting differ from a traditional web server like IIS? ASP.NET Core › Hosting Models: Kestrel, IIS & Reverse Proxies | ASP.NET Core | Hosting Models: Kestrel, IIS & Reverse Proxies | Beginner |
| 32 | What is the difference between Kestrel's ListenAnyIP and Listen methods for binding to network addresses? ASP.NET Core › Hosting Models: Kestrel, IIS & Reverse Proxies | ASP.NET Core | Hosting Models: Kestrel, IIS & Reverse Proxies | Beginner |
| 33 | How would you get the current date and time, and how does specifying an explicit ZoneId (versus relying on the system default) affect the result of LocalDate.now() or LocalDateTime.now()? Java › Java Date & Time API (java.time) | Java | Java Date & Time API (java.time) | Beginner |
| 34 | How do you configure and use Redis as a distributed cache in ASP.NET Core with StackExchange.Redis? .NET › Caching (In-Memory, Distributed & Redis) | .NET | Caching (In-Memory, Distributed & Redis) | Intermediate |
| 35 | How do feature flags decouple code deployment from feature release in a CI/CD workflow? .NET › CI/CD, Publishing & Deployment | .NET | CI/CD, Publishing & Deployment | Intermediate |
| 36 | How do you combine multiple authorization requirements within a single policy, and how are they evaluated (AND vs OR logic)? ASP.NET Core › Authorization | ASP.NET Core | Authorization | Intermediate |
| 37 | How do you implement a periodic scheduled task using PeriodicTimer instead of Task.Delay, and what problem does it solve? ASP.NET Core › Background Tasks & Hosted Services | ASP.NET Core | Background Tasks & Hosted Services | Intermediate |
| 38 | What is IDistributedCache, and how does it differ from IMemoryCache in a horizontally-scaled ASP.NET Core deployment? ASP.NET Core › Caching | ASP.NET Core | Caching | Intermediate |
| 39 | How does the newer Output Caching middleware (introduced in .NET 7) differ from Response Caching middleware? ASP.NET Core › Caching | ASP.NET Core | Caching | Intermediate |
| 40 | How does HybridCache (introduced in .NET 9) unify in-memory and distributed caching, and what problems does it solve? ASP.NET Core › Caching | ASP.NET Core | Caching | Intermediate |
| 41 | How do you configure Redis as the backing distributed cache for both IDistributedCache and Output Caching in the same application? ASP.NET Core › Caching | ASP.NET Core | Caching | Intermediate |
| 42 | How do you register multiple implementations of the same interface and resolve all of them together via IEnumerable<T>? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Intermediate |
| 43 | How do you apply a filter globally to every controller action, versus scoping it to a specific controller or individual action? ASP.NET Core › Filters | ASP.NET Core | Filters | Intermediate |
| 44 | How do you enable and use gRPC reflection for service discovery and debugging tools like grpcurl or Postman? ASP.NET Core › gRPC Services | ASP.NET Core | gRPC Services | Intermediate |
| 45 | How do you implement a custom health check by implementing IHealthCheck, such as checking database connectivity? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Intermediate |
| 46 | How 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 Checks | ASP.NET Core | Health Checks | Intermediate |
| 47 | What is the difference between the in-process and out-of-process hosting models when running an ASP.NET Core application under IIS? ASP.NET Core › Hosting Models: Kestrel, IIS & Reverse Proxies | ASP.NET Core | Hosting Models: Kestrel, IIS & Reverse Proxies | Intermediate |
| 48 | What is a self-signed certificate, and why is the ASP.NET Core development HTTPS certificate (dotnet dev-certs) not suitable for production use? ASP.NET Core › HTTPS, Certificates & Transport Security | ASP.NET Core | HTTPS, Certificates & Transport Security | Intermediate |
| 49 | How does the UseHttpsRedirection() middleware determine which port to redirect to, and how do you explicitly configure it when the HTTPS port isn't on the default 443? ASP.NET Core › HTTPS, Certificates & Transport Security | ASP.NET Core | HTTPS, Certificates & Transport Security | Intermediate |
| 50 | What is a Maven BOM (Bill of Materials), and how does it help manage consistent dependency versions across a multi-module project or organization? Java › Build Tools: Maven & Gradle | Java | Build Tools: Maven & Gradle | Intermediate |
| 51 | What is the significance of storing date-time values in UTC in a database or when transmitting between systems, rather than storing them in a specific local timezone? Java › Java Date & Time API (java.time) | Java | Java Date & Time API (java.time) | Intermediate |
| 52 | What is Dependency Injection (DI) in .NET Core? How is it implemented? .NET Core › Dependency Injection in .NET Core | .NET Core | Dependency Injection in .NET Core | Intermediate |
| 53 | What is Entity Framework Core (EF Core)? How is it different from EF6? .NET Core › Entity Framework Core | .NET Core | Entity Framework Core | Intermediate |
| 54 | How do you combine multiple version reader strategies (e.g., both URL segment AND header) to give clients flexibility in how they specify a version? ASP.NET Core › API Versioning | ASP.NET Core | API Versioning | Advanced |
| 55 | How does JWT bearer authentication validate an incoming token, and what claims does TokenValidationParameters check? ASP.NET Core › Authentication | ASP.NET Core | Authentication | Advanced |
| 56 | How do external identity provider integrations (like Google or Microsoft Entra ID) work using OAuth/OpenID Connect authentication handlers? ASP.NET Core › Authentication | ASP.NET Core | Authentication | Advanced |
| 57 | How would you implement a custom IAuthorizationRequirement and IAuthorizationHandler for a business rule like 'only during business hours'? ASP.NET Core › Authorization | ASP.NET Core | Authorization | Advanced |
| 58 | How would you design an authorization system supporting dynamically-configurable, admin-managed permissions rather than hardcoded policies in code? ASP.NET Core › Authorization | ASP.NET Core | Authorization | Advanced |
| 59 | How would you implement a cron-like scheduled background job (e.g., 'run daily at 2 AM') without a third-party scheduling library? ASP.NET Core › Background Tasks & Hosted Services | ASP.NET Core | Background Tasks & Hosted Services | Advanced |
| 60 | How do you configure CORS to allow multiple specific known origins simultaneously, such as production, staging, and local development? ASP.NET Core › CORS (Cross-Origin Resource Sharing) | ASP.NET Core | CORS (Cross-Origin Resource Sharing) | Advanced |
| 61 | What are keyed services (introduced in .NET 8), and what problem do they solve compared to injecting IEnumerable<T> when you need one specific implementation? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Advanced |
| 62 | How does dependency injection integrate with minimal API endpoint handlers versus controller constructors? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Advanced |
| 63 | How would you design exception handling to support internationalized (localized) error messages returned to different clients in their preferred language? ASP.NET Core › Error Handling | ASP.NET Core | Error Handling | Advanced |
| 64 | How does an IAsyncActionFilter differ from the synchronous IActionFilter, and why is the async version generally preferred for filters doing I/O work? ASP.NET Core › Filters | ASP.NET Core | Filters | Advanced |
| 65 | How do you control the execution order of multiple filters of the same type applied to a single action? ASP.NET Core › Filters | ASP.NET Core | Filters | Advanced |
| 66 | How would you integrate health check results with the AspNetCore.HealthChecks.UI package to get a persistent, historical dashboard view of health status over time? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Advanced |
| 67 | What is YARP (Yet Another Reverse Proxy), and how does it compare to nginx or IIS as a reverse proxy option for ASP.NET Core applications? ASP.NET Core › Hosting Models: Kestrel, IIS & Reverse Proxies | ASP.NET Core | Hosting Models: Kestrel, IIS & Reverse Proxies | Advanced |
| 68 | How would you configure Kestrel to use a specific X.509 certificate for HTTPS, and what are the different ways to supply that certificate (file-based, certificate store, Azure Key Vault)? ASP.NET Core › HTTPS, Certificates & Transport Security | ASP.NET Core | HTTPS, Certificates & Transport Security | Advanced |
| 69 | How would you implement Server Name Indication (SNI)-based certificate selection in Kestrel, serving different TLS certificates for different hostnames on the same IP/port? ASP.NET Core › HTTPS, Certificates & Transport Security | ASP.NET Core | HTTPS, Certificates & Transport Security | Advanced |
| 70 | How would you handle adding behavior to an enum where the number of constants might grow very large or needs to be data-driven rather than hardcoded at compile time, and why might a class-based registry be more appropriate in that scenario? Java › Enums | Java | Enums | Advanced |
| 71 | What are .NET Core Hosting Models? .NET Core › .NET Core Hosting Models | .NET Core | .NET Core Hosting Models | Advanced |