| 1 | 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 |
| 2 | How do you add XML output formatting support to an ASP.NET Core API alongside the default JSON formatter? ASP.NET Core › Content Negotiation & Output Formatters | ASP.NET Core | Content Negotiation & Output Formatters | Intermediate |
| 3 | How would you debug why a specific request isn't matching the route you expect it to, using ASP.NET Core's routing diagnostics? ASP.NET Core › Endpoint Metadata, Route Constraints & Templates | ASP.NET Core | Endpoint Metadata, Route Constraints & Templates | Advanced |
| 4 | How would you implement automated testing that verifies deprecated API versions still function correctly while newer versions are actively developed? ASP.NET Core › API Versioning | ASP.NET Core | API Versioning | Advanced |
| 5 | How do you unit test that a specific API version's controller action behaves correctly, given the version-based routing? ASP.NET Core › API Versioning | ASP.NET Core | API Versioning | Intermediate |
| 6 | 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 |
| 7 | How do you test that an API correctly returns different formats based on the Accept header using integration tests? ASP.NET Core › Content Negotiation & Output Formatters | ASP.NET Core | Content Negotiation & Output Formatters | Intermediate |
| 8 | What is the difference between constructor injection and using IServiceProvider directly to resolve dependencies imperatively (service location)? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Intermediate |
| 9 | How would you unit test a custom action filter's logic in isolation, without needing a full HTTP request pipeline? ASP.NET Core › Filters | ASP.NET Core | Filters | Intermediate |
| 10 | 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 |
| 11 | How would you write a unit test that thoroughly verifies a custom equals() and hashCode() implementation satisfies its contract, and what testing libraries exist specifically for this purpose? Java › equals(), hashCode() & toString() Contracts | Java | equals(), hashCode() & toString() Contracts | Intermediate |
| 12 | How would you design API versioning strategy differently for a public, third-party-consumed API versus an internal microservice API? ASP.NET Core › API Versioning | ASP.NET Core | API Versioning | Advanced |
| 13 | How do you unit test custom authorization handlers in isolation, without needing a full HTTP request pipeline? ASP.NET Core › Authorization | ASP.NET Core | Authorization | Advanced |
| 14 | How do you test a BackgroundService's business logic without waiting for its actual polling interval, keeping tests fast? ASP.NET Core › Background Tasks & Hosted Services | ASP.NET Core | Background Tasks & Hosted Services | Advanced |
| 15 | How would you decide between controllers and minimal APIs for a new project, weighing team familiarity, project complexity, and long-term maintainability? ASP.NET Core › Controllers vs Minimal APIs | ASP.NET Core | Controllers vs Minimal APIs | Advanced |
| 16 | How does dependency injection differ in practice between controllers (constructor injection) and minimal APIs (parameter injection)? ASP.NET Core › Controllers vs Minimal APIs | ASP.NET Core | Controllers vs Minimal APIs | Advanced |
| 17 | How would you migrate an existing controller-based API to minimal APIs incrementally without a risky big-bang rewrite? ASP.NET Core › Controllers vs Minimal APIs | ASP.NET Core | Controllers vs Minimal APIs | Advanced |
| 18 | How do you write integration tests that work consistently for both controller-based and minimal API endpoints using WebApplicationFactory? ASP.NET Core › Controllers vs Minimal APIs | ASP.NET Core | Controllers vs Minimal APIs | Advanced |
| 19 | How would you write an integration test verifying that a CORS policy correctly allows a specific origin and rejects an unauthorized one? ASP.NET Core › CORS (Cross-Origin Resource Sharing) | ASP.NET Core | CORS (Cross-Origin Resource Sharing) | Advanced |
| 20 | How would you unit test a service or minimal API handler that depends on multiple injected interfaces, without spinning up the full DI container? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Advanced |
| 21 | How does ValidateOnBuild help catch dependency injection configuration errors immediately at application startup rather than at runtime? ASP.NET Core › Dependency Injection | ASP.NET Core | Dependency Injection | Advanced |
| 22 | How would you write an integration test verifying that your global exception handler produces the correct error response shape for a specific exception type? ASP.NET Core › Error Handling | ASP.NET Core | Error Handling | Advanced |
| 23 | How would you calculate a person's age or the number of days until a recurring annual event (like a birthday) using ChronoUnit, and what's a common pitfall with leap-year birthdays (February 29)? Java › Java Date & Time API (java.time) | Java | Java Date & Time API (java.time) | Intermediate |
| 24 | What is a qualified export (exports package to specificModule), and when would you use it instead of a plain, unqualified export? Java › Java Platform Module System (JPMS) | Java | Java Platform Module System (JPMS) | Intermediate |
| 25 | How would you correctly handle daylight saving time (DST) transitions when performing date-time arithmetic with ZonedDateTime, and what specific pitfalls exist around the 'spring forward' and 'fall back' transitions? Java › Java Date & Time API (java.time) | Java | Java Date & Time API (java.time) | Advanced |
| 26 | How would you implement a recurring event scheduling system that correctly handles both fixed-instant recurrence (every exactly 24 hours) and calendar-based recurrence (every day at 9 AM local time), given these have meaningfully different behavior across DST transitions? Java › Java Date & Time API (java.time) | Java | Java Date & Time API (java.time) | Advanced |
| 27 | How would you implement a simple HTTP server (not just a client) using the lightweight com.sun.net.httpserver.HttpServer class bundled with the JDK, without a full framework like Spring? Java › Java Networking & HTTP Client | Java | Java Networking & HTTP Client | Advanced |