Configure and manage virtual networking Flashcards
You have five Azure virtual machines that run Windows Server 2016. The virtual machines are configured
as web servers.
You have an Azure load balancer named LB1 that provides load balancing services for the virtual machines.
You need to ensure that visitors are serviced by the same web server for each request.
What should you configure?
A. Floating IP (direct server return) to Enabled
B. Floating IP (direct server return) to Disabled
C. a health probe
D. Session persistence to Client IP and Protocol
D. Session persistence to Client IP and Protocol
Your on-premises network contains an SMB share named Share1.
You have an Azure subscription that contains the following resources:
A web app named webapp1
A virtual network named VNET1
You need to ensure that webapp1 can connect to Share1.
What should you deploy?
A. an Azure Application Gateway
B. an Azure Active Directory (Azure AD) Application Proxy
C. an Azure Virtual Network Gateway
C. an Azure Virtual Network Gateway
You plan to deploy several Azure virtual machines that will run Windows Server 2019 in a virtual machine
scale set by using an Azure Resource Manager template.
You need to ensure that NGINX is available on all the virtual machines after they are deployed.
What should you use?
A. the Publish-AzVMDscConfiguration cmdlet
B. Azure Application Insights
C. Azure Custom Script Extension
D. the New-AzConfigurationAssignement cmdlet
C. Azure Custom Script Extension
Your company has three offices. The offices are located in Miami, Los Angeles, and New York. Each office
contains datacenter.
You have an Azure subscription that contains resources in the East US and West US Azure regions. Each
region contains a virtual network. The virtual networks are peered.
You need to connect the datacenters to the subscription. The solution must minimize network latency
between the datacenters.
What should you create?
A. three Azure Application Gateways and one On-premises data gateway
B. three virtual hubs and one virtual WAN
C. three virtual WANs and one virtual hub
D. three On-premises data gateways and one Azure Application Gateway
C. three virtual WANs and one virtual hub
You have the Azure virtual networks shown in the following table.
Name | Address space | Subnet | RG Azure Region
VNet1 - 10.11.0.0/16 - 10.11.0.0/17 - West US
VNet2 - 10.11.0.0/17 - 10.11.0.0/25 - West US
VNet3 - 10.10.0.0/22 -10.10.1.0/24 - East US
VNet4 - 192.168.16.0/22 - 192.168.16.0/24 - North Europe
To which virtual networks can you establish a peering connection from VNet1? A. VNet2 andVNet3 only B. VNet2 only C. VNet3 and VNet4 only D. VNet2, VNet3, and VNet4
C. VNet3 and VNet4 only
You have an Azure subscription that contains a virtual network named VNet1. VNet1 contains four subnets
named Gateway, Perimeter, NVA, and Production.
The NVA subnet contains two network virtual appliances (NVAs) that will perform network traffic inspection
between the Perimeter subnet and the Production subnet.
You need to implement an Azure load balancer for the NVAs. The solution must meet the following
requirements:
The NVAs must run in an active-active configuration that uses automatic failover.
The load balancer must load balance traffic to two services on the Production subnet. The services have
different IP addresses.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Deploy a basic load balancer
B. Deploy a standard load balancer
C. Add two load balancing rules that have HA Ports and Floating IP enabled
D. Add two load balancing rules that have HA Ports enabled and Floating IP disabled
E. Add a frontend IP configuration, a backend pool, and a health probe
F. Add a frontend IP configuration, two backend pools, and a health probe
B. Deploy a standard load balancer
C. Add two load balancing rules that have HA Ports and Floating IP enabled
F. Add a frontend IP configuration, two backend pools, and a health probe
You have an Azure subscription named Subscription1 that contains two Azure virtual networks named
VNet1 and VNet2. VNet1 contains a VPN gateway named VPNGW1 that uses static routing. There is a
site-to-site VPN connection between your on-premises network and VNet1.
On a computer named Client1 that runs Windows 10, you configure a point-to-site VPN connection to
VNet1.
You configure virtual network peering between VNet1 and VNet2. You verify that you can connect to VNet2
from the on-premises network. Client1 is unable to connect to VNet2.
You need to ensure that you can connect Client1 to VNet2.
What should you do?
A. Download and re-install the VPN client configuration package on Client1.
B. Select Allow gateway transit on VNet1.
C. Select Allow gateway transit on VNet2.
D. Enable BGP on VPNGW1
A. Download and re-install the VPN client configuration package on Client1.
You have an Azure subscription that contains the resources in the following table.
Name | Type | Azure Region | RG
VNet1 - Virtual network - West US -RG2
VNet2 - Virtual network - West US - RG1
VNet3 - Virtual network - East US - RG1
NSG1 - NSG - East US - RG2
To which subnets can you apply NSG1? A. the subnets on VNet1 only B. the subnets on VNet2 and VNet3 only C. the subnets on VNet2 only D. the subnets on VNet3 only E. the subnets on VNet1, VNet2, and VNet3
D. the subnets on VNet3 only
You have an Azure web app named webapp1. You have a virtual network named VNET1 and an Azure virtual machine named VM1 that hosts a MySQL database. VM1 connects to VNET1. You need to ensure that webapp1 can access the data hosted on VM1. What should you do? A. Deploy an internal load balancer B. Peer VNET1 to another virtual network C. Connect webapp1 to VNET1 D. Deploy an Azure Application Gateway
D. Deploy an Azure Application Gateway
You have five Azure virtual machines that run Windows Server 2016. The virtual machines are configured as web servers.
You have an Azure load balancer named LB1 that provides load balancing services for the virtual machines.
You need to ensure that visitors are serviced by the same web server for each request.
What should you configure?
A. Floating IP (direct server return) to Disabled
B. Session persistence to None
C. Floating IP (direct server return) to Enabled
D. Session persistence to Client IP
D. Session persistence to Client IP
You have an Azure subscription that contains the following resources:
A virtual network that has a subnet named Subnet1
Two network security groups (NSGs) named NSG-VM1 and NSG-Subnet1
A virtual machine named VM1 that has the required Windows Server configurations to allow Remote
Desktop connections
NSG-Subnet1 has the default inbound security rules only.
NSG-VM1 has the default inbound security rules and the following custom inbound security rule:
Priority: 100
Source: Any
Source port range: *
Destination: *
Destination port range: 3389
Protocol: UDP
Action: Allow
VM1 has a public IP address and is connected to Subnet1. NSG-VM1 is associated to the network interface
of VM1. NSG-Subnet1 is associated to Subnet1.
You need to be able to establish Remote Desktop connections from the internet to VM1.
Solution: You add an inbound security rule to NSG-Subnet1 that allows connections from the Any source to
the *destination for port range 3389 and uses the TCP protocol. You remove NSG-VM1 from the network
interface of VM1.
Does this meet the goal?
A. Yes
B. No
B. No
You have an Azure subscription that contains the following resources:
A virtual network that has a subnet named Subnet1
Two network security groups (NSGs) named NSG-VM1 and NSG-Subnet1
A virtual machine named VM1 that has the required Windows Server configurations to allow Remote
Desktop connections
NSG-Subnet1 has the default inbound security rules only.
NSG-VM1 has the default inbound security rules and the following custom inbound security rule:
Priority: 100
Source: Any
Source port range: *
Destination: *
Destination port range: 3389
Protocol: UDP
Action: Allow
VM1 has a public IP address and is connected to Subnet1. NSG-VM1 is associated to the network interface
of VM1. NSG-Subnet1 is associated to Subnet1.
You need to be able to establish Remote Desktop connections from the internet to VM1.
Solution: You add an inbound security rule to NSG-Subnet1 that allows connections from the internet
source to the VirtualNetwork destination for port range 3389 and uses the UDP protocol.
Does this meet the goal?
A. Yes
B. No
B. No
You have an Azure subscription that contains the following resources:
A virtual network that has a subnet named Subnet1
Two network security groups (NSGs) named NSG-VM1 and NSG-Subnet1
A virtual machine named VM1 that has the required Windows Server configurations to allow Remote
Desktop connections
NSG-Subnet1 has the default inbound security rules only.
NSG-VM1 has the default inbound security rules and the following custom inbound security rule:
Priority: 100
Source: Any
Source port range: *
Destination: *
Destination port range: 3389
Protocol: UDP
Action: Allow
VM1 has a public IP address and is connected to Subnet1. NSG-VM1 is associated to the network interface
of VM1. NSG-Subnet1 is associated to Subnet1.
You need to be able to establish Remote Desktop connections from the internet to VM1.
Solution: You add an inbound security rule to NSG-Subnet1 and NSG-VM1 that allows connections from the internet source to the VirtualNetwork destination for port range 3389 and uses the TCP protocol.
Does this meet the goal?
A. Yes
B. No
A. Yes
You have an Azure subscription that contains a virtual network named VNET1. VNET1 contains the subnets shown in the following table.
Name | Connected virtual machines
Subnet1 - VM1, VM2
Subnet2 - VM3, VM4
Subnet3- VM5, VM6
Each virtual machine uses a static IP address.
You need to create network security groups (NSGs) to meet following requirements:
Allow web requests from the internet to VM3, VM4, VM5, and VM6.
Allow all connections between VM1 and VM2.
Allow Remote Desktop connections to VM1.
Prevent all other network traffic to VNET1.
What is the minimum number of NSGs you should create?
A. 1
B. 3
C. 4
D. 12
C. 4
You have an Azure subscription that contains the resources shown in the following table.
NAME | TYPE | RESOURCE GROUP
VNET1 - Virtual network - RG1
VNET2 - Virtual Machine - RG1
The Not allowed resource types Azure policy is assigned to RG1 and uses the following parameters:
Microsoft.Network/virtualNetworks
Microsoft.Compute/virtualMachines
In RG1, you need to create a new virtual machine named VM2, and then connect VM2 to VNET1.
What should you do first?
A. Remove Microsoft.Compute/virtualMachines from the policy.
B. Create an Azure Resource Manager template
C. Add a subnet to VNET1.
D. Remove Microsoft.Network/virtualNetworks from the policy.
A. Remove Microsoft.Compute/virtualMachines from the policy.