| 1 | What is the ASP.NET Core Health Checks middleware, and what problem does it solve? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Beginner |
| 2 | 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 |
| 3 | How do health checks interact with dependency injection scoping, particularly for checks that need a scoped service like a DbContext? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Intermediate |
| 4 | How do you differentiate liveness and readiness health checks using tags, and why does Kubernetes treat these two probe types differently? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Advanced |
| 5 | 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 |
| 6 | How can you customize health checks for third-party or custom resources? ArgoCD › Sync & Health | ArgoCD | Sync & Health | Advanced |
| 7 | What HTTP status code does the health check middleware return by default for each status (Healthy, Degraded, Unhealthy)? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Beginner |
| 8 | 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 |
| 9 | How do you customize the JSON response format of the health check endpoint, since the default output is just plain text status? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Intermediate |
| 10 | Why should the detailed /health endpoint (with full dependency status breakdown) generally not be exposed publicly on the internet, and how do you restrict access to it? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Intermediate |
| 11 | How would you write an integration test verifying that your health check endpoint correctly reports Unhealthy when a dependency is down? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Intermediate |
| 12 | How would you exclude health check endpoints from other cross-cutting middleware like authentication, logging, or rate limiting that shouldn't apply to frequent automated health polling? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Intermediate |
| 13 | How would you implement a health check that reports Degraded (rather than a binary Healthy/Unhealthy) based on a performance threshold, like elevated database query latency? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Advanced |
| 14 | How would you set a per-check timeout to prevent one slow or hanging dependency check from blocking the entire /health endpoint response indefinitely? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Advanced |
| 15 | How would you implement a startup-specific health check distinct from ongoing liveness/readiness, useful for slow-starting applications with lengthy initialization (like cache warming or large data loads)? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Advanced |
| 16 | How would you design a health check for a service with multiple independent downstream dependencies where you want the overall status to reflect the worst individual result, but also need each dependency's specific status individually visible for diagnostics? ASP.NET Core › Health Checks | ASP.NET Core | Health Checks | Advanced |
| 17 | What is the role of automated smoke tests and health checks immediately after a deployment completes? .NET › CI/CD, Publishing & Deployment | .NET | CI/CD, Publishing & Deployment | Intermediate |
| 18 | How do background services interact with health checks to signal their operational status? .NET › Background Services | .NET | Background Services | Advanced |
| 19 | How do background services interact with health checks to signal their operational status to an orchestrator like Kubernetes? ASP.NET Core › Background Tasks & Hosted Services | ASP.NET Core | Background Tasks & Hosted Services | Advanced |
| 20 | What are Route 53 health checks, and how do they support failover routing? AWS › Amazon Route 53 & DNS Management | AWS | Amazon Route 53 & DNS Management | Intermediate |
| 21 | How do health checks work within an Auto Scaling Group to maintain a healthy fleet of instances? AWS › Auto Scaling Groups | AWS | Auto Scaling Groups | Intermediate |
| 22 | How do target groups and health checks work together within an Application Load Balancer to route traffic only to healthy instances? AWS › Elastic Load Balancing (ALB, NLB & CLB) | AWS | Elastic Load Balancing (ALB, NLB & CLB) | Intermediate |
| 23 | How should an application handle database connection failures gracefully, including implementing retry logic and connection health checks for a reliable production system? PHP › PDO & Databases | PHP | PDO & Databases | Advanced |
| 24 | How does running PHP within Docker containers in a production Kubernetes environment introduce additional considerations around health checks, resource limits, and horizontal scaling? PHP › PHP with Docker | PHP | PHP with Docker | Advanced |
| 25 | What is the purpose of health check response caching and how does frequent health check polling itself impact application performance? .NET › Diagnostics & Performance | .NET | Diagnostics & Performance | Intermediate |
| 26 | What is a container health check (HEALTHCHECK instruction), and how does it differ from a Kubernetes liveness/readiness probe? .NET › Docker & Containerization | .NET | Docker & Containerization | Advanced |
| 27 | How would you implement a health check specifically for a gRPC service, distinct from the standard ASP.NET Core health check middleware designed for REST endpoints? ASP.NET Core › gRPC Services | ASP.NET Core | gRPC Services | Advanced |
| 28 | What's the difference between app.Use, app.Run, and app.Map in configuring the middleware pipeline? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Intermediate |
| 29 | How do you conditionally apply middleware only to certain requests using UseWhen or MapWhen? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Intermediate |
| 30 | What is the purpose of the dotnet-monitor tool, and how does it enable diagnostics in containerized/production environments? .NET › Diagnostics & Performance | .NET | Diagnostics & Performance | Intermediate |
| 31 | How do you apply a global authorization policy requiring authentication by default for every endpoint, with explicit opt-out for public ones? ASP.NET Core › Authorization | ASP.NET Core | Authorization | Intermediate |
| 32 | How should exceptions be handled inside a BackgroundService's work loop to prevent one failure from silently stopping all future processing? ASP.NET Core › Background Tasks & Hosted Services | ASP.NET Core | Background Tasks & Hosted Services | Intermediate |
| 33 | How does IHostApplicationLifetime let a BackgroundService react to application startup and shutdown events? ASP.NET Core › Background Tasks & Hosted Services | ASP.NET Core | Background Tasks & Hosted Services | Intermediate |
| 34 | Can a single ASP.NET Core project use both controllers and minimal APIs simultaneously, and what are valid reasons to do so? ASP.NET Core › Controllers vs Minimal APIs | ASP.NET Core | Controllers vs Minimal APIs | Intermediate |
| 35 | How do you configure Kestrel to listen on multiple endpoints (different ports, or both HTTP and HTTPS simultaneously)? ASP.NET Core › Hosting Models: Kestrel, IIS & Reverse Proxies | ASP.NET Core | Hosting Models: Kestrel, IIS & Reverse Proxies | Intermediate |
| 36 | What is IHostedLifecycleService, and how does it provide more granular hooks than IHostedService's StartAsync/StopAsync? .NET › Background Services | .NET | Background Services | Advanced |
| 37 | How does deployment slot swapping (e.g., Azure App Service deployment slots) enable near-zero-downtime deployments? .NET › CI/CD, Publishing & Deployment | .NET | CI/CD, Publishing & Deployment | Advanced |
| 38 | How do you implement automated rollback in a CI/CD pipeline triggered by post-deployment monitoring signals (error rate, latency)? .NET › CI/CD, Publishing & Deployment | .NET | CI/CD, Publishing & Deployment | Advanced |
| 39 | How would you implement a startup task that must complete successfully before the Generic Host considers the application ready to serve traffic or process work? .NET › Generic Host | .NET | Generic Host | Advanced |
| 40 | How would you implement a circuit breaker pattern to prevent cascading failures when a downstream dependency is consistently failing? ASP.NET Core › Error Handling | ASP.NET Core | Error Handling | Advanced |
| 41 | How would you implement graceful shutdown handling in Kestrel/ASP.NET Core to ensure in-flight requests complete before a container or process terminates during a deployment or scale-down event? ASP.NET Core › Hosting Models: Kestrel, IIS & Reverse Proxies | ASP.NET Core | Hosting Models: Kestrel, IIS & Reverse Proxies | Advanced |
| 42 | How would you design a certificate rotation strategy that achieves zero downtime, avoiding the risk of an expired certificate causing an outage? ASP.NET Core › HTTPS, Certificates & Transport Security | ASP.NET Core | HTTPS, Certificates & Transport Security | Advanced |