Skip to content

Commit ea37af9

Browse files
authored
Merge pull request #100 from Namanv0509/digital-ocean-challenge
Digital Ocean Challenge 'How to Add Volumes to Kubernetes Clusters'
2 parents 4b74baa + 3830ed6 commit ea37af9

File tree

3 files changed

+78
-0
lines changed
  • content/challenges/11111111-1111-1111-1111-111111111111/how-to -add-volumes-to-kubernetes-clusters
  • static/11111111-1111-1111-1111-111111111111/images

3 files changed

+78
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: "How to Add Volumes to Kubernetes Clusters"
3+
description: "Test your Kubernetes expertise with this CNCF Challenge! Demonstrate your ability to configure and manage persistent storage in DigitalOcean Kubernetes (DOKS) by creating PersistentVolumeClaims (PVCs), setting up StatefulSets, and troubleshooting volume issues."
4+
banner: "images/digitalocean.svg"
5+
courses: 1
6+
weight: 2
7+
id: ""
8+
---
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
weight: 5
3+
passing_percentage: 70
4+
questions:
5+
- id: "q1"
6+
text: "What is the purpose of a PersistentVolumeClaim (PVC) in a Kubernetes cluster?"
7+
type: "single-answer"
8+
marks: 2
9+
options:
10+
- id: "a"
11+
text: "To manage the control plane of the cluster"
12+
- id: "b"
13+
text: "To create and access persistent storage for reading and writing data"
14+
is_correct: true
15+
- id: "c"
16+
text: "To automatically scale the cluster's worker nodes"
17+
- id: "d"
18+
text: "To configure load balancers for the cluster"
19+
20+
- id: "q2"
21+
text: "Which of the following are true about the accessModes field in a PVC configuration for DigitalOcean Kubernetes?"
22+
type: "multiple-answers"
23+
marks: 2
24+
options:
25+
- id: "a"
26+
text: "ReadWriteOnce is supported by DigitalOcean volumes."
27+
is_correct: true
28+
- id: "b"
29+
text: "ReadOnlyMany is supported by DigitalOcean volumes."
30+
- id: "c"
31+
text: "ReadWriteMany is supported by DigitalOcean volumes."
32+
- id: "d"
33+
text: "The accessModes field must be set to ReadWriteOnce for DigitalOcean volumes."
34+
is_correct: true
35+
36+
- id: "q3"
37+
text: "What happens if you try to create a PVC with a name that already exists in the cluster?"
38+
type: "single-answer"
39+
marks: 2
40+
options:
41+
- id: "a"
42+
text: "The existing volume is deleted, and a new one is created."
43+
- id: "b"
44+
text: "An error message is returned, and the existing volume is mounted instead."
45+
is_correct: true
46+
- id: "c"
47+
text: "The cluster automatically scales to accommodate the new PVC."
48+
- id: "d"
49+
text: "The PVC creation proceeds without any issues."
50+
51+
- id: "q4"
52+
text: "Which of the following can be customized in the volumeClaimTemplates section of a StatefulSet configuration? (Select all that apply)"
53+
type: "multiple-answers"
54+
marks: 2
55+
options:
56+
- id: "a"
57+
text: "The name of the volume"
58+
is_correct: true
59+
- id: "b"
60+
text: "The accessModes of the volume"
61+
is_correct: true
62+
- id: "c"
63+
text: "The storage size of the volume"
64+
is_correct: true
65+
- id: "d"
66+
text: "The image used by the container"
67+
layout: "test"
68+
type: "test"
69+
---
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)