nerdexam
Docker

DCA · Question #119

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 describe deployment api

The correct answer is A. Yes. The kubectl describe command provides a detailed view of a Kubernetes object, including a dedicated section at the bottom listing related events.

Submitted by khalil_dz· Apr 18, 2026Container Orchestration

Question

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 describe deployment api

Options

  • AYes
  • BNo

How the community answered

(22 responses)
  • A
    91% (20)
  • B
    9% (2)

Why each option

The `kubectl describe` command provides a detailed view of a Kubernetes object, including a dedicated section at the bottom listing related events.

AYesCorrect

The `kubectl describe` command is specifically designed to show detailed information about a Kubernetes resource, including a list of recent events associated with that object at the very end of its output. This makes it an essential tool for troubleshooting.

BNo

`kubectl describe` is the correct command to view detailed information, including events, for a Kubernetes object.

Concept tested: Kubernetes object event inspection

Source: https://kubernetes.io/docs/reference/kubectl/cheatsheet/#inspecting-and-debugging

Topics

#Kubernetes#kubectl describe#Deployment#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full DCA Practice