Skip to content

Commit 59fe824

Browse files
test-for-scalable-postgres
Signed-off-by: Madina <[email protected]>
1 parent a6ef78b commit 59fe824

File tree

1 file changed

+81
-0
lines changed
  • content/learning-paths/11111111-1111-1111-1111-111111111111/mastering-kubernetes-for-engineers/scalable-postgres-with-cloudnativepg

1 file changed

+81
-0
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
---
2+
title: "Scalable Postgres with CloudNativePG"
3+
passing_percentage: 70
4+
questions:
5+
- id: "q1"
6+
text: "What is the primary function of the CloudNativePG operator?"
7+
type: "single-answer"
8+
marks: 2
9+
options:
10+
- id: "a"
11+
text: "It is a monitoring tool that only collects database logs."
12+
- id: "b"
13+
text: "It manages the complete lifecycle of a PostgreSQL database cluster on Kubernetes."
14+
is_correct: true
15+
- id: "c"
16+
text: "It is a client application used to run SQL queries."
17+
- id: "d"
18+
text: "It is a specific version of the PostgreSQL database engine."
19+
- id: "q2"
20+
text: "When you deploy a 'Cluster' custom resource using CloudNativePG, which of the following objects does the operator automatically create to manage the database? (Select all that apply)"
21+
type: "multiple-answer"
22+
marks: 2
23+
options:
24+
- id: "a"
25+
text: "A Secret containing the database user credentials."
26+
is_correct: true
27+
- id: "b"
28+
text: "A public domain name for the database."
29+
- id: "c"
30+
text: "Services for read-write and read-only connections."
31+
is_correct: true
32+
- id: "d"
33+
text: "The underlying Pods that run the PostgreSQL instances."
34+
is_correct: true
35+
- id: "q3"
36+
text: "In the manifest for a CloudNativePG Cluster, what does the 'instances' field define?"
37+
type: "single-answer"
38+
marks: 2
39+
options:
40+
- id: "a"
41+
text: "The number of databases to create inside the cluster."
42+
- id: "b"
43+
text: "The specific version of PostgreSQL to be used."
44+
- id: "c"
45+
text: "The total number of servers (pods) that will form the PostgreSQL cluster."
46+
is_correct: true
47+
- id: "d"
48+
text: "The amount of storage to allocate."
49+
- id: "q4"
50+
text: "According to the course, what is the very first step required before you can deploy a PostgreSQL cluster using a CloudNativePG manifest?"
51+
type: "single-answer"
52+
marks: 2
53+
options:
54+
- id: "a"
55+
text: "Create the Persistent Volume Claims manually."
56+
- id: "b"
57+
text: "Install the CloudNativePG operator into your Kubernetes cluster."
58+
is_correct: true
59+
- id: "c"
60+
text: "Create the user credentials Secret."
61+
- id: "d"
62+
text: "Deploy a connection-pooling application."
63+
- id: "q5"
64+
text: "Which of the following are features or benefits provided by the CloudNativePG operator? (Select all that apply)"
65+
type: "multiple-answer"
66+
marks: 2
67+
options:
68+
- id: "a"
69+
text: "Built-in high availability with failover capabilities."
70+
is_correct: true
71+
- id: "b"
72+
text: "Management of backup and recovery processes."
73+
is_correct: true
74+
- id: "c"
75+
text: "Automatic performance tuning of SQL queries."
76+
- id: "d"
77+
text: "Support for creating read-only replicas for scaling."
78+
is_correct: true
79+
layout: "test"
80+
type: "test"
81+
---

0 commit comments

Comments
 (0)