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 38 Discussion

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

Refer to Exhibit.

Task:

1) Create a secret named app-secret in the default namespace containing the following single key-value pair:

Key3: value1

2) Create a Pod named ngnix secret in the default namespace.Specify a single container using the nginx:stable image.

Add an environment variable named BEST_VARIABLE consuming the value of the secret key3.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Tegan
21 days ago
I bet the person who wrote this question is a secret agent, and they're testing our ability to handle top-secret information. Time to put on my spy hat!
upvoted 0 times
...
Albina
28 days ago
Let's see, the image used for the container is 'nginx:stable'. I wonder if they'll throw a curveball and use a different version of nginx in the actual exam.
upvoted 0 times
Lisandra
3 days ago
User 2: Yeah, it's probably best to prepare for that specific version.
upvoted 0 times
...
Rana
9 days ago
User 1: I think they'll stick with 'nginx:stable' for consistency.
upvoted 0 times
...
...
Bong
1 months ago
Haha, the 'ngnix' typo in the Pod name is a nice touch. I hope the real exam has a few of those little surprises to keep us on our toes!
upvoted 0 times
Jessenia
15 days ago
User 2: It's important to pay attention to those little details.
upvoted 0 times
...
Chaya
1 months ago
User 1: Yeah, that typo made me do a double-take!
upvoted 0 times
...
...
Kattie
2 months ago
Ah, I see. The secret is in the default namespace, and the Pod should be in the same namespace. This is a good way to test our knowledge of handling secrets in Kubernetes.
upvoted 0 times
Paulina
26 days ago
Then create the Pod in the same namespace with the environment variable.
upvoted 0 times
...
Renato
29 days ago
Create the secret first in the default namespace.
upvoted 0 times
...
...
Tuyet
2 months ago
This seems straightforward. The key-value pair in the secret is 'Key3: value1', and we need to create a Pod that consumes this secret as an environment variable.
upvoted 0 times
...
Adela
2 months ago
That's true. Let's focus on creating the secret first and then move on to the Pod.
upvoted 0 times
...
Dominga
2 months ago
I agree, but I believe if we follow the steps provided in the task, we can solve it.
upvoted 0 times
...
Adela
2 months ago
I think the question about creating a secret and a Pod is challenging.
upvoted 0 times
...

Save Cancel