Courseiva
Deployment →mediumMultiple Select

CV0-004 Deployment Practice Question

A cloud team is implementing a CI/CD pipeline for a containerized application. They want to automatically build a Docker image, push it to a registry, and deploy it to a Kubernetes cluster. Which TWO tools from the options below are commonly used as part of this pipeline? (Select 2)

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Jenkins

Jenkins and GitLab CI are both CI/CD tools that can build Docker images, push to registries, and deploy to Kubernetes. Terraform and CloudFormation are IaC tools, not CI/CD. Docker Compose is for local development.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Jenkins

    Why this is correct

    Jenkins orchestrates the pipeline stages: it triggers builds, runs Docker commands to build and push images to a registry, then applies Kubernetes manifests to deploy. Its extensive plugin ecosystem integrates each of these steps, satisfying the stem's requirement for automated build, push and deployment tooling.

  • ✗

    CloudFormation

    Why it's wrong here

    CloudFormation provisions AWS infrastructure as code, not CI/CD build or deployment tooling; it cannot build Docker images or push them to a registry. It is tempting because it orchestrates cloud resources declaratively, and would be correct for templating the Kubernetes cluster's underlying AWS infrastructure itself.

  • ✓

    GitLab CI

    Why this is correct

    GitLab CI is a pipeline orchestrator that runs build, test and deploy stages from a .gitlab-ci.yml file, invoking Docker to build and push images and kubectl or Helm to deploy to Kubernetes, satisfying the automated build-push-deploy requirement.

  • ✗

    Terraform

    Why it's wrong here

    Terraform provisions and manages infrastructure declaratively; it does not build images or run pipeline stages, so it cannot perform the build-push-deploy sequence. It is tempting because Terraform can declare the Kubernetes cluster and registry themselves, which is the correct choice when provisioning that underlying infrastructure.

  • ✗

    Docker Compose

    Why it's wrong here

    Docker Compose orchestrates multi-container applications on a single host for local development, not pipeline build-and-deploy stages to Kubernetes. It is tempting because it defines containers in YAML, and would be correct for running the application locally during development or testing before pushing images.

About these practice questions

Courseiva writes every CV0-004 question from scratch — 834 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CV0-004 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CV0-004 exam.