Linux_Foundation
CKAD · Question #15
CKAD Question #15: Real Exam Question with Answer & Explanation
Sign in or unlock CKAD to reveal the answer and full explanation for question #15. The question stem and answer options stay visible for context.
Submitted by manish99· May 4, 2026Application Deployment
Question
A project that you are working on has a requirement for persistent data to be available. To facilitate this, perform the following tasks:
- Create a file on node sk8s-node-0 at /opt/KDSP00101/data/index.html with the content Acct=Finance
- Create a PersistentVolume named task-pv-volume using hostPath and allocate 1GI to it, specifying that the volume is at /opt/KDSP00101/data on the cluster's node. The configuration should specify the access mode of ReadWriteOnce. It should define the StorageClass name exam for the PersistentVolume, which will be used to bind PersistentVolumeClaim requests to this PersistentVolume.
- Create a PersistentVolumeClaim named task-pv-claim that requests a volume of at least 100Mi and specifies an access mode of ReadWriteOnce
- Create a pod that uses the PersistentVolumeClaim as a volume with a label app: my-storage-app mounting the resulting volume to a mountPath /usr/share/nginx/html inside the pod
Unlock CKAD to see the answer
You've previewed enough free CKAD questions. Unlock CKAD for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Persistent Volumes#Persistent Volume Claims#Pod Storage#Data Persistence