Skip to main content
NBCP • MODULE 22 OF 24 28 Timed Sets • 140 Verified MCQs

Module 22: Docker, Linux, CI/CD and Production Deployment — Node.js Mock Tests

Package, harden, automate, and deploy production Node.js backends on Linux servers and containers — Linux sysadmin/SSH/ufw/systemd, multi-stage non-root Dockerfiles, multi-container Docker Compose (Node.js, PostgreSQL, MongoDB, Redis, MinIO), Nginx reverse proxy, PM2, DNS/Let’s Encrypt HTTPS, GitHub Actions CI/CD, server monitoring, backups, and live troubleshooting.

⚡ START MODULE 22 PRACTICE

Linux Server Filesystems and Production Directory Layout

Start your baseline timed assessment for this module

Module 22 Assessment Rules & Format Every Attempt Helps You Improve • Track Your Progress, One Topic at a Time.
Question Bank 140 MCQs
Timed Sets 28 (28 Topics)
Duration 20 min / set
Pass Benchmark 70%
Negative Marking Up to -0.25 / wrong
Daily Access ∞ Unlimited Free

Integrity & Navigation: Questions can be revisited, changed, or flagged for review before final submission; answers auto-save across browser refreshes, and answer keys stay locked server-side until submitted.

Your Module 22 Progress

Completion Status & Revision Focus

Practice Today. Perform Better Tomorrow. No completed attempts recorded in Module 22 yet — start any topic below to generate your topic scorecard and unlock personalized revision suggestions.

Node.js Backend Development • Module 22

Topic-Wise Timed Mock Tests (28 Topics)

Instant scorecard + detailed explanations
Topic 22.1 1 Set

Linux Server Filesystems and Production Directory Layout

5 Qs • 20 min • Pass 70%

Topic 22.2 1 Set

Linux Users, Groups and Least-Privilege Permissions

5 Qs • 20 min • Pass 70%

Topic 22.3 1 Set

Linux Process Management and systemd Service Units

5 Qs • 20 min • Pass 70%

Topic 22.4 1 Set

Linux Networking Commands and Firewall Hardening (ufw)

5 Qs • 20 min • Pass 70%

Topic 22.5 1 Set

SSH Hardening and Secure Remote Administration

5 Qs • 20 min • Pass 70%

Topic 22.6 1 Set

Production Server Environment Variable Management

5 Qs • 20 min • Pass 70%

Topic 22.7 1 Set

Server Logs, logrotate and Diagnostics

5 Qs • 20 min • Pass 70%

Topic 22.8 1 Set

Linux Server Tuning (File Descriptors & TCP Backlog)

5 Qs • 20 min • Pass 70%

Topic 22.9 1 Set

Containerization Concepts vs Virtual Machines

5 Qs • 20 min • Pass 70%

Topic 22.10 1 Set

Docker Engine Architecture

5 Qs • 20 min • Pass 70%

Topic 22.11 1 Set

Docker Images and Containers Lifecycle

5 Qs • 20 min • Pass 70%

Topic 22.12 1 Set

Authoring Production Dockerfiles and .dockerignore

5 Qs • 20 min • Pass 70%

Topic 22.13 1 Set

Building and Running Hardened Containers

5 Qs • 20 min • Pass 70%

Topic 22.14 1 Set

Docker Volumes and Persistent Database Storage

5 Qs • 20 min • Pass 70%

Topic 22.15 1 Set

Container Networking and Internal DNS Isolation

5 Qs • 20 min • Pass 70%

Topic 22.16 1 Set

Docker Compose Orchestration

5 Qs • 20 min • Pass 70%

Topic 22.17 1 Set

Multi-Container Backend Stack (Node + Postgres + Mongo + Redis + MinIO)

5 Qs • 20 min • Pass 70%

Topic 22.18 1 Set

Docker Image Optimization and Multi-Stage Builds

5 Qs • 20 min • Pass 70%

Topic 22.19 1 Set

Nginx Reverse Proxy Configuration

5 Qs • 20 min • Pass 70%

Topic 22.20 1 Set

PM2 Process Manager for Bare-Metal Linux Deployments

5 Qs • 20 min • Pass 70%

Topic 22.21 1 Set

Domain and DNS Configuration

5 Qs • 20 min • Pass 70%

Topic 22.22 1 Set

SSL Certificates and HTTPS (Let’s Encrypt & Certbot)

5 Qs • 20 min • Pass 70%

Topic 22.23 1 Set

GitHub Actions CI/CD Workflows

5 Qs • 20 min • Pass 70%

Topic 22.24 1 Set

Automated Deployment Workflows & Safe Rollouts

5 Qs • 20 min • Pass 70%

Topic 22.25 1 Set

Production Observability & Server Health Monitoring

5 Qs • 20 min • Pass 70%

Topic 22.26 1 Set

Backup, Disaster Recovery and Production Troubleshooting

5 Qs • 20 min • Pass 70%

Topic 22.27 1 Set

Zero-Downtime Deployment Strategies: Blue-Green, Rolling & Canary Rollouts

5 Qs • 20 min • Pass 70%

Topic 22.28 1 Set

Container Supply-Chain Security: Distroless Images, Trivy Scans & Read-Only RootFS

5 Qs • 20 min • Pass 70%

Sample Module 22 Practice Preview

Sample Docker, Linux, CI/CD and Production Deployment MCQ Questions & Answers

Click “Reveal Answer & Explanation” to check yourself
Q1 • Linux Server Filesystems and Production Directory Layout Module 22 Sample

In production Linux Server Admin, what is the primary backend engineering purpose of 'Linux Server Filesystems and Production Directory Layout'?

  • A. Catching "No space left on device" when df -h shows 40% free disk because millions of tiny temp files exhausted 100% of inodes (df -i)!
  • B. Blocking the single Node.js V8 event-loop thread with synchronous fs/crypto calls on every request.
  • C. Concatenating raw unvalidated req.body fields directly into SQL or MongoDB filter queries.
  • D. Exposing internal stack traces and database connection strings in 500 HTTP responses.
✓ Reveal Answer & Explanation

Correct Answer: Option A

'Linux Server Filesystems and Production Directory Layout' is used in production Linux Server Admin specifically for: Catching "No space left on device" when df -h shows 40% free disk because millions of tiny temp files exhausted 100% of inodes (df -i)!

Q2 • Linux Server Filesystems and Production Directory Layout Module 22 Sample

Which critical production defect MUST a Node.js Backend Engineer avoid when implementing 'Linux Server Filesystems and Production Directory Layout'?

  • A. Validating request inputs with strict Zod schemas and enforcing BOLA ownership checks.
  • B. Checking only df -h and missing inode exhaustion (df -i) during a disk outage!
  • C. Writing deterministic Vitest/Jest + Supertest integration tests with correlation IDs.
  • D. Monitoring p95/p99 latency, event-loop lag, and database query execution plans.
✓ Reveal Answer & Explanation

Correct Answer: Option B

A high-impact real-world backend failure mode with 'Linux Server Filesystems and Production Directory Layout' is: Checking only df -h and missing inode exhaustion (df -i) during a disk outage!

Q3 • Linux Server Filesystems and Production Directory Layout Module 22 Sample

Which technical scope accurately describes the mechanics of 'Linux Server Filesystems and Production Directory Layout'?

  • A. Storing plaintext user passwords and unhashed refresh tokens in database columns.
  • B. Disabling timeouts, retries, rate limiting, and database transaction locks in production.
  • C. Structuring /srv/backend or /opt/app, /etc/nginx/sites-available, /var/log/nginx, swap sizing, and checking inode (df -i) as well as block (df -h) exhaustion
  • D. Using floating-point IEEE-754 numbers for financial wallet ledger balances.
✓ Reveal Answer & Explanation

Correct Answer: Option C

Core technical coverage of 'Linux Server Filesystems and Production Directory Layout' comprises: Structuring /srv/backend or /opt/app, /etc/nginx/sites-available, /var/log/nginx, swap sizing, and checking inode (df -i) as well as block (df -h) exhaustion.

Q4 • Linux Server Filesystems and Production Directory Layout Module 22 Sample

What is the expected hands-on deliverable when completing the practical lab for 'Linux Server Filesystems and Production Directory Layout'?

  • A. Committing .env secrets and node_modules directly to the main branch without tests.
  • B. Using unsafe TypeScript any casts everywhere to silence compiler errors.
  • C. Testing only a single manual happy-path request while ignoring concurrency and error cases.
  • D. Provision a clean /srv/app/{releases,shared} Linux directory layout and inspect df -h & df -i.
✓ Reveal Answer & Explanation

Correct Answer: Option D

Practical mastery of 'Linux Server Filesystems and Production Directory Layout' is verified through: Provision a clean /srv/app/{releases,shared} Linux directory layout and inspect df -h & df -i.

Q5 • Linux Server Filesystems and Production Directory Layout Module 22 Sample

In a Node.js Backend Developer technical interview on 'Linux Server Filesystems and Production Directory Layout', what demonstrates senior production readiness?

  • A. Explaining 'Structuring /srv/backend or /opt/app, /etc/nginx/sites-available, /var/log/nginx, swap sizing, and checking inode (df -i) as well as block (df -h) exhaustion' under the hood, preventing 'Checking only df -h and mis...
  • B. Assuming Express automatically catches unhandled errors in legacy callback timers without middleware.
  • C. Running database ports 5432, 27017, and 6379 open to 0.0.0.0 on the public internet.
  • D. Trusting client-supplied userId or price fields in req.body without server-side verification.
✓ Reveal Answer & Explanation

Correct Answer: Option A

Interviewers evaluate runtime/database depth (Structuring /srv/backend or /opt/app, /etc/nginx/sites-available, /var/log/nginx, swap sizing, and checking inode (df -i) as well as block (df -h) exhaustion), failure-mode prevention, and architecture trade-offs.

Need structured guidance on Docker, Linux, CI/CD and Production Deployment? Review the full NBCP syllabus or practise speaking through Node.js concepts in an AI technical interview.

Backend Development & Distributed Systems

Continue Learning & Explore Related Resources

FAQs — Module 22: Docker, Linux, CI/CD and Production Deployment (Node.js) Mock Tests

1. How many MCQ Mock Tests are included in Module 22: Docker, Linux, CI/CD and Production Deployment (Node.js)?

Module 22 of Node.js Backend Development Training Course includes 28 active timed MCQ mock test sets (140 verified questions across 28 topics), with server-side scoring, instant scorecards, and detailed explanations after submission.

2. What are the attempt rules and answer-key policies for Docker, Linux, CI/CD and Production Deployment mock tests?

You can preview sample questions on this page and launch up to 2 free timed attempts per topic per day without signup (enrolled cohort learners receive unlimited attempts). During a live test, answers auto-save across refreshes and answer keys remain protected on the server until submission.

3. Does scoring high on this Node.js module test guarantee interview selection?

No — module mock scores measure topic-level conceptual accuracy and highlight specific concepts to revise. Pair topic mocks with NBCP Spoken AI Interviews and hands-on coding practice to build well-rounded interview readiness; hiring decisions rest independently with employers.

Learn. Practise. Prove. Get Career-Ready.

Ready to Build Your IT Career?

Explore industry-led programmes and develop practical skills through training, assessments and interview preparation.