KCNA Practice Test

KCNA Practice Test practice questions, page 11 of 14, with answer review and explanations.

Question 51

How are ReplicaSets and Deployments related?

  1. Deployments manage ReplicaSets and provide declarative updates to Pods.
  2. ReplicaSets manage stateful applications, Deployments manage stateless applications.
  3. Deployments are runtime instances of ReplicaSets.
  4. ReplicaSets are subsets of Jobs and CronJobs which use imperative Deployments.

Question 52

What factors influence the Kubernetes scheduler when it places Pods on nodes?

  1. Pod memory requests, node taints, and Pod affinity.
  2. Pod labels, node labels, and request labels.
  3. Node taints, node level, and Pod priority.
  4. Pod priority, container command, and node labels.

Question 53

What is the core metric type in Prometheus used to represent a single numerical value that can go up and down?

  1. Summary
  2. Counter
  3. Histogram
  4. Gauge

Question 54

What is the primary mechanism to identify grouped objects in a Kubernetes cluster?

  1. Custom Resources
  2. Labels
  3. Label Selector
  4. Pod

Question 55

What is the name of the Kubernetes resource used to expose an application?

  1. Port
  2. Service
  3. DNS
  4. Deployment