Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Kubernetes and Cloud Native Associate · Linux Foundation
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
A NetworkPolicy in Kubernetes is a resource that defines rules for controlling the network traffic to and from Pods. NetworkPolicies allow you to specify how groups of Pods are allowed to communicate with each other and with other network endpoints. By default, Pods are non-isolated, meaning they accept traffic from any source. When a NetworkPolicy is applied, it can classify Pods as isolated, meaning they only accept traffic that matches the specified rules.
B. The ability to classify the Pods as isolated and non isolated. In Kubernetes, a NetworkPolicy is used to control the communication between Pods within the cluster. It allows you to specify rules for which Pods can communicate with each other, effectively classifying Pods as isolated or non-isolated based on the defined rules