az-104 Practice Question 1735

Exam: az-104
Domain: Implement and manage virtual networking
Topic: Configure and manage virtual networks in Azure
Difficulty: medium
Contoso Ltd is setting up a hybrid environment with an on-premises data center and multiple Azure VNets. They need to ensure secure communication between their VNet in Azure and the on-premises network while minimizing latency. Which configuration should they use to achieve this, and why?

Answer Options

A
Use an ExpressRoute connection
B
Set up a VNet Gateway with S2S connection
C
Deploy a Point-to-Site connection
D
Create a VNet peering connection

Correct Answer

B: Set up a VNet Gateway with S2S connection

Explanation

The correct answer is to use a Virtual Network Gateway (VNet Gateway) with a Site-to-Site (S2S) connection. This method provides secure, encrypted communication between the on-premises network and the Azure VNet, ensuring low latency and high performance. Other options like ExpressRoute or Point-to-Site connections do not offer the same level of security and performance for hybrid environments. ExpressRoute is more expensive and requires specific hardware, while Point-to-Site is suitable for individual users rather than large-scale hybrid connectivity.