AZ-700 · Question #332
You have an Azure subscription that contains a virtual machine named VM1 and a network security group (NSG) named NSG1. NSG1 has the default rules configured. VM1 runs Windows Server 2022 and contains
Sign in or unlock AZ-700 to reveal the answer and full explanation for question #332. The question stem and answer options stay visible for context.
Question
You have an Azure subscription that contains a virtual machine named VM1 and a network security group (NSG) named NSG1. NSG1 has the default rules configured. VM1 runs Windows Server 2022 and contains a single NIC named NIC1. NIC1 is associated with NSG1. You need to prevent access to the Azure Instance Metadata Service (IMDS) REST API on VM1. The solution must minimize administrative effort. What should you add to NSG1?
Options
- Aan outbound rule that blocks traffic to an IP address.
- Ban inbound rule that blocks traffic to an IP address.
- Can inbound and outbound rule that blocks traffic to an application security group.
- Dan outbound rule that blocks traffic to a service tag.
Unlock AZ-700 to see the answer
You've previewed enough free AZ-700 questions. Unlock AZ-700 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.