ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 73 - DCA discussion

Report
Export

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

A.

Yes

Answers
A.

Yes

B.

No

Answers
B.

No

Suggested answer: B

Explanation:

= The commandkubectl logs deployment apidoes not display the events table for the deployment object, but rather the logs of the pods that belong to the deployment.To see the events table, you need to use the commandkubectl describe deployment api, which shows the details of the deployment, including the events1.Reference:Kubernetes Documentation,Practice Questions for Docker Certified Associate (DCA) Exam

asked 08/11/2024
Husein M
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first