API development
204 practice items · needed by 13 roles
Easy 65Medium 79Hard 60
Practice questions
- Caching fingerprinted bundlesmedium
- __dirname in an ES modulemedium
- nextTick versus promise in Nodemedium
- A promise awaited too latehard
- setImmediate inside an I/O callbackhard
- Status code after creating a resourceeasy
- The non-idempotent methodeasy
- What stateless means in RESTeasy
- 401 or 403easy
- Updating only one fieldeasy
- Status code for too many requestseasy
- Browser blocks a call that curl allowseasy
- What a 504 from Nginx meanseasy
- Promise and setTimeout ordereasy
- A GET that deletes dataeasy
- Content-Type versus Accepteasy
- What HTTPS leaves visibleeasy
- Response for a successful DELETEeasy
- A product page removed for goodeasy
- Signing up with a taken usernameeasy
- Calling DELETE on a read-only routeeasy
- A client posts XML to a JSON APIeasy
- URL for one producteasy
- Telling the client where the new item liveseasy
- Filtering and sorting a listeasy
- fetch treats a 404 as successeasy
- What a HEAD request doeseasy
- 4xx or 5xx for bad inputeasy
- Route parameter never matches a numbereasy
- Response for a queued report jobeasy
- Why teams write an OpenAPI speceasy
- How many URLs a GraphQL API useseasy
- Asking for only a few fieldseasy
- Stack traces in production errorseasy
- Handling incoming webhookseasy
- Telling users about a long jobeasy
- Which request is safe to retryeasy
- How a token bucket limits rateeasy
- Offset or cursor paginationmedium
- Token bucket rate limitermedium
- Two awaits that could run togethermedium
- A 64-bit id changes after parsingmedium
- Response to a matching If-None-Matchmedium
- Webhook signature never matchesmedium
- Saving req.body directlymedium
- Async callback inside forEachmedium
- CDN serves one user's profile to anothermedium
- 400 versus 422medium
- Redirecting a POST endpointmedium
- Which change is safe for old clientsmedium
- Deciding when to release v2medium
- A standard shape for error bodiesmedium
- Express error handler never runsmedium
- /users/me returns 'user not found'medium
- Cannot set headers after they are sentmedium
- Large JSON uploads fail with 413medium
- Repeated query keys in Expressmedium
- A slow partner API hangs your requestsmedium
- no-cache or no-store for account datamedium
- Arabic page served to English usersmedium
- Telling clients when to retrymedium
- The same payment webhook arrives twicemedium
- Webhooks retried though they workedmedium
- Live order status in a browsermedium
- What GraphQL fixes for mobile clientsmedium
- A nested GraphQL query overloads the servermedium
- Linking logs for one checkoutmedium
- Paging through a GraphQL listmedium
- Catching breaking changes before deploymedium
- Hiding salary in a GraphQL APImedium
- Pool runs dry after some errorsmedium
- Rows skipped with created_at cursorsmedium
- Rate limit key that never expiresmedium
- A memoised function eats memorymedium
- Printing each message at most once per 10 secondsmedium
- Workers and a partner rate limitmedium
- All jobs fire at midnightmedium
- An unhandled promise rejectionmedium
- One bad item in a batch callmedium
- Paging through a huge feedmedium
- IP rate limits block real usersmedium
- Safe retries for paymentshard
- One slow route freezes Node.jshard
- Burst at a fixed window boundaryhard
- return versus return await in tryhard
- Deep merge of untrusted JSONhard
- Retries at every layerhard
- Why add a circuit breakerhard
- Connection resets when pods stophard
- A CSV export runs out of memoryhard
- File descriptors leak during downloadshard
- Users uploading 2 GB videoshard
- One bad row in a bulk importhard
- How to send money amounts in JSONhard
- Caching GraphQL responses at a CDNhard
- Retiring an old API versionhard
- Rate limiter blocks everyone togetherhard
- A forgotten await crashes the serverhard
- Every page load counts 80 million rowshard
- A database blip restarts every podhard
- Search filters too long for a URLhard
- A PUT wipes the phone numberhard
- Locking accounts after 5 failureshard
- Slow guessing from thousands of IPshard
- Backpressure in Node.js streamshard
- Status code after creating a resourceeasy
- Fixing a CORS erroreasy
- Which method is idempotenteasy
- Status 401 vs 403easy
- PATCH vs PUT for one fieldeasy
- Empty req.body in Expresseasy
- Posts vanish from GET linkseasy
- Is browser validation enough?easy
- URL for a user’s orderseasy
- What triggers a preflighteasy
- Dates sent through JSONeasy
- Why commit the lockfileeasy
- Caching a bank statement pageeasy
- Response for an empty listeasy
- What ^3.22.4 allowseasy
- Offset vs cursor paginationmedium
- One schema for form and APImedium
- Returning form validation errorsmedium
- ETag and If-None-Matchmedium
- Rate limiter that does not limitmedium
- Users see each other’s profilemedium
- Type cast on fetch responsemedium
- GraphQL author lookupsmedium
- Webhook signature always failsmedium
- One report slows every requestmedium
- Rate limit keyed on X-Forwarded-Formedium
- Deeply nested GraphQL querymedium
- Many login attempts in one requestmedium
- Valid webhook sent twicemedium
- Preventing double charges on retryhard
- Module variable holds the current userhard
- Profile update accepts any fieldhard
- Large IDs change in the browserhard
- Two agents edit one tickethard
- Items missing between pageshard
- Comparing secret tokens safelyhard
- Async error skips Express handlerhard
- Choosing an API contract approachhard
- Errors only right after a deployhard
- Proxy and server disagree on body lengthhard
- Access check only on the top fieldhard
- Duplicate posts in an infinite feedmedium
- Avoiding repeated config downloadsmedium
- Duplicate orders from offline retrieshard
- Trusting the phone's clockhard
- Renaming a field in the APIhard
- Permanent vs temporary redirecteasy
- Reading Cache-Control max-ageeasy
- HTTP/2 multiplexingeasy
- Revalidating a cached file with an ETagmedium
- What HTTP/3 runs onmedium
- Reusing connections to a backendmedium
- Every request comes from the load balancermedium
- The Vary headermedium
- Serving stale while refreshingmedium
- HTTP/3 on a network that blocks UDPhard
- Static pages never cachedhard
- HTTP/3 on lossy mobile networkshard
- gRPC load lands on one podhard
- Clients stuck on HTTP/1.1hard
- A 503 from the load balancereasy
- Idempotent requestseasy
- Checking only the response headerseasy
- Protocol for internal inference callseasy
- Status code for a created resourceeasy
- 401 vs 403easy
- Testing two API versionseasy
- Lots of HTTP 429 responseseasy
- Turning on text compressioneasy
- Testing an API rate limitmedium
- Warning that an API is retiringmedium
- Testing the limit parametermedium
- New connection for every requestmedium
- Effect of HTTP/2 on connectionsmedium
- Adding a new enum valuehard
- Which change is breakinghard
- Testing webhook signatureshard
- Webhooks twice and out of orderhard
- New rows during paginghard
- A very deep GraphQL queryhard
- GraphQL introspection in productionhard
- One GraphQL query, many DB callshard
- Replaying an old webhookhard
- The gateway throttles the testhard
- Status code for a created resourceeasy
- Which method is idempotenteasy
- GraphQL error with status 200medium
- A smoke testeasy
- Taking pre-orderseasy
- The strongest signal of demandmedium
- Clicks from the wrong audiencemedium
- A pilot that was too friendlyhard
- A demand test on WhatsApphard
- Reviewing requirements with stakeholdersmedium
- Pagination todaymedium
- Infinite scroll category pageshard
- A landing page smoke testeasy
- Ranking validation signalsmedium
- A concierge MVP that customers lovehard