New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Docker DCA Exam - Topic 2 Question 59 Discussion

Actual exam question for Docker's DCA exam
Question #: 59
Topic #: 2
[All DCA Questions]

Does this command display all the pods in the cluster that are labeled as 'env: development'?

Solution: 'kubectl get pods --all-namespaces -label env=development'

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Francoise
4 months ago
Wait, really? I thought -label was a valid option!
upvoted 0 times
...
Dorothy
4 months ago
No way, that command won't display anything!
upvoted 0 times
...
Nancey
5 months ago
I thought it was correct at first, but now I see the mistake.
upvoted 0 times
...
Matilda
5 months ago
Definitely not, it won't work as is.
upvoted 0 times
...
Lakeesha
5 months ago
That command has a typo, it should be --selector instead of -label.
upvoted 0 times
...
Amber
5 months ago
I remember that `kubectl get pods` can filter by labels, but I can't recall if the syntax is exactly right here.
upvoted 0 times
...
Kristofer
5 months ago
I'm not entirely sure, but I feel like the command might not work as expected because of the label syntax.
upvoted 0 times
...
Derick
5 months ago
I practiced a similar question, and I believe the correct flag should be `--selector` instead of `-label`.
upvoted 0 times
...
Cecil
5 months ago
I think the command is close, but I remember something about the syntax for labels needing a different flag.
upvoted 0 times
...
Fannie
5 months ago
I'm a little confused by this question. Are we supposed to just choose one tool, or is there a combination of tools that would work best? I'm leaning towards the static analysis tool, but I'm not 100% sure that's the right answer.
upvoted 0 times
...
Callie
5 months ago
The part about the 10GbE converged ports is tripping me up. I'll need to make sure I understand that requirement.
upvoted 0 times
...
Theola
5 months ago
Hmm, this looks like a tricky one. I'll need to carefully read through each option and think about what I know about Financial Reporting.
upvoted 0 times
...

Save Cancel