Skip to content

Commit b08d4c1

Browse files
authored
Merge pull request #99 from Namanv0509/certification
Certification content from 'explore dapr with meshery' course
2 parents 06bcb1b + f5cf90a commit b08d4c1

File tree

4 files changed

+164
-1
lines changed

4 files changed

+164
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
type: "certification"
3+
id: "cee61d85-3aa5-4698-b501-1390b3d74dec"
4+
title: "Layer5 Certification"
5+
description: ""
6+
banner: "images/kubernetes-icon.svg"
7+
weight: 1
8+
tags: [kubernetes]
9+
level: "beginner"
10+
categories: "Kubernetes"
11+
---
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
---
2+
weight: 1
3+
passing_percentage: 70
4+
questions:
5+
- id: "q1"
6+
text: " What is the purpose of the Dapr Sidecar Injector in a Kubernetes cluster?"
7+
type: "single-answer"
8+
marks: 2
9+
options:
10+
- id: "a"
11+
text: "To inject Redis configuration into pods"
12+
- id: "b"
13+
text: "To deploy control plane components"
14+
- id: "c"
15+
text: "To inject the Dapr sidecar into application pods automatically"
16+
is_correct: true
17+
- id: "d"
18+
text: "To manage Dapr secrets"
19+
20+
- id: "q2"
21+
text: "Which of the following are components of the Dapr control plane?"
22+
type: "multiple-answers"
23+
marks: 2
24+
options:
25+
- id: "a"
26+
text: "Dapr Placement Service"
27+
is_correct: true
28+
- id: "b"
29+
text: "Dapr Operator"
30+
is_correct: true
31+
- id: "c"
32+
text: "Redis Sentinel"
33+
- id: "d"
34+
text: "Dapr Sentry"
35+
is_correct: true
36+
37+
- id: "q3"
38+
text: "The Dapr sidecar must know the exact IP and port of the service it wants to call."
39+
type: "single-answer"
40+
marks: 2
41+
options:
42+
- id: "a"
43+
text: "True"
44+
- id: "b"
45+
text: "False"
46+
is_correct: true
47+
48+
- id: "q4"
49+
text: "What is the default HTTP port on which a Dapr sidecar listens?"
50+
type: "short_answer"
51+
marks: 2
52+
correct_answer: "3500"
53+
54+
- id: "q5"
55+
text: "Which resource type in Kubernetes is used to define external service configuration like Redis for Dapr?"
56+
type: "single-answer"
57+
marks: 2
58+
options:
59+
- id: "a"
60+
text: "Deployment"
61+
- id: "b"
62+
text: "ConfigMap"
63+
- id: "c"
64+
text: "Component"
65+
is_correct: true
66+
- id: "d"
67+
text: "CRD"
68+
69+
- id: "q6"
70+
text: "When deploying a Dapr component (e.g., Redis state store), which of the following fields are mandatory?"
71+
type: "mutiple-answers"
72+
marks: 2
73+
options:
74+
- id: "a"
75+
text: "Name"
76+
is_correct: true
77+
- id: "b"
78+
text: "Type"
79+
is_correct: true
80+
- id: "c"
81+
text: "Namespace"
82+
- id: "d"
83+
text: "Version"
84+
is_correct: true
85+
86+
- id: "q7"
87+
text: "A Helm chart can be imported into Meshery by uploading a .yaml file only."
88+
type: "single-answer"
89+
marks: 2
90+
options:
91+
- id: "a"
92+
text: "True"
93+
- id: "b"
94+
text: "False"
95+
is_correct: true
96+
97+
- id: "q8"
98+
text: "What does the annotation dapr.io/enabled: 'true' enable in a Kubernetes deployment?"
99+
type: "single-answer"
100+
marks: 2
101+
options:
102+
- id: "a"
103+
text: "Enables auto-scaling"
104+
- id: "b"
105+
text: "Tells Dapr to inject a sidecar into the pod"
106+
is_correct: true
107+
- id: "c"
108+
text: "Enables Meshery monitoring"
109+
- id: "d"
110+
text: "Activates Redis caching"
111+
112+
- id: "q9"
113+
text: "In what namespace should Dapr control plane components be deployed?"
114+
type: "short_answer"
115+
marks: 2
116+
correct_answer: "dapr-system"
117+
118+
- id: "q10"
119+
text: "Which of the following are required to configure a Redis Dapr component"
120+
type: "multiple-answers"
121+
options:
122+
- id: "a"
123+
text: "redisHost metadata"
124+
is_correct: true
125+
- id: "b"
126+
text: "redisPassword as a Secret Key Reference"
127+
is_correct: true
128+
- id: "c"
129+
text: "dapr.io/enable-redis: 'true'"
130+
- id: "d"
131+
text: "Secret store set to 'kubernetes'"
132+
is_correct: true
133+
134+
layout: "test"
135+
type: "test"
136+
---

content/certifications/_index.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: Certifications
3+
description:
4+
linkTitle: Certifications
5+
6+
# tells hugo that this section is of type learning-path ( to use appropiate templates )
7+
type: certification
8+
cascade: # tells hugo to set this as default type for all children content in this section
9+
type: certification
10+
---
11+
12+
<!-- This page is only used in local dev setup , this wont be used or rendered in production -->
13+
14+
{{% pageinfo %}}
15+
16+
{{% /pageinfo %}}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ require (
1111
github.com/FortAwesome/Font-Awesome v4.7.0+incompatible // indirect
1212
github.com/layer5io/academy-theme v0.3.0 // indirect
1313
github.com/twbs/bootstrap v5.3.7+incompatible // indirect
14-
)
14+
)

0 commit comments

Comments
 (0)