Linux, Docker, GitHub Actions CI/CD & Cloud IaC Automation Online Mock Test (Free 50-MCQ Topic Practice)
Select any course and syllabus topic below to launch a timed topic MCQ engineering exam (up to 2 free attempts per topic daily) with instant code-level explanations.
Timed code-output & architecture MCQs with instant scorecard. Want spoken viva practice too?
Select Any IT Course (21 Courses • 100% Topics Covered)
Linux, Docker, GitHub Actions CI/CD & Cloud IaC Automation — Topic-Wise Mock Tests
Expand any module below to start a live timed MCQ exam across 54 Mock Test sets (max 2 free attempts per topic per day).
All Modules & Topics in Linux, Docker, GitHub Actions CI/CD & Cloud IaC Automation
Merge Conflict Resolution
Reading `<<<<<<< HEAD`, `=======`, `>>>>>>> branch` conflict markers, resolving semantic TypeScript/package-lo...
.gitignore Hygiene and Branching Strategies
Node/TS `.gitignore` (`node_modules/`, `dist/`, `coverage/`, `.env`, `.env.*`, `!.env.example`, `*.log`), Trun...
Linux Filesystem Hierarchy and Navigation
FHS layout (`/etc` config, `/var/log` logs, `/opt` & `/srv` apps, `/tmp`, `/proc`), `pwd`, `ls -lah`, `cd`, re...
Linux File and Directory Operations
`mkdir -p`, `cp -r`, `mv`, `rm`, `touch`, `ln -s` symlinks, `find`, `tar -czf` / `-xzf`, `du -sh` & `df -h` di...
Linux Permissions and Ownership (chmod & chown)
User/Group/Other bits (`r=4, w=2, x=1`), `chmod 600 ~/.ssh/id_ed25519`, `chmod 640 .env`, `chown -R nodeuser:n...
Linux Process Management and Signals
`ps aux`, `htop`/`top`, `ss -tulpn` / `lsof -i :3000` (finding what occupies port `3000`!), `SIGTERM` (`15`, g...
Linux Environment Variables and Shell Configuration
`export KEY=VAL`, child-process inheritance, `env`/`printenv`, systemd `EnvironmentFile=/etc/api/.env`, and ex...
SSH Fundamentals and Key-Based Remote Access
`ssh-keygen -t ed25519`, `~/.ssh/authorized_keys`, `~/.ssh/config` host aliases, `scp`/`rsync` file transfer,...
Logs, Piping and Linux Production Troubleshooting
`journalctl -u api -f`, `tail -f`, `grep -E`, `jq` JSON log filtering (`cat app.log | jq "select(.level >= 50)...
Client-Server Request-Response Architecture
Stateless HTTP clients (browsers, mobile apps, webhook callers, microservices) -> Reverse Proxy (Nginx) -> Nod...
DNS and Domain Resolution
Recursive resolver -> Root -> TLD -> Authoritative nameserver, `A`, `AAAA`, `CNAME`, `TXT` (SPF/DKIM) records,...
IP Addresses, Loopback, Subnets and Ports
IPv4 vs IPv6, `127.0.0.1` (loopback ONLY!) vs `0.0.0.0` (all interfaces — required inside Docker containers!),...
Linux Operating System Fundamentals
Kernel vs user space, FHS directory layout (`/etc`, `/var/log`, `/opt`, `/tmp`, `/home`), package manager (`ap...
Essential Linux File Commands (pwd, ls, cd, mkdir, rm, cp)
`pwd`, `ls -lah`, `cd`, `mkdir -p`, `cp -r`, `mv`, `rm` (careful with `-rf`!), `cat`, `head`, `tail -f`, `grep...
Linux File Ownership and Permissions (chmod and chown)
Octal bits (`r=4, w=2, x=1`): `chmod 600` (`~/.ssh/id_ed25519`, `.env`), `chmod 755` (`entrypoint.sh`), `chown...
Process Management (ps, top, kill, systemctl)
`ps aux`, `top`/`htop`, graceful `SIGTERM` (`kill -15`) vs last-resort `SIGKILL` (`kill -9`), exit codes (`0`...
Networking Diagnostics (curl, ping, ss/netstat)
`curl -i -f http://localhost:8000/healthz`, inspecting headers (`curl -I`), listening sockets `ss -tulpn`, `12...
Linux Environment Variables and Shell Profiles
`export KEY=VAL`, `env`/`printenv`, subshell inheritance, `EnvironmentFile=` in `systemd`, and avoiding secret...
Secure Remote Server Access with SSH
`ssh-keygen -t ed25519`, `~/.ssh/authorized_keys`, disabling password auth & root login in `/etc/ssh/sshd_conf...
Basic Linux Server Administration
`ufw` firewall (`allow OpenSSH`, `allow 80,443/tcp`, keep `5432`/`6379` private!), disk usage (`df -h`, `du -s...
Containers vs Virtual Machines (Docker Introduction)
Shared Linux kernel namespaces (`pid`, `net`, `mnt`, `user`) + `cgroups` resource limits vs full guest-OS hype...
Docker Engine Setup
Docker Desktop (WSL 2 backend on Windows) & Docker Engine CE on Ubuntu Linux, verifying `docker info` and Buil...
Server Logs, logrotate and Diagnostics
`journalctl -u backend-api --since "10 min ago"`, configuring `/etc/logrotate.d/` (`daily`, `rotate 14`, `comp...
Linux Server Tuning (File Descriptors & TCP Backlog)
Raising `ulimit -n` (`nofile = 65535`, default `1024` crashes Node with `EMFILE: too many open files` at ~900...
Containerization Concepts vs Virtual Machines
Linux kernel `namespaces` (isolated PID, net, mount, user views) + `cgroups` (CPU/RAM caps) sharing the host k...
Docker Engine Architecture
Docker CLI -> `dockerd` Daemon -> `containerd` -> `runc` OCI runtime, layered copy-on-write UnionFS image laye...
Docker Images and Containers Lifecycle
Immutable tagged Images (`ghcr.io/org/api:git-sha`, NEVER deploy mutable `:latest` tags in production!) vs eph...
Authoring Production Dockerfiles and .dockerignore
`FROM node:22-bookworm-slim` (avoid `alpine` `musl` libc surprises with `prisma`/`argon2`/`sharp` native binar...
Building and Running Hardened Containers
Running as built-in non-root `USER node` (UID `1000`), `--read-only` root filesystem (`--tmpfs /tmp`), `--cap-...
Docker Volumes and Persistent Database Storage
Named volumes (`pg_data:/var/lib/postgresql/data`, `mongo_data:/data/db`, `redis_data:/data`, `minio_data:/dat...
Container Networking and Internal DNS Isolation
Custom isolated Docker networks: `edge_net` (`nginx <-> api`) vs `backend_net` (`api + worker <-> postgres + m...
Docker Compose Orchestration
Modern `compose.yaml` (`healthcheck`, `depends_on: { postgres: { condition: service_healthy } }`, `restart: un...
Multi-Container Backend Stack (Node + Postgres + Mongo + Redis + MinIO)
Assembling the complete polyglot backend stack (`nginx`, `migrate`, `api`, `worker`, `postgres:16`, `mongo:7`,...
git switch (Switching Branches)
Modern `git switch <branch>` and `git switch -c <new-branch>` vs `git restore` (replacing ambiguous overloaded...
git merge (Fast-Forward and 3-Way Merges)
Fast-forward pointer advance vs 3-way merge commit (`--no-ff`) vs Squash & Merge on Pull Requests
Merge Conflict Resolution
Reading `<<<<<<< HEAD`, `=======`, `>>>>>>> branch` markers, resolving semantic intent, running `pytest`, and...
git rebase Fundamentals
Replaying feature commits linearly atop latest `origin/main` (`git rebase main`), `--continue`/`--abort`, and...
git stash (Saving Work in Progress)
`git stash push -u -m "wip: ..."`, `git stash list`, `git stash pop` vs `apply`, and `git stash drop`
git reset (Soft, Mixed and Hard)
`--soft` (moves `HEAD` only), `--mixed` (unstages too), `--hard` (DESTROYS working changes!), and `git reflog`...
git revert (Safe Public Rollbacks)
Creating a new inverse commit via `git revert <sha>` to undo broken commits safely on shared `main` without re...
Remote Repositories Configuration
`git remote -v`, `origin` vs `upstream`, SSH (`git@github.com:...`) vs HTTPS PAT remotes, and `git remote set-...
AWS CI/CD Suite: CodeBuild, CodeDeploy, CodePipeline & GitHub OIDC
Source (`GitHub` via CodeConnections or **GitHub Actions OIDC Federation -> IAM Role** with zero stored AWS ke...
Containerization, Dockerfiles & Amazon ECR
Containers vs VMs, multi-stage non-root `Dockerfile`, **Amazon Elastic Container Registry (`ECR`)** (Private v...
Amazon ECS Architecture: Clusters, Task Definitions, Roles & AWS Fargate
**ECS Task Definition** (JSON blueprint: image, CPU/RAM, `awsvpc` ENI network mode), **ECS Task Execution Role...
Amazon EKS Overview, AWS App Runner & AWS Batch Selection Matrix
**Amazon EKS** (managed Kubernetes control plane across AZs — choose when migrating existing on-premises or mu...
Deployment Strategies (`Rolling`, `Immutable`, `Blue/Green`, `Canary`) & Auto-Rollback
Speed vs Cost vs Risk trade-offs: **All-at-Once** (downtime, dev only), **Rolling** (updates batch-by-batch, t...
CloudFormation Template Anatomy & Intrinsic Functions
YAML sections (`AWSTemplateFormatVersion: "2010-09-09"`, `Parameters` with `NoEcho: true` or dynamic SSM/Secre...
Change Sets, Drift Detection, Rollbacks, DeletionPolicy & StackSets
**Change Sets** (dry-run preview showing whether updating a property does an `In-Place Modify` vs destructive...
CloudFormation Intrinsic Functions (`!Ref`, `!GetAtt`, `!Sub`, `!FindInMap`, `!ImportValue`)
Wiring VPC -> Subnet -> SecurityGroup -> ALB -> ECS resources declaratively using `!Ref` physical IDs, `!GetAt...
CloudFormation `DeletionPolicy`, `UpdateReplacePolicy`, Rollbacks & `cfn-lint` CI Checks
Protecting stateful RDS/S3 resources with `DeletionPolicy: Snapshot` / `Retain`, understanding automatic stack...
AWS CDK Architecture: App, Stacks & L1 / L2 / L3 Constructs
`App -> Stack -> Construct` tree compiling via **`cdk synth`** into standard **AWS CloudFormation templates**,...
AWS CLI Mastery, Python Boto3 SDK Automation & Secret-Safe Config
AWS CLI v2 (`aws configure sso` with IAM Identity Center, `--profile`, `--dry-run`, JMESPath `--query` filteri...
AWS CDK L3 `ApplicationLoadBalancedFargateService` & Least-Privilege `grant*` Patterns
Deploying a complete Multi-AZ VPC + ALB + ECS Fargate Cluster + CloudWatch Log Group in ~25 lines of TypeScrip...
Post-Deployment Smoke Checks, CloudWatch Alarms & Zero-Bill Teardown Automation
Automated `/healthz` HTTP smoke checks in GitHub Actions post-deploy, wiring ALB `HTTPCode_Target_5XX_Count` a...
Want Unlimited DOCK Mock Exams + Weekend Live Mentorship With Working IT Pros?
Train live on weekends with active Working IT Professionals • All-Inclusive Fee: $32 USD All-Incl. (Includes 30-Day 100% Upgrade Credit)
Frequently Asked Questions — Topic-Wise Mock Tests
Are Linux, Docker, GitHub Topic Mock Tests free on MockAttempt Tech Academy?
Yes! Visitors can attempt up to 2 free timed 50-MCQ Linux, Docker, GitHub Actions CI/CD & Cloud IaC Automation Mock Tests per topic daily across 54 topics with instant answers. Enrolled live-batch students (₹2,999 All-Inclusive) unlock unlimited daily attempts.
Can I also practice Spoken AI Interviews for Linux, Docker, GitHub?
Yes — every Linux, Docker, GitHub Actions CI/CD & Cloud IaC Automation topic also includes up to 2 free daily Spoken MockAttempt AI Technical Interviews (https://mockattempt.com/ai-interviews/course/linux-docker-github-actions-cicd-cloudformation-cdk-course) with 4-axis voice evaluation.