End-to-End Deployment of an application on Kubernetes — Devops Guide 2025 Quiz

Explore core concepts in deploying and automating application infrastructure on Kubernetes in the cloud, including CI/CD, security scanning, monitoring, and infrastructure as code. Designed for DevOps learners preparing for real-world Kubernetes deployments.

  1. Infrastructure Setup

    Which tool is commonly used in DevOps to automate provisioning of cloud infrastructure such as creating compute instances and network resources?

    1. Jenkins
    2. Docker
    3. Terraform
    4. Prometheus

    Explanation: Terraform is a popular Infrastructure as Code (IaC) tool for automating cloud infrastructure setup. Jenkins automates CI/CD pipelines, Prometheus handles monitoring, and Docker is used for containerization, not for provisioning infrastructure.

  2. Security Management in CI/CD

    When integrating application security into a CI/CD pipeline for containerized applications, which tool scans container images for vulnerabilities before deployment?

    1. Trivy
    2. Helm
    3. Grafana
    4. Argo CD

    Explanation: Trivy is a tool specifically designed to scan container images for vulnerabilities. Helm is used for managing Kubernetes manifests, Grafana is for visualization and monitoring dashboards, and Argo CD is for GitOps-based application delivery.

  3. Continuous Deployment Automation

    Which automation tool is widely used for orchestrating continuous integration and deployment workflows, enabling code to move smoothly from repository to production?

    1. EC2
    2. SonarQube
    3. Prometheus
    4. Jenkins

    Explanation: Jenkins is a leading automation tool for managing CI/CD pipelines, automating build, test, and deployment tasks. EC2 is a compute service, SonarQube is for code quality scanning, and Prometheus is used for monitoring and alerting.

  4. Container Orchestration on Cloud

    Which Kubernetes service makes it easier to deploy, manage, and scale containerized applications in a cloud environment?

    1. SonarQube
    2. Docker Compose
    3. Terraform
    4. EKS

    Explanation: EKS (Elastic Kubernetes Service) is a managed Kubernetes service enabling scalable, secure deployment in the cloud. Docker Compose manages containers on a single host, Terraform automates cloud infrastructure, and SonarQube analyzes code quality.

  5. Monitoring and Alerts

    In a cloud application deployment, which monitoring system is typically paired with a dashboarding tool to collect metrics and visualize the health and performance of clusters and pipelines?

    1. Docker & Jenkins
    2. Terraform & Argo CD
    3. Prometheus & Grafana
    4. Trivy & SonarQube

    Explanation: Prometheus collects and stores time-series metrics, and Grafana visualizes data via dashboards, providing observability for clusters and CI/CD pipelines. The other pairs either focus on infrastructure, automation, or security scanning, not monitoring and visualization.