Question 5
Container OrchestrationThe Container Runtime Interface (CRI) in Kubernetes serves what key purpose?
Correct answer: B
Explanation
The CRI is the standard API that lets the kubelet talk to container runtimes without being tied to one implementation. It provides an interface for Kubernetes to manage containers through different runtimes, which is why it is described as "an API for kubelet to interact with different container runtimes."
Why each option is right or wrong
A. To define the standard for container image formats.
B. To provide an API for kubelet to interact with different container runtimes.
Kubernetes defines the Container Runtime Interface (CRI) as the gRPC API between the kubelet and the container runtime, introduced to decouple Kubernetes from any single runtime implementation. In the Kubernetes architecture, the kubelet uses CRI to issue pod and container lifecycle requests to runtimes such as containerd or CRI-O, rather than speaking directly to Docker-specific internals.
C. To manage network plugin configurations (CNI).
D. To enforce security policies for container execution.
E. To schedule containers onto nodes.