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 3 Question 61 Discussion

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

Refer to Exhibit.

Context

You are tasked to create a secret and consume the secret in a pod using environment variables as follow:

Task

* Create a secret named another-secret with a key/value pair; key1/value4

* Start an nginx pod named nginx-secret using container image nginx, and add an environment variable exposing the value of the secret key key 1, using COOL_VARIABLE as the name for the environment variable inside the pod

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Leota
22 days ago
Creating secrets and exposing them through environment variables? Sounds like a recipe for a secure and totally not hackable system.
upvoted 0 times
...
Augustine
24 days ago
Ah, the classic 'hide the secret in plain sight' strategy. Gotta love it!
upvoted 0 times
...
Laticia
1 months ago
The COOL_VARIABLE environment variable looks pretty hot to me! Let's get this secret exposed!
upvoted 0 times
Carole
18 days ago
User 3: Let's make sure to follow the task instructions carefully to expose the secret key.
upvoted 0 times
...
Jenelle
20 days ago
User 2: I can't wait to create the secret and use it in the nginx pod.
upvoted 0 times
...
Elmer
22 days ago
User 1: I agree, the COOL_VARIABLE environment variable is really cool!
upvoted 0 times
...
...
Elvera
1 months ago
I agree. We should expose the value of the secret key key1 in the pod using COOL_VARIABLE as the environment variable name.
upvoted 0 times
...
Camellia
2 months ago
Yes, we need to create a secret named another-secret with key1/value4 and use it in an nginx pod named nginx-secret.
upvoted 0 times
...
Elvera
2 months ago
I think the question is asking us to create a secret and use it in a pod with environment variables.
upvoted 0 times
...

Save Cancel