From the course: Kubernetes and Cloud Native Associate (KCNA) Cert Prep
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Practice questions - Kubernetes Tutorial
From the course: Kubernetes and Cloud Native Associate (KCNA) Cert Prep
Practice questions
- All right, we are at the end of this lesson again. Let's do some practice questions. All right, question number one, which of the following should not be stored in a ConfigMap? Is that startup parameters, or directories containing config files, or passwords, or API keys? The correct answers are passwords and API keys, because these are sensitive values. Sensitive values should be stored in secret. In case you're wondering, directories containing config files, yes, you can create a complete directory and put it in a ConfigMap. It will just create multiple key-value pairs containing the contents of all the configuration. We haven't seen that, but it's definitely possible to sort it in a ConfigMap. Next question. Which type of volume should be used in the Pod spec if flexible, cloud-native access to storage is required? Would that be decoupled, or PersistentVolumeClaim, or would you set it to None, or to Storageclass? Well, the answer is PersistentVolumeClaim, because…
Contents
-
-
-
-
-
-
-
-
-
-
(Locked)
Learning objectives39s
-
(Locked)
Understanding decoupling3m 36s
-
(Locked)
Kubernetes storage options2m 9s
-
(Locked)
Using storage5m 58s
-
(Locked)
Managing configuration2m 26s
-
(Locked)
Using ConfigMaps and Secrets7m 58s
-
(Locked)
Practice questions2m 2s
-
(Locked)
Lesson 8 lab: Decoupling applications29s
-
(Locked)
Lesson 8 lab solution: Decoupling applications5m 2s
-
(Locked)
-
-
-
-