Azure VNets and hybrid networking Flashcards

1
Q

Capabilities of Vnets

A
Communication with internet
Communication between Az resources
Communication between on premise resources
Filtering network traffic
Routing network traffic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

All resources in a VNet can communicate outbound to the internet, by default - True/ False

A

True - All resources in a VNet can communicate outbound to the internet, by default

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Communication between Azure resources - 3 Key Mechanisms

A

VNets,
VNet service endpoints and
VNet peering

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can an inbound internet connectivity be set up for a vnet?

A

You can communicate inbound to a resource by assigning a public IP address or a public Load Balancer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You can connect your on-premises computers and networks to a virtual network using any of the following options: 3 options

A

Point-to-site virtual private network (VPN),
Site-to-site VPN,
Azure ExpressRoute.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

You can filter network traffic between subnets using –

A
  1. NSGs

2. NVAs - network virtual appliances like firewalls, gateways, proxies, and Network Address Translation (NAT) services.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Azure routes traffic between subnets, connected virtual networks, on-premises networks, and the Internet, by default. To override the default routes that Azure creates you can implement -

A

Route tables or

Border gateway protocol (BGP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Design considerations for Az Vnet

A
  1. Address space and subnets
  2. Naming Convention
  3. Regions and Subscriptions
  4. Availability Zones
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Azure reserves ____ IP addresses within each subnet

A

5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A well-chosen name helps you quickly identify the –

A
  1. Resource’s type
  2. Associated workload
  3. Deployment environment
  4. Azure region
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

There are four levels you can specify a scope:

A

Management group,
Subscription,
Resource group, and
Resource.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Scopes are _____, with each level of ______making the scope more specific.

A

hierarchical; hierarchy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Two subnets, within different virtual networks, can have same name - True/ False

A

True - Subnets are scoped to Virtual Networks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A resource can be created in a virtual network that exists in the _____ region and subscription as the resource - same/ different

A

same

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Azure Availability Zone

A
  1. Azure Availability Zone enables you to define unique physical locations within a region.
  2. Each zone is made up of one or more datacenters equipped with independent power, cooling, and networking.
  3. Designed to ensure high-availability of your Azure services, the physical separation of Availability Zones within a region protects applications and data from datacenter failures.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

You can add address spaces after creating the virtual network - True/ False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

A public IP address

A
  1. Enables Internet resources to communicate with Azure resources
  2. Enables Azure resources to communicate outbound with Internet
  3. Enables Azure resources to communicate with other public-facing Azure services
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

A public IP address in Azure is not dedicated to a specific resource, until it’s assigned by a network engineer - True/ False

A

False - A public IP address in Azure is dedicated to a specific resource, until it’s unassigned by a network engineer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

A resource without a public IP assigned can communicate outbound through –

A

network address translation(NAT) services, where Azure dynamically assigns an available IP address that isn’t dedicated to the resource.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Public resources like web servers must be accessible from the internet. You want to ensure that you plan ______that support these requirements.

A

Public IP addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Default outbound IP access for Azure VM

A

Azure provides an default outbound access IP for Azure Virtual Machines which aren’t assigned a public IP address, or are in the backend pool of an internal Basic Azure Load Balancer. The default outbound access IP mechanism provides an outbound IP address that isn’t configurable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

The default outbound access IP is disabled –

A
  1. When a public IP address is assigned to the virtual machine
  2. When the virtual machine is placed in the backend pool of a Standard Load Balancer with or without outbound rules
  3. If a Azure Virtual Network NAT gateway resource is assigned to the subnet of the virtual machine
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Some of the resources you can associate a public IP address resource with:

A
  1. Virtual machine network interfaces
  2. Internet-facing load balancers
  3. VPN gateways
  4. Application gateways
  5. Azure Firewall
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

The default ip address allocation method is_____: dynamic or static

A

Dynamic. To ensure that the IP address for the resource remains the same (or static), one has to set the allocation method explicitly to static.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

A static public ip address is released when –

A
  1. You delete the resource or

2. Change the IP allocation method to dynamic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

A dynamic public ip address is released when –

A
  1. You stop the resource

2. You delete the resource

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

SKUs of Public IP Address

A
  1. Basic SKU

2. Standard SKU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Public IP Address - Basic SKU vs Standard SKU

A
  1. Basic IPs are open by default, so the use of Network security groups is recommended for restricting inbound or outbound traffic.
  2. Standard IPs are secure by default and closed to inbound traffic. You must explicitly allow inbound traffic by using a network security group.
  3. Basic IPs do not support availability zone scenarios
  4. Standard IPs are zone-redundant by default
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

You can’t bring your own public IP addresses from on-premises networks into Azure - True/ False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

Public IP addresses can’t be moved between _____; all IP addresses are _____-specific. Region/Subscription/VNet

A

Region
If your business needs to have datacenters in different regions, you will have a different public IP address range for each region

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

Public IP address prefix

A
  1. To ensure a static range of public IP addresses
  2. The advantage of a public IP address prefix is that you can specify firewall rules for these IP addresses with the knowledge that they will not change.
  3. You can assign the addresses from a public IP address prefix to any resource in Azure that supports public IP addresses.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

DNS is split into two areas:

A

Public, and Private DNS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

Integrating on-premises DNS with Azure VNets

A

Forwarding takes two forms:

Organizations often use an internal Azure private DNS zone for auto registration, and then use a custom configuration to forward queries from external zones to an external DNS server. Forwarding takes two forms
Forwarding - specifies another DNS server (SOA for a zone) to resolve the query if the initial server cannot.

Conditional forwarding - specifies a DNS server for a named zone, so that all queries for that zone are routed to the specified DNS server.

If the DNS server is outside Azure, it doesn’t have access to Azure DNS on 168.63.129.16. In this scenario, setup a DNS resolver inside your VNet, forward queries to it, and then have it forward queries to 168.63.129.16 (Azure DNS). Essentially, you’re using forwarding because 168.63.129.16 is not routable, and therefore not accessible to external clients.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

Application owners need to use dynamic IP addresses for specific resources on their VNet. Which SKU must they choose? Basic or Standard or Both

A

Basic - Standard SKU public IP addresses always use the static allocation method. Basic SKU public IPs can be assigned by using static or dynamic allocation methods.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

Network traffic between peered virtual networks is ____public/ private.

A

private. The traffic between virtual machines in peered virtual networks uses the Microsoft backbone infrastructure, and no public Internet, gateways, or encryption is required in the communication between the virtual networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

Connects Azure virtual networks in the same region.

A

Regional VNet peering

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

Connects Azure virtual networks in different regions

A

Global VNet peering

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

Advantages of Peering

A
  1. Low-latency,
  2. High-bandwidth connection
  3. Ability to apply network security groups in either virtual network
  4. Ability to transfer data between virtual networks across Azure subscriptions, Azure Active Directory tenants, deployment models, and Azure regions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

Is there a downtime to resources in either virtual network during the creation of peering?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

When you add a peering on one virtual network, the second virtual network configuration is automatically added - True/ False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

Is gateway transit supported for vnet peering? Yes/ No

A

Yes. Gateway transit is supported for both VNet Peering and Global VNet Peering.

42
Q

A virtual network can have only ____gateway(s). one/ multiple

A

one. A virtual network cannot be associated with more than one gateway.

43
Q

Gateway transit _____peered virtual networks to share the gateway and get access to resources. allows/ disallows

A

allows

44
Q

When you Allow Gateway Transit the virtual network can communicate to resources outside the peering.

A

Site-to-site vpn to connect on premise
point-to-site vpn to connect to a client
vnet-to-vnet

45
Q

Service Chaining =

A

User Defined Route tables

46
Q

Virtual appliance:

A

A virtual appliance is a virtual machine that typically runs a network application, such as a firewall.

47
Q

When you create a route with the virtual appliance hop type, you also specify a next hop IP address. The IP address can be:

A
  1. The private IP address of a network interface attached to a virtual machine.
  2. The private IP address of an Azure internal load balancer.
48
Q

You can specify the following next hop types when creating a user-defined route:

A
  1. Virtual Appliance
  2. Virtual Network Gateway: The virtual network gateway must be created with type VPN.
  3. Virtual Network
  4. Internet
  5. None: when you want to drop traffic to an address prefix, rather than forwarding the traffic to a destination.
49
Q

Virtual network gateway route propagation.

A

Routes are automatically added to the route table for all subnets with Virtual network gateway propagation enabled. When you are using ExpressRoute, propagation ensures all subnets get the routing information.

50
Q

Each subnet can have __________number of route table associated to it.

A

zero or one

51
Q

The virtual appliance

A
  1. shouldn’t have a public IP address and

2. IP forwarding should be enabled.

52
Q

Forced Tunelling

A
  1. Forced tunneling lets you redirect or “force” all Internet-bound traffic back to your on-premises location via a Site-to-Site VPN tunnel for inspection and auditing.
  2. This is a critical security requirement for most enterprise IT policies.
  3. If you don’t configure forced tunneling, Internet-bound traffic from your VMs in Azure always traverses from the Azure network infrastructure directly out to the Internet, without the option to allow you to inspect or audit the traffic.
53
Q

Each virtual network subnet has a built-in, system routing table. The system routing table has the following three groups of routes:

A
  1. Local VNet routes: Route directly to the destination VMs in the same virtual network
  2. On-premises routes: Route to the Azure VPN gateway.
  3. Default route: Route directly to the Internet.
54
Q

Purpose of NAT

A
  1. Rather than purchasing an IPv4 address for each resource that requires internet access, you can use a NAT service to map outgoing requests from internal resources to an external IP address, so that communication can take place.
  2. NAT takes precedence over other outbound scenarios and replaces the default Internet destination of a subnet.
  3. No further configuration is necessary, and you don’t need to create any user-defined routes.
55
Q

NAT is compatible with the following standard SKU resources:

A
  1. Load balancer
  2. Public IP address
  3. Public IP prefix
56
Q

Limitations of NAT

A
  1. Basic resources (for example basic load balancer) and any products derived from them aren’t compatible with NAT
  2. IPv4 address family is supported.
  3. NAT can’t span multiple virtual networks.
57
Q

Networks that connect on-premises resources and virtual resources are known as ______networks.

A

hybrid

58
Q

One option for connecting an on-premises network to an Azure VNET is a VPN connection.

A

They are encrypted tunnel, typically deployed to connect two or more trusted private networks to one another over an untrusted network, usually the public Internet.

59
Q

VPN gateways support multiple connections, which enable them to route VPN tunnels that use any available bandwidth. True/ False

A

True. All connections to that VPN gateway share the available network bandwidth.

60
Q

VPN gateways cannot be used for connections between virtual networks in Azure. True/ False

A

False. VPN gateways can also be used for connections between virtual networks in Azure

61
Q

When you’re planning a Vnet gateway, there are three architectures to consider:

A
  1. Point to site over the internet
  2. Site to site over the internet
  3. Site to site over a dedicated network, such as Azure ExpressRoute
62
Q

Factors that you need to cover during your planning process include:

A
  1. Throughput - Mbps or Gbps
  2. Backbone - Internet or private?
  3. Availability of a public (static) IP address
  4. VPN device compatibility
  5. Multiple client connections or a site-to-site link?
  6. VPN gateway type
  7. Azure VPN Gateway SKU
63
Q

Types of Vnet Gateways

A

VPN Gateway (point-to-site and site-to-site) or ExpressRoute Gateway

64
Q

Types of VPN Gateways

A

Route based or Policy based.

65
Q

VPN Gateway - Generation

A

Generation 1 or Generation 2. You cannot change generations or SKUs across generations.

66
Q

VPN Gateways require a gateway subnet. You can create a Gateway subnet before you create a VPN gateway, or you can create it during the creation of the VPN Gateway.

A
  1. When you create your virtual network gateway, gateway VMs are deployed to the gateway subnet and configured with the required VPN gateway settings
  2. Never deploy anything else (for example, additional VMs) to the gateway subnet.
  3. The gateway subnet must be named GatewaySubnet to work properly. Naming the gateway subnet GatewaySubnet tells Azure know that this is the subnet to deploy the virtual network gateway VMs and services to.
  4. While you can create a gateway subnet as small as /29, we recommend that you create a gateway subnet of /27 or larger (/27, /26 etc.) if you have the available address space to do so. This will accommodate most configurations.
67
Q

High availability options for VPN connections

A
  1. VPN Gateway redundancy (Active-standby)
  2. Multiple on-premises VPN devices
  3. Active-active Azure VPN gateway
  4. Dual-redundancy: active-active VPN gateways for both Azure and on-premises networks
68
Q

The local network gateway typically refers to the on-premises location.

A

You give the site a name by which Azure can refer to it, then specify the IP address or FQDN of the on-premises VPN device for the connection.

69
Q

To configure your VPN device, you will need:

A
  1. A shared key. The same shared key that you specify when creating the VPN connection.
  2. The public IP address of your VPN gateway. The IP address can be new or existing.
70
Q

Active-standby VPN configuration

A
  1. Every Azure VPN gateway consists of two instances in an active-standby configuration.
  2. For any planned maintenance or unplanned disruption that happens to the active instance, the standby instance would take over (failover) automatically and resume the S2S VPN or VNet-to-VNet connections.
  3. The switch over will cause a brief interruption.
71
Q

Multiple on-premises VPN devices

A
  1. You need to create multiple S2S VPN connections from your VPN devices to Azure. When you connect multiple VPN devices from the same on-premises network to Azure, you need to create one local network gateway for each VPN device, and one connection from your Azure VPN gateway to each local network gateway.
  2. BGP is required for this configuration
  3. ECMP (Equal Cost Multi Path routing) is required
72
Q

Multiple on-premises VPN devices vs. Active-standby VPN configuration

A
  1. Both are Active- standby modes
  2. Same failover behavior
  3. Multiple on-prem VPN devices setup setup guards against failures or interruptions on-premises network and VPN devices.
73
Q

Active-active VPN gateways

A
  1. Both instances of the gateway VMs will establish S2S VPN tunnels to your on-premises VPN device
  2. Each Azure gateway instance will have a unique public IP address
  3. The traffic from your Azure virtual network to your on-premises network will be routed through both tunnels simultaneously
74
Q

Dual-redundancy VPN devices setup

A
  1. You create and set up the Azure VPN gateway in an active-active configuration and create two local network gateways and two connections for your two on-premises VPN devices
  2. The result is a full mesh connectivity of 4 IPsec tunnels between your Azure virtual network and your on-premises network.
  3. All gateways and tunnels are active from the Azure side, so the traffic will be spread among all 4 tunnels simultaneously
  4. BGP is required to allow the two connections to the same on-premises network.
75
Q

An Azure VPN gateway is made up of these elements:

A
  1. Virtual network gateway
  2. Local network gateway
  3. Connection
  4. Gateway subnet
76
Q

A _____ VPN gateway connection lets you create a secure connection to your virtual network from another virtual network or a physical network. site-to-site (S2S) or point-to-site (P2S)

A

site-to-site (S2S)

77
Q

A ______VPN gateway connection lets you create a secure connection to your virtual network from an individual client computer - site-to-site (S2S) or point-to-site (P2S)

A

point-to-site (P2S)

78
Q

Point-to-site authentication methods - 3 methods

A
  1. Authenticate using native Azure certificate authentication
  2. Authenticate using native Azure Active Directory authentication
  3. Authenticate using Active Directory (AD) Domain Server
79
Q

For Point-to-site connection using Active Directory (AD) Domain Server authentication, which type of server is required?

A

Radius server

80
Q

Azure Virtual WAN

A

A Virtual WAN is a security delineation; each instance of a Virtual WAN is self-contained in terms of connectivity and hence also provides security isolation.

81
Q

Each Virtual WAN is implemented as a _____topology,

A

hub and spoke

82
Q

Organizations will generally require ___instance(s) of a Virtual WAN. one or multiple

A

one

83
Q

Each virtual WAN can have ___ hubs. one or multiple

A

multiple. All hubs are connected in a full mesh topology in a Standard Virtual WAN making it easy for the user to use the Microsoft backbone for any-to-any (any spoke) transitive connectivity

84
Q

Virtual WAN SKU

A
  1. Basic - Site-to-site VPN only available
  2. Standard - ExpressRoute, User VPN (P2S), VPN (site-to-site), Inter-hub and VNet-to-VNet transiting through the virtual hub
85
Q

The minimum address space is _____ to create a hub.

A

/24

86
Q

You don’t need to explicitly plan the subnet address space for the services in the virtual hub. True/ False

A

True. Because Azure Virtual WAN is a managed service, it creates the appropriate subnets in the virtual hub for the different gateways/services (for example, VPN gateways, ExpressRoute gateways, User VPN point-to-site gateways, Firewall, routing, etc.).

87
Q

A virtual hub can contain ______ gateway(s). one or multiple

A

multiple gateways. A virtual hub can contain multiple gateways such as a Site-to-site VPN gateway, ExpressRoute gateway, Point-to-site gateway, Azure Firewall.

88
Q

Virtual Hub routing - connections. Each connection is associated to one route table.

A
  1. VPN connection: Connects a VPN site to a virtual hub VPN gateway.
  2. ExpressRoute connection: Connects an ExpressRoute circuit to a virtual hub ExpressRoute gateway.
  3. P2S configuration connection: Connects a User VPN (Point-to-site) configuration to a virtual hub User VPN (Point-to-site) gateway.
  4. Hub virtual network connection: Connects virtual networks to a virtual hub.
89
Q

Multiple connections cannot be associated to the same route table. - True or False

A

False

90
Q

By default, all connections are associated to a Default route table in a Azure virtual hub. True or False

A

True. Each virtual hub has its own Default route table, which can be edited to add a static route(s).

91
Q

Azure Virtual hub route propagation - With which configuration connections, routes are propagated from the virtual hub to the on-premises router using BGP?

A

a VPN connection, ExpressRoute connection, or P2S configuration connection

92
Q

Routes can be propagated to one or multiple route tables. True or False

A

True.

93
Q

Labels provide a mechanism to logically group route tables.

A

This is especially helpful during propagation of routes from connections to multiple route tables.

94
Q

For Standard Virtual WAN Customers with pre-existing routes in virtual hub: you will need to first delete them and then attempt creating new route tables. True or False

A

True. If you have pre-existing routes in Routing section for the hub in Azure portal, you will need to first delete them, and then create new route tables. In case of Basic Virtual WAN Customers with pre-existing routes in virtual hub, you have to delete the rote tables and then upgrade your Basic Virtual WAN to Standard Virtual WAN.

95
Q

NVA - Network Virtual Appliance- NVAs are deployed directly into a _____ and have an ______facing public IP address.

A

Virtual WAN hub; externally

96
Q

NVA deployment process

A
  1. Choose the NVA offer to deploy to hub

2. Azure Marketplace Managed Application - Choose deployment settings and aggregate capacity

97
Q

Once the NVA has been provisioned into the virtual hub, any additional configuration need not be performed via the NVA partners portal or management application. You can access the NVA directly. True or False

A

False. Once the NVA has been provisioned into the virtual hub, any additional configuration must be performed via the NVA partners portal or management application. You cannot access the NVA directly.

98
Q

When you create an NVA in the Virtual WAN hub, like all Managed Applications, there will be two Resource Groups created in your subscription.

A
  1. Customer Resource Group- Partners can use this to expose whatever customer properties they choose here.
  2. Managed Resource Group - Customers cannot configure or change resources in this resource group directly, as this is controlled by the publisher of the Managed Application. This Resource Group will contain the NetworkVirtualAppliances resource.
99
Q

Unlike Azure VPN Gateway configurations, you do not need to create Site resources, Site-to-Site connection resources, or point-to-site connection resources to connect your branch sites to your NVA in the Virtual WAN hub. True or False

A

True. This is all managed via the NVA partner. You still need to create Hub-to-VNet connections to connect your Virtual WAN hub to your Azure VNets.

100
Q

An NVA Infrastructure Unit

A

Is a unit of aggregate bandwidth capacity for an NVA in the Virtual WAN hub.