hyrebase

backend developerinterview questions.

see the job description
  1. How would you design an API endpoint that creates an order and charges a card?

    Look for: Transactions, idempotency keys, failure handling and what happens on retries.

  2. Tell me about a schema change you made on a live database.

    Look for: Backwards-compatible migrations, backfills, and a plan for rolling back.

  3. Two requests update the same record at once. What can go wrong, and how do you prevent it?

    Look for: Understanding race conditions, and locks, compare-and-set or constraints to stop them.

  4. How do you make sure one customer can never see another customer's data?

    Look for: Authorization enforced in one place, tenancy in every query, and tests that prove it.

  5. A background job sometimes runs twice. How do you make that safe?

    Look for: Idempotent design: deduplication keys and operations that can safely repeat.

  6. How do you find out why an endpoint got slower?

    Look for: Metrics and traces, query plans, and fixing the cause rather than adding a cache.