Exam KCNA Topic 1 Question 342 Discussion

Actual exam question for Linux Foundation's KCNA exam
Question #: 342
Topic #: 1
Consider a scenario where you need to configure a Kubernetes storage class with a specific storage provisioner and access modes. How would you achieve this using a YAML configuration?

Suggested Answer: A Vote an answer

Option A correctly defines a StorageClass named "my-storage-class" with the provisioner "kubernetes.io/gce-pd" and an access mode "ReadWriteOnce". StorageClasses define how volumes should be provisioned, specifying the storage provisioner and other attributes. Option B defines a PersistentVolume, not a StorageClass. Option C defines a Deployment, not a StorageClass. Option D defines a PersistentVolumeClaim, not a StorageClass. Option E defines a StorageClass, but does not include the accessModes property.

by May at Oct 14, 2026, 10:13 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10