Latest CKA Exam Practice Questions
The practice questions for CKA exam was last updated on
2026-02-24
.
Viewing page 1 out of 8 pages.
Viewing questions 1 out of 44 questions.
Question#3
Create PersistentVolume named task-pv-volume with storage 10Gi, access modes ReadWriteMany, storageClassName manual, and volume at /mnt/data and Create a PersistentVolumeClaim of at least 3Gi storage and access mode ReadWriteOnce and verify
A. Solution:
vim task-pv-volume.yaml
apiVersion: v1
kind: PersistentVolume
metadata:
name: task-pv-volume
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 10Gi
accessModes:
- ReadWriteMany
hostPath:
path: "/mnt/data"
kubectl apply -f task-pv-volume.yaml
//Verify
kubectl get pv
vim task-pvc-volume.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: task-pv-claim
spec:
storageClassName: manual
accessModes:
- ReadWriteMany
resources:
requests:
storage: 3Gi
kubectl apply -f task-pvc-volume.yaml
//Verify
Kuk
kubectl get pvc
Disclaimer
This page is for educational and exam preparation reference only. It is not affiliated with The Linux Foundation, CKA Certification, or the official exam provider. Candidates should refer to official documentation and training for authoritative information.