Skip to main content
PBCP • MODULE 22 OF 24 32 Timed Sets • 160 Verified MCQs

Module 22: Docker, Linux, Nginx and CI/CD — Python Mock Tests

Containerize, automate, reverse-proxy, and deploy Python backends cleanly on Linux and cloud infrastructure: Linux OS & CLI (pwd/ls/cd/mkdir/rm/cp), chmod/chown, ps/top/kill, curl/ping/ss, env vars, SSH, server admin, Docker Engine architecture, images, containers, multi-stage non-root Python Dockerfile, volumes, networks, docker-compose.yml (App + PostgreSQL + Redis + Celery + Nginx), .env/secrets, Nginx reverse proxy, Uvicorn ASGI, Gunicorn + Uvicorn workers, GitHub Actions CI/CD pipelines, AWS (EC2, S3, IAM, RDS) fundamentals, and /healthz + log monitoring.

⚡ START MODULE 22 PRACTICE

Linux Operating System Fundamentals

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 160 MCQs
Timed Sets 32 (32 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.

Python Backend Development • Module 22

Topic-Wise Timed Mock Tests (32 Topics)

Instant scorecard + detailed explanations
Topic 22.1 1 Set

Linux Operating System Fundamentals

5 Qs • 20 min • Pass 70%

Topic 22.2 1 Set

Essential Linux File Commands (pwd, ls, cd, mkdir, rm, cp)

5 Qs • 20 min • Pass 70%

Topic 22.3 1 Set

Linux File Ownership and Permissions (chmod and chown)

5 Qs • 20 min • Pass 70%

Topic 22.4 1 Set

Process Management (ps, top, kill, systemctl)

5 Qs • 20 min • Pass 70%

Topic 22.5 1 Set

Networking Diagnostics (curl, ping, ss/netstat)

5 Qs • 20 min • Pass 70%

Topic 22.6 1 Set

Linux Environment Variables and Shell Profiles

5 Qs • 20 min • Pass 70%

Topic 22.7 1 Set

Secure Remote Server Access with SSH

5 Qs • 20 min • Pass 70%

Topic 22.8 1 Set

Basic Linux Server Administration

5 Qs • 20 min • Pass 70%

Topic 22.9 1 Set

Containers vs Virtual Machines (Docker Introduction)

5 Qs • 20 min • Pass 70%

Topic 22.10 1 Set

Docker Engine Setup

5 Qs • 20 min • Pass 70%

Topic 22.11 1 Set

Docker Architecture (Client, Daemon, Registry)

5 Qs • 20 min • Pass 70%

Topic 22.12 1 Set

Pulling and Tagging Docker Images

5 Qs • 20 min • Pass 70%

Topic 22.13 1 Set

Running and Managing Containers

5 Qs • 20 min • Pass 70%

Topic 22.14 1 Set

Writing Multi-Stage Python Dockerfiles

5 Qs • 20 min • Pass 70%

Topic 22.15 1 Set

Docker CLI Lifecycle Commands (build, run, stop, rm, logs)

5 Qs • 20 min • Pass 70%

Topic 22.16 1 Set

Persistent Storage with Docker Volumes

5 Qs • 20 min • Pass 70%

Topic 22.17 1 Set

User-Defined Container Networks

5 Qs • 20 min • Pass 70%

Topic 22.18 1 Set

Multi-Container Stacks with Docker Compose

5 Qs • 20 min • Pass 70%

Topic 22.19 1 Set

.env Configuration and Secrets Handling

5 Qs • 20 min • Pass 70%

Topic 22.20 1 Set

Containerizing PostgreSQL with Healthchecks

5 Qs • 20 min • Pass 70%

Topic 22.21 1 Set

Containerizing Redis for Cache and Queues

5 Qs • 20 min • Pass 70%

Topic 22.22 1 Set

Nginx Reverse Proxy Fundamentals

5 Qs • 20 min • Pass 70%

Topic 22.23 1 Set

Uvicorn ASGI Production Server

5 Qs • 20 min • Pass 70%

Topic 22.24 1 Set

Gunicorn Process Manager with Uvicorn Workers

5 Qs • 20 min • Pass 70%

Topic 22.25 1 Set

End-to-End Python Backend Deployment

5 Qs • 20 min • Pass 70%

Topic 22.26 1 Set

CI/CD Concepts (Continuous Integration and Delivery)

5 Qs • 20 min • Pass 70%

Topic 22.27 1 Set

GitHub Actions Workflows (.github/workflows)

5 Qs • 20 min • Pass 70%

Topic 22.28 1 Set

Automated Lint, Pytest, Build and Deploy Pipeline

5 Qs • 20 min • Pass 70%

Topic 22.29 1 Set

AWS Cloud Fundamentals (EC2, S3, IAM, RDS)

5 Qs • 20 min • Pass 70%

Topic 22.30 1 Set

Application Logs, Readiness and /health Checks

5 Qs • 20 min • Pass 70%

Topic 22.31 1 Set

Production Observability with OpenTelemetry, Prometheus Metrics, Grafana Dashboards & Distributed Tracing

5 Qs • 20 min • Pass 70%

Topic 22.32 1 Set

Zero-Downtime Blue-Green / Canary Deployments, Graceful Shutdown (SIGTERM) & Production Incident Runbooks

5 Qs • 20 min • Pass 70%

Sample Module 22 Practice Preview

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

Click “Reveal Answer & Explanation” to check yourself
Q1 • Linux Operating System Fundamentals Module 22 Sample

In Linux, Docker, Nginx & CI/CD, what is the primary production engineering use case of 'Linux Operating System Fundamentals'?

  • A. Navigating Ubuntu LTS servers and Debian-based python:3.12-slim Docker containers effortlessly.
  • B. Disabling runtime exception handling and bypassing input validation.
  • C. Hardcoding database credentials directly inside Python source constants.
  • D. Concatenating raw untrusted strings directly into SQL statements.
✓ Reveal Answer & Explanation

Correct Answer: Option A

'Linux Operating System Fundamentals' is used in production Linux, Docker, Nginx & CI/CD specifically for: Navigating Ubuntu LTS servers and Debian-based python:3.12-slim Docker containers effortlessly.

Q2 • Linux Operating System Fundamentals Module 22 Sample

Which critical pitfall MUST a Python backend developer avoid when working with 'Linux Operating System Fundamentals'?

  • A. Writing focused pytest unit and integration tests covering boundary inputs.
  • B. Assuming case-insensitive Windows filenames (import Models matching models.py) work on Linux (ModuleNotFoundError — Linux filesystems are strictly case-sensitive!).
  • C. Following PEP 8 naming, Python 3.12 type hints, and structured logging.
  • D. Validating external payloads via Pydantic/DRF serializers at API boundaries.
✓ Reveal Answer & Explanation

Correct Answer: Option B

A frequent real-world bug with 'Linux Operating System Fundamentals' is: Assuming case-insensitive Windows filenames (import Models matching models.py) work on Linux (ModuleNotFoundError — Linux filesystems are strictly case-sensitive!).

Q3 • Linux Operating System Fundamentals Module 22 Sample

Which technical scope accurately describes the core mechanics of 'Linux Operating System Fundamentals'?

  • A. Browser-only CSS stylesheet animation keyframes.
  • B. Disabling Python reference counting and PostgreSQL WAL durability.
  • C. Kernel vs user space, FHS directory layout (/etc, /var/log, /opt, /tmp, /home), package manager (apt), and why 99% of Python containers/servers run Linux
  • D. Storing plain-text user passwords in committed repository files.
✓ Reveal Answer & Explanation

Correct Answer: Option C

Core technical coverage of 'Linux Operating System Fundamentals' comprises: Kernel vs user space, FHS directory layout (/etc, /var/log, /opt, /tmp, /home), package manager (apt), and why 99% of Python containers/servers run Linux.

Q4 • Linux Operating System Fundamentals Module 22 Sample

When completing the hands-on verification lab for 'Linux Operating System Fundamentals', what is the expected engineering deliverable?

  • A. Skipping edge-case checks and pushing untested files directly to main.
  • B. Swallowing runtime exceptions with bare except: pass blocks.
  • C. Hardcoding Windows-only paths and committing .venv to Git.
  • D. Explore /etc, /var/log, and case-sensitive paths inside a python:3.12-slim Linux container.
✓ Reveal Answer & Explanation

Correct Answer: Option D

Practical mastery of 'Linux Operating System Fundamentals' is verified through: Explore /etc, /var/log, and case-sensitive paths inside a python:3.12-slim Linux container.

Q5 • Linux Operating System Fundamentals Module 22 Sample

During a Python Backend technical interview on 'Linux Operating System Fundamentals', what demonstrates job-ready production competency?

  • A. Explaining how 'Kernel vs user space, FHS directory layout (/etc, /var/log, /opt, /tmp, /home), package manager (apt), and why 99% of Python containers/servers run Linux' works internally, guarding against 'Assuming case-insensi...
  • B. Reciting only a one-line definition without knowing failure modes or complexity trade-offs.
  • C. Using untyped globals and ignoring GIL/async behavior, N+1 queries, or SQL execution plans.
  • D. Skipping validation, structured logging, and pytest tests in production code.
✓ Reveal Answer & Explanation

Correct Answer: Option A

Interviewers evaluate internal understanding (Kernel vs user space, FHS directory layout (/etc, /var/log, /opt, /tmp, /home), package manager (apt), and why 99% of Python containers/servers run Linux), pitfall awareness, and clean Python implementation.

Need structured guidance on Docker, Linux, Nginx and CI/CD? Review the full PBCP syllabus or practise speaking through Python concepts in an AI technical interview.

Backend Development & Distributed Systems

Continue Learning & Explore Related Resources

FAQs — Module 22: Docker, Linux, Nginx and CI/CD (Python) Mock Tests

1. How many MCQ Mock Tests are included in Module 22: Docker, Linux, Nginx and CI/CD (Python)?

Module 22 of Python Backend Development Training Course includes 32 active timed MCQ mock test sets (160 verified questions across 32 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, Nginx and CI/CD 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 Python module test guarantee interview selection?

No — module mock scores measure topic-level conceptual accuracy and highlight specific concepts to revise. Pair topic mocks with PBCP 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.