Which access mode allows multiple pods to read and write to the same PersistentVolume simultaneously?
Think about which mode supports multiple writers at the same time.
ReadWriteMany (RWX) allows multiple pods to mount the volume for both reading and writing simultaneously.
You create a PersistentVolumeClaim with the following YAML snippet:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: my-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5GiWhat will be the status.phase of this PVC immediately after creation if a matching PersistentVolume is available?
Consider what happens when a PVC successfully binds to a PV.
When a PVC is successfully matched and bound to a PersistentVolume, its status.phase becomes 'Bound'.
Which YAML snippet correctly defines a PersistentVolumeClaim requesting 10Gi storage with the storage class 'fast-storage'?
Check the correct keys for storage class, access modes, and resource requests.
Option B correctly uses 'storageClassName', 'accessModes' as a list, and 'resources.requests.storage' with '10Gi'.
You created a PVC but it remains in the 'Pending' state for a long time. Which of the following is the most likely cause?
Think about what must exist for a PVC to bind successfully.
If no PersistentVolume matches the PVC's requirements, the PVC stays in 'Pending' waiting for a suitable volume.
Arrange the steps in the correct order to use a PersistentVolumeClaim in a Pod.
Think about what must exist before a PVC can bind and a Pod can use it.
First, a PV or dynamic provisioner must be ready. Then create the PVC to request storage. Next, define the Pod referencing the PVC. Finally, deploy the Pod to use the storage.