Skip to main content
MockAttempt App Icon

Install MockAttempt App

Launch full-screen from your iPhone / iPad Home Screen

  1. Step 1: Tap the Safari Share icon ↑ at the bottom of your screen.
  2. Step 2: Scroll down and tap “Add to Home Screen”, then tap Add.
📝 TOPIC-WISE TIMED MCQ PRACTICE HUB Up to 2 Free Attempts / Topic / Day

Node js Training Topic-Wise Online Mock Tests & Free MCQ Practice

Select any course and syllabus topic below to launch a timed 50-MCQ engineering exam (up to 2 free attempts per topic daily) with instant code-level explanations.

Daily Free Quota 2 / Topic / Day

Timed code-output & architecture MCQs with instant scorecard. Want spoken viva practice too?

🎙️ Switch to MockAttempt AI Interview Hub →
Step 1 of 2 • Choose Course Track

Select Any IT Course (34 Courses • 100% Topics Covered)

Node js Training Logo
NODE Backend & Cloud Runtime Engineering • Beginner to Production Node.js Backend Architect • 16–18 Weeks • Live + Hands-On Projects (Weekdays: 1.5 Hrs/Day (Mon–Fri) / Weekends: 3.0 Hrs/Day (Sat–Sun))

Node js Training — Topic-Wise Mock Tests

Expand any module below to start a live timed MCQ exam across 386 Mock Test sets (max 2 free attempts per topic per day).

Step 2 of 2 • Click Any Module to Expand & Start Exam

All Modules & Topics in Node js Training

✓ 100% Topic Coverage (53/53 Topics Active) Daily Quota Policy: Max 2 Attempts / Topic / Day
Topic 1.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Node.js Architecture — Event-Driven Non-Blocking I/O, Single JS Thread & Libuv Overview

Purpose: To understand and apply Node.js Architecture — Event-Driven Non-Blocking I/O, Single JS Thread & Libuv Overview in real Node js systems — specifically: What Node.js is (C++ runtime embedding V8 + Libuv), why I/O-bound APIs scale effortlessly without thread-per-request overhead, and when CPU-heavy tasks must be offloaded, so your code stays reliable, fast, and easy to maintain in production.

Topic 1.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Google V8 JavaScript Engine — Ignition Bytecode, TurboFan JIT & Generational Heap GC

Purpose: To understand and apply Google V8 JavaScript Engine — Ignition Bytecode, TurboFan JIT & Generational Heap GC in real Node js systems — specifically: How V8 parses JS into AST, Ignition interpreter bytecode, TurboFan optimizing JIT compiler & deoptimization bailouts, New Space (Scavenge) vs Old Space (Mark-Sweep-Compact) GC, and `node:v8`, so your code stays reliable, fast, and easy to maintain in production.

Topic 1.3 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
NPM & Package Governance — `package.json`, SemVer (`^` vs `~`), `package-lock.json` & `npm ci`

Purpose: To understand and apply NPM & Package Governance — `package.json`, SemVer (`^` vs `~`), `package-lock.json` & `npm ci` in real Node js systems — specifically: Authoring `package.json` (`engines`, `exports`, `scripts`), Semantic Versioning (`MAJOR.MINOR.PATCH`), caret `^1.2.3` vs tilde `~1.2.3`, deterministic `npm ci` in CI/CD, and `npm audit`, so your code stays reliable, fast, and easy to maintain in production.

Topic 1.4 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
CommonJS (`require`/`module.exports`) vs ES Modules (`import`/`export`) in Node.js

Purpose: To understand and apply CommonJS (`require`/`module.exports`) vs ES Modules (`import`/`export`) in Node.js in real Node js systems — specifically: Synchronous dynamic `require()` vs asynchronous static ESM `import`, `"type": "module"` vs `.mjs`/`.cjs`, `import.meta.dirname` replacing `__dirname`, top-level `await`, and module caching, so your code stays reliable, fast, and easy to maintain in production.

Topic 2.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Node.js Global Scope — `globalThis`, `URL`, `fetch`, `AbortController`, `structuredClone` & Module Scope

Purpose: To understand and apply Node.js Global Scope — `globalThis`, `URL`, `fetch`, `AbortController`, `structuredClone` & Module Scope in real Node js systems — specifically: Top-level `const`/`let` are file-scoped (never attached to `globalThis`), built-in web-compatible globals (`fetch`, `URL`, `TextEncoder`, `crypto`, `structuredClone`), and why mutating `global` breaks test isolation, so your code stays reliable, fast, and easy to maintain in production.

Topic 2.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
The `node:process` Object — `process.env`, `argv`, `memoryUsage()`, Exit Codes & `SIGTERM` Shutdown

Purpose: To understand and apply The `node:process` Object — `process.env`, `argv`, `memoryUsage()`, Exit Codes & `SIGTERM` Shutdown in real Node js systems — specifically: Reading environment config (`node --env-file=.env`), CLI arguments (`util.parseArgs`), RSS vs heapUsed in `process.memoryUsage()`, `process.nextTick`, and graceful container shutdown on `SIGTERM`, so your code stays reliable, fast, and easy to maintain in production.

Topic 2.3 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Operating System Module (`node:os`) — `availableParallelism()`, Memory, Endianness & Host Metrics

Purpose: To understand and apply Operating System Module (`node:os`) — `availableParallelism()`, Memory, Endianness & Host Metrics in real Node js systems — specifically: Querying container-aware CPU limits via `os.availableParallelism()`, `os.totalmem()`/`os.freemem()`, `os.uptime()`, `os.tmpdir()`, `os.EOL`, and platform-portable newline/temp handling, so your code stays reliable, fast, and easy to maintain in production.

Topic 2.4 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Node.js Timers (`node:timers`, `timers/promises`) — `setImmediate`, `setTimeout`, `unref()` & Cancellation

Purpose: To understand and apply Node.js Timers (`node:timers`, `timers/promises`) — `setImmediate`, `setTimeout`, `unref()` & Cancellation in real Node js systems — specifically: Timers phase (`setTimeout`/`setInterval`) vs Check phase (`setImmediate`), `timers/promises` async `setTimeout(ms, val, { signal })`, and `.unref()` so background cache-sweepers don’t hang shutdown, so your code stays reliable, fast, and easy to maintain in production.

Topic 3.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Error-First Callbacks `(err, result)`, Callback Hell, Zalgo Anti-Pattern & `util.promisify`

Purpose: To understand and apply Error-First Callbacks `(err, result)`, Callback Hell, Zalgo Anti-Pattern & `util.promisify` in real Node js systems — specifically: Node’s classic `(err, value)` convention, why invoking a callback synchronously on cache hit and asynchronously on cache miss ("releasing Zalgo") causes subtle bugs, and bridging to Promises via `util.promisify`, so your code stays reliable, fast, and easy to maintain in production.

Topic 3.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
`node:events` & `EventEmitter` — Synchronous Dispatch, `once()`, `error` Events & Listener Leaks

Purpose: To understand and apply `node:events` & `EventEmitter` — Synchronous Dispatch, `once()`, `error` Events & Listener Leaks in real Node js systems — specifically: Pub/Sub inside Node (`on`, `once`, `emit`, `off`), `events.once(emitter, "ready", { signal })` Promise helper, why `emitter.emit()` invokes listeners synchronously, and `MaxListenersExceededWarning`, so your code stays reliable, fast, and easy to maintain in production.

Topic 3.3 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Error Architecture in Node.js — Operational vs Programmer Errors, `Error.cause` & Unhandled Rejections

Purpose: To understand and apply Error Architecture in Node.js — Operational vs Programmer Errors, `Error.cause` & Unhandled Rejections in real Node js systems — specifically: System errors (`ENOENT`, `ECONNREFUSED`, `EADDRINUSE`), custom `AppError` classes with HTTP status & `{ cause: err }` chaining, operational vs programmer crashes, and `unhandledRejection` telemetry, so your code stays reliable, fast, and easy to maintain in production.

Topic 3.4 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Race Conditions in Single-Threaded Node.js — Interleaved `await` Points, TOCTOU & Atomic Locks

Purpose: To understand and apply Race Conditions in Single-Threaded Node.js — Interleaved `await` Points, TOCTOU & Atomic Locks in real Node js systems — specifically: Why "single-threaded JS" STILL suffers race conditions across `await` boundaries (read-modify-write balance bugs, file check-then-open TOCTOU), atomic SQL updates (`SET balance = balance - ? WHERE balance >= ?`), and Promise mutex queues, so your code stays reliable, fast, and easy to maintain in production.

Topic 4.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Node.js `Buffer` (`node:buffer`) — `Buffer.alloc` vs `allocUnsafe`, UTF-8/Base64/Hex & `Uint8Array`

Purpose: To understand and apply Node.js `Buffer` (`node:buffer`) — `Buffer.alloc` vs `allocUnsafe`, UTF-8/Base64/Hex & `Uint8Array` in real Node js systems — specifically: Fixed-length byte sequences backed by `ArrayBuffer`, why `new Buffer()` is deprecated, `Buffer.alloc(n)` zero-filling vs `Buffer.allocUnsafe(n)` uninitialized pool memory, `Buffer.concat`, and Base64URL encoding, so your code stays reliable, fast, and easy to maintain in production.

Topic 4.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Node.js Streams (`node:stream`) — Readable, Writable, Transform, Backpressure & `pipeline()`

Purpose: To understand and apply Node.js Streams (`node:stream`) — Readable, Writable, Transform, Backpressure & `pipeline()` in real Node js systems — specifically: Four stream types (Readable, Writable, Duplex, Transform), `highWaterMark` buffering, why `.pipe()` leaks file descriptors on error while `stream/promises` `pipeline()` cleans up everything, and `for await (const chunk of readable)`, so your code stays reliable, fast, and easy to maintain in production.

Topic 4.3 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
File System (`node:fs/promises`) — Non-Blocking Read/Write, `createReadStream`, Atomic Rename & `stat`

Purpose: To understand and apply File System (`node:fs/promises`) — Non-Blocking Read/Write, `createReadStream`, Atomic Rename & `stat` in real Node js systems — specifically: Using `fs/promises` (`readFile`, `writeFile`, `mkdir({ recursive: true })`, `stat`, `opendir` async iterator) vs `fs.createReadStream` for large files, and why `*Sync` methods are forbidden inside request handlers, so your code stays reliable, fast, and easy to maintain in production.

Topic 4.4 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
`node:path` Security & Cross-Platform Paths — `join` vs `resolve`, `parse` & Blocking Path Traversal

Purpose: To understand and apply `node:path` Security & Cross-Platform Paths — `join` vs `resolve`, `parse` & Blocking Path Traversal in real Node js systems — specifically: POSIX `/` vs Windows `\` separators, `path.join()` concatenation vs `path.resolve()` right-to-left absolute resolution, `path.basename`/`extname`, and defending static/upload endpoints against `../../` traversal, so your code stays reliable, fast, and easy to maintain in production.

Topic 5.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Core Web Server Module (`node:http`) — `createServer`, Keep-Alive Agents & Socket Timeouts

Purpose: To understand and apply Core Web Server Module (`node:http`) — `createServer`, Keep-Alive Agents & Socket Timeouts in real Node js systems — specifically: How `http.createServer((req, res) => ...)` multiplexes thousands of persistent Keep-Alive TCP connections on one thread, configuring `requestTimeout` / `headersTimeout`, and connection pooling with `http.Agent`, so your code stays reliable, fast, and easy to maintain in production.

Topic 5.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Handling HTTP Requests & Responses — Streaming Body Chunks, Status Codes & Header Safety

Purpose: To understand and apply Handling HTTP Requests & Responses — Streaming Body Chunks, Status Codes & Header Safety in real Node js systems — specifically: Reading chunked request bodies via `for await (const chunk of req)`, enforcing max byte caps (`413`), setting headers before body flush (`ERR_HTTP_HEADERS_SENT`), and streaming JSON/SSE responses, so your code stays reliable, fast, and easy to maintain in production.

Topic 5.3 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
URL & Query String Parsing — Modern WHATWG `URL` & `URLSearchParams` vs Legacy `node:querystring`

Purpose: To understand and apply URL & Query String Parsing — Modern WHATWG `URL` & `URLSearchParams` vs Legacy `node:querystring` in real Node js systems — specifically: Why WHATWG `new URL(req.url, "http://localhost")` and `URLSearchParams` supersede legacy `url.parse()` / `node:querystring`, handling repeated keys (`getAll("tag")`), safe RFC-3986 encoding, and pagination validation, so your code stays reliable, fast, and easy to maintain in production.

Topic 5.4 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
HTTP & Stream Compression (`node:zlib`) — Gzip, Deflate, Brotli & Zip-Bomb Protection

Purpose: To understand and apply HTTP & Stream Compression (`node:zlib`) — Gzip, Deflate, Brotli & Zip-Bomb Protection in real Node js systems — specifically: Compressing JSON/HTML payloads by 70%–85% using `zlib.createGzip()` and `zlib.createBrotliCompress()`, promisified `gzip`/`gunzip`, `maxOutputLength` zip-bomb defense, and avoiding synchronous `gzipSync` on the Event Loop, so your code stays reliable, fast, and easy to maintain in production.

Topic 6.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
`node:crypto` Essentials — `randomUUID`, Salted `scrypt` Passwords, `createHmac` & `AES-256-GCM`

Purpose: To understand and apply `node:crypto` Essentials — `randomUUID`, Salted `scrypt` Passwords, `createHmac` & `AES-256-GCM` in real Node js systems — specifically: CSPRNG token generation (`crypto.randomBytes`, `crypto.randomUUID`), why plain `SHA-256` is broken for passwords (use memory-hard `scrypt`), authenticated encryption (`aes-256-gcm` + `getAuthTag()`), and WebCrypto `crypto.subtle`, so your code stays reliable, fast, and easy to maintain in production.

Topic 6.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Constant-Time Secret Comparison (`crypto.timingSafeEqual`) — Defeating Timing Side-Channel Attacks

Purpose: To understand and apply Constant-Time Secret Comparison (`crypto.timingSafeEqual`) — Defeating Timing Side-Channel Attacks in real Node js systems — specifically: Why standard `sigA === sigB` short-circuits on the first mismatched byte (leaking expected HMAC characters nanosecond-by-nanosecond), how `crypto.timingSafeEqual(bufA, bufB)` runs in constant time, and guarding against length `RangeError`, so your code stays reliable, fast, and easy to maintain in production.

Topic 6.3 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
TLS/SSL & HTTPS in Node.js (`node:tls`, `node:https`) — TLS 1.3, Certificates, ALPN & mTLS

Purpose: To understand and apply TLS/SSL & HTTPS in Node.js (`node:tls`, `node:https`) — TLS 1.3, Certificates, ALPN & mTLS in real Node js systems — specifically: TLS handshake fundamentals, X.509 certificate chains, configuring `minVersion: "TLSv1.2"`, mutual TLS (`requestCert: true`, `rejectUnauthorized: true`) for service-to-service zero-trust, and why disabling cert checks is fatal, so your code stays reliable, fast, and easy to maintain in production.

Topic 7.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
`node:child_process` Security & Mechanics — `execFile`, `spawn`, Exit Signals & Avoiding Shell Injection

Purpose: To understand and apply `node:child_process` Security & Mechanics — `execFile`, `spawn`, Exit Signals & Avoiding Shell Injection in real Node js systems — specifically: The four process APIs (`spawn`, `fork`, `execFile`, `exec`), streaming `child.stdout`/`stderr`, `maxBuffer` limits on `exec`/`execFile`, and why shell interpolation causes Remote Code Execution (RCE), so your code stays reliable, fast, and easy to maintain in production.

Topic 7.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
`spawn()` vs `fork()` vs `worker_threads` — Stdio Streams, V8 Process Isolation & IPC Channels

Purpose: To understand and apply `spawn()` vs `fork()` vs `worker_threads` — Stdio Streams, V8 Process Isolation & IPC Channels in real Node js systems — specifically: Comparing `spawn()` (any system binary via stdio streams), `fork()` (dedicated Node.js child process with built-in IPC `process.send()` / `child.on("message")` and isolated V8 heap), and `node:worker_threads` (shared memory `SharedArrayBuffer` for CPU math), so your code stays reliable, fast, and easy to maintain in production.

Topic 7.3 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Creating Custom Node.js Modules — `exports` Subpath Encapsulation, Barrel Pitfalls & Dependency Injection

Purpose: To understand and apply Creating Custom Node.js Modules — `exports` Subpath Encapsulation, Barrel Pitfalls & Dependency Injection in real Node js systems — specifically: Designing cohesive domain modules, `package.json` `"exports"` map hiding private `./internal/*` files, factory dependency injection for easy unit testing, and SemVer publishing hygiene, so your code stays reliable, fast, and easy to maintain in production.

Topic 8.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Express.js Modular Routing — `express.Router()`, Route Params, Versioning & RESTful Status Codes

Purpose: To understand and apply Express.js Modular Routing — `express.Router()`, Route Params, Versioning & RESTful Status Codes in real Node js systems — specifically: Mounting domain routers (`app.use("/api/v1/courses", coursesRouter)`), route specificity order (static `/courses/featured` BEFORE dynamic `/courses/:id`!), `mergeParams: true` for nested resources, and idempotent HTTP verbs (`GET`, `POST`, `PATCH`, `PUT`, `DELETE`), so your code stays reliable, fast, and easy to maintain in production.

Topic 8.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Express.js Middleware Pipeline — `(req, res, next)`, Execution Order, CORS, Helmet & 4-Arg Error Handler

Purpose: To understand and apply Express.js Middleware Pipeline — `(req, res, next)`, Execution Order, CORS, Helmet & 4-Arg Error Handler in real Node js systems — specifically: Onion/pipeline flow of `app.use()`, hanging requests when neither `next()` nor `res.json()` is called, security headers (`helmet`), `express.json({ limit: "100kb" })`, and registering the 4-argument `(err, req, res, next)` handler last, so your code stays reliable, fast, and easy to maintain in production.

Topic 8.3 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Inspecting & Validating `req` in Express — `params`, `query`, `body`, `get()`, `app.set("trust proxy")` & Zod

Purpose: To understand and apply Inspecting & Validating `req` in Express — `params`, `query`, `body`, `get()`, `app.set("trust proxy")` & Zod in real Node js systems — specifically: Distinguishing `req.params` (URL path segments — always strings), `req.query` (query parameters), `req.body` (parsed payload), case-insensitive `req.get("authorization")`, `trust proxy` behind Nginx/Cloudflare, and runtime schema validation, so your code stays reliable, fast, and easy to maintain in production.

Topic 8.4 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Secure File Uploads in Express (`multer` & Streaming Multipart) — Size Caps, UUID Names & Magic Bytes

Purpose: To understand and apply Secure File Uploads in Express (`multer` & Streaming Multipart) — Size Caps, UUID Names & Magic Bytes in real Node js systems — specifically: Handling `multipart/form-data` with `multer`, configuring `limits: { fileSize, files }`, generating `crypto.randomUUID()` filenames outside the public webroot, checking file magic bytes (`%PDF-`, PNG `89 50 4E 47`), and streaming large uploads directly to S3/R2, so your code stays reliable, fast, and easy to maintain in production.

Topic 9.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
MySQL/MariaDB in Node.js (`mysql2/promise`) — `createPool` vs `createConnection` & Transaction Safety

Purpose: To understand and apply MySQL/MariaDB in Node.js (`mysql2/promise`) — `createPool` vs `createConnection` & Transaction Safety in real Node js systems — specifically: Why production servers use `mysql.createPool({ connectionLimit, waitForConnections, queueLimit })` instead of single `createConnection`, transactional `const conn = await pool.getConnection()`, and guaranteed `conn.release()` in `finally`, so your code stays reliable, fast, and easy to maintain in production.

Topic 9.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Querying MySQL Records Safely — `?` Prepared Placeholders, Keyset Pagination & Streaming Large Result Sets

Purpose: To understand and apply Querying MySQL Records Safely — `?` Prepared Placeholders, Keyset Pagination & Streaming Large Result Sets in real Node js systems — specifically: Preventing SQL Injection with `pool.execute("SELECT id, title FROM courses WHERE slug = ?", [slug])`, avoiding `SELECT *`, keyset cursor pagination (`WHERE id > ? ORDER BY id LIMIT 20`), and streaming large exports, so your code stays reliable, fast, and easy to maintain in production.

Topic 9.3 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
MongoDB Queries in Node.js — Compound Indexes (ESR Rule), Projections, Aggregations & Blocking NoSQL Injection

Purpose: To understand and apply MongoDB Queries in Node.js — Compound Indexes (ESR Rule), Projections, Aggregations & Blocking NoSQL Injection in real Node js systems — specifically: Querying with the official `mongodb` Node driver / Mongoose (`find`, `projection`, `.lean()`), Equality-Sort-Range (ESR) compound index design, `.explain("executionStats")` `IXSCAN` vs `COLLSCAN`, and blocking `{"$ne": null}` NoSQL operator injection, so your code stays reliable, fast, and easy to maintain in production.

Topic 10.1 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
Automated Unit & Integration Testing (`node:test` & `node:assert/strict`) — Mocks, Async Rejections & Coverage

Purpose: To understand and apply Automated Unit & Integration Testing (`node:test` & `node:assert/strict`) — Mocks, Async Rejections & Coverage in real Node js systems — specifically: Node’s built-in test runner (`node --test`), `describe`/`it`/`beforeEach`, `assert.strictEqual` / `assert.deepStrictEqual` / `await assert.rejects()`, `t.mock.fn()` & `t.mock.timers`, and isolating external HTTP/DB boundaries, so your code stays reliable, fast, and easy to maintain in production.

Topic 10.2 10 Mock Test Sets • ⏱ 45 Mins • Pass 60% 0/2 Used Today
CI/CD & Production Node.js Operations — GitHub Actions, `npm ci --omit=dev`, Non-Root Docker & Health Probes

Purpose: To understand and apply CI/CD & Production Node.js Operations — GitHub Actions, `npm ci --omit=dev`, Non-Root Docker & Health Probes in real Node js systems — specifically: Designing automated CI gates (lint -> typecheck -> `npm ci` -> `node --test` -> security audit), multi-stage `node:22-alpine` Docker images running as non-root `USER node`, `NODE_ENV=production`, `/healthz` vs `/readyz` probes, and zero-downtime rolling deploys, so your code stays reliable, fast, and easy to maintain in production.

Topic 11.1 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Short-Lived JWT Access + Rotating HttpOnly Refresh Tokens

Purpose: To understand and apply Short-Lived JWT Access + Rotating HttpOnly Refresh Tokens in real Node js systems — specifically: Prevent token theft and revoke compromised user sessions instantly across devices, so your code stays reliable, fast, and easy to maintain in production.

Topic 11.2 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Role & Scope RBAC Middleware plus Sliding-Window Rate Limiting

Purpose: To understand and apply Role & Scope RBAC Middleware plus Sliding-Window Rate Limiting in real Node js systems — specifically: Enforce tenant isolation and block credential-stuffing or scraping floods at the edge, so your code stays reliable, fast, and easy to maintain in production.

Topic 11.3 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Helmet Headers, Strict Schema Validation, CORS & HMAC Signatures

Purpose: To understand and apply Helmet Headers, Strict Schema Validation, CORS & HMAC Signatures in real Node js systems — specifically: Eliminate NoSQL/SQL injection, prototype pollution, and forged payment webhooks, so your code stays reliable, fast, and easy to maintain in production.

Topic 12.1 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Cache-Aside Pattern, TTL Jitter & Targeted Key Invalidation

Purpose: To understand and apply Cache-Aside Pattern, TTL Jitter & Targeted Key Invalidation in real Node js systems — specifically: Drop p95 database read latency from 120ms to 3ms on high-traffic endpoints, so your code stays reliable, fast, and easy to maintain in production.

Topic 12.2 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
BullMQ Job Producers, Concurrency Workers & Dead-Letter Queues

Purpose: To understand and apply BullMQ Job Producers, Concurrency Workers & Dead-Letter Queues in real Node js systems — specifically: Offload slow PDF/email/webhook work from HTTP threads with exponential retry safety, so your code stays reliable, fast, and easy to maintain in production.

Topic 12.3 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Atomic Redis Locks & Idempotency-Key Payment Protection

Purpose: To understand and apply Atomic Redis Locks & Idempotency-Key Payment Protection in real Node js systems — specifically: Guarantee retried POST requests never double-charge or double-book inventory, so your code stays reliable, fast, and easy to maintain in production.

Topic 13.1 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
stream.pipeline() Backpressure for Multi-GB Uploads & Exports

Purpose: To understand and apply stream.pipeline() Backpressure for Multi-GB Uploads & Exports in real Node js systems — specifically: Stream millions of records to S3 or HTTP responses without V8 heap exhaustion, so your code stays reliable, fast, and easy to maintain in production.

Topic 13.2 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Worker Threads for CPU-Bound Crypto/Parsing & Cluster Scaling

Purpose: To understand and apply Worker Threads for CPU-Bound Crypto/Parsing & Cluster Scaling in real Node js systems — specifically: Utilize all CPU cores while keeping the main Node.js event loop < 10ms lag, so your code stays reliable, fast, and easy to maintain in production.

Topic 13.3 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
SIGTERM Graceful Drain, /healthz & /readyz Readiness Probes

Purpose: To understand and apply SIGTERM Graceful Drain, /healthz & /readyz Readiness Probes in real Node js systems — specifically: Deploy new Node releases with zero dropped requests or half-written transactions, so your code stays reliable, fast, and easy to maintain in production.

Topic 14.1 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Integration Testing Express Routers & Auth Flows with Supertest

Purpose: To understand and apply Integration Testing Express Routers & Auth Flows with Supertest in real Node js systems — specifically: Verify status codes, DB side effects, and validation errors automatically on every PR, so your code stays reliable, fast, and easy to maintain in production.

Topic 14.2 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
AsyncLocalStorage Correlation IDs & Structured Pino JSON Logs

Purpose: To understand and apply AsyncLocalStorage Correlation IDs & Structured Pino JSON Logs in real Node js systems — specifically: Trace every log entry across async calls and redact sensitive secrets automatically, so your code stays reliable, fast, and easy to maintain in production.

Topic 14.3 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Multi-Stage Node Alpine Dockerfiles & GitHub Actions Deployment

Purpose: To understand and apply Multi-Stage Node Alpine Dockerfiles & GitHub Actions Deployment in real Node js systems — specifically: Ship tiny, non-root Node.js production containers behind TLS reverse proxies, so your code stays reliable, fast, and easy to maintain in production.

Topic 15.1 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Strict Request Schema Validation, Correlation IDs & Structured Pino JSON Logs

Purpose: To understand and apply Strict Request Schema Validation, Correlation IDs & Structured Pino JSON Logs in real Node js systems — specifically: Reject malformed payloads at the edge and trace every request across logs in milliseconds, so your code stays reliable, fast, and easy to maintain in production.

Topic 15.2 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Outbound HTTP Timeouts, Circuit Breakers & Exponential Backoff Retries

Purpose: To understand and apply Outbound HTTP Timeouts, Circuit Breakers & Exponential Backoff Retries in real Node js systems — specifically: Prevent one slow third-party payment or SMS gateway from hanging your entire Node.js event loop, so your code stays reliable, fast, and easy to maintain in production.

Topic 15.3 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Background Queue Workers, Dead-Letter Retries & Graceful SIGTERM Drain

Purpose: To understand and apply Background Queue Workers, Dead-Letter Retries & Graceful SIGTERM Drain in real Node js systems — specifically: Finish in-flight jobs safely during container restarts without losing customer tasks, so your code stays reliable, fast, and easy to maintain in production.

Topic 16.1 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Preventing Prototype Pollution, NoSQL/SQL Injection, SSRF & Token Replay

Purpose: To understand and apply Preventing Prototype Pollution, NoSQL/SQL Injection, SSRF & Token Replay in real Node js systems — specifically: Lock down public Node.js APIs against the most common real-world attacker exploits, so your code stays reliable, fast, and easy to maintain in production.

Topic 16.2 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Automated API Integration Testing with Node Test Runner / Vitest & Supertest

Purpose: To understand and apply Automated API Integration Testing with Node Test Runner / Vitest & Supertest in real Node js systems — specifically: Verify status codes, auth scopes, and database side effects automatically before deployment, so your code stays reliable, fast, and easy to maintain in production.

Topic 16.3 2 Mock Test Sets • ⏱ 30 Mins • Pass 60% 0/2 Used Today
Event-Loop Latency Diagnostics, Memory Leaks & Node.js Interview Scenarios

Purpose: To understand and apply Event-Loop Latency Diagnostics, Memory Leaks & Node.js Interview Scenarios in real Node js systems — specifically: Spot blocked event loops, unbounded caches, and concurrency bottlenecks in live interviews, so your code stays reliable, fast, and easy to maintain in production.

MockAttempt Academy Pvt. Ltd. • Solution Desk

Raise Course, Placement or College Project Query