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:

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
...
Tuyet
2 days 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
9 days ago
That's true. Let's focus on creating the secret first and then move on to the Pod.
upvoted 0 times
...
Dominga
13 days ago
I agree, but I believe if we follow the steps provided in the task, we can solve it.
upvoted 0 times
...
Adela
16 days ago
I think the question about creating a secret and a Pod is challenging.
upvoted 0 times
...

Save Cancel