You need to build a security group that references External DNS servers. Which of the following is the best way to build the Security group?
Show answerHide answer
Correct answer: A Build a Security Group and statically assign the IP addresses of the DNS servers
Explanation
Explanation:The question specifies External DNS servers, meaning these are not virtual machines managed within the vSphere environment. Options relying on VM Name, OS Name, or tags assume the objects are managed entities within VMware vDefend/NSX. For external, non-virtualized appliances, static IP address assignment is the only reliable method.
Correct Option:
A. Build a Security Group and statically assign the IP addresses of the DNS servers –
External DNS servers exist outside the vSphere/vDefend inventory. They have no VM Name, OS Name, or assignable VMware tags. Static IP-based membership (using IP addresses or IP sets) is the correct and supported method to include external resources in a security group.
Incorrect Options:
B. Build a Security Group that uses OS Name to assign membership –
OS Name criteria only apply to virtual machines whose guest operating system is identified by VMware Tools. External DNS servers are not managed VMs, so they have no OS Name property within vDefend. This method will fail to include them.
C. Build a Security Group that uses VM Name to assign membership –
VM Name criteria strictly match virtual machines running on vSphere. Since external DNS servers are not VMs in this environment, they cannot be identified or grouped using VM Name. This approach is valid only for internal, managed workloads.
D. Build a Security Group that uses a specific tag name and assign that tag to each respective DNS server –
Tags apply to vSphere objects (VMs, hosts, datastores) and NSX objects. External DNS servers are not vSphere objects and cannot be tagged. Even if a tag exists, it cannot be attached to an external IP address or physical server.
Reference:
VMware NSX Documentation: "Security Groups – Membership Criteria" – specifies that static IP address or IP set membership is required for non-virtualized or external workloads. Also covered in vDefend Security Configuration Guide, section on grouping objects outside the compute environment.