QuestionQ20

Cloud Orchestration with Kubernetes

Which two statements characterize the Kubernetes network policy?

Choose two
  • A If a policy is not applied to a pod, then the pod accepts traffic from all sources.
  • B A policy can define traffic in only one direction.
  • C A policy can define traffic in both directions.
  • D If a policy is not applied to a pod, then the pod blocks traffic from all sources.
Explanation

Pods that are not selected by an ingress NetworkPolicy are non-isolated by default and accept traffic from all sources. A NetworkPolicy can specify both Ingress and Egress policy types, allowing it to define rules for traffic in both directions.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!