You are deploying three SQL Server virtual machines from Azure Marketplace by using the Azure portal. On the SQL Server settings tab of each deployment, you must set SQL connectivity.
Company policy says that each VM must use the most restrictive connectivity option that still meets its access requirement.
Match each access requirement to the SQL connectivity option you should select for that VM. Each option can be used once, more than once, or not at all.
- Correct match: Local (inside VM only).
Local allows connections to SQL Server only from within the VM, which is all VM1 needs. Private would also work, but it is less restrictive because it opens access to the whole virtual network.
- Correct match: Private (within Virtual Network).
Private allows connections from machines or services in the same virtual network. Local would block the application servers, and Public would allow internet access that is not needed.
- Correct match: Public (internet).
Only Public allows connections to SQL Server from machines on the internet. Private allows connections only from the same virtual network, so it would block the analysts.
The SQL connectivity setting decides where connections to the SQL Server instance can come from. Local allows connections only from inside the VM, Private allows connections from the same virtual network, and Public allows connections from the internet. Because policy requires the most restrictive option that still works, each VM gets the narrowest option that covers its clients. For internet connections, SQL Server Authentication must also be enabled.