Question
You have servers that run Windows Server 2022 as shown in the following table.
| Name | Location | Description |
|---|---|---|
| Server1 | On-premises | Hosts a Microsoft SQL Server 2019 instance |
| Server2 | Azure | Contains the .NET SDK |
Server2 contains a .NET app named App1.
You need to establish a WebSocket connection from App1 to the SQL Server instance on Server1. The solution must meet the following requirements:
• Minimize the number of network ports that must be open on the on-premises network firewall.
• Minimize administrative effort.
What should you create first?
- A. an Azure Relay namespace Correct
- B. an Azure VPN gateway
- C. a WFC relay connection
- D. a hybrid connection
Explanation
Azure Relay Namespace is the correct choice because it enables secure communication between on-premises and cloud services using Hybrid Connections, which support WebSocket connections. This minimizes network port openings and administrative effort by leveraging Azure's managed service.