CKA

Practice CKA Exam

Is it difficult for you to decide to purchase CNCF CKA exam dumps questions? CertQueen provides FREE online Certified Kubernetes Administrator CKA exam questions below, and you can test your CKA skills first, and then decide whether to buy the full version or not. We promise you get the following advantages after purchasing our CKA exam dumps questions.
1.Free update in ONE year from the date of your purchase.
2.Full payment fee refund if you fail CKA exam with the dumps

 

 Full CKA Exam Dump Here

Latest CKA Exam Dumps Questions

The dumps for CKA exam was last updated on Jul 21,2025 .

Viewing page 1 out of 5 pages.

Viewing questions 1 out of 25 questions

Question#1

Create a hostPath PersistentVolume named task-pv-volume with storage 10Gi, access modes ReadWriteOnce, storageClassName manual, and volume at /mnt/data and verify
vim task-pv-volume.yaml
apiVersion: v1
kind: PersistentVolume
metadata:
name: task-pv-volume
labels:
type: local
spec:
storageClassName: ""
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data"
kubectl apply -f task-pv-volume.yaml
//Verify
kubectl get pv
NAME CAPACITY ACCESS
MODES RECLAIM POLICY STATUS CLAIM
STORAGECLASS REASON AGE
task-pv-volume 5Gi RWO
Retain Available
3s

A. A

Question#2

Create a Pod nginx and specify a CPU request and a CPU limit of 0.5 and 1 respectively.

A. Solution: // create a yml file kubectl run nginx-pod --image=nginx --restart=Never --dry-run - o yaml > nginx-pod.yml // add the resources section and create vim nginx-pod.yaml apiVersion: v1 kind: Pod metadata: labels: run: nginx name: nginx spec: containers: - image: nginx name: nginx resources: requests: cpu: "0.5" limits: cpu: "1" restartPolicy: Always kubectl apply -f nginx-pod.yaml // verify

Question#3

Get the pods with labels env=dev and env=prod and output the labels as well

A. Solution: kubectl get pods -l 'env in (dev,prod)' --show-labels

Question#4

Create an nginx pod which loads the secret as environment variables
// create a yml file
kubectl run nginx --image=nginx --restart=Never --dry-run -o yaml > nginx.yml
// add env section below and create
vim nginx.yaml
apiVersion: v1
kind: Pod
metadata:
labels:
run: nginx
name: nginx
spec:
containers:
- image: nginx
name: nginx
envFrom:
- secretRef:
name: my-secret
restartPolicy: Never
kubectl apply -f nginx.yaml
//verify
kubectl exec -it nginx env

A. Solution: // create a yml file kubectl run nginx --image=nginx --restart=Never --dry-run -o yaml > nginx.yml // add env section below and create vim nginx.yaml run: nginx name: nginx spec: containers: - image: nginx name: nginx envFrom: - secretRef: name: my-secret restartPolicy: Never kubectl apply -f nginx.yaml //verify kubectl exec -it nginx env

Question#5

Create a busybox pod that runs the command "env" and save the output to "envpod" file

A. Solution: kubectl run busybox --image=busybox --restart=Never --rm -it -- env > envpod.yaml

Exam Code: CKA         Q & A: 67 Q&As         Updated:  Jul 21,2025

 

 Full CKA Exam Dumps Here