Sign In
Home/Linux Foundation/KCNA/Free questions

KCNA — Free Practice Questions

10 free sample questions from a bank of 281, with the correct answers and explanations. No signup required — start practising right now.

1What native runtime is Open Container Initiative (OCI) compliant?
  • runC
  • runV
  • kata-containers
  • gvisor
Answer: A
2What function does kube-proxy provide to a cluster?
  • Implementing the Ingress resource type for application traffic.
  • Forwarding data to the correct endpoints for Services.
  • Managing data egress from the cluster nodes to the network.
  • Managing access to the Kubernetes API.
Answer: B
3Which of these events will cause the kube-scheduler to assign a Pod to a node?
  • When the Pod crashes because of an error.
  • When a new node is added to the Kubernetes cluster.
  • When the CPU load on the node becomes too high.
  • When a new Pod is created and has no assigned node.
Answer: D
4Which resource do you use to attach a volume in a Pod?
  • StorageVolume
  • PersistentVolume
  • StorageClass
  • PersistentVolumeClaim
Answer: D
5Which key-value store is used to persist Kubernetes cluster data?
  • etcd
  • ZooKeeper
  • ControlPlaneStore
  • Redis
Answer: A
6What Linux namespace is shared by default by containers running within a Kubernetes Pod?
  • Host Network
  • Network
  • Process ID
  • Process Name
Answer: B
7What is a Dockerfile?
  • A bash script that is used to automatically build a docker image.
  • A config file that defines which image registry a container should be pushed to.
  • A text file that contains all the commands a user could call on the command line to assemble an image.
  • An image layer created by a running container stored on the host.
Answer: C
8What does the "nodeSelector" within a PodSpec use to place Pods on the target nodes?
  • Annotations
  • IP Addresses
  • Hostnames
  • Labels
Answer: D
9What do Deployments and StatefulSets have in common?
  • They manage Pods that are based on an identical container spec.
  • They support the OnDelete update strategy.
  • They support an ordered, graceful deployment and scaling.
  • They maintain a sticky identity for each of their Pods.
Answer: A
10What is the practice of bringing financial accountability to the variable spend model of cloud resources?
  • FaaS
  • DevOps
  • CloudCost
  • FinOps
Answer: D

Want the full bank of 281 questions for KCNA? See all practice exams.