Interview questions with answer breakdowns — Page 36 of 52
Browse page 36 of Offer.cc interview question and answer breakdowns with reasoning, implementation details, follow-ups, and public sources.
System Design Interview: How Would You Design a Shadow-Traffic Validation System?
Design a production-safe request mirroring system that compares a new backend version without exposing its responses to users.
Frontend Interview: How Would You Design a Robust WebSocket Reconnect Client?
Use a connection state machine, jittered exponential backoff, heartbeats, cursor-based recovery, and page-lifecycle controls to avoid storms and lost messages.
Backend interview: Design an OAuth 2.0 Device Authorization Grant
Design device authorization for TVs and printers with device codes, user codes, polling backoff, terminal errors, and anti-phishing controls.
Data engineering interview: Design a data freshness SLO
Define freshness with event time, processing delay, partition gaps, and business impact, then build auditable alerts and recovery.
Product manager interview: Design a budgeting product for irregular income
Design around variable income, bill priorities, and cash buffers while balancing safety, privacy, trust, and sustainable financial behavior.
How Do You Explain Causal Consistency and Design Verifiable Session Guarantees?
Use happens-before, session guarantees, and dependency context to answer a causal-consistency interview question, then verify replica waits, concurrent conflicts, and failover behavior.
C++ interview: Implement cooperative cancellation with std::jthread and stop_token
Implement an interruptible C++20 worker with stop requests, cancellable waits, cleanup, exceptions, and automatic joining.
System Design Interview: How Would You Design a Real-Time Content Moderation System?
Design multi-stage moderation, human review, appeals, evidence retention, and model feedback under latency, risk, and reviewer-capacity constraints.
Frontend Interview: How Would You Use the View Transition API Safely?
Design same-document and cross-document view transitions with browser fallback, async updates, reduced motion, focus management, and performance boundaries.
Backend Interview: How Do You Choose 308 or 301 for an API Migration?
Design a safe permanent API move around method and body preservation, then handle caching, idempotency, cross-origin credentials, and rollback.
Data Engineering Interview: How Do You Design Point-in-Time Feature Joins?
Build training features with a reproducible time constraint, prevent future-data leakage, and explain online/offline consistency.
Product Manager Interview: How Would You Design an Internal Developer Platform?
Design an internal developer platform as a product: identify developer jobs, set a paved path, earn adoption, and measure delivery and experience outcomes.
How do you use Little's Law for service concurrency and queue capacity?
Use L = λW to connect throughput, average latency, and in-flight work, then detect unstable queues and plan limits, scaling, and validation.
Coding interview: How would you implement Unicode source-code spoof diagnostics?
Use UTS #55 lexical atoms, bidirectional rendering, and UTS #39 confusable checks to build an explainable multilingual-code scanner.
System design interview: Design a distributed build cache for remote compilation
Design a content-addressed build cache that keeps hits correct, isolates tenants, and remains useful when remote execution or storage fails.
Frontend Interview: How Do You Design a Dashboard Card That Responds to Container Size?
Use ResizeObserver instead of viewport resize, separate measurement, layout, and rendering boundaries, and handle callback loops, cleanup, batching, and fallback.
Backend interview: design an HTTP API deprecation and sunset plan
Retire a public endpoint without surprising clients, losing telemetry, or turning a migration into an outage.
How would you design end-to-end data integrity checks for a lakehouse?
Layer transport, file-page, snapshot, and business reconciliation checks, and explain what checksums can and cannot prove.
Product Manager Interview: How Would You Design an Offline-First Product?
Frame an offline-first product answer around user segments, critical jobs, local truth, sync expectations, conflict policy, and measurable outcomes.
How does QUIC keep a connection alive across network changes or NAT rebinding?
Explain QUIC connection migration through connection IDs, path validation, and address-validation limits, then reason about deployment and privacy boundaries.
Coding Interview: How Do You Manage Concurrent Failure with Python asyncio.TaskGroup?
Use structured concurrency, exception groups, and cancellation propagation to implement a parallel aggregator without orphan tasks.
System design interview: design a resilient bootstrap API
Aggregate first-screen data without turning one slow or failing dependency into a blank application.
Frontend Interview: How Do You Load Third-Party Scripts Without Hurting Performance?
Design a third-party script policy from the critical rendering path, execution order, consent, and security boundaries, then prove with real-user data that performance is not being traded away.
Backend interview: How would you design evolvable HTTP Structured Fields?
Derive an RFC 8941/9651 field from parser and proxy risks, then cover type selection, strict parsing, unknown-parameter compatibility, caching, and safe rollout.