Kcna Kubernetes And Cloud Native Associate · Free Practice Question Easy

Question 40

What component of Kubernetes is responsible for downloading the image and starting the container?

  • A

    scheduler

  • B

    container runtime

  • C

    API server

  • D

    kube-proxy

Reveal correct answer

Correct answer: B

Explanation

In Kubernetes, the container runtime is the component responsible for downloading container images and starting containers. Kubernetes relies on a container runtime, such as Docker or containerd, to perform these tasks. When you create a Pod in Kubernetes and specify which container images to use, the container runtime on each node in the cluster is responsible for fetching those images from container registries, ensuring their availability locally, and then launching the containers with the specified configurations. The container runtime handles the low-level operations needed to manage containers, while the Kubelet coordinates and manages these containers at the node level within the Kubernetes cluster.

Incorrect Answers:

  • the API server is the component of the Kubernetes control plane that exposes the Kubernetes API

  • the scheduler watches for newly created Pods with no assigned node, and selects a node for them to run on

  • kube-proxy is a network proxy that runs on each node in your cluster

https://kubernetes.io/docs/concepts/overview/components/#container-runtime

A. The scheduler in Kubernetes is responsible for placing pods onto nodes in the cluster based on resource requirements, quality of service requirements, and other constraints. It does not handle downloading images or starting containers.

B. The container runtime in Kubernetes is responsible for downloading the image from a container registry, such as Docker Hub, and starting the container based on the image. It manages the execution of containers on the nodes in the Kubernetes cluster.

C. The API server in Kubernetes is responsible for serving the Kubernetes API, which is used by internal components and external users to interact with the cluster. It does not directly handle downloading images or starting containers.

D. The kube-proxy in Kubernetes is responsible for managing network connectivity to the pods running on the cluster nodes. It does not handle downloading images or starting containers.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need