CKA ultimate series Mock exam 2: Question 12

Hi Team,

Kindly assist why this question is marked as False. Thanks!

Question:


Solve this question on: ssh cluster1-controlplane


There is a persistent volume named apple-pv-cka04-str. Create a persistent volume claim named apple-pvc-cka04-str and request a 40Mi of storage from apple-pv-cka04-str PV.
The access mode should be ReadWriteOnce and storage class should be manual.

Answer:

cluster1-controlplane ~ ➜   k get pvc apple-pv-cka04-str -o yaml 
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  annotations:
    pv.kubernetes.io/bind-completed: "yes"
  creationTimestamp: "2025-04-29T21:51:45Z"
  finalizers:
  - kubernetes.io/pvc-protection
  name: apple-pv-cka04-str
  namespace: default
  resourceVersion: "13297"
  uid: 18cf423e-af0f-4020-901d-7646506e4120
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 40Mi
  storageClassName: manual
  volumeMode: Filesystem
  volumeName: apple-pv-cka04-str
status:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 125Mi
  phase: Bound

luster1-controlplane ~ ➜  k get pvc
NAME                   STATUS   VOLUME                CAPACITY   ACCESS MODES   STORAGECLASS           VOLUMEATTRIBUTESCLASS   AGE
apple-pv-cka04-str     Bound    apple-pv-cka04-str    125Mi      RWO            manual                 <unset>                 21m
orange-pvc-cka07-str   Bound    orange-pv-cka07-str   150Mi      RWO            orange-stc-cka07-str   <unset>                 105m

Hi @sakshibag80,

Please post the actual yaml manifest file you typed up and used to make the pvc object. Did you specify the volumeName in that yaml file? or did your pvc get bound to the right pv (without specifying it). I was just wondering about that.

Good to see you around again… :slight_smile:

Hi ,

Thanks for getting back .

oc describe output that I shared in the initial response depicts that I have specified volumeName and oc gt pvc also indicates that pvc is bound to correct pv` :).

Thanks,
Sakshi