KCNA Practice Test

Review 333 KCNA practice questions with answer explanations and community insights.

Question 1

What native runtime is Open Container Initiative (OCI) compliant?

  1. runC
  2. runV
  3. kata-containers
  4. gvisor

Question 2

Which API object is the recommended way to run a scalable, stateless application on your cluster?

  1. ReplicaSet
  2. Deployment
  3. DaemonSet
  4. Pod

Question 3

A CronJob is scheduled to run by a user every one hour. What happens in the cluster when it's time for this CronJob to run?

  1. Kubelet watches API Server for CronJob objects. When it's time for a Job to run, it runs the Pod directly.
  2. Kube-scheduler watches API Server for CronJob objects, and this is why it's called kube-scheduler.
  3. CronJob controller component creates a Pod and waits until it finishes to run.
  4. CronJob controller component creates a Job. Then the Job controller creates a Pod and waits until it finishes to run.

Question 4

What is the purpose of the kubelet component within a Kubernetes cluster?

  1. A dashboard for Kubernetes Clusters that allows management and troubleshooting of applications.
  2. A network proxy that runs on each node in your cluster, implementing part of the Kubernetes Service concept.
  3. A component that watches for newly created Pods with no assigned node, and selects a node for them to run on.
  4. An agent that runs on each node in the cluster. It makes sure that containers are running in a Pod.

Question 5

What is the default value for authorization-mode in Kubernetes API server?

  1. --authorization-mode=RBAC
  2. --authorization-mode=AlwaysAllow
  3. --authorization-mode=AlwaysDeny
  4. --authorization-mode=ABAC