Interview Q&A · questions with model answers

FAANG / Big Tech Interview Questions

Part of the study plan for: Backend Engineer

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Most asked Explain CAP theorem and when you choose AP vs CP.

    CAP: under partition you trade consistency vs availability.

  2. Most asked Explain BFS vs DFS and when to use each.

    BFS for shortest path in unweighted graphs/levels; DFS for connectivity, topology, and path existence with lower memory sometimes.

  3. Most asked Explain SQL vs NoSQL trade-offs.

    SQL: strong schema, joins, ACID.

  4. Most asked Explain ACID vs BASE.

    ACID: transactional guarantees.

  5. Most asked Explain microservices vs monolith trade-offs.

    Monolith: simpler ops early.

  6. Most asked What is a load balancer L4 vs L7?

    L4 routes on IP/port; L7 understands HTTP and can route by path/host and terminate TLS.

  7. How do you handle bias for action vs needing more data?

    Describe reversible vs irreversible decisions, two-way door thinking, and time-boxed experiments.

  8. Explain HTTP vs HTTPS and TLS briefly.

    HTTPS wraps HTTP in TLS for encryption/integrity/authentication via certificates; prevents passive eavesdropping and many MITM cases.

  9. Compare optimistic vs pessimistic locking in concurrent edits.

    Optimistic uses versions/ETags and retries on conflict; pessimistic locks rows/resources.

  10. Explain optimistic vs pessimistic locking.

    Optimistic: version check on write.

  11. Compare REST and gRPC for internal services.

    REST: human-readable, broad tooling.

  12. Explain blue/green vs canary deployments.

    Blue/green swaps environments; canaries ship to a small % first.

  13. Explain pagination strategies (offset vs cursor).

    Offset is simple but drifts under inserts; cursors/keyset are stable for infinite scroll at scale.

Was this page helpful?

Report a mistake