Skip to content

Commit 4b74baa

Browse files
committed
Fix question type formatting in Kubernetes Volumes Challenge exam
Signed-off-by: Lee Calcote <[email protected]>
1 parent eede69b commit 4b74baa

File tree

1 file changed

+6
-6
lines changed
  • content/challenges/3e2f9c82-1a4c-4781-adf9-99ec22cd994e/how-to -add-volumes-to-kubernetes-clusters

1 file changed

+6
-6
lines changed

content/challenges/3e2f9c82-1a4c-4781-adf9-99ec22cd994e/how-to -add-volumes-to-kubernetes-clusters/exam.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ questions:
126126

127127
- id: "q8"
128128
text: "What happens if you delete a deployment in Kubernetes without removing its associated PVCs? Will the data in your volume be **preserved** or **deleted**? (Instructions: Provide a brief explanation, including one and only one of the bold keywords.)"
129-
type: "short-answer"
129+
type: "short_answer"
130130
marks: 2
131131
#correct_answer: "The PVCs remain and must be manually deleted using `kubectl delete pvc`."
132132
correct_answer: "preserved"
@@ -158,7 +158,7 @@ questions:
158158

159159
- id: "q11"
160160
text: "What is the valid range for the storage size of a DigitalOcean volume in a Kubernetes cluster?"
161-
type: "short-answer"
161+
type: "short_answer"
162162
marks: 2
163163
correct_answer: "1 GB to 10,000 GB"
164164

@@ -184,13 +184,13 @@ questions:
184184

185185
- id: "q13"
186186
text: "What command can you use to resize a volume by editing its PVC?"
187-
type: "short-answer"
187+
type: "short_answer"
188188
marks: 2
189189
correct_answer: "kubectl edit pvc <pvc-name>"
190190

191191
- id: "q14"
192192
text: "Why might a PVC deletion stall or fail in a Kubernetes cluster?"
193-
type: "short-answer"
193+
type: "short_answer"
194194
marks: 5
195195
correct_answer: "fail"
196196
#correct_answer: "A PVC deletion may stall or fail if the associated volume is deleted manually before the PVC API object is removed using `kubectl`. This creates an inconsistent state where the PVC is still referenced but the underlying volume no longer exists. To resolve this, you can list volume attachments with `kubectl get volumeattachments`, describe the attachment with `kubectl describe volumeattachments <volume-name>`, edit it to remove the `external-attacher` finalizer, and then delete the PVC with `kubectl delete pvc <pvc-name>`."
@@ -216,7 +216,7 @@ questions:
216216

217217
- id: "q16"
218218
text: "What is the default filesystem owner of a volume in DigitalOcean Kubernetes?"
219-
type: "short-answer"
219+
type: "short_answer"
220220
marks: 2
221221
correct_answer: "root"
222222

@@ -242,7 +242,7 @@ questions:
242242

243243
- id: "q18"
244244
text: "What command lists the persistent volumes associated with a Kubernetes cluster?"
245-
type: "short-answer"
245+
type: "short_answer"
246246
marks: 2
247247
correct_answer: "kubectl get pv"
248248

0 commit comments

Comments
 (0)