BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

SAP Exam C_KYMD_01 Topic 1 Question 2 Discussion

Actual exam question for SAP's C_KYMD_01 exam
Question #: 2
Topic #: 1
[All C_KYMD_01 Questions]

Which kubectl command lists pods with the exact label "env-dev"?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Jacquline
5 months ago
D) looks good to me. Anything less and you might end up with pods you didn't want. Precision is key!
upvoted 0 times
...
Odette
5 months ago
I think D) is the way to go. Gotta love those precise Kubernetes commands!
upvoted 0 times
...
Maia
5 months ago
A) kubectl get pods -L env is not specific enough. We need to match the exact label, not just part of it.
upvoted 0 times
Sylvia
4 months ago
D) kubectl get pods -L env-dev is the correct command to list pods with the exact label 'env-dev'.
upvoted 0 times
...
Jesus
4 months ago
C) kubectl get pods - env=dev will list pods with the exact label 'env-dev'.
upvoted 0 times
...
Benton
4 months ago
A) kubectl get pods -L env is not specific enough. We need to match the exact label, not just part of it.
upvoted 0 times
...
...
Celestine
5 months ago
C) kubectl get pods - env=dev is a good try, but it's not exact enough. We need the full label 'env-dev'.
upvoted 0 times
Asha
4 months ago
C) kubectl get pods - env=dev is a good try, but it's not exact enough. We need the full label 'env-dev'.
upvoted 0 times
...
Darrin
4 months ago
C) kubectl get pods - env=dev
upvoted 0 times
...
Nenita
5 months ago
B) kubectl get pods -I env
upvoted 0 times
...
Wilbert
5 months ago
A) kubectl get pods -L env
upvoted 0 times
...
...
Chauncey
6 months ago
D) kubectl get pods -L env-dev seems like the correct answer. It specifically targets the 'env-dev' label.
upvoted 0 times
Jaime
4 months ago
Yes, that command will list pods with the exact label 'env-dev'.
upvoted 0 times
...
Alethea
5 months ago
D) kubectl get pods -L env-dev
upvoted 0 times
...
Willard
5 months ago
A) kubectl get pods -L env
upvoted 0 times
...
Lauran
5 months ago
D) kubectl get pods -L env-dev
upvoted 0 times
...
Magnolia
5 months ago
I think the answer is D) kubectl get pods -L env-dev
upvoted 0 times
...
Theresia
5 months ago
C) kubectl get pods - env=dev
upvoted 0 times
...
Ashley
5 months ago
A) kubectl get pods -L env
upvoted 0 times
...
...

Save Cancel