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 1 Question 51 Discussion

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

Refer to Exhibit.

Context

You are asked to prepare a Canary deployment for testing a new application release.

Task:

A Service named krill-Service in the goshark namespace points to 5 pod created by the Deployment named current-krill-deployment

1) Create an identical Deployment named canary-kill-deployment, in the same namespace.

2) Modify the Deployment so that:

-A maximum number of 10 pods run in the goshawk namespace.

-40% of the krill-service 's traffic goes to the canary-krill-deployment pod(s)

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Angelyn
4 months ago
I agree. We have to expose the value of the secret key key1 using COOL_VARIABLE as the environment variable name inside the pod.
upvoted 0 times
...
Wilda
4 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
...
Marisha
4 months ago
I'm just happy they didn't ask us to use Kubernetes to launch a nuclear missile. That would be a real challenge!
upvoted 0 times
...
Willie
4 months ago
Haha, I bet the person who wrote this question is a secret agent in disguise. 'Another-secret'? Come on, that's straight out of a spy movie!
upvoted 0 times
...
Angelyn
4 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
...
Jaclyn
4 months ago
I agree with Mabel, option D is the way to go. Exposing the secret value as an environment variable is a good security practice.
upvoted 0 times
...
Mabel
4 months ago
The correct answer is option D. The task clearly states to create a secret named 'another-secret' with the key/value pair 'key1/value4' and then use that secret as an environment variable in the nginx pod. Option D fulfills all the requirements.
upvoted 0 times
Francoise
3 months ago
Actually, the correct answer is option D.
upvoted 0 times
...
Denise
4 months ago
Yes, I agree. Option D creates the secret with the correct key/value pair and uses it as an environment variable in the nginx pod.
upvoted 0 times
...
Haydee
4 months ago
I'm pretty sure it's option C.
upvoted 0 times
...
Gary
4 months ago
No, I believe it's option B.
upvoted 0 times
...
Nobuko
4 months ago
I think the correct answer is option A.
upvoted 0 times
...
Mirta
4 months ago
I think the correct answer is option D.
upvoted 0 times
...
...

Save Cancel