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 (9 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...
The browser parses the URL, then finds the server's IP: it checks its cache, the OS cache, `/etc/hosts`, then asks a resolver, which recurses from the root servers throug...
401 Unauthorized means the request lacks valid authentication credentials. The client should authenticate and retry, and the response should include a `WWW-Authenticate` ...
A content delivery network caches content on edge servers close to users. It serves static assets such as images, CSS, JavaScript and fonts, and can cache dynamic respons...
TLS provides confidentiality, integrity and authentication for a connection. In TLS 1.3 the handshake is one round trip before application data. 1. The client sends a Cli...
- POST creates a subordinate resource or triggers a non-idempotent action. The server assigns the identifier and returns 201 with a `Location` header. - PUT replaces the ...
Group them by intent and be consistent: - 2xx success: 200 OK, 201 Created (with `Location`), 202 Accepted for async work, 204 No Content after DELETE. - 3xx: 301/308 for...
Caching avoids re-downloading assets and is one of the cheapest performance wins. Use content-hashed filenames with a long Cache-Control: public, max-age=31536000, immuta...
HTTP caching lets browsers and proxies reuse responses. `Cache-Control` sets the policy: - `max-age=300`: fresh for 300 seconds; no revalidation needed. - `s-maxage`: ove...
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.