Study. uk . com
  1. Home
  2. All questions
  3. Question 261

CKA study material · question 261 of 1000

A policy names namespaceSelector and podSelector inside a single from entry. What does it match?

  1. Either those Pods anywhere or any Pod in those namespaces
  2. Nothing, because the combination is invalid
  3. Particular Pods within particular namespaces
  4. All Pods in the selected namespaces
Show the answer

Answer: C. Particular Pods within particular namespaces

One entry naming both selects particular Pods within particular namespaces; listing them separately means either.

Source: Network Policies (Kubernetes) — Behavior of to and from selectors

Challenge yourself on this topic → Study as cards