QuestionQ111

VerifiedImplement and manage virtual networking

You have an Azure subscription that contains 10 virtual machines, a key vault named Vault1, and a network security group (NSG) named NSG1. All the resources are deployed to the East US Azure region.

The virtual machines are protected by using NSG1. NSG1 is configured to block all outbound traffic to the internet.

You need to ensure that the virtual machines can access Vault1. The solution must use the principle of least privilege and minimize administrative effort.

What should you configure as the destination of the outbound security rule for NSG1?

Explanation

In an NSG rule, a service tag is the correct destination for allowing access from virtual machines to Azure Key Vault with least privilege and minimal administration. Service tags let NSG rules target Azure services such as Key Vault without hardcoding public IP ranges, and Microsoft maintains the underlying address prefixes automatically. An application security group is for grouping VM network interfaces, not Azure service endpoints, and using IP address ranges is not ideal because Key Vault service endpoint addresses are not intended to be managed as a fixed range by customers.

Learn more

Community Discussion

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