🔌

APIs, Networking & Integration Topics

API design, management, and integration patterns including REST, GraphQL, and other protocols. Covers API contract design, versioning strategies, error handling, idempotency, deprecation planning, and SDK/integration frameworks. Includes system-to-system integration, webhook patterns, and integration platform considerations. Excludes network infrastructure and network-layer protocols (see Network Architecture under Cloud & Infrastructure or a dedicated networking category if needed).

GraphQL and Flexible Query APIs

Designing schema-driven query APIs where clients specify exactly the data they need. Covers schema and type design (queries, mutations, cursor pagination, nullability, interfaces and unions, mutation errors as typed data), resolvers, the N+1 problem and per-request DataLoader batching, federation with entity keys, query cost, depth and alias limiting, error handling and partial responses, persisted queries and caching, and evolving a shared schema through deprecation. Choosing between GraphQL and REST, REST-to-GraphQL migration, rate-limiting algorithms and API versioning schemes are covered elsewhere.

6 questions

HTTP Protocol and Web Fundamentals

HTTP semantics that underpin web and API behavior: methods (safe vs idempotent, retries), the status codes that drive caching, conditional and range behavior, request and response headers, content negotiation and Vary, HTTP caching (Cache-Control, private vs shared caches, ETag, conditional requests), cookies and credentialed cross-origin requests (SameSite, CORS and preflight at the header level), large responses (range requests, resuming a download), connection reuse and message framing (keep-alive, chunked transfer, pipelining), and HTTP/1.1 vs HTTP/2 vs HTTP/3 differences such as multiplexing, flow control and head-of-line blocking. Includes TLS at the request level (handshake overview, session resumption, termination at the edge vs passthrough) and how proxies and load balancers change requests, including forwarded client addresses. Excludes TCP/UDP and OSI-layer networking, attack-focused web security, resource and endpoint design, and CDN or edge-cache operations.

7 questions

API Versioning, Deprecation and Backward Compatibility

Evolving an API without breaking existing consumers: versioning schemes (URI, header, media type, semantic versioning), classifying breaking versus non-breaking changes including behavioural ones such as defaults and error text, deprecation and sunset policy and timelines (including accelerated retirement), running multiple versions concurrently, and planning consumer migrations at scale including SDK, partner, mobile and long-tail client impact. Also covers finding who still calls an old version, catching accidental breaks with contract checks in CI, expand-then-contract evolution of fields and stored data, gradual rollout with per-version monitoring, and compatibility between independently deployed services, streams and libraries. Covers compatibility guarantees across REST, GraphQL and gRPC consumers. Excludes general API surface design, payload and OpenAPI schema design, protobuf field-level mechanics, writing the notices themselves, rate limiting, gateways and database schema migration.

5 questions

Rate Limiting, Throttling and Quota Management

Protecting API capacity and enforcing fair use: rate-limiting algorithms (token bucket, leaky bucket, fixed/sliding window), per-client, per-tenant and hierarchical quotas, throttling responses (429 semantics, Retry-After, limit headers), and tiered plan enforcement. Covers where to enforce limits (gateway vs. service), distributed counters, concurrency limits, client retry with backoff and jitter, and backpressure, load shedding and graceful degradation under load. Excludes gateway configuration generally, API versioning, authentication mechanics, cache design, and billing and payment pipelines.

9 questions

Data Synchronization and Integration Consistency

Keeping data consistent across integrated systems: batch vs. real-time sync, change data capture, conflict resolution, reconciliation, and eventual consistency across service boundaries. Covers diagnosing and preventing drift, ordering and deduplication in sync pipelines, and the trade-offs between tight and loose coupling for shared data.

3 questions

API Contracts and Schema Design

Defining the interface contract between producers and consumers: request/response payload shapes, data models, field-level validation, nullability, and enum/typing decisions (including safely evolving an enum's allowed values without breaking clients). Covers contract-first design with OpenAPI and JSON Schema (authoring specs, generating SDKs and mock servers, catching breaking changes in CI), mapping internal domain models to external DTOs as both evolve independently, and designing a stable error-response contract (structured error codes, correlation IDs, retryable classification). Also covers the leadership and behavioral practice of establishing and governing contract standards across teams. The contract is the durable artifact clients depend on.

15 questions

Backend-for-Frontend and Client-Specific API Design

Shaping API responses to the needs of specific client types: the Backend-for-Frontend (BFF) pattern, one BFF per client versus a shared gateway, client-side composition or a generic API, what belongs in a BFF (including normalizing inconsistent downstream pagination and error formats for one client), and aggregating several backend calls into one client-shaped response. Covers payload shaping (sparse fieldsets and field selection against relational and document stores, partial responses, optional expansion of related collections, delta responses with deletions, compact serialization including binary wire formats), round-trip reduction and composite views for feeds and dashboards, adapting to mobile versus web bandwidth, battery and device constraints (device-appropriate image variants, prefetching and refresh frequency tuned to connection quality), and choosing GraphQL versus REST to fix over- and under-fetching, including incremental migration from REST to GraphQL. Authentication, general REST resource design, versioning, rate limiting, offline sync and real-time transport are covered elsewhere.

8 questions

Third-Party and SaaS Integration

Engineering a client against external provider and SaaS APIs you do not control: reading unfamiliar vendor docs and judging how far to trust them, handling provider auth and credential lifecycle (storing, rotating and revoking customer-granted credentials, refreshing a shared token safely, keeping secret keys out of client apps), living within vendor rate limits and quotas (prioritising urgent work, sharing one vendor key fairly across tenants), timeouts, retries with backoff and jitter and idempotency against flaky dependencies including writes of unknown outcome and partial batch failures, graceful degradation, circuit breaking and queue isolation when a provider is slow or down, mapping external data models to internal ones, connector and adapter design, anti-corruption layers, syncing records between SaaS systems, sandbox and contract testing against vendor APIs, and managing vendor-specific quirks, breaking changes, outages, failover and temporary integrations across many integrations. Examples span CRM, payments, shipping, messaging and AI service providers. Excludes diagnosing an individual failing call, webhook receipt mechanics, authentication protocol internals, rate limiter algorithms, API versioning policy for your own API, enterprise-wide integration architecture, bulk data ingestion into a warehouse, and choosing or contracting the vendor.

11 questions

RESTful API Design

Designing resource-oriented HTTP APIs following REST constraints: resource modeling, URI structure, correct use of HTTP methods, statelessness, and HATEOAS trade-offs. Covers naming conventions, collection vs. singleton resources, filtering/sorting/pagination, and choosing appropriate status codes. The default paradigm most interview questions in this category probe.

39 questions
Page 1/2