Q1. What is idempotency and which HTTP methods are idempotent?
An operation is idempotent when performing it multiple times produces the same server state as performing it once. - GET, HEAD, PUT and DELETE are idempotent by HTTP sema...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (7 available).
An operation is idempotent when performing it multiple times produces the same server state as performing it once. - GET, HEAD, PUT and DELETE are idempotent by HTTP sema...
- At-most-once: the broker may deliver a message once or not at all. It never duplicates, so it can lose data. Achieved by acknowledging before processing. Suitable for m...
Queues decouple producers from consumers, absorb traffic spikes, enable retries and fan-out, and improve resilience when a downstream service is slow or down. Delivery se...
The client generates a unique key per logical operation and sends it in a header, typically `Idempotency-Key`. ```http POST /payments Idempotency-Key: 4d7c2e6a-2b1f-4f9a-...
An idempotent operation produces the same result whether it runs once or many times. Pipelines retry on failure, run backfills and get replayed, so non-idempotent logic c...
At-least-once delivery means duplicates will happen, so a consumer must produce the same result whether it sees a message once or several times. Techniques: - Deduplicati...
A production script should be safe to re-run, fail clearly and clean up after itself. ```bash #!/usr/bin/env bash set -euo pipefail workdir=$(mktemp -d) cleanup() { rm -r...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.