Intermediate
Kubernetes
Q65 / 100
What does "kubectl get all -n <namespace>" show, and what is a limitation of using "all" here?
Correct! Well done.
Incorrect.
The correct answer is B) It shows commonly-used resources (Pods, Services, Deployments, etc.) in the specified namespace, but "all" does not include every resource type — some, like ConfigMaps, Secrets, and custom resources, are excluded by default
B
Correct Answer
It shows commonly-used resources (Pods, Services, Deployments, etc.) in the specified namespace, but "all" does not include every resource type — some, like ConfigMaps, Secrets, and custom resources, are excluded by default
Explanation
"kubectl get all" covers a predefined set of common resource types but deliberately excludes some (like ConfigMaps and Secrets) — those need to be queried explicitly.
Progress
65/100