5questions
IntermediateNext.js
5 subjects
1 easy3 medium1 hard
How would you give the marketing pages and the signed-in dashboard different root layouts without changing any URLs?
Start practising3 easy9 medium6 hard
// 18 of 18 questions · 18 subjects
When should a value be a path parameter, a query parameter or a header?
easyURLsContent negotiation
Which HTTP methods are safe and idempotent, and why does it matter for caching and retries?
mediumHTTP methodsCaching
How do you model resources and version a REST API without breaking existing clients?
mediumResource modellingVersioning
How do you make a POST that creates a payment safe to retry?
hardIdempotencyPagination
How should an API signal rate limits and errors so clients can react correctly?
mediumRate limitingRFC 9457
How should you generate, store and rotate API keys?
easyAPI keysRotation
Why write an OpenAPI specification, and should it come before or after the code?
easyOpenAPIDocumentation
What are the most common API vulnerabilities, and how do you defend against them?
hardOWASP API Top 10BOLA
An endpoint has a p99 latency of 3 seconds. How do you find and fix the cause?
mediumLatencyCaching
How do you deliver events to partners reliably with webhooks?
hardWebhooksQueues
What does contract testing catch that integration and end-to-end tests miss?
mediumContract testingIntegration tests
When would you choose Server-Sent Events over WebSockets?
mediumWebSocketsSSE
How do you retire an API version without breaking the partners still using it?
mediumDeprecationVersioning
What telemetry should an API emit so you can debug a problem you did not predict?
mediumTracingLogging
5questions
Intermediate5 subjects
1 easy3 medium1 hard
How would you give the marketing pages and the signed-in dashboard different root layouts without changing any URLs?
Start practising26questions
Intermediate26 subjects
4 easy13 medium9 hard
Walk through what happens between typing a URL into the browser and your backend handler running.
Start practising29questions
Intermediate29 subjects
7 easy15 medium7 hard
How does an AI engineer's job differ from an ML engineer's?
Start practising