Linux Foundation Kcna Kubernetes Cloud Native Associate Practice Test - Set 1
Test your knowledge with this Linux Foundation Kcna Kubernetes Cloud Native Associate mock exam. Get real-world IT questions and prepare for certification success.
KCNA: Kubernetes and Cloud Native Associate - Exam Information
Exam Information
Exam Code
Linux Foundation Kcna Kubernetes Cloud Native Associate
Exam Title
KCNA: Kubernetes and Cloud Native Associate
Vendor
Linux
Difficulty
Beginner
Duration
90 Minutes
Question Format
Multiple Choice
Last Updated
February 25, 2025
The KCNA exam certifies foundational knowledge and skills in Kubernetes and cloud-native technologies.
1. Which component is responsible for managing Pods in Kubernetes?
Kubelet
Kube-Controller-Manager
Kubectl
etcd
✅ Correct Answer: Kube-Controller-Manager
2. What is the main purpose of a Kubernetes Service?
To store cluster configuration
To define network policies
To expose and route traffic to Pods
To manage Persistent Volumes
✅ Correct Answer: To expose and route traffic to Pods
3. Which of the following is a cloud-native computing characteristic?
Monolithic architecture
Manual infrastructure provisioning
Microservices-based design
Single-node deployment
✅ Correct Answer: Microservices-based design
4. Which command is used to deploy an application in Kubernetes?
kubectl apply
kubectl create
kubectl deploy
kubectl run
✅ Correct Answer: kubectl apply
5. What is the purpose of a Kubernetes Namespace?
To isolate resources within a cluster
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To isolate resources within a cluster
6. Which component stores the state of a Kubernetes cluster?
etcd
Kubelet
Kube-Proxy
API Server
✅ Correct Answer: etcd
7. What is the role of the Kubelet in Kubernetes?
To manage Pods on a node
To manage the cluster state
To route traffic to Pods
To schedule Pods
✅ Correct Answer: To manage Pods on a node
8. Which Kubernetes object is used to define a set of Pods?
Deployment
Service
ConfigMap
PersistentVolume
✅ Correct Answer: Deployment
9. What is the purpose of a Kubernetes ConfigMap?
To store configuration data
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To store configuration data
10. Which command is used to view logs of a Pod in Kubernetes?
kubectl logs
kubectl describe
kubectl get
kubectl exec
✅ Correct Answer: kubectl logs
11. What is the purpose of a Kubernetes Ingress?
To manage external access to services
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To manage external access to services
12. Which Kubernetes object is used to define a persistent storage volume?
PersistentVolume
ConfigMap
Secret
Service
✅ Correct Answer: PersistentVolume
13. What is the purpose of a Kubernetes Secret?
To store sensitive data
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To store sensitive data
14. Which command is used to delete a Pod in Kubernetes?
kubectl delete pod
kubectl remove pod
kubectl destroy pod
kubectl stop pod
✅ Correct Answer: kubectl delete pod
15. What is the purpose of a Kubernetes DaemonSet?
To ensure a Pod runs on every node
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To ensure a Pod runs on every node
16. Which Kubernetes object is used to define a network policy?
NetworkPolicy
Service
ConfigMap
PersistentVolume
✅ Correct Answer: NetworkPolicy
17. What is the purpose of a Kubernetes StatefulSet?
To manage stateful applications
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To manage stateful applications
18. Which command is used to scale a Deployment in Kubernetes?
kubectl scale
kubectl resize
kubectl expand
kubectl adjust
✅ Correct Answer: kubectl scale
19. What is the purpose of a Kubernetes Job?
To run a task to completion
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To run a task to completion
20. Which Kubernetes object is used to define a cron job?
CronJob
Job
Deployment
StatefulSet
✅ Correct Answer: CronJob
21. What is the default scheduler for Kubernetes?
kube-scheduler
etcd
kube-proxy
kubelet
✅ Correct Answer: kube-scheduler
22. Which Kubernetes object is used to manage scaling and updates of Pods?
ReplicaSet
ConfigMap
Secret
PersistentVolume
✅ Correct Answer: ReplicaSet
23. What is the purpose of a Kubernetes HorizontalPodAutoscaler?
To automatically scale Pods based on metrics
To manage network policies
To schedule cron jobs
To store configuration data
✅ Correct Answer: To automatically scale Pods based on metrics
24. Which command shows all running Pods in all namespaces?
kubectl get pods -A
kubectl get all pods
kubectl list pods
kubectl pods --all
✅ Correct Answer: kubectl get pods -A
25. What is the purpose of a Kubernetes ResourceQuota?
To limit resource usage in a namespace
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To limit resource usage in a namespace
26. Which component is responsible for Kubernetes network proxying?
kube-proxy
kubelet
etcd
API Server
✅ Correct Answer: kube-proxy
27. What is the purpose of a Kubernetes Taint?
To repel Pods from nodes
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To repel Pods from nodes
28. Which command is used to create a Kubernetes namespace?
kubectl create namespace
kubectl new namespace
kubectl make namespace
kubectl namespace create
✅ Correct Answer: kubectl create namespace
29. What is the purpose of a Kubernetes LimitRange?
To define resource constraints for Pods
To manage network policies
To schedule cron jobs
To store configuration data
✅ Correct Answer: To define resource constraints for Pods
30. Which Kubernetes object is used to provide DNS for Services?
CoreDNS
Ingress
ConfigMap
Secret
✅ Correct Answer: CoreDNS
31. What is the purpose of a Kubernetes PodDisruptionBudget?
To ensure availability during voluntary disruptions
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To ensure availability during voluntary disruptions
32. Which command is used to view cluster information?
kubectl cluster-info
kubectl get cluster
kubectl show nodes
kubectl config view
✅ Correct Answer: kubectl cluster-info
33. What is the purpose of a Kubernetes CustomResourceDefinition?
To extend the Kubernetes API
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To extend the Kubernetes API
34. Which Kubernetes object is used to store sensitive data like passwords?
Secret
ConfigMap
PersistentVolume
Service
✅ Correct Answer: Secret
35. What is the purpose of a Kubernetes NodeSelector?
To schedule Pods on specific nodes
To define network policies
To manage storage volumes
To limit resource usage
✅ Correct Answer: To schedule Pods on specific nodes
36. Which command is used to edit a Kubernetes resource?
kubectl edit
kubectl modify
kubectl update
kubectl change
✅ Correct Answer: kubectl edit
37. What is the purpose of a Kubernetes Init Container?
To run setup tasks before the main container
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To run setup tasks before the main container
38. Which Kubernetes object is used to manage external access to multiple Services?
Ingress
Service
ConfigMap
Secret
✅ Correct Answer: Ingress
39. What is the purpose of a Kubernetes Affinity rule?
To influence Pod scheduling
To define network policies
To manage storage volumes
To limit resource usage
✅ Correct Answer: To influence Pod scheduling
40. Which command is used to drain a Kubernetes node?
kubectl drain
kubectl cordon
kubectl remove
kubectl delete node
✅ Correct Answer: kubectl drain
41. What is the purpose of a Kubernetes PodPreset?
To inject information into Pods at creation
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To inject information into Pods at creation
42. Which Kubernetes object is used to define a canary deployment?
Deployment
StatefulSet
DaemonSet
ReplicaSet
✅ Correct Answer: Deployment
43. What is the purpose of a Kubernetes Volume?
To provide storage to Pods
To define network policies
To schedule Pods
To manage external access
✅ Correct Answer: To provide storage to Pods
44. Which command is used to view Kubernetes events?
kubectl get events
kubectl logs
kubectl describe
kubectl status
✅ Correct Answer: kubectl get events
45. What is the purpose of a Kubernetes ClusterRole?
To define permissions across the cluster
To manage network policies
To schedule Pods
To limit resource usage
✅ Correct Answer: To define permissions across the cluster
46. Which Kubernetes object is used to manage rolling updates?
Deployment
StatefulSet
DaemonSet
ReplicaSet
✅ Correct Answer: Deployment
47. What is the purpose of a Kubernetes PodSecurityPolicy?
To control security-sensitive aspects of Pods
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To control security-sensitive aspects of Pods
48. Which command is used to view resource usage of Pods?
kubectl top pods
kubectl stats pods
kubectl metrics pods
kubectl usage pods
✅ Correct Answer: kubectl top pods
49. What is the purpose of a Kubernetes NetworkPolicy?
To control network traffic between Pods
To manage storage volumes
To schedule Pods
To limit resource usage
✅ Correct Answer: To control network traffic between Pods
50. Which Kubernetes object is used to manage batch jobs?
Job
CronJob
Deployment
StatefulSet
✅ Correct Answer: Job
51. What is the purpose of a Kubernetes PriorityClass?
To influence Pod scheduling priority
To define network policies
To manage storage volumes
To limit resource usage
✅ Correct Answer: To influence Pod scheduling priority
52. Which command is used to port-forward to a Pod?
kubectl port-forward
kubectl forward-port
kubectl expose
kubectl connect
✅ Correct Answer: kubectl port-forward
53. What is the purpose of a Kubernetes ServiceAccount?
To provide identity for Pods
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To provide identity for Pods
54. Which Kubernetes object is used to manage time-based jobs?
CronJob
Job
Deployment
StatefulSet
✅ Correct Answer: CronJob
55. What is the purpose of a Kubernetes PodAntiAffinity rule?
To prevent Pods from being co-located
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To prevent Pods from being co-located
56. Which command is used to view detailed information about a Pod?
kubectl describe pod
kubectl get pod -o wide
kubectl info pod
kubectl show pod
✅ Correct Answer: kubectl describe pod
57. What is the purpose of a Kubernetes PodTemplate?
To define the Pod specification for controllers
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To define the Pod specification for controllers
58. Which Kubernetes object is used to manage stateful applications?
StatefulSet
Deployment
DaemonSet
ReplicaSet
✅ Correct Answer: StatefulSet
59. What is the purpose of a Kubernetes ConfigMap?
To store non-sensitive configuration data
To define network policies
To manage storage volumes
To schedule Pods
✅ Correct Answer: To store non-sensitive configuration data
60. Which command is used to view the Kubernetes API resources?
kubectl api-resources
kubectl get apis
kubectl list resources
kubectl show apis
✅ Correct Answer: kubectl api-resources
The Linux Foundation Kcna Kubernetes Cloud Native Associate certification is a globally recognized credential for IT professionals.
This practice test helps you prepare by covering key topics like hardware, networking, troubleshooting, and security.
Want more practice? Check out our other mock exams: