Courseiva
Container OrchestrationmediumMultiple SelectObjective-mapped

KCNA Container Orchestration Practice Question

Which TWO of the following correctly describe the difference between Docker Compose and Kubernetes? (Choose 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

Kubernetes provides built-in auto-scaling and self-healing

Docker Compose is designed for single-host container orchestration with a simple YAML file, while Kubernetes is a multi-host container orchestration platform with advanced features like auto-scaling and self-healing.

Answer analysis

Option-by-option breakdown

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

  • Docker Compose can manage containers across multiple hosts

    Why it's wrong here

    Docker Compose is designed for single-host deployments; Docker Swarm is multi-host.

  • Docker Compose is suitable for production-grade deployments

    Why it's wrong here

    Docker Compose is primarily for development and testing; Kubernetes is recommended for production.

  • Kubernetes provides built-in auto-scaling and self-healing

    Why this is correct

    Kubernetes offers features like HorizontalPodAutoscaler and ReplicaSet controllers for auto-scaling and self-healing.

  • Kubernetes supports rolling updates and rollbacks

    Why this is correct

    Kubernetes Deployments support rolling updates and rollbacks natively.

  • Both Docker Compose and Kubernetes use the same YAML format

    Why it's wrong here

    They use different YAML formats; Docker Compose uses docker-compose.yml, Kubernetes uses Kubernetes API objects.

About these practice questions

This KCNA question is part of Courseiva's 833-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 KCNA practice question is part of Courseiva's free CNCF 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 KCNA exam.