| 1 | Unit 01: Containerization with Docker | Lec1 | Containers vs VMs | What is the primary difference between containers and virtual machines? | Easy | 1 | Containers share the host OS kernel, while VMs run a full guest OS. | Containers run a complete operating system. | Containers share the host OS kernel, while VMs run a full guest OS. | VMs are faster to start than containers. | There is no significant difference. |
| 2 | Unit 01: Containerization with Docker | Lec1 | Core Docker Concepts | What is a Docker "layer"? | Easy | 1 | Each instruction in a Dockerfile creates a cached, reusable layer. | A running instance of a Docker image. | A text file with build instructions. | Each instruction in a Dockerfile creates a cached, reusable layer. | A repository for storing images. |
| 3 | Unit 01: Containerization with Docker | Lec1 | Docker Commands | Which command is used to view the logs of a running container in real-time? | Easy | 1 | docker logs -f myapp | docker inspect myapp | docker stats myapp | docker top myapp | docker logs -f myapp |
| 4 | Unit 01: Containerization with Docker | Lec2 | Layer Optimization | Why should multiple RUN commands be combined into a single RUN instruction? | Medium | 1 | To minimize the number of layers and reduce image size. | To make the Dockerfile more readable. | To minimize the number of layers and reduce image size. | To avoid Docker caching. | To speed up the application runtime. |
| 5 | Unit 01: Containerization with Docker | Lec2 | Dependency Caching | Why should pyproject.toml be copied before the application code in a Dockerfile? | Medium | 1 | To leverage Docker layer caching so dependencies are not reinstalled on every code change. | To ensure the application code is not overwritten. | To make the Dockerfile shorter. | To leverage Docker layer caching so dependencies are not reinstalled on every code change. | To comply with Python packaging standards. |
| 6 | Unit 01: Containerization with Docker | Lec3 | Multi-stage Builds | What is the primary benefit of using multi-stage Docker builds? | Medium | 1 | Smaller final images by separating build tools from runtime dependencies. | Faster application startup time. | Smaller final images by separating build tools from runtime dependencies. | Ability to run multiple applications in one container. | Automatic security scanning. |
| 7 | Unit 01: Containerization with Docker | Lec3 | Docker Security | Why should containers run as a non-root user? | Easy | 1 | If an attacker exploits a vulnerability, they gain root access to the host. | Non-root users make containers run faster. | It is required by Docker to build images. | If an attacker exploits a vulnerability, they gain root access to the host. | Non-root users reduce image size. |
| 8 | Unit 02: CI/CD Automation Pipelines | Lec4 | CI/CD Fundamentals | What is the key difference between Continuous Delivery and Continuous Deployment? | Medium | 1 | Continuous Delivery requires manual approval before production; Continuous Deployment does not. | Continuous Deployment is slower than Continuous Delivery. | Continuous Delivery does not include automated testing. | There is no difference between the two. | Continuous Delivery requires manual approval before production; Continuous Deployment does not. |
| 9 | Unit 02: CI/CD Automation Pipelines | Lec4 | GitHub Actions | In GitHub Actions, what is a "workflow"? | Easy | 1 | An automated process defined in a YAML file in .github/workflows/. | A single command that runs in a container. | An automated process defined in a YAML file in .github/workflows/. | A Git branch strategy for deployments. | A Docker Compose configuration. |
| 10 | Unit 02: CI/CD Automation Pipelines | Lec5 | GitLab CI | What is the purpose of the services keyword in a GitLab CI job? | Hard | 1 | To spin up additional Docker containers (e.g., PostgreSQL, Redis) that the job can connect to. | To define the stages of the pipeline. | To specify which runners can execute the job. | To spin up additional Docker containers (e.g., PostgreSQL, Redis) that the job can connect to. | To cache dependencies between jobs. |
| 11 | Unit 02: CI/CD Automation Pipelines | Lec5 | Automated Testing | According to the Test Pyramid, which type of tests should make up the largest portion of the test suite? | Easy | 1 | Unit Tests | E2E Tests | Integration Tests | Unit Tests | Performance Tests |
| 12 | Unit 02: CI/CD Automation Pipelines | Lec6 | Blue-Green Deployment | What is the main advantage of Blue-Green deployment? | Medium | 1 | Zero-downtime deployment with instant rollback capability. | It requires fewer servers than other strategies. | Zero-downtime deployment with instant rollback capability. | It automatically tests the new version. | It eliminates the need for a load balancer. |
| 13 | Unit 02: CI/CD Automation Pipelines | Lec6 | GitOps | In a GitOps workflow, what serves as the single source of truth for infrastructure state? | Hard | 1 | A Git repository | The CI/CD pipeline logs | A Git repository | The Kubernetes dashboard | The cloud provider console |
| 14 | Unit 03: SonarQube | Lec7 | SonarQube Architecture | What is the role of the SonarQube Scanner? | Easy | 1 | A CLI tool that analyzes code and sends results to the SonarQube server. | A web-based dashboard for viewing metrics. | A database for storing analysis results. | A CLI tool that analyzes code and sends results to the SonarQube server. | An IDE plugin for real-time feedback. |
| 15 | Unit 03: SonarQube | Lec7 | Quality Gates | Which of the following is NOT one of SonarQube's four core quality metric categories? | Medium | 1 | Performance | Bugs | Vulnerabilities | Code Smells | Performance |
| 16 | Unit 03: SonarQube | Lec8 | Clean as You Code | What is the core principle of the "Clean as You Code" methodology? | Hard | 1 | Enforce quality standards on new code without blocking existing legacy issues. | Rewrite all legacy code before adding new features. | Enforce quality standards on new code without blocking existing legacy issues. | Only analyze code that has been recently modified. | Automatically fix all code issues using AI. |