Virtual Networking Flashcards

1
Q

What type of DNS record should you create to ensure Azure can verify the domain name?

A

MX
TXT

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

What does a NS record do?

A

Tells recursive name servers which name servers are authoritative for a zone

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

If you have a registered DNS domain and then create a public Azure DNS zone with the same name, how do you ensure the records created in the zone are resolvable?

A

Modify the NS records in the DNS domain registrar so they point to your Azure DNS NS records

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

What is the benefit of having multiple NS records?

A

Redundancy of your DNS service

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

How would you create Azure AD DNS records in a custom domain for a domain you already registered?

A
  • Add the custom domain name to your directory
  • Add a DNS entry for the domain name at the registrar
  • Verify the custom domain name
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which IP addresses are reserved by Azure in each subnet?

A

.0 network address
.1 gateway address
.2 and .3 DNS
.255 broadcast

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

Whats the smallest possible subnet in Azure? (CIDR)

A

/29
3 possible addresses (8 addresses, but 5 are reserved)

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

What networking solution provides network load balancing between virtual machines that reside inside a cloud service or a virtual network with a regional scope?

A

Azure Internal Load Balancer (ILB)

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

What networking tool provides SQL injection protection?

A

Azure Web Application Firewall (WAF)

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

What protection does an application gateway with Azure Web Application Firewall (WAF) provide?

A

Centralized protection of your web apps from common exploits and vulnerabilities; like SQL injections and cross-site scripting

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

What is a virtual hub?

A
  • A Microsoft-manged VNET
  • The hub contains various service endpoints to enable connectivity; the core of your network in a region
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What do Azure Private DNS zones do?

A

Provide name resolution within a virtual network and between virtual networks

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

What is Azure Log Analytics workspace?

A

A unique Log Analytics environment with its own data repository, data sources, and solutions

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

What do NSG flow logs allow you to view?

A

Information about ingress and egress IP traffic through a NSG

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

What additional capabilities does a Standard load balancer offer over a Basic load balancer?

A
  • Supports diagnostics
  • Global VNet Peering support
  • Compatible with Availability Zones
  • Supports HA ports
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What might prevent you from being able to peer two VNets?

A

Address spaces overlapping

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

What does a backend pool define?

A
  • Critical component of the load balancer
  • The group of resources that will serve traffic for a given load-balancing rule
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is a floating IP?

A
  • Enables traffic to bypass the load balancer and go directly to the backend servers
  • Enables multiple applications in the backend pool to use the same port
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Why might you use a floating IP?

A
  • If you want to reuse the backend port across multiple rules
  • Clustering for high availability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What should you do if you make changes to the topology of your network and have Windows VPN clients?

A

The VPN client package for Windows clients must be downloaded and installed again in order for the changes to be applied

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

What does enabling auto registration on an azure DNS private zone do?

A

Makes it so when you link a VNet with a private DNS zone, a DNS record gets created for each VM deployed in the VNet

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

What are some restrictions Azure has in place for auto registration?

A
  • Only works for VMs
  • Only can be used by private Azure DNS zones
  • Only created for one NIC, and NIC needs to be using DHCP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What subnets can you assign a NSG to?

A

A subnet in the same region of the NSG

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

How would you add or delete address ranges from a VNet’s address space if the VNet is already peered?

A

Remove peering
Make changes
Recreate peering

Now (2022) you can make changes and sync the networks after changes are complete

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Are you able to move a NIC across RGs?
Yes, but the location will not change
26
How would you enable a webapp to access the resources in a VNet?
Connect the webapp to the VNet using webapp VNet integration
27
What does enabling session persistence do?
Maps a client's session to a specific server
28
What is the default port for RDP?
TCP port 3389
29
With what tool does Azure DNS support importing and exporting zone files?
Azure CLI
30
What does an inbound NAT rule do?
Forwards incoming traffic to a specific VM
31
What does a load balancer rule do?
Forward traffic to a backend pool
32
What can a basic load balancer balance traffic between?
Backend pool endpoints for VMs in a single availability set or VMSS
33
What type of DNS zones can you link VNets to?
Private zones only
34
What steps are necessary for connecting your on-premises network to Azure using a site-to-site VPN?
* Create a VNet * Create a gateway subnet * Create a VPN gateway * Create a local gateway * Create a VPN connection
35
Can you connect VNets in different regions from different subscriptions?
Yes, by using a VNet-to-VNet connection
36
What does a Point-to-Site (P2S) VPN gateway connection do?
Lets you create a secure connection to your VNet from an individual client computer Useful when you have only a few clients that need to connect to a VNet
37
What does each client computer need to connect to a VNet using a Point-to-Site connection?
* A client certificate installed * You can generate one from the self-signed root certificate, then export and install it
38
What are service endpoints used for?
Enabling private IP addresses in the VNet to reach the endpoint of an Azure service without needing a public IP address on the VNet
39
What is an Application Security Group (ASG)?
A logical collection of VMs (NICs)
40
How do you use ASGs?
* Application Security Group * You join VMs (NICs) to the ASG, then use the ASG as a source or destination in the NSG rules
41
What is needed to set up a site-to-site VPN?
* Local gateway * Gateway subnet * VPN gateway * A connection to connect the local gateway and VPN gateway
42
What do public load balancers do?
* Load balance Internet traffic to your VMs * Load balancer and the public IP address SKU must match when you use them with public IP addresses
43
What must we have before creating a NIC?
A VNet
44
What is IP flow verify used for?
* Used when a VM becomes unable to communicate with another resource because of a security rule * Tests the communication, informs if the connection succeeds or fails, and tells you which rule causes the communication failure
45
What feature of Azure Network Watcher would you use to validate connectivity from a VM to an external host?
Connection troubleshoot
46
If you have two configured DNS servers, NIC and VNET, which takes precedence?
NIC configured DNS servers
47
What can Connection Monitor tell you?
* Latency over time * Round-trip time to make the connection * Inspects traffic over a specific port
48
What are the pre-requisites of VMs/VMSSs for load balancers with a standard SKU?
VMs must be connected to the same virtual network
49
What Azure networking component is redundant by default?
Azure VPN gateways have two instances for redundancy
50
What is the default DNS suffix for Azure provisioned DNS if no specific DNS is configured in the network?
internal.cloudapp.net
51
What is an Azure Load Balancer health probe?
* A feature that detects the health status of your application instances, helping you detect application failures, manage load, and plan for downtime * Sends a request to the instances to check if they are available and responding to requests * Can be configured to use different protocols, like TCP, HTTP, or HTTPS
52
What type of VPN is required for a P2S connection?
A Route-based VPN type
53
How do Policy-based VPNs handle traffic?
* Uses the combination of prefixes from both networks to define how traffic is encrypted/decrypted through IPsec tunnels * Only available with Basic SKU * Does not support P2S connectivity
54
How do Route-based VPNs handle traffic?
* Uses any-to-any (wildcard) traffic selectors * Lets routing tables direct traffic to different IPsec tunnels
55
How can virtual networks be linked to a private DNS zone?
* Registration virtual network (can have multiple but only one registration zone) * Resolution virtual network (can have multiple, and multiple resolution zones)
56
What does the Packet capture function of Network Watcher do?
* Intercepts data packets and stores them temporarily so it can be analyzed, for a maximum of a 5 hour interval * Inspects network traffic and helps diagnose network anomalies
57
What do you need to configure when creating a load balancer?
* Frontend IP address If you want to apply rules, you also need * Health probe * Backend pool
58
How would you set up a virtual WAN site-to-site portal?
* Create Virtual WAN * Create Virtual Hub * Create VPN sites * Connect VPN sites to virtual hub
59
What OSI layer does Azure Load Balancer operate at?
L4
60
What OSI layer does Azure App Gateway operate at?
L7
61
What is an A record used for?
To map a DNS/domain name to an IP address
62
What network security policy supports kubernet networking?
Calico Network Policies
63
Why would you create a route table?
Custom routes are helpful when you want to route traffic between subnets through a network virtual appliance (NVA)
64
What are site-to-site VPN gateway connections used for?
To connect your on-premises network to an azure VNet over an IPsec/IKE VPN tunnel
65
How is the subnet of the target VM selected if a subnet with the same name doesn't exist?
Alphabetical order
66
Are there any firewall resource group restrictions?
Yes The firewall, VNet, and the public IP address must all be in the same resource group
67
What resource can you select when using connection monitor?
A region
68
What is Azure Bastion?
* A service you deploy that lets you connect to a VM using your browser/Azure portal or via the native SSH or RDP client installed on your computer * You provision it inside your VNet and it provides secure RDP/SSH connectivity to your VM directly from the Azure portal over TLS. Your VM doesn't need a public IP, agent, or special client software.
69
When configuring Azure Bastion, what's the difference between using a Basic SKU and a Standard SKU?
* Basic creates two instances * Standard allows you to specify the number of instances; **host scaling** * Standard allows use of the **native client**, letting you connect via Azure CLI and expands your sign-in options to include AAD and local SSH key pair * Standard supports global tier IPs
70
What kind of IP addresses does Azure Bastion support?
Standard SKU public IPs that are static
71
What resources do you need to consider moving when moving a VM from one subscription to another?
All dependent resources must be moved along with it ie. Disk (OS), NIC, VNet
72
How would you enable multi-user authorization for a Recovery Services vault?
* Create resource guard * Enable MUA on vault * Authorize critical operations on vault
73
In what order would you deploy resources in an ARM template to deploy a VM?
VNet NIC VM
74
How would you migrate VMs to Azure using Azure Site Recovery?
* Create Recovery Service Vault * Configure VNet * Configure extended network
75
What is the recommended subnet size for Azure Bastion?
/26 or larger
76
How is traffic handled between VMs in peered VNets?
Using the Microsoft backbone infrastructure
77
What are service tags?
* Group of IP address prefixes from a given Azure Service * Used in place of specific IP addresses when you create security rules and routes
78
What can you create Service Endpoints for?
Azure services
79
What are private links used for?
* Connect privately to Azure Monitor without opening public network access * Ensure monitoring data is only accessed through authorized private networks * Keep all traffic inside the Azure backbone network
80
What's the difference been an A record and a CNAME record?
If the IP address changes, a CNAME entry is still valid, whereas an A record must be updated
81
For what OS is private networking supported for?
Linux containers