You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this object. Does this command display it?
Solution: kubectl logs deployment api
Suggested Answer: B
Get Premium DCA Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
13 comments · newest first
CH
Chandra
11 months ago
Wait, are you sure? I thought it might work!
DY
Dyan
12 months ago
Totally agree, it won't show events.
YV
Yvonne
12 months ago
I thought `kubectl logs` was for viewing logs only.
DE
Denny
12 months ago
No way, it should be `kubectl describe deployment api`!
DE
Delmy
1 year ago
That's actually the wrong command for events.
NA
Nan
1 year ago
I might be confused, but I feel like logs and events are different things in Kubernetes.
JO
Jospeh
1 year ago
This seems similar to a practice question I did, and I think it was No as well.
BE
Beckie
1 year ago
I remember something about using `kubectl get events` for events, but I'm not 100% sure.
HU
Huey
1 year ago
I think the command is for viewing logs, not events. So, I'm leaning towards No.
RE
Rebbecca
1 year ago
I've got a strategy - I'll eliminate the options that don't make sense, then choose the two that seem most likely.
HU
Hui
1 year ago
Hmm, this looks like a networking protocol question. I'll need to think carefully about the different protocols used in VoIP communication.
VA
Valene
1 year ago
Okay, let me think this through. I believe the key is understanding the difference between popup lists and dropdown lists, and how to efficiently navigate them. I think option D about the Popup Auto Suggest feature sounds familiar, so I'll go with that.
IL
Ilona
1 year ago
Hmm, this looks like a tricky one. I'll need to carefully read through the options and think about which use cases would be valid for a business service.