McAfee Secure

CNCF CKA Bundle

Exam Code: CKA

Exam Name Certified Kubernetes Administrator

Certification Provider: CNCF

Corresponding Certification: CKA

CNCF CKA Bundle $44.99

100% CNCF CKA Guaranteed Success With Testking Training Materials

Get Real CKA Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    CKA Questions & Answers

    58 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual CKA exam while allowing you to hone and measure every aspect of your test-taking ability.

  • CKA Video Course

    CKA Training Course

    138 Video Lectures

    CKA Video Course is developed by CNCF Professionals to help you pass the CKA exam.

    Description

    This course will improve your knowledge and skills required to pass Certified Kubernetes Administrator exam.
  • Study Guide

    CKA Study Guide

    268 PDF Pages

    Developed by industry experts, this 268-page guide spells out in painstaking detail all of the information you need to ace CKA exam.

Certified Kubernetes Administrator (CKA) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • Questions & Answers

    Questions & Answers

    58 Questions

    $124.99
  • CKA Video Course

    Training Course

    138 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    268 PDF Pages

    $29.99

CNCF CKA Practice Test 73

Question 720

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: A prepared HTTPRoute dispatch-route in fulfillment must attach to approved Gateway regional-gw and route requests for dispatch.example.test to Service dispatch-svc. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Check exposed Service port mappings against actual container listeners and named ports before releases.
  2. Model required system egress and incident recovery before enforcing default-deny behavior.
  3. Treat cross-namespace route attachment and backend references as controlled trust boundaries.
  4. Prefer short-lived diagnostic tunnels and avoid treating port-forward as a production ingress path.

Explanation

Correct Answer

C:

Treat cross-namespace route attachment and backend references as controlled trust boundaries. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n fulfillment apply -f ./gateway/dispatch-api-route.yaml after confirming parentRefs, hostnames and backendRefs. The relevant mechanism is: Gateway API HTTPRoutes express matching and backend behavior while Gateway resources own compatible listeners.

Incorrect Answers

A:

The suggested review tracks a different technical risk: The Service port is what clients connect to, while targetPort must reach the actual backend listener. Here the sustained control must address: Gateway API HTTPRoutes express matching and backend behavior while Gateway resources own compatible listeners. Choose “Treat cross-namespace route attachment and backend references as controlled trust boundaries”.

B:

That safeguard is relevant to: An egress-isolating NetworkPolicy can block Pod outbound connections; DNS and required dependencies need explicit allowances. The current failure instead follows from: Gateway API HTTPRoutes express matching and backend behavior while Gateway resources own compatible listeners. Its prevention measure is “Treat cross-namespace route attachment and backend references as controlled trust boundaries”.

D:

The suggested review tracks a different technical risk: Port-forwarding creates a client-side tunnel to a selected backend and does not change the Service type or network exposure. Here the sustained control must address: Gateway API HTTPRoutes express matching and backend behavior while Gateway resources own compatible listeners. Choose “Treat cross-namespace route attachment and backend references as controlled trust boundaries”.

Question 721

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: A reviewed claim manifest ./storage/invoice-api-pvc.yaml in namespace ledger requests 5Gi through existing StorageClass fast-block. Work only within the stated target and verify before declaring success. Which command or initial safe diagnostic step best addresses the stated lab task?

  1. Run kubectl -n ledger apply -f ./storage/invoice-api-pvc.yaml after confirming storageClassName: fast-block and requested capacity 5Gi.
  2. Run kubectl -n fulfillment apply -f ./storage/dispatch-api-statefulset.yaml after confirming the StatefulSet's Service and StorageClass prerequisites.
  3. Run kubectl get csidriver csi.example.test and inspect kubectl get storageclass fast-block -o yaml.
  4. Run kubectl annotate storageclass fast-block storageclass.kubernetes.io/is-default-class='true' --overwrite after reconciling any previous default.

Explanation

Correct Answer

A:

Run kubectl -n ledger apply -f ./storage/invoice-api-pvc.yaml after confirming storageClassName: fast-block and requested capacity 5Gi. This is the appropriate command-line action or first safe diagnostic. The technical reason is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Validate the result with: Run kubectl -n ledger get pvc invoice-data and confirm Bound status and the selected StorageClass. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

B:

This alternative is a response to another technical cause: StatefulSets give stable identities and can generate per-Pod PVCs; a shared Deployment volume would not automatically provide this ownership model. The reported case instead depends on: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The action that directly addresses it is “Run kubectl -n ledger apply -f ./storage/invoice-api-pvc.yaml after confirming storageClassName: fast-block and requested capacity 5Gi”.

C:

The proposed action belongs to the mechanism: StorageClass provisioner names must correspond to installed CSI provisioning components; the class object alone cannot create storage. Here the stated fault follows a different mechanism: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The corrective choice is “Run kubectl -n ledger apply -f ./storage/invoice-api-pvc.yaml after confirming storageClassName: fast-block and requested capacity 5Gi”.

D:

The offered action targets: The default class admission behavior can assign storageClassName to new PVCs that omit it; concurrent defaults create ambiguous behavior. The case facts point instead to: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Implement “Run kubectl -n ledger apply -f ./storage/invoice-api-pvc.yaml after confirming storageClassName: fast-block and requested capacity 5Gi” to address that specific condition.

Question 722

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: A reviewed claim manifest ./storage/invoice-api-pvc.yaml in namespace ledger requests 5Gi through existing StorageClass fast-block. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. StatefulSets give stable identities and can generate per-Pod PVCs; a shared Deployment volume would not automatically provide this ownership model.
  2. A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner.
  3. PVC volumeName prebinding requests a specific PV but does not bypass binding compatibility and availability checks.
  4. VolumeSnapshot is a CSI extension object rather than a core PVC backup; controller and driver capabilities determine success.

Explanation

Correct Answer

B:

A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. This explains the stated condition. The corresponding action is: Run kubectl -n ledger apply -f ./storage/invoice-api-pvc.yaml after confirming storageClassName: fast-block and requested capacity 5Gi. The direct acceptance evidence is: Run kubectl -n ledger get pvc invoice-data and confirm Bound status and the selected StorageClass.

Incorrect Answers

A:

This principle describes a separate cause: StatefulSets give stable identities and can generate per-Pod PVCs; a shared Deployment volume would not automatically provide this ownership model. The reported condition is governed by: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The two mechanisms should not be conflated.

C:

The offered statement is true for this other mechanism: PVC volumeName prebinding requests a specific PV but does not bypass binding compatibility and availability checks. It does not explain the facts described here, which follow from: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner.

D:

This principle describes a separate cause: VolumeSnapshot is a CSI extension object rather than a core PVC backup; controller and driver capabilities determine success. The reported condition is governed by: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The two mechanisms should not be conflated.

Question 723

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: A reviewed claim manifest ./storage/invoice-api-pvc.yaml in namespace ledger requests 5Gi through existing StorageClass fast-block. Work only within the stated target and verify before declaring success. Which observation best verifies the requested outcome rather than an unrelated state?

  1. Run kubectl -n fulfillment get pvc dispatch-data and kubectl get pv pv-dispatch to confirm matched binding.
  2. Run kubectl get pv pv-ledger -o jsonpath='{.spec.persistentVolumeReclaimPolicy}' and confirm Retain.
  3. Run kubectl -n ledger get pvc invoice-data and confirm Bound status and the selected StorageClass.
  4. Run kubectl -n ledger get statefulset invoice-api and inspect generated PVCs and their Bound status.

Explanation

Correct Answer

C:

Run kubectl -n ledger get pvc invoice-data and confirm Bound status and the selected StorageClass. This validates the affected object or control path, rather than only showing a command completed. The underlying reason is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The intended action is: Run kubectl -n ledger apply -f ./storage/invoice-api-pvc.yaml after confirming storageClassName: fast-block and requested capacity 5Gi.

Incorrect Answers

A:

The alternative verifies a different condition: PVC volumeName prebinding requests a specific PV but does not bypass binding compatibility and availability checks. The current case instead depends on: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Confirm that “Run kubectl -n ledger get pvc invoice-data and confirm Bound status and the selected StorageClass”.

B:

That test belongs to another control with this basis: The reclaim policy controls the fate of backing storage after PVC release; Retain requires an explicit cleanup and reuse process. In the current case, the governing reason is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The direct verification is “Run kubectl -n ledger get pvc invoice-data and confirm Bound status and the selected StorageClass”.

D:

The alternative verifies a different condition: StatefulSets give stable identities and can generate per-Pod PVCs; a shared Deployment volume would not automatically provide this ownership model. The current case instead depends on: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Confirm that “Run kubectl -n ledger get pvc invoice-data and confirm Bound status and the selected StorageClass”.

Question 724

At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: A reviewed claim manifest ./storage/invoice-api-pvc.yaml in namespace ledger requests 5Gi through existing StorageClass fast-block. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Periodically restore test snapshots and verify backup consistency for the application.
  2. Plan StatefulSet volume retention and recovery separately from controller deletion.
  3. Maintain validated StorageClass definitions and review CSI driver compatibility during upgrades.
  4. Validate storage class capability, quotas and capacity before workload scheduling.

Explanation

Correct Answer

D:

Validate storage class capability, quotas and capacity before workload scheduling. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n ledger apply -f ./storage/invoice-api-pvc.yaml after confirming storageClassName: fast-block and requested capacity 5Gi. The relevant mechanism is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner.

Incorrect Answers

A:

That safeguard is relevant to: VolumeSnapshot is a CSI extension object rather than a core PVC backup; controller and driver capabilities determine success. The current failure instead follows from: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Its prevention measure is “Validate storage class capability, quotas and capacity before workload scheduling”.

B:

This routine guards against another mechanism: StatefulSets give stable identities and can generate per-Pod PVCs; a shared Deployment volume would not automatically provide this ownership model. The recurring exposure in the current case is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The matching preventive check is “Validate storage class capability, quotas and capacity before workload scheduling”.

C:

The suggested review tracks a different technical risk: StorageClasses specify provisioning behavior separately from an individual claim, including binding policy and reclaim defaults. Here the sustained control must address: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Choose “Validate storage class capability, quotas and capacity before workload scheduling”.

Question 725

At Horizon observability, in a disposable simulated environment during a monitored release window: A reviewed claim manifest ./storage/metrics-api-pvc.yaml in namespace observability requests 10Gi through existing StorageClass balanced-block. Work only within the stated target and verify before declaring success. Which command or initial safe diagnostic step best addresses the stated lab task?

  1. Run kubectl get csidriver csi.example.test and inspect kubectl get storageclass fast-block -o yaml.
  2. Run kubectl -n observability apply -f ./storage/metrics-api-pvc.yaml after confirming storageClassName: balanced-block and requested capacity 10Gi.
  3. Run kubectl -n ledger apply -f ./storage/invoice-api-snapshot.yaml after verifying the snapshot class and source PVC.
  4. Run kubectl get csidriver csi.lab.example and inspect kubectl get storageclass balanced-block -o yaml.

Explanation

Correct Answer

B:

Run kubectl -n observability apply -f ./storage/metrics-api-pvc.yaml after confirming storageClassName: balanced-block and requested capacity 10Gi. This is the appropriate command-line action or first safe diagnostic. The technical reason is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Validate the result with: Run kubectl -n observability get pvc metrics-data and confirm Bound status and the selected StorageClass. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

A:

This alternative is a response to another technical cause: StorageClass provisioner names must correspond to installed CSI provisioning components; the class object alone cannot create storage. The reported case instead depends on: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The action that directly addresses it is “Run kubectl -n observability apply -f ./storage/metrics-api-pvc.yaml after confirming storageClassName: balanced-block and requested capacity 10Gi”.

C:

The offered action targets: VolumeSnapshot is a CSI extension object rather than a core PVC backup; controller and driver capabilities determine success. The case facts point instead to: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Implement “Run kubectl -n observability apply -f ./storage/metrics-api-pvc.yaml after confirming storageClassName: balanced-block and requested capacity 10Gi” to address that specific condition.

D:

This alternative is a response to another technical cause: StorageClass provisioner names must correspond to installed CSI provisioning components; the class object alone cannot create storage. The reported case instead depends on: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The action that directly addresses it is “Run kubectl -n observability apply -f ./storage/metrics-api-pvc.yaml after confirming storageClassName: balanced-block and requested capacity 10Gi”.

Question 726

At Horizon observability, in a disposable simulated environment during a monitored release window: A reviewed claim manifest ./storage/metrics-api-pvc.yaml in namespace observability requests 10Gi through existing StorageClass balanced-block. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. StatefulSets give stable identities and can generate per-Pod PVCs; a shared Deployment volume would not automatically provide this ownership model.
  2. VolumeSnapshot is a CSI extension object rather than a core PVC backup; controller and driver capabilities determine success.
  3. A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner.
  4. StorageClass provisioner names must correspond to installed CSI provisioning components; the class object alone cannot create storage.

Explanation

Correct Answer

C:

A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. This explains the stated condition. The corresponding action is: Run kubectl -n observability apply -f ./storage/metrics-api-pvc.yaml after confirming storageClassName: balanced-block and requested capacity 10Gi. The direct acceptance evidence is: Run kubectl -n observability get pvc metrics-data and confirm Bound status and the selected StorageClass.

Incorrect Answers

A:

StatefulSets give stable identities and can generate per-Pod PVCs; a shared Deployment volume would not automatically provide this ownership model. That explanation applies to a different technical failure. Here the controlling principle is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner.

B:

The offered statement is true for this other mechanism: VolumeSnapshot is a CSI extension object rather than a core PVC backup; controller and driver capabilities determine success. It does not explain the facts described here, which follow from: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner.

D:

StorageClass provisioner names must correspond to installed CSI provisioning components; the class object alone cannot create storage. That explanation applies to a different technical failure. Here the controlling principle is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner.

Question 727

At Horizon observability, in a disposable simulated environment during a monitored release window: A reviewed claim manifest ./storage/metrics-api-pvc.yaml in namespace observability requests 10Gi through existing StorageClass balanced-block. Work only within the stated target and verify before declaring success. Which observation best verifies the requested outcome rather than an unrelated state?

  1. Run kubectl -n fulfillment get statefulset dispatch-api and inspect generated PVCs and their Bound status.
  2. Run kubectl get pods -A to inspect the relevant CSI controller and node plugin health in addition to the registered driver.
  3. Run kubectl -n observability get pvc metrics-data and kubectl get pv pv-metrics to confirm matched binding.
  4. Run kubectl -n observability get pvc metrics-data and confirm Bound status and the selected StorageClass.

Explanation

Correct Answer

D:

Run kubectl -n observability get pvc metrics-data and confirm Bound status and the selected StorageClass. This validates the affected object or control path, rather than only showing a command completed. The underlying reason is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The intended action is: Run kubectl -n observability apply -f ./storage/metrics-api-pvc.yaml after confirming storageClassName: balanced-block and requested capacity 10Gi.

Incorrect Answers

A:

That test belongs to another control with this basis: StatefulSets give stable identities and can generate per-Pod PVCs; a shared Deployment volume would not automatically provide this ownership model. In the current case, the governing reason is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The direct verification is “Run kubectl -n observability get pvc metrics-data and confirm Bound status and the selected StorageClass”.

B:

This observation would test a different technical dependency: StorageClass provisioner names must correspond to installed CSI provisioning components; the class object alone cannot create storage. The current issue is governed by: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Its decisive check is “Run kubectl -n observability get pvc metrics-data and confirm Bound status and the selected StorageClass”.

C:

The alternative verifies a different condition: PVC volumeName prebinding requests a specific PV but does not bypass binding compatibility and availability checks. The current case instead depends on: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Confirm that “Run kubectl -n observability get pvc metrics-data and confirm Bound status and the selected StorageClass”.

Question 728

At Horizon observability, in a disposable simulated environment during a monitored release window: A reviewed claim manifest ./storage/metrics-api-pvc.yaml in namespace observability requests 10Gi through existing StorageClass balanced-block. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?

  1. Validate storage class capability, quotas and capacity before workload scheduling.
  2. Verify expansion support and back up data before resizing important volumes.
  3. Treat changing default storage provisioning as a cluster-wide controlled operation.
  4. Maintain validated StorageClass definitions and review CSI driver compatibility during upgrades.

Explanation

Correct Answer

A:

Validate storage class capability, quotas and capacity before workload scheduling. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n observability apply -f ./storage/metrics-api-pvc.yaml after confirming storageClassName: balanced-block and requested capacity 10Gi. The relevant mechanism is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner.

Incorrect Answers

B:

The suggested review tracks a different technical risk: PVC expansion requests larger provisioned storage without deleting the claim; the CSI driver and filesystem may require additional expansion steps. Here the sustained control must address: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Choose “Validate storage class capability, quotas and capacity before workload scheduling”.

C:

That safeguard is relevant to: The default class admission behavior can assign storageClassName to new PVCs that omit it; concurrent defaults create ambiguous behavior. The current failure instead follows from: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Its prevention measure is “Validate storage class capability, quotas and capacity before workload scheduling”.

D:

This routine guards against another mechanism: StorageClasses specify provisioning behavior separately from an individual claim, including binding policy and reclaim defaults. The recurring exposure in the current case is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The matching preventive check is “Validate storage class capability, quotas and capacity before workload scheduling”.

Question 729

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: A reviewed claim manifest ./storage/dispatch-api-pvc.yaml in namespace fulfillment requests 20Gi through existing StorageClass standard-block. Work only within the stated target and verify before declaring success. Which command or initial safe diagnostic step best addresses the stated lab task?

  1. Run kubectl get storageclass balanced-block -o yaml.
  2. Run kubectl -n fulfillment describe pod dispatch-api and compare volume claim names with container mount paths.
  3. Run kubectl -n fulfillment apply -f ./storage/dispatch-api-pvc.yaml after confirming storageClassName: standard-block and requested capacity 20Gi.
  4. Run kubectl -n observability apply -f ./storage/metrics-api-snapshot.yaml after verifying the snapshot class and source PVC.

Explanation

Correct Answer

C:

Run kubectl -n fulfillment apply -f ./storage/dispatch-api-pvc.yaml after confirming storageClassName: standard-block and requested capacity 20Gi. This is the appropriate command-line action or first safe diagnostic. The technical reason is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Validate the result with: Run kubectl -n fulfillment get pvc dispatch-data and confirm Bound status and the selected StorageClass. Execute changes only in an authorized disposable lab or after normal production change controls.

Incorrect Answers

A:

The proposed action belongs to the mechanism: StorageClasses specify provisioning behavior separately from an individual claim, including binding policy and reclaim defaults. Here the stated fault follows a different mechanism: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The corrective choice is “Run kubectl -n fulfillment apply -f ./storage/dispatch-api-pvc.yaml after confirming storageClassName: standard-block and requested capacity 20Gi”.

B:

The offered action targets: Pod volume definitions and volumeMount references must agree; a valid PVC cannot help a container with an invalid mount path or volume name. The case facts point instead to: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. Implement “Run kubectl -n fulfillment apply -f ./storage/dispatch-api-pvc.yaml after confirming storageClassName: standard-block and requested capacity 20Gi” to address that specific condition.

D:

The proposed action belongs to the mechanism: VolumeSnapshot is a CSI extension object rather than a core PVC backup; controller and driver capabilities determine success. Here the stated fault follows a different mechanism: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The corrective choice is “Run kubectl -n fulfillment apply -f ./storage/dispatch-api-pvc.yaml after confirming storageClassName: standard-block and requested capacity 20Gi”.

Question 730

At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: A reviewed claim manifest ./storage/dispatch-api-pvc.yaml in namespace fulfillment requests 20Gi through existing StorageClass standard-block. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?

  1. PVC expansion requests larger provisioned storage without deleting the claim; the CSI driver and filesystem may require additional expansion steps.
  2. Pod volume definitions and volumeMount references must agree; a valid PVC cannot help a container with an invalid mount path or volume name.
  3. StorageClass provisioner names must correspond to installed CSI provisioning components; the class object alone cannot create storage.
  4. A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner.

Explanation

Correct Answer

D:

A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. This explains the stated condition. The corresponding action is: Run kubectl -n fulfillment apply -f ./storage/dispatch-api-pvc.yaml after confirming storageClassName: standard-block and requested capacity 20Gi. The direct acceptance evidence is: Run kubectl -n fulfillment get pvc dispatch-data and confirm Bound status and the selected StorageClass.

Incorrect Answers

A:

The offered statement is true for this other mechanism: PVC expansion requests larger provisioned storage without deleting the claim; the CSI driver and filesystem may require additional expansion steps. It does not explain the facts described here, which follow from: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner.

B:

This principle describes a separate cause: Pod volume definitions and volumeMount references must agree; a valid PVC cannot help a container with an invalid mount path or volume name. The reported condition is governed by: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner. The two mechanisms should not be conflated.

C:

StorageClass provisioner names must correspond to installed CSI provisioning components; the class object alone cannot create storage. That explanation applies to a different technical failure. Here the controlling principle is: A PVC expresses a namespaced storage request and dynamic provisioning depends on a compatible StorageClass and provisioner.