Question 141 · 354 in bank
HOTSPOT - You have an Azure SQL database named DB1. You have 10 Azure virtual machines that connect to a virtual network subnet named Subnet1. You need to implement a database-level firewall that meets the following requirements: • Ensures that only the 10 virtual machines can access DB1 • Follows the principle of least privilege How should you configure the firewall rule, and how should you establish network connectivity from the virtual machines to DB1? To answer, select the appropriate options in the answer area.

This is an interactive task on the real exam — a drag-and-drop, hotspot or ordering question. There is nothing to select here, so the answer is shown below for reference.
Show the answer figure
Answer: See figure below
Explanation
Firewall Rule C) Allow traffic from a specific Virtual Network This option is the most secure and aligns with the principle of least privilege by restricting access to only the specified virtual network, which contains your VMs. By allowing traffic from a specific Virtual Network, you ensure that only resources within that network can access the database, minimizing exposure to unauthorized access. Network Connectivity B) Create a private endpoint Creating a private endpoint allows secure connectivity to DB1 from your VMs over the Azure backbone network. This method ensures that traffic does not traverse the public internet, enhancing security and performance. It also simplifies network management by using private IP addresses for communication.
Source: Adapted from community discussion — Misawakazuki
References


