Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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
1 years 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
1 years ago
I think D) is the way to go. Gotta love those precise Kubernetes commands!
upvoted 0 times
...
Maia
1 years 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
11 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
11 months ago
C) kubectl get pods - env=dev will list pods with the exact label 'env-dev'.
upvoted 0 times
...
Benton
12 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
1 years 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
12 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
12 months ago
C) kubectl get pods - env=dev
upvoted 0 times
...
Nenita
12 months ago
B) kubectl get pods -I env
upvoted 0 times
...
Wilbert
1 years ago
A) kubectl get pods -L env
upvoted 0 times
...
...
Chauncey
1 years ago
D) kubectl get pods -L env-dev seems like the correct answer. It specifically targets the 'env-dev' label.
upvoted 0 times
Jaime
12 months ago
Yes, that command will list pods with the exact label 'env-dev'.
upvoted 0 times
...
Alethea
1 years ago
D) kubectl get pods -L env-dev
upvoted 0 times
...
Willard
1 years ago
A) kubectl get pods -L env
upvoted 0 times
...
Lauran
1 years ago
D) kubectl get pods -L env-dev
upvoted 0 times
...
Magnolia
1 years ago
I think the answer is D) kubectl get pods -L env-dev
upvoted 0 times
...
Theresia
1 years ago
C) kubectl get pods - env=dev
upvoted 0 times
...
Ashley
1 years ago
A) kubectl get pods -L env
upvoted 0 times
...
...

Save Cancel