Q1. What is an API gateway and what does it do?
An API gateway is the single entry point for clients, sitting in front of backend services. It typically handles: - Request routing to the correct service. - Authenticati...
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 (79 available).
An API gateway is the single entry point for clients, sitting in front of backend services. It typically handles: - Request routing to the correct service. - Authenticati...
SvelteKit uses filesystem routing under src/routes. A +page.svelte renders a page, +page.js or +page.server.js exports a load function that runs before the page and retur...
Middleware are functions with the signature (req, res, next) that run in order and can inspect or modify the request/response, end the cycle, or pass control with next()....
Switching and routing both forward packets, but at different layers and scopes. A switch works at layer 2 using MAC addresses within a single broadcast domain, the LAN. I...
Producers publish to an exchange, which routes to queues via bindings. The exchange type decides the routing: - Direct: routes by exact routing key match. Common for task...
Middleware in middleware.ts at the project root runs before a request is completed, on the Edge runtime, and can rewrite, redirect, set headers or return a response direc...
The App Router supports a `metadata` export (or `metadata.js/ts`) to define route-level metadata like title, description, open graph tags and robots. You can export a sta...
The `fetch` API in server components supports caching controls via `{ next: { revalidate } }` and cache modes like `cache: 'no-store'` or `cache: 'force-cache'`. Use `no-...
Exporting `dynamic` controls how a route is rendered: `'force-dynamic'`, `'force-static'`, or `'auto'`. Use it to override Next.js detection — for example, force dynamic ...
In the App Router you can create a `head.js` or `head.tsx` file inside a route segment to return `` elements (title, meta, link) for that segment. This is preferred for c...
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.