Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation Exam CKAD Topic 2 Question 63 Discussion

Actual exam question for Linux Foundation's CKAD exam
Question #: 63
Topic #: 2
[All CKAD Questions]

Refer to Exhibit.

Context

You are tasked to create a ConfigMap and consume the ConfigMap in a pod using a volume mount.

Task

Please complete the following:

* Create a ConfigMap named another-config containing the key/value pair: key4/value3

* start a pod named nginx-configmap containing a single container using the

nginx image, and mount the key you just created into the pod under directory /also/a/path

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Johnathon
1 months ago
I'm just glad they didn't ask us to create a Deployment or a Service. Those always seem to trip me up. This ConfigMap and volume mount thing, I can handle that no problem.
upvoted 0 times
Benedict
15 days ago
Yeah, ConfigMaps and volume mounts are definitely more straightforward. I prefer working with those too.
upvoted 0 times
...
Fanny
16 days ago
I agree, Deployments and Services can be tricky. ConfigMaps are much simpler.
upvoted 0 times
...
...
Susy
1 months ago
Haha, '/also/a/path'? Whoever came up with that mount path must be a real comedian. I'd put it in '/config' or something more intuitive.
upvoted 0 times
Reiko
5 days ago
I agree, '/config' would have made more sense for the mount path.
upvoted 0 times
...
Aileen
6 days ago
Yeah, it does seem like an odd choice. '/config' would have been more straightforward.
upvoted 0 times
...
Lashawnda
18 days ago
I know right, '/also/a/path' is quite a funny choice for a mount path.
upvoted 0 times
...
...
Wenona
2 months ago
Wow, this is a straightforward task. I like how the question provides the exact steps to follow. Now, let's see if I can do this on the actual exam without any hiccups.
upvoted 0 times
Earleen
1 months ago
I think if we practice enough, we should be able to do it smoothly during the exam.
upvoted 0 times
...
Therese
1 months ago
I agree, the question is very clear and easy to follow.
upvoted 0 times
...
...
Stevie
2 months ago
I believe we should mount the key under directory /also/a/path in the pod.
upvoted 0 times
...
Gwenn
2 months ago
Yes, we need to create a ConfigMap named another-config with key4/value3 and mount it in a pod named nginx-configmap.
upvoted 0 times
...
Luisa
2 months ago
The ConfigMap creation and pod deployment look good, but I'm not sure about the mount path. Shouldn't it be something like '/etc/config' instead of '/also/a/path'?
upvoted 0 times
Karon
23 days ago
Great catch! It's important to ensure the mount path matches the directory where the key is being mounted.
upvoted 0 times
...
Gwenn
1 months ago
Thanks for pointing that out, I'll make sure to update the mount path in the pod definition.
upvoted 0 times
...
Deja
1 months ago
Yes, you are correct. The mount path should be '/etc/config' instead of '/also/a/path'.
upvoted 0 times
...
Blythe
2 months ago
I think you're right, the mount path should match the directory where the key is being mounted.
upvoted 0 times
...
...
Stevie
2 months ago
I think the question is asking us to create a ConfigMap and use it in a pod.
upvoted 0 times
...

Save Cancel