KCNA - Practice
Exams
1. What Kubernetes component should be used when a developer wants a guarantee of pods available on
every node?: DaemonSet
2. In the event that the Kubernetes control plane becomes unavailable, what happens to the existing pods that
are running on a cluster?: existing pods on the cluster will continue to run without interruption
3. How can namespaces be used in Kubernetes to divide a cluster into virtual clusters, providing isolation and
organization?: by partitioning the cluster into isolated namespaces
4. What is the name of the collective group of individuals responsible for overseeing the overall direction of the
Kubernetes project in the CNCF?: Ku- bernetes Steering Committee
5. In cloud-native architecture, what approach allows you to define the de- sired outcome of the architecture
without writing a step-by-step procedure to achieve a goal?: declarative approach
6. Why might you use multiple custom schedulers alongside the default scheduler in Kubernetes?: to
accommodate different workload requirements and policies
7. Which of the following is NOT a valid Kubernetes SIG?: certification
8. Rather than running a container directly, what does Kubernetes use to schedule and run the
container?: a Pod
9. Which definition offers the most precise representation of logs within the context of system observability?:
records of events that have occurred which contain information about a specific event
10.What Kubernetes feature will ensure the scheduler distributes an applica- tion across user-defined fault
zones, such as physical nodes?: pod topology spread constraints
11.What is the difference between static pods and pods created using Dae- monSets? (select two): static pods
are created by the local kubelet running on each node, DaemonSets are created by the kube-api server
12.What component in a Kubernetes cluster is responsible for running work- loads and applications?: Node
13.In Kubernetes, what are the two primary update strategies for managing changes to a deployment?:
Rolling Update and Recreate Update
14.What architecture is commonly associated with breaking up a larger, monolith application into smaller,
loosely coupled services that represent a specific function or application?: microservices
15.You have an application running on a Kubernetes cluster but want to man- ually scale out the number of
pods. What is the process to scale the number of pods without impacting existing workloads in the deployment?:
Modify the
, KCNA - Practice
Exams
definition file and update the number of replicas to the desired number. Apply the new configuration using kubectl apply
-f bryan.yaml
16.Prometheus follows what type of model for collecting metrics from target systems?: Pull-Based Model
17.You have a Kubernetes cluster with nodes that have specialized hardware accelerators (e.g., GPUs) and
nodes without accelerators. You want to ensure that a specific set of pods, labeled as app=ml-app, always run on
nodes with GPUs to maximize performance.
Which Kubernetes feature should you use for this purpose?: Node Affinity
18.What limitation is associated with using node selectors in Kubernetes for pod scheduling?: node selectors
are not suitable for handling complex node selection criteria
19.Which of the following is a cloud-native architecture that allows developers to run custom server-side code in
containers that are commonly managed by a cloud service provider?: serverless
20.What are the benefits of using Git to store and manage both infrastructure and application code?: Git allows
you to track changes, revert to previous versions, and collaborate effectively for infrastructure resources and applications
21.When using a GitOps practice, what happens when a merge request is approved to a Git repository?:
Changes are automatically applied to the target system or platform
22.What is a common name used for the kubectl configuration file?: kubecon- fig
23.Which of the following are key concepts to building a resilient and
self-healing application? (select four): ,the application is defined as code, oth- erwise known as a desired state,
reconciliation to execute commands or tasks as needed, ability to automatically adjust the resources based on demand,
also
known as autoscaling, ongoing observability to understand the current state of the application
24.You have multiple workloads running on your Kubernetes cluster and must collect logs for security and
monitoring purposes. To achieve this, you need a log collector running on every node in the cluster.
What Kubernetes feature will ensure a log collector pod is always running on every node in the cluster, even as
nodes are added and removed from the cluster?: DaemonSet
25.What group did the CNCF create to oversee and define GitOps in a ven- dor-neutral manner?: GitOps
Working Group
26.You have created a namespace with default limits of 1 CPU and 256Gi of memory. What are the default
resources assigned to a pod if the definition file
Exams
1. What Kubernetes component should be used when a developer wants a guarantee of pods available on
every node?: DaemonSet
2. In the event that the Kubernetes control plane becomes unavailable, what happens to the existing pods that
are running on a cluster?: existing pods on the cluster will continue to run without interruption
3. How can namespaces be used in Kubernetes to divide a cluster into virtual clusters, providing isolation and
organization?: by partitioning the cluster into isolated namespaces
4. What is the name of the collective group of individuals responsible for overseeing the overall direction of the
Kubernetes project in the CNCF?: Ku- bernetes Steering Committee
5. In cloud-native architecture, what approach allows you to define the de- sired outcome of the architecture
without writing a step-by-step procedure to achieve a goal?: declarative approach
6. Why might you use multiple custom schedulers alongside the default scheduler in Kubernetes?: to
accommodate different workload requirements and policies
7. Which of the following is NOT a valid Kubernetes SIG?: certification
8. Rather than running a container directly, what does Kubernetes use to schedule and run the
container?: a Pod
9. Which definition offers the most precise representation of logs within the context of system observability?:
records of events that have occurred which contain information about a specific event
10.What Kubernetes feature will ensure the scheduler distributes an applica- tion across user-defined fault
zones, such as physical nodes?: pod topology spread constraints
11.What is the difference between static pods and pods created using Dae- monSets? (select two): static pods
are created by the local kubelet running on each node, DaemonSets are created by the kube-api server
12.What component in a Kubernetes cluster is responsible for running work- loads and applications?: Node
13.In Kubernetes, what are the two primary update strategies for managing changes to a deployment?:
Rolling Update and Recreate Update
14.What architecture is commonly associated with breaking up a larger, monolith application into smaller,
loosely coupled services that represent a specific function or application?: microservices
15.You have an application running on a Kubernetes cluster but want to man- ually scale out the number of
pods. What is the process to scale the number of pods without impacting existing workloads in the deployment?:
Modify the
, KCNA - Practice
Exams
definition file and update the number of replicas to the desired number. Apply the new configuration using kubectl apply
-f bryan.yaml
16.Prometheus follows what type of model for collecting metrics from target systems?: Pull-Based Model
17.You have a Kubernetes cluster with nodes that have specialized hardware accelerators (e.g., GPUs) and
nodes without accelerators. You want to ensure that a specific set of pods, labeled as app=ml-app, always run on
nodes with GPUs to maximize performance.
Which Kubernetes feature should you use for this purpose?: Node Affinity
18.What limitation is associated with using node selectors in Kubernetes for pod scheduling?: node selectors
are not suitable for handling complex node selection criteria
19.Which of the following is a cloud-native architecture that allows developers to run custom server-side code in
containers that are commonly managed by a cloud service provider?: serverless
20.What are the benefits of using Git to store and manage both infrastructure and application code?: Git allows
you to track changes, revert to previous versions, and collaborate effectively for infrastructure resources and applications
21.When using a GitOps practice, what happens when a merge request is approved to a Git repository?:
Changes are automatically applied to the target system or platform
22.What is a common name used for the kubectl configuration file?: kubecon- fig
23.Which of the following are key concepts to building a resilient and
self-healing application? (select four): ,the application is defined as code, oth- erwise known as a desired state,
reconciliation to execute commands or tasks as needed, ability to automatically adjust the resources based on demand,
also
known as autoscaling, ongoing observability to understand the current state of the application
24.You have multiple workloads running on your Kubernetes cluster and must collect logs for security and
monitoring purposes. To achieve this, you need a log collector running on every node in the cluster.
What Kubernetes feature will ensure a log collector pod is always running on every node in the cluster, even as
nodes are added and removed from the cluster?: DaemonSet
25.What group did the CNCF create to oversee and define GitOps in a ven- dor-neutral manner?: GitOps
Working Group
26.You have created a namespace with default limits of 1 CPU and 256Gi of memory. What are the default
resources assigned to a pod if the definition file