nerdexam
DockerDocker

DCA · Question #165

DCA Question #165: Real Exam Question with Answer & Explanation

Sign in or unlock DCA to reveal the answer and full explanation for question #165. The question stem and answer options stay visible for context.

Submitted by tyler.j· Apr 18, 2026Container Orchestration

Question

Two pods bear the same label, app: dev. Will a label selector matching app: dev match both of these pods?

Options

  • AYes, as long as all the containers in those pods are passing their livenessProbes and
  • BYes, if both pods were pre-existing when the label selector was declared.
  • CYes, if the pods are in the same Kubernetes namespace as the object bearing the label selector
  • DYes, if the pods are in the same Kubernetes namespace as the object bearing the label selector

Unlock DCA to see the answer

You've previewed enough free DCA questions. Unlock DCA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Labels#Selectors#Namespaces#Pods
Full DCA PracticeBrowse All DCA Questions