KCNA practice question 11 of 25
The Container Runtime Interface (CRI) defines the protocol for the communication between:
Full set: 240 questionsThe Container Runtime Interface (CRI) is a plugin interface that enables the kubelet to use a wide variety of container runtimes, without the need to recompile Kubernetes. The CRI defines the main gRPC protocol for communication between the kubelet (the primary node agent) and the container runtime (e.g., containerd, CRI-O). This allows Kubernetes to be decoupled from a specific runtime technology, providing flexibility. The kubelet acts as the client, sending requests to the container runtime server to manage pods and container lifecycles (e.g., create, start, stop).
B. The container runtime does not communicate directly with etcd; the kube-apiserver is the only component that does.
C. The kube-apiserver and the kubelet communicate via the Kubernetes API, not the CRI.
D. The CRI does not define the protocol for pulling images; this is handled by the container runtime itself, often following OCI specifications.
1. Kubernetes Documentation. (n.d.). Container Runtimes. Kubernetes. Retrieved from https://kubernetes.io/docs/setup/production-environment/container-runtimes/. (The first paragraph explicitly states, "The kubelet uses the Container Runtime Interface (CRI) to talk to your chosen container runtime").
2. The Kubernetes Authors. (2016, December 15). Introducing Container Runtime Interface (CRI) in Kubernetes. Kubernetes Blog. Retrieved from https://kubernetes.io/blog/2016/12/container-runtime-interface-cri-in-kubernetes/. (This official blog post introduces the CRI and its purpose).
3. Cloud Native Computing Foundation. (n.d.). CNCF Cloud Native Interactive Landscape - CRI-O. CNCF. Retrieved from https://landscape.cncf.io/card-mode?item=runtime--container-runtime--cri-o. (The description for CRI-O explains its role as an implementation of the CRI to enable OCI runtimes).
Keep practicing
Take the free KCNA practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other KCNA practice questions
- Question 1Which of these commands is used to retrieve the documentation and field definitions for a…
- Question 2Kubernetes Secrets are specifically intended to hold confidential dat a. Which API object…
- Question 3What is the practice of bringing financial accountability to the variable spend model of …
- Question 6In Kubernetes, which command is the most efficient way to check the progress of a Deploym…
- Question 7What Kubernetes component handles network communications inside and outside of a cluster,…
- Question 8Kubernetes supports multiple virtual clusters backed by the same physical cluster. These …
