1. Polyglot Persistence advanced

    Four services want four different databases: Postgres, MongoDB, Cassandra and Neo4j. What do you say?

    2 min answer polyglotoperationsdecision-makingstandards
  2. Polyglot Persistence advanced

    Your search index and your database disagree — some products appear in search that were deleted, and some new ones never appear. How do you make this reliable?

    2 min answer consistencyindexingoutboxreconciliation
  3. Query Optimisation advanced

    A query that ran in 50ms for two years now takes 90 seconds. Nothing was deployed and the data volume grew normally. What happened?

    2 min answer plannerstatisticsplan-flipdiagnosis
  4. Query Optimisation advanced

    In a multi-tenant platform where every tenant's data shares the same physical tables and tenants differ in size by orders of magnitude, why do query plans that are optimal for one tenant become pathological for another - and what is the fix?

    2 min answer query-optimisationmulti-tenancystatisticsplan-caching
  5. Relational Modelling advanced Multiple choice

    An issue-tracking product lets every customer define custom fields, workflows and screens. Which data model should the platform use for custom fields?

    2 min answer data-modellingeavmulti-tenancyjsonb
  6. Replication advanced

    Users report seeing stale data intermittently. Replication lag is normally under a second but spikes to minutes twice a day. How do you handle it?

    2 min answer replicationlagroutingconsistency
  7. Streaming Data advanced

    A live-streaming platform must compute real-time viewer counts, chat rate and moderation signals during events where concurrent viewers spike tenfold within minutes. What streaming architecture handles this, and what happens if the stream processor falls behind?

    3 min answer streamingwindowinglive-eventstwitch
  8. Streaming Data advanced

    A streaming aggregation reports lower totals than the batch job it replaced. Both read the same source. What is likely happening?

    2 min answer streamingwatermarkslate-dataevent-time
  9. Streaming Data advanced Multiple choice

    A streaming aggregation stops emitting results. The job is healthy, consuming messages and using CPU. What is the most likely cause?

    2 min answer streamingwatermarkswindowingdoordash
  10. Transactions & Isolation advanced

    A fashion marketplace lets sellers update inventory while customers are checking out. How should reservations, optimistic concurrency, expiry, retries and failed payments interact to prevent overselling?

    2 min answer myntraoversellreservationoptimistic-concurrency
  11. Transactions & Isolation advanced

    A financial application runs at read-committed isolation. Two concurrent transactions each read an account balance, check it is sufficient, and debit it. Both succeed and the account goes negative. What happened, and which fixes are correct?

    2 min answer isolationlost-updateserialisabilitylocking
  12. Transactions & Isolation advanced

    A rule requires at least one engineer on call. Two engineers simultaneously remove themselves; both transactions check the rule, both pass, both commit. Nobody is on call. Name the anomaly and three fixes.

    2 min answer isolationwrite-skewserializableconcurrency