| 1 | What are Python's five standard logging severity levels, from lowest to highest? Python › Logging | Python | Logging | Beginner |
| 2 | What does logging.basicConfig() do, and what are its common pitfalls? Python › Logging | Python | Logging | Beginner |
| 3 | What is the relationship between Logger, Handler, Formatter, and Filter in the logging module? Python › Logging | Python | Logging | Intermediate |
| 4 | Why is it recommended to use logging.getLogger(__name__) instead of the root logger in library and module code? Python › Logging | Python | Logging | Intermediate |
| 5 | How do you configure logging using a dictionary via logging.config.dictConfig? Python › Logging | Python | Logging | Intermediate |
| 6 | How does logging.NullHandler help library authors avoid the 'No handlers could be found' warning? Python › Logging | Python | Logging | Advanced |
| 7 | Why should you use the logging module instead of print() for diagnostic output? Python › Logging | Python | Logging | Beginner |
| 8 | Why is logging generally considered thread-safe, and what should you still be careful about in multiprocessing? Python › Logging | Python | Logging | Advanced |
| 9 | How would you write a custom logging.Filter to redact sensitive data like passwords from log messages? Python › Logging | Python | Logging | Advanced |
| 10 | Why is structured (JSON) logging generally preferred over plain-text console.log() statements in a production Node.js application? Node.js › Logging & Monitoring | Node.js | Logging & Monitoring | Beginner |
| 11 | How is Logging handled in .NET Core? .NET Core › Logging in .NET Core | .NET Core | Logging in .NET Core | Beginner |
| 12 | What is an APM (Application Performance Monitoring) tool, and what capabilities does it typically add beyond basic logging? Node.js › Logging & Monitoring | Node.js | Logging & Monitoring | Intermediate |
| 13 | How do you use the traceback module to capture and format a full exception traceback as a string, useful for logging? Python › Debugging & Profiling | Python | Debugging & Profiling | Intermediate |
| 14 | What is Application Insights (or OpenTelemetry) integration, and what value does it add over basic logging? .NET › Diagnostics & Performance | .NET | Diagnostics & Performance | Intermediate |
| 15 | How does the Generic Host integrate configuration, logging, and dependency injection into a single unified builder? .NET › Generic Host | .NET | Generic Host | Intermediate |
| 16 | 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 |
| 17 | What is the risk of exposing a raw error's stack trace in an API response, and how do you prevent it while still logging full details server-side? Node.js › Error Handling | Node.js | Error Handling | Intermediate |
| 18 | What is the DEBUG environment variable convention (popularized by the 'debug' npm package), and how does it let you enable verbose logging selectively? Node.js › Debugging & Diagnostics | Node.js | Debugging & Diagnostics | Intermediate |
| 19 | What is the risk of accidentally logging or exposing environment variables that contain secrets, and how do you prevent it? Node.js › Environment Variables & Configuration | Node.js | Environment Variables & Configuration | Intermediate |
| 20 | How would you use the 'logging' module's exception logging (logger.exception()) INSIDE an except block to automatically capture the full traceback? Python › Debugging & Profiling | Python | Debugging & Profiling | Advanced |
| 21 | How would you implement a request-logging middleware in Express that captures method, path, status code, and response time for every request? Node.js › Express & Middleware | Node.js | Express & Middleware | Advanced |
| 22 | How do you use functools.partial to fix keyword arguments for logging or callback functions? Python › functools & Functional Programming Tools | Python | functools & Functional Programming Tools | Beginner |
| 23 | How do you format log output to include the timestamp, logger name, level, and message? Python › Logging | Python | Logging | Beginner |
| 24 | What's the difference between propagate=True and propagate=False on a logger? Python › Logging | Python | Logging | Intermediate |
| 25 | How can an organization consolidate CloudTrail logging across multiple AWS accounts using AWS Organizations? AWS › AWS CloudTrail & Auditing | AWS | AWS CloudTrail & Auditing | Intermediate |
| 26 | What logging and observability practices suit a MAUI app? .NET MAUI › Best Practices & Architecture | .NET MAUI | Best Practices & Architecture | Advanced |
| 27 | What logging and observability practices suit a MAUI app? .NET MAUI › Best Practices & Architecture | .NET MAUI | Best Practices & Architecture | Advanced |
| 28 | What is 'exception filtering with side effects' and why is it considered a controversial but sometimes useful technique for logging? C# › Exception Handling | C# | Exception Handling | Advanced |
| 29 | How would you implement a function that dynamically inspects its own call arguments at runtime using the 'inspect' module, useful for building generic validation or logging decorators? Python › Functions & Scope | Python | Functions & Scope | Advanced |
| 30 | How does gRPC support interceptors for cross-cutting concerns like authentication, logging, and retries, similar to middleware in a REST pipeline? .NET › gRPC Services | .NET | gRPC Services | Advanced |
| 31 | How would you use the Chain of Responsibility pattern to implement a request-processing pipeline (such as middleware-style validation/authentication/logging), and how does this relate conceptually to servlet filters or web framework middleware? Java › Design Patterns in Java | Java | Design Patterns in Java | Advanced |
| 32 | How would you write an end to end test that checks a full user flow across multiple pages, such as logging in and viewing a dashboard? React › Testing | React | Testing | Advanced |
| 33 | How would you build a centralized, reusable error logging procedure that captures detailed error information whenever it is called from within a CATCH block? SQL Server › Error Handling with TRY CATCH | SQL Server | Error Handling with TRY CATCH | Advanced |
| 34 | How can you use Flutter DevTools' dedicated network view together with proper logging to effectively debug a genuinely complex issue involving several separate related API calls happening across your application? Flutter › Flutter DevTools & Debugging | Flutter | Flutter DevTools & Debugging | Advanced |
| 35 | How should you properly implement request and response logging for debugging purposes, while genuinely and carefully ensuring genuinely sensitive data, such as an authentication token or a password, is never actually accidentally logged in plain readable text? Flutter › Networking with HTTP & Dio | Flutter | Networking with HTTP & Dio | Advanced |
| 36 | How do you include structured context (like a request ID) in every log message using LoggerAdapter or extra? Python › Logging | Python | Logging | Intermediate |
| 37 | What's the danger of using %-style, f-string, or .format() interpolation directly in a log call's message argument versus lazy % substitution? Python › Logging | Python | Logging | Intermediate |
| 38 | How do RotatingFileHandler and TimedRotatingFileHandler prevent log files from growing unbounded? Python › Logging | Python | Logging | Advanced |
| 39 | How does logger.exception() differ from logger.error(), and when should you use it? Python › Logging | Python | Logging | Advanced |
| 40 | What is log level (debug, info, warn, error), and how do you configure a logger like Pino or Winston to filter output by level per environment? Node.js › Logging & Monitoring | Node.js | Logging & Monitoring | Intermediate |
| 41 | How would you implement request correlation IDs to trace a single request's logs across multiple log lines and services? Node.js › Logging & Monitoring | Node.js | Logging & Monitoring | Intermediate |
| 42 | How would you implement distributed tracing across multiple Node.js microservices using OpenTelemetry? Node.js › Logging & Monitoring | Node.js | Logging & Monitoring | Advanced |
| 43 | What tools does .NET provide for basic application diagnostics, and what is dotnet-trace used for? .NET › Diagnostics & Performance | .NET | Diagnostics & Performance | Beginner |
| 44 | What does the ReportApiVersions option do, and what response headers does it add? ASP.NET Core › API Versioning | ASP.NET Core | API Versioning | Beginner |
| 45 | What are MVC filters in ASP.NET Core, and what are the main filter types in the pipeline (authorization, resource, action, exception, result)? ASP.NET Core › Filters | ASP.NET Core | Filters | Beginner |
| 46 | 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 |
| 47 | What problem does PM2 solve for running a Node.js application in production, beyond just executing 'node server.js'? Node.js › Deployment & Process Managers (PM2) | Node.js | Deployment & Process Managers (PM2) | Beginner |
| 48 | How does the tracemalloc module help track where memory is being allocated in a running program? Python › Memory Management & Garbage Collection | Python | Memory Management & Garbage Collection | Intermediate |
| 49 | How does the HttpContext object serve as the shared state carrier through the middleware pipeline? .NET › ASP.NET Core Middleware & Request Pipeline | .NET | ASP.NET Core Middleware & Request Pipeline | Intermediate |
| 50 | How should exceptions be handled inside a BackgroundService's ExecuteAsync loop to prevent the entire service from crashing silently? .NET › Background Services | .NET | Background Services | Intermediate |
| 51 | How would you implement a scheduled (cron-like) background job in .NET without a third-party library? .NET › Background Services | .NET | Background Services | Intermediate |
| 52 | How does appsettings.{Environment}.json layering work, and how is the current environment determined? .NET › Configuration & Options | .NET | Configuration & Options | Intermediate |
| 53 | How does the command-line configuration provider let you override settings via arguments when running an application? .NET › Configuration & Options | .NET | Configuration & Options | Intermediate |
| 54 | How does ASP.NET Core's DI container support injecting a logger via ILogger<T>, and how is the generic type parameter used? .NET › Dependency Injection | .NET | Dependency Injection | Intermediate |
| 55 | How does dotnet-counters provide live performance monitoring, and what key metrics does it expose by default? .NET › Diagnostics & Performance | .NET | Diagnostics & Performance | Intermediate |
| 56 | How do you register configuration and services differently for a Worker Service running as a Windows Service or systemd daemon? .NET › Generic Host | .NET | Generic Host | Intermediate |
| 57 | How do you configure a sunset date for a deprecated API version so clients receive a clear removal timeline? ASP.NET Core › API Versioning | ASP.NET Core | API Versioning | Intermediate |
| 58 | 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 |
| 59 | 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 |
| 60 | 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 |
| 61 | 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 |
| 62 | What is the purpose of overriding toString(), and what's the difference between Object's default implementation and a well-designed custom one? Java › equals(), hashCode() & toString() Contracts | Java | equals(), hashCode() & toString() Contracts | Intermediate |
| 63 | What is a common anti-pattern with catching exceptions too broadly (catch (Exception e) or worse, catch (Throwable t)), and why is it generally discouraged? Java › Exceptions | Java | Exceptions | Intermediate |
| 64 | What is the purpose of the addSuppressed() mechanism and getSuppressed() method on Throwable, and in what specific scenario does the JVM automatically populate suppressed exceptions? Java › Exceptions | Java | Exceptions | Intermediate |
| 65 | What is the purpose of the PrintStream and PrintWriter classes (like System.out), and how do they differ from lower-level OutputStream/Writer in their exception-handling behavior? Java › I/O & NIO | Java | I/O & NIO | Intermediate |
| 66 | What is the difference between fs.appendFile() and opening a file with the 'a' flag and writing to it manually? Node.js › File System & File Processing | Node.js | File System & File Processing | Intermediate |
| 67 | What is process.memoryUsage(), and how would you use it to monitor a Node.js application's memory consumption? Node.js › Global Objects & the process Object | Node.js | Global Objects & the process Object | Intermediate |
| 68 | What are Filters in ASP.NET Core MVC? .NET Core › MVC Filters | .NET Core | MVC Filters | Intermediate |
| 69 | How do EventCounters and the newer System.Diagnostics.Metrics API (Meter) let you expose custom application-specific performance metrics? .NET › Diagnostics & Performance | .NET | Diagnostics & Performance | Advanced |
| 70 | How would you optimize an EF Core query that's generating inefficient SQL, and what tools help identify the actual generated SQL? .NET › Entity Framework Core & Data Access | .NET | Entity Framework Core & Data Access | Advanced |
| 71 | What information should be excluded from error responses in production to avoid leaking sensitive implementation details? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Advanced |
| 72 | How would you implement custom middleware to catch and log unhandled exceptions before they reach the exception handler, adding request-specific context? .NET › Global Exception Handling & Middleware | .NET | Global Exception Handling & Middleware | Advanced |
| 73 | How do you deprecate an API version gracefully, notifying consumers via response headers before eventually removing it? ASP.NET Core › API Versioning | ASP.NET Core | API Versioning | Advanced |
| 74 | How would you implement passwordless authentication (like a magic link sent via email) in ASP.NET Core? ASP.NET Core › Authentication | ASP.NET Core | Authentication | Advanced |
| 75 | 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 |
| 76 | How 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 › Caching | ASP.NET Core | Caching | Advanced |
| 77 | What information should be excluded from error responses in production to avoid leaking sensitive implementation details? ASP.NET Core › Error Handling | ASP.NET Core | Error Handling | Advanced |
| 78 | 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 |
| 79 | 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 |
| 80 | 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 |
| 81 | How does exception chaining (via the cause mechanism, initCause() or a constructor accepting a Throwable) preserve the original root-cause exception when wrapping and rethrowing a different exception type, and why does this matter for debugging? Java › Exceptions | Java | Exceptions | Advanced |
| 82 | How would you implement a custom checked exception that requires additional context to be attached as the exception propagates up multiple layers of a call stack, without losing information at each layer? Java › Exceptions | Java | Exceptions | Advanced |
| 83 | How would you design and implement a global, centralized exception-handling strategy for a Java application (such as a top-level handler in main(), or an uncaught exception handler for background threads), ensuring no exception silently crashes the application without being logged? Java › Exceptions | Java | Exceptions | Advanced |
| 84 | How does the Instant class represent a point in time, and how does it differ fundamentally from ZonedDateTime in terms of what it actually represents and how it should be used? Java › Java Date & Time API (java.time) | Java | Java Date & Time API (java.time) | Advanced |
| 85 | What is the AsyncLocalStorage API, and what problem does it solve for tracking context across asynchronous calls? Node.js › Advanced Node.js | Node.js | Advanced Node.js | Advanced |
| 86 | What is monkey-patching in the context of Node.js APM (Application Performance Monitoring) tools, and what are its risks? Node.js › Advanced Node.js | Node.js | Advanced Node.js | Advanced |
| 87 | What is the node:diagnostics_channel module, and how does it differ from simply emitting a custom event? Node.js › Advanced Node.js | Node.js | Advanced Node.js | Advanced |
| 88 | What is a dead-letter queue (DLQ), and how should a Node.js job-processing system use one? Node.js › Background Jobs & Queues | Node.js | Background Jobs & Queues | Advanced |
| 89 | What is a canary release, and how does it reduce the blast radius of a risky Node.js deployment? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Advanced |
| 90 | What is observability (as distinct from traditional monitoring), and what are its three commonly cited pillars? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Advanced |
| 91 | What is error wrapping (or error chaining), and how does the Error class's 'cause' property support it in modern Node.js? Node.js › Error Handling | Node.js | Error Handling | Advanced |
| 92 | How would you implement automatic error reporting to a service like Sentry in a Node.js application, and what data should be scrubbed before sending? Node.js › Error Handling | Node.js | Error Handling | Advanced |
| 93 | How would you use async_hooks (the lower-level predecessor to AsyncLocalStorage) to trace the lifecycle of asynchronous resources in Node.js? Node.js › Event Loop & Non-blocking IO | Node.js | Event Loop & Non-blocking IO | Advanced |
| 94 | How would you implement a middleware that adds a correlation/request ID to every incoming request for tracing purposes across a distributed system? Node.js › Express & Middleware | Node.js | Express & Middleware | Advanced |
| 95 | How does PM2's built-in log management work, and how would you configure log rotation to prevent log files from growing unbounded? Node.js › Deployment & Process Managers (PM2) | Node.js | Deployment & Process Managers (PM2) | Advanced |
| 96 | What does PM2's built-in monitoring dashboard (pm2 monit, or PM2 Plus) show, and what metrics are most useful for production operations? Node.js › Deployment & Process Managers (PM2) | Node.js | Deployment & Process Managers (PM2) | Advanced |
| 97 | How would you implement a dead-letter exchange in RabbitMQ to handle messages that repeatedly fail processing? Node.js › Message Queues (RabbitMQ & Kafka) | Node.js | Message Queues (RabbitMQ & Kafka) | Advanced |