What is the primary purpose of a container orchestration platform like Kubernetes?
Kubernetes automates deployment, scaling and management of containerised applications, satisfying the stem's demand for the platform's primary purpose. Its control plane reconciles desired state against actual state, handling scheduling, self-healing and horizontal scaling across nodes — capabilities manual container management cannot provide at scale.
Why this answer
Kubernetes is a container orchestration platform designed to automate the deployment, scaling, and management of containerized applications across clusters of hosts. It handles scheduling, load balancing, self-healing, and rolling updates, which are beyond the scope of a single container runtime.
Exam trap
The exam often tests the distinction between a container runtime (e.g., Docker) and an orchestration platform (e.g., Kubernetes), so candidates mistakenly think orchestration is just about running containers rather than managing them at scale.
How to eliminate wrong answers
Option A is wrong because a lightweight runtime for running a single container is the purpose of a container engine like Docker or containerd, not an orchestration platform. Option C is wrong because managing virtual machines and their hypervisors is the role of a hypervisor or VM orchestration tool like vSphere or OpenStack, not Kubernetes, which abstracts pods over VMs or bare metal. Option D is wrong because compiling source code into container images is the function of a build tool like Docker Build or Kaniko, not a runtime orchestrator like Kubernetes.