6V0-21.25 practice question 6 of 10

Which of the following is not an available option for membership criteria selection when creating group of type Antrea?

Full set: 75 questions
Answer options
A: K8s Namespace
B: Antrea Egress
C: K8s NetworkPolicy Correct answer
D: K8s Service
Correct Answer:
C. K8s NetworkPolicy
Explanation

NSX Groups for Antrea-managed Kubernetes clusters are used to logically group workloads (pods) for the application of security policies. Membership in these groups is defined based on the attributes of the Kubernetes objects themselves. Available criteria include attributes like Kubernetes Namespace, Kubernetes Service, and various labels (e.g., Pod labels, Namespace labels). A Kubernetes NetworkPolicy is a specification of rules that governs how pods communicate. It is a policy object that is applied to a group of pods; it is not an attribute of the pods themselves and therefore cannot be used as a criterion to define the membership of a group.

Why Incorrect

A. K8s Namespace: This is incorrect because Kubernetes Namespace is a valid and common membership criterion used to create a group containing all pods within that specific namespace.
B. Antrea Egress: This is incorrect as Antrea Egress is a Custom Resource Definition (CRD) that defines egress security policy rules; it is a policy object, not a membership criterion for grouping workloads.
D. K8s Service: This is incorrect because Kubernetes Service is a valid membership criterion. It allows for the creation of a dynamic group that includes all the endpoint pods backing that service.

References

1. VMware NSX Documentation, NSX Administration Guide: In the section "Create a Group for Kubernetes Objects in NSX Manager," the documentation lists the available membership criteria. These include K8s Namespace, K8s Service, K8s Pod Labels, K8s Namespace Labels, K8s Node Labels, K8s Node Name, and K8s Cluster. The list does not include K8s NetworkPolicy or Antrea Egress, as these are policy constructs, not grouping identifiers. (Reference: VMware NSX 4.x Administration Guide, Chapter on Security, Section on Policy Management for Kubernetes).

2. Kubernetes Official Documentation, "Network Policies": The official Kubernetes documentation defines a NetworkPolicy as a way to specify how groups of pods are allowed to communicate. The policy selects pods using labels and defines rules. This confirms its role as a policy object, distinct from the workload attributes used for grouping. (Reference: kubernetes.io/docs/concepts/services-networking/network-policies/).

Scroll to Top