# Which kubectl command would you use to edit a running deployment named 'web-app'?

Kubernetes, Easy (Beginner), Commands. https://k8wiz.com/uquiz/which-kubectl-command-would-you-use-to-edit-a-running-deployment-named-web-app

- A. kubectl modify deployment web-app
- B. kubectl edit deployment web-app
- C. kubectl update deployment web-app
- D. kubectl change deployment web-app

**Answer:** kubectl edit deployment web-app

**Explanation:** The 'kubectl edit deployment web-app' command opens the deployment manifest in your default editor, allowing you to make changes. After saving and exiting, Kubernetes will apply the changes to the running deployment.
