🔥 3-day streak
Kubernetes and Cloud Native Associate96 / 142
Question 96 of 142

Your team runs three separate Deployments (frontend, backend, and cache) in the same namespace. Each Deployment adds the label 'tier=web' to some Pods and 'tier=data' to others, plus a unique 'app' label per Deployment. You need a single kubectl command to list every Pod belonging to the data tier, regardless of which Deployment created it. Which approach correctly retrieves those Pods?

Reviewed for accuracy · Report an issueNext question