AI & Technical question

Design a webhook.

Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.

Start a mock interview on this question · Mock interview from a job description

What this question tests

Tests technical fundamentals of asynchronous system integration: delivery guarantees, retries, and security.

How to approach it

  1. Clarify the use case: what event triggers the webhook and what the receiver needs to do with it.
  2. Define the contract: an HTTP POST with a JSON payload schema, an event type, and a unique event ID.
  3. Address reliability: retries with exponential backoff on failure, expecting a 2xx acknowledgment.
  4. Address idempotency: since retries can duplicate delivery, require the event ID so receivers can ignore repeats.
  5. Address security: sign each payload so the receiver can verify it actually came from your service.
  6. Define quality measurement: delivery success rate and average retry count, since high retries signal an unreliable endpoint.

What a strong answer includes

Common mistakes

Likely follow-up questions

More ai & technical questions

Learn the skill behind it

Chapters of the AI PM course that teach what this question tests.

Preparing for a specific role?

Book summaries for this kind of question

Browse all 4,000+ questions in the bank