You have an Azure subscription that includes a virtual network named VNet1. VNet1 contains the following subnets:
Subnet1, contains VMs that run production workloads.
Subnet2, contains VMs that host development workloads.
You need to connect your company’s on-premises network to VNet1.
What should you create first?
Select only one answer.
A. a NAT gateway
B. a route table
C. an additional subnet
D. an additional virtual network
C
技巧:排除明顯錯誤選項,在沒有明顯錯誤的選項中選擇最合理的選項。
A. 不正確。明顯錯誤選項。NAT 網(wǎng)關用于為虛擬網(wǎng)絡中的資源提供出站 Internet 連接,而不是用于連接到本地網(wǎng)絡。
B. 不正確。沒有直接關聯(lián)選項。路由表用于控制流量在虛擬網(wǎng)絡中的路由方式,但它不提供與本地網(wǎng)絡的必要連接。
C. 正確。要將公司的本地網(wǎng)絡連接到 VNet1,需要創(chuàng)建一個虛擬網(wǎng)絡網(wǎng)關(VPN 網(wǎng)關);虛擬網(wǎng)關必須創(chuàng)建在一個名稱為 GatewaySubnet 的子網(wǎng)中。根據(jù)題干,該公司擁有的 VNet1 虛擬網(wǎng)絡中不存在這個子網(wǎng),因此必須先創(chuàng)建這個資源。
虛擬網(wǎng)絡網(wǎng)關是一種虛擬網(wǎng)絡資源,用于將 Azure 虛擬網(wǎng)絡連接到其他虛擬網(wǎng)絡或本地位置。它為安全的跨界連接提供必要的路由和加密功能。
D. 不正確,沒有關聯(lián)的選項。Azure 中虛擬網(wǎng)絡可用于各種目的,但它們不提供與本地網(wǎng)絡的必要連接。