Unit 6 - Practice Quiz

INT327 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the primary purpose of an Azure Virtual Network (VNet)?

Configure virtual networks Easy
A. To store and manage user identities and access policies.
B. To execute code in response to events without managing servers.
C. To provide a logically isolated section of the Azure cloud where you can launch Azure resources.
D. To provide a globally distributed database service.

2 A smaller, logical division of a VNet's address space used to organize and secure resources is called a:

Configure virtual networks Easy
A. Subnet
B. Network Interface
C. Resource Group
D. Address Pool

3 What is the primary function of a Network Security Group (NSG) in Azure?

Configure network security groups Easy
A. To balance network traffic between virtual machines.
B. To cache web content closer to users.
C. To connect an on-premises network to Azure.
D. To act as a stateful firewall that filters network traffic.

4 An NSG security rule includes a priority number. How does Azure process rules with different priority numbers?

Configure network security groups Easy
A. Rules with a lower number are processed first.
B. Rules are processed in a random order.
C. Rules with a higher number are processed first.
D. Rules are processed alphabetically by name.

5 What is the primary benefit of using VNet peering?

Configure Azure Virtual Network peering Easy
A. It protects against distributed denial-of-service (DDoS) attacks.
B. It connects virtual networks so resources can communicate privately using the Microsoft backbone.
C. It encrypts all data stored within a single virtual network.
D. It provides a public-facing endpoint for web applications.

6 What is a critical requirement when attempting to peer two Azure Virtual Networks?

Configure Azure Virtual Network peering Easy
A. The VNets must have been created by the same user.
B. The VNets must be in the same resource group.
C. The VNets must have the same number of subnets.
D. The IP address spaces of the two VNets must not overlap.

7 What is the purpose of a route table in Azure?

Configure network routing and endpoints Easy
A. To store DNS records for a domain.
B. To define how network traffic is directed from a subnet to specific destinations.
C. To list all active connections to a virtual machine.
D. To define firewall rules for an application.

8 Which feature allows you to secure Azure service resources to only your virtual network by extending your VNet's private address space to the service?

Configure network routing and endpoints Easy
A. Public IP Address
B. Private Endpoint
C. Network Gateway
D. Service Endpoint

9 What is the main function of an Azure Load Balancer?

Configure Azure Load Balancer Easy
A. To provide a secure VPN connection to Azure.
B. To filter malicious web traffic.
C. To distribute incoming network traffic across a group of backend resources or servers.
D. To cache static files globally.

10 At which layer of the OSI model does the standard Azure Load Balancer operate?

Configure Azure Load Balancer Easy
A. Layer 4 (Transport)
B. Layer 2 (Data Link)
C. Layer 7 (Application)
D. Layer 3 (Network)

11 Which Azure service is a web traffic load balancer that enables you to manage traffic to your web applications based on URL paths or hostnames?

Configure Azure Application Gateway Easy
A. Azure Load Balancer
B. Azure Front Door
C. Azure Application Gateway
D. Azure Traffic Manager

12 What is the purpose of the Web Application Firewall (WAF) feature often used with Azure Application Gateway?

Configure Azure Application Gateway Easy
A. To provide a private IP address for a PaaS service.
B. To monitor the health of backend virtual machines.
C. To distribute traffic across different geographical regions.
D. To provide centralized protection for web applications from common exploits like SQL injection.

13 What is the primary goal of using an Azure Content Delivery Network (CDN)?

Introduction to Azure Front Door and Content Delivery Network (CDN) Easy
A. To connect two virtual networks together securely.
B. To improve the performance and speed of delivering static content to users by caching it at global locations.
C. To distribute traffic among virtual machines within a single region.
D. To filter incoming network traffic for security threats.

14 Which Azure service provides a global entry point for web traffic, using Microsoft's global edge network to direct users to the fastest and most available backend?

Introduction to Azure Front Door and Content Delivery Network (CDN) Easy
A. Azure Front Door
B. Azure Application Gateway
C. Azure Virtual Network
D. Azure Load Balancer

15 When you create an Azure VNet, you define its IP address space using what standard notation?

Configure virtual networks Easy
A. CIDR (Classless Inter-Domain Routing)
B. FQDN (Fully Qualified Domain Name)
C. MAC Address
D. IPv6 Absolute

16 A Network Security Group (NSG) can be associated with which of the following Azure resources?

Configure network security groups Easy
A. A Storage Account or a SQL Database
B. A Resource Group or a Subscription
C. A Virtual Network or an ExpressRoute circuit
D. A Subnet or a Network Interface Card (NIC)

17 True or False: VNet peering is a non-transitive relationship.

Configure Azure Virtual Network peering Easy
A. True
B. It depends on the region
C. False
D. It depends on the subscription

18 In an Azure Load Balancer, what is the purpose of a health probe?

Configure Azure Load Balancer Easy
A. To detect the health status of backend instances and remove unhealthy ones from rotation.
B. To check for security vulnerabilities in the backend VMs.
C. To encrypt traffic between the load balancer and the backend VMs.
D. To measure the network latency between the load balancer and the user.

19 SSL/TLS termination is a feature of which Azure networking service?

Configure Azure Application Gateway Easy
A. Azure Virtual Network
B. Network Security Group (NSG)
C. Azure Route Table
D. Azure Application Gateway

20 Which Azure feature uses a private IP address from your VNet to connect you privately and securely to a service powered by Azure Private Link, like Azure Storage?

Configure network routing and endpoints Easy
A. Private Endpoint
B. VNet Peering
C. Network Security Group
D. Service Endpoint

21 You are designing an Azure Virtual Network (VNet) for a three-tier application (Web, Application, Database). The VNet has an address space of 10.10.0.0/16. You need to create three subnets with the following host requirements: Web tier (50 hosts), App tier (100 hosts), and DB tier (20 hosts). To minimize IP address wastage while allowing for future growth, which of the following CIDR block assignments is most appropriate?

Configure virtual networks Medium
A. Web: 10.10.1.0/26, App: 10.10.2.0/25, DB: 10.10.3.0/27
B. Web: 10.10.1.0/28, App: 10.10.2.0/28, DB: 10.10.3.0/28
C. Web: 10.10.0.0/17, App: 10.10.128.0/17, DB: 10.11.0.0/16
D. Web: 10.10.1.0/24, App: 10.10.2.0/24, DB: 10.10.3.0/24

22 A Network Security Group (NSG) has the following two inbound security rules applied to a subnet:
- Rule 1: Priority 200, Source Any, Destination Any, Port 22, Protocol TCP, Action Deny
- Rule 2: Priority 300, Source IP 203.0.113.5, Destination Any, Port 22, Protocol TCP, Action Allow

An administrator with the public IP 203.0.113.5 attempts to SSH (port 22) into a VM in the subnet. Will the connection succeed?

Configure network security groups Medium
A. No, because the rule with the lower priority number (200) is processed first and denies the traffic.
B. Yes, because 'Allow' rules are always processed before 'Deny' rules, regardless of priority.
C. No, because default NSG rules will block the traffic before these custom rules are processed.
D. Yes, because the more specific 'Allow' rule for the source IP address overrides the general 'Deny' rule.

23 You have three VNets: VNet-A (10.1.0.0/16), VNet-B (10.2.0.0/16), and VNet-C (10.3.0.0/16). You have established the following peerings:
- VNet-A is peered with VNet-B.
- VNet-B is peered with VNet-C.

A virtual machine in VNet-A needs to communicate with a virtual machine in VNet-C. What must be done to enable this communication?

Configure Azure Virtual Network peering Medium
A. Enable 'Allow Transitive Peering' on the peering connection between VNet-A and VNet-B.
B. A new VNet peering must be created directly between VNet-A and VNet-C.
C. Nothing, the communication will work automatically because VNet-B links them.
D. Configure a User-Defined Route (UDR) in VNet-A to route traffic for VNet-C through VNet-B.

24 You want to ensure that all internet-bound traffic from a specific subnet is first inspected by a Network Virtual Appliance (NVA), such as a firewall, located in another subnet. Which combination of Azure resources is required to implement this?

Configure network routing and endpoints Medium
A. A Network Security Group (NSG) rule to redirect traffic to the NVA.
B. A public Azure Load Balancer with the NVA in its backend pool.
C. A Service Endpoint for the subnet pointing to the NVA.
D. A Route Table with a User-Defined Route (UDR) pointing to the NVA's private IP.

25 You are using a Standard SKU Azure Load Balancer to distribute traffic to a set of backend VMs. You need to ensure that once a client establishes a session with a specific VM, all subsequent requests from that same client are directed to the same VM for the duration of the session. Which load balancer rule configuration should you modify?

Configure Azure Load Balancer Medium
A. Health probe protocol
B. Floating IP (Direct Server Return)
C. Session persistence
D. Frontend IP configuration

26 Your company hosts two distinct websites, www.contoso.com and www.fabrikam.org, on the same backend pool of VMs. You need to use a single Azure Application Gateway to serve traffic for both sites, routing requests to the appropriate application logic based on the host header. Which Application Gateway feature is specifically designed for this purpose?

Configure Azure Application Gateway Medium
A. URL Path-based Routing
B. Multi-site listeners
C. Web Application Firewall (WAF)
D. SSL/TLS termination

27 A global company has deployed its web application to Azure regions in East US, West Europe, and Southeast Asia. They need a solution that provides global HTTP load balancing, routes users to the lowest latency backend, and can automatically fail over to a healthy region if one region becomes unavailable. Which Azure service is the best fit for these requirements?

Introduction to Azure Front Door and Content Delivery Network (CDN) Medium
A. Azure Front Door
B. Azure Traffic Manager with performance routing
C. Azure CDN
D. A globally peered set of regional Azure Load Balancers

28 A virtual machine's network interface is associated with an NSG named NSG-NIC. The VM's subnet is associated with an NSG named NSG-Subnet. To allow inbound RDP traffic (port 3389) to the VM, how must the NSGs be configured?

Configure network security groups Medium
A. Traffic must be allowed by rules in both NSG-Subnet and NSG-NIC.
B. An 'Allow' rule in either NSG is sufficient to permit the traffic.
C. Traffic must be allowed by NSG-Subnet only, as it applies to all resources in the subnet.
D. Traffic must be allowed by NSG-NIC only, as it is more specific and overrides the subnet NSG.

29 You have a hub-spoke network topology in Azure. The hub VNet (Hub-VNet) has a VPN Gateway providing connectivity to your on-premises network. A spoke VNet (Spoke-VNet) is peered with Hub-VNet. What must you configure on the VNet peering to allow VMs in Spoke-VNet to access the on-premises network via the hub's gateway?

Configure Azure Virtual Network peering Medium
A. On the Spoke-VNet to Hub-VNet peering, select 'Use the remote virtual network's gateway'. On the Hub-VNet to Spoke-VNet peering, select 'Allow gateway transit'.
B. Install a separate VPN Gateway in the Spoke-VNet and connect it to the on-premises network.
C. On the Spoke-VNet to Hub-VNet peering, select 'Allow gateway transit'. On the Hub-VNet to Spoke-VNet peering, select 'Use the remote virtual network's gateway'.
D. Create a User-Defined Route in the Spoke-VNet that points to the VPN Gateway in the Hub-VNet.

30 A VM in your VNet needs to connect to an Azure SQL Database. For security reasons, you want to ensure this connection occurs over the Azure backbone network and is restricted so that the database only accepts connections from your VNet. Which of the following is the most direct and legacy-compatible method to achieve this without assigning a private IP to the database?

Configure network routing and endpoints Medium
A. Create a User-Defined Route to force traffic destined for the SQL database through an Azure Firewall.
B. Configure a Service Endpoint for Microsoft.Sql on the VM's subnet and add a VNet rule to the database's firewall.
C. Allow the public endpoint of the Azure SQL Database on the VM's Network Security Group.
D. Configure a Private Endpoint for the Azure SQL Database within the VM's VNet.

31 You are deploying an Azure Application Gateway v2 to serve a web application that requires protection against common vulnerabilities like cross-site scripting (XSS) and SQL injection. The gateway should also automatically scale based on traffic load. Which SKU must you choose for the Application Gateway?

Configure Azure Application Gateway Medium
A. Standard_v2
B. Standard_v2 with WAF policy
C. Standard
D. WAF

32 Your website serves a large amount of static content (images, CSS, JavaScript) to users globally. To improve page load times and reduce the load on your origin web server, you want to cache this content at edge locations closer to your users. Which Azure service is primarily designed for this content caching and delivery function?

Introduction to Azure Front Door and Content Delivery Network (CDN) Medium
A. Azure Application Gateway with caching enabled
B. Azure Traffic Manager
C. Azure Front Door
D. Azure Content Delivery Network (CDN)

33 You have an existing Virtual Network with an address space of 192.168.0.0/22. Due to expansion, you need to add more IP addresses. You have been given the address block 192.168.4.0/22 to use. What is the correct procedure to add this new address space to your VNet without causing downtime?

Configure virtual networks Medium
A. You cannot add a non-contiguous address space; you must delete and recreate the VNet with a larger CIDR block.
B. Add the 192.168.4.0/22 address space to the VNet's 'Address spaces' configuration property.
C. Create a new VNet with the 192.168.4.0/22 space and peer it with the original VNet.
D. Create a new subnet in the existing VNet and specify 192.168.4.0/22 as its address range.

34 You are configuring a Standard SKU Public Azure Load Balancer. You want to allow outbound internet connectivity for VMs in the backend pool, even if they do not have public IP addresses assigned directly to their NICs. How is this achieved with a Standard Load Balancer?

Configure Azure Load Balancer Medium
A. By assigning a public IP prefix to the backend pool directly.
B. By configuring a Network Address Translation (NAT) rule for each VM in the backend pool.
C. By creating an outbound rule on the Load Balancer that maps the backend pool to the frontend public IP.
D. It works by default; all VMs behind a Standard Load Balancer automatically have outbound access.

35 You are attempting to peer two VNets, VNet-A (10.0.0.0/16) and VNet-B (10.0.0.0/24), located in the same region. When you try to create the peering, the operation fails. What is the most likely cause of this failure?

Configure Azure Virtual Network peering Medium
A. VNet peering is not supported for VNets with a /24 address space.
B. VNet peering requires both VNets to be in the same resource group.
C. One VNet has a Basic SKU public IP, and the other has a Standard SKU public IP.
D. The address spaces of the two VNets overlap.

36 What is the primary advantage of using a Private Endpoint over a Service Endpoint to connect a Virtual Network to an Azure PaaS service like Azure Storage?

Configure network routing and endpoints Medium
A. A Service Endpoint requires a VPN Gateway, whereas a Private Endpoint does not.
B. A Private Endpoint provides a private IP address for the PaaS service within your VNet's address space.
C. A Private Endpoint provides a higher bandwidth connection than a Service Endpoint.
D. A Service Endpoint encrypts traffic by default, while a Private Endpoint does not.

37 You are configuring an Azure Application Gateway to handle traffic for a backend web application. The connection from the client to the Application Gateway is encrypted using HTTPS. You want to improve performance by having the Application Gateway decrypt the traffic and send it unencrypted (HTTP) to the backend servers, which are on a secure, isolated VNet. What is this configuration called?

Configure Azure Application Gateway Medium
A. URL rewriting
B. End-to-end SSL/TLS encryption
C. SSL/TLS pass-through
D. SSL/TLS termination

38 You need to add a rule to an NSG that allows HTTP traffic from a predefined set of Azure services (like Azure Backup) to your VMs. Instead of manually looking up and adding all the IP ranges for these services, what is the most efficient source to specify in the NSG rule?

Configure network security groups Medium
A. The name of the Azure service (e.g., 'Azure Backup Service')
B. A Service Tag (e.g., AzureBackup)
C. An Application Security Group (ASG)
D. The IP address range 0.0.0.0/0

39 An Azure Standard Load Balancer has two healthy VMs in its backend pool. You have configured a health probe to check for a response on TCP port 80 every 5 seconds. The 'unhealthy threshold' is set to 2. One of the VMs stops responding to the health probe. What is the minimum amount of time before the Load Balancer stops sending new traffic to this VM?

Configure Azure Load Balancer Medium
A. 15 seconds
B. 5 seconds
C. 2 seconds
D. 10 seconds

40 You are comparing Azure Front Door and Azure CDN for your web application. Which of the following capabilities is a primary feature of Azure Front Door but is NOT a core feature of a standard Azure CDN offering?

Introduction to Azure Front Door and Content Delivery Network (CDN) Medium
A. Custom domain support with SSL/TLS certificates.
B. Global load balancing and automatic failover between multiple origin regions.
C. Geo-filtering to block traffic from specific countries.
D. Caching of static assets like images and CSS files at edge locations.

41 A virtual machine (VM) has a Network Interface (NIC) associated with an Application Security Group (ASG), asg-web. The VM is in a subnet which has a Network Security Group (NSG), nsg-subnet, applied. The NIC also has its own NSG, nsg-nic.

nsg-subnet has an inbound rule:
- Priority: 200
- Source: asg-web
- Port: 443
- Protocol: TCP
- Action: Allow

nsg-nic has an inbound rule:
- Priority: 300
- Source: Any
- Port: 443
- Protocol: TCP
- Action: Deny

What is the effective security rule for inbound TCP traffic on port 443 to the VM's NIC?

Configure network security groups Hard
A. Traffic is denied because for inbound traffic, the NIC NSG rules are processed after the subnet NSG rules, and the Deny rule in nsg-nic takes effect.
B. Traffic is denied because the deny rule in nsg-nic has a higher priority number (lower precedence) but is processed last and denies all traffic.
C. Traffic is allowed because a rule referencing an ASG as a source takes precedence over a rule with a source of Any.
D. Traffic is allowed because the rule in nsg-subnet has a lower priority number (higher precedence) and is processed first.

42 You have a subnet with a User-Defined Route (UDR) in its route table that directs all internet-bound traffic (0.0.0.0/0) to a Network Virtual Appliance (NVA). You also enable a Service Endpoint for Microsoft.Storage on the same subnet. A VM within this subnet needs to access a storage account located in the same Azure region.

How will the traffic from the VM to the storage account be routed?

Configure network routing and endpoints Hard
A. The traffic will be routed directly to the storage account over the Azure backbone, bypassing the NVA, because the Service Endpoint creates a more specific system route.
B. The traffic will be routed to the NVA as dictated by the 0.0.0.0/0 UDR, because UDRs always take precedence over system routes.
C. The traffic will be routed to the storage account's public endpoint over the internet, ignoring both the UDR and the Service Endpoint.
D. The connection will fail because the UDR and the Service Endpoint create a routing conflict.

43 You have three Azure Virtual Networks in the same region: VNet-A (10.10.0.0/16), VNet-B (10.20.0.0/16), and VNet-C (10.30.0.0/16).
- VNet-A is peered with VNet-B. The peering from A to B has 'Allow gateway transit' enabled. VNet-A has a Virtual Network Gateway.
- VNet-B is peered with VNet-C.
- The peering from B to A has 'Use remote gateways' enabled.

Which statement accurately describes the network connectivity from a VM in VNet-C to an on-premises network connected via the gateway in VNet-A?

Configure Azure Virtual Network peering Hard
A. The VM in VNet-C can connect to the on-premises network because gateway transit is enabled on VNet-A and VNet-B is using the remote gateway.
B. The VM in VNet-C can connect to the on-premises network, but only if 'Allow gateway transit' is also enabled on the peering from VNet-B to VNet-C.
C. The VM in VNet-C cannot connect to the on-premises network because VNet peering is not transitive.
D. The VM in VNet-C can connect, but requires a UDR pointing to the gateway in VNet-A.

44 You are using a Standard SKU Azure Load Balancer with a backend pool of two Network Virtual Appliances (NVAs) configured for high availability. You configure a load balancing rule for HA Ports to forward all TCP and UDP traffic to the NVAs. You also create a specific inbound NAT rule with a higher priority to forward TCP traffic on port 22 (SSH) from the load balancer's public IP to the private IP of the primary NVA (NVA-1).

A client sends an SSH request (TCP port 22) to the public IP of the load balancer. How will the traffic be handled?

Configure Azure Load Balancer Hard
A. The configuration will result in an error, as HA Ports rules and inbound NAT rules are mutually exclusive.
B. The traffic will be distributed between NVA-1 and NVA-2 according to the HA Ports rule.
C. The traffic will be sent only to NVA-1 due to the specific inbound NAT rule.
D. The traffic will be dropped because the inbound NAT rule conflicts with the HA Ports rule.

45 An Azure Application Gateway v2 is configured with a Web Application Firewall (WAF) policy in Prevention mode. The policy includes the OWASP 3.1 managed ruleset and a custom rule with priority 50. The custom rule is configured to Allow traffic if the request header X-Internal-Token has a specific value. A request arrives that contains the correct X-Internal-Token header, but its URL also contains a pattern (/..%2f) that matches a high-severity Path Traversal rule in the OWASP managed ruleset.

What is the final action taken by the WAF?

Configure Azure Application Gateway Hard
A. An alert is generated, but the request is passed through because an Allow rule overrides a Block action from a managed rule.
B. The WAF logs both the custom rule match and the managed rule match, but the final action depends on the severity of the managed rule.
C. The request is blocked because the managed rule for Path Traversal is triggered and WAF is in Prevention mode.
D. The request is allowed because the custom rule with priority 50 is processed first and its action is Allow.

46 You have a hub-spoke network topology in Azure. The hub VNet (vnet-hub) contains a custom DNS server. The spoke VNet (vnet-spoke) is peered with vnet-hub. The DNS server setting for vnet-spoke is configured to use the custom DNS server in vnet-hub. You then create a new VNet, vnet-isolated, which is not peered with any other network. You configure vnet-isolated to also use the same custom DNS server's private IP address. A VM in vnet-isolated attempts to resolve a hostname for a VM in vnet-spoke. What is the outcome?

Configure virtual networks Hard
A. Resolution fails because the VM in vnet-isolated has no network route to the custom DNS server in vnet-hub.
B. Resolution succeeds because both VNets are pointing to the same DNS server.
C. Resolution fails because a custom DNS server can only serve clients within its own VNet or directly peered VNets.
D. Resolution succeeds because Azure's internal DNS infrastructure will route the DNS query to the specified IP regardless of VNet peering.

47 An Azure Front Door Premium SKU is configured with a backend pool containing two App Services, one in West US (Priority 1, Weight 60) and one in East US (Priority 1, Weight 40). Health probes are enabled. A separate backend pool for disaster recovery contains an App Service in West Europe (Priority 2, Weight 100). The West US App Service becomes unhealthy.

How will Azure Front Door distribute the incoming traffic?

Introduction to Azure Front Door and Content Delivery Network (CDN) Hard
A. All traffic will be sent to the East US App Service.
B. 60% of traffic will be sent to the West Europe App Service and 40% to the East US App Service.
C. All traffic will be sent to the West Europe App Service.
D. 40% of traffic will be sent to the East US App Service, and the remaining 60% will result in an error.

48 You have a VM in a subnet that is protected by an Azure Firewall in a hub VNet. All traffic from the subnet (0.0.0.0/0) is forced through the firewall via a UDR (forced tunneling). The firewall is configured with an application rule to allow access to *.blob.core.windows.net. You have also enabled a Service Endpoint for Microsoft.Storage on the VM's subnet. The VM attempts to connect to a storage account that is protected by a VNet service endpoint rule, allowing access only from the VM's subnet.

Will the VM be able to access the storage account?

Configure network routing and endpoints Hard
A. No, because the UDR for 0.0.0.0/0 forces all traffic, including storage traffic, to the firewall, which does not have an identity on the subnet to satisfy the storage account's VNet rule.
B. Yes, because the Service Endpoint provides a direct route over the Azure backbone that bypasses the Azure Firewall.
C. No, because service endpoints are not compatible with forced tunneling scenarios and the configuration will cause a network error.
D. Yes, because the firewall's application rule for *.blob.core.windows.net will allow the traffic, and the firewall's IP will be used to access the storage account.

49 You are planning to peer VNet-A (10.0.0.0/16) with VNet-B (10.1.0.0/16). VNet-B is already successfully peered with VNet-C (10.0.0.0/24). What happens when you attempt to establish the peering between VNet-A and VNet-B?

Configure Azure Virtual Network peering Hard
A. The peering will fail because the address space of VNet-A overlaps with the address space of VNet-C, which is a peered network of VNet-B.
B. The peering will be established, but in a 'Disconnected' state, and no traffic will flow until the address space conflict is resolved.
C. The peering will be established successfully, but VMs in VNet-A will not be able to communicate with VMs in VNet-C's address space.
D. The peering will succeed, and Azure will automatically handle the routing for the overlapping sub-space by prioritizing the direct peering route.

50 An Azure Standard Load Balancer is configured with the 'Floating IP' (Direct Server Return) option enabled on its load balancing rule. The backend pool consists of two VMs running a SQL Server Always On availability group listener. When a client connects to the load balancer's frontend IP, which IP address should the client see as the source IP in the response packets from the active SQL VM?

Configure Azure Load Balancer Hard
A. The private IP address of the Azure host node.
B. The private IP address of the active SQL VM.
C. The public frontend IP address of the load balancer.
D. The private IP address of the load balancer.

51 You have an Azure Application Gateway v2 with a multi-site listener configured for contoso.com. You create a path-based routing rule with two paths:
1. Path: /images/* -> Backend Pool: ImagePool
2. Path: /videos/* -> Backend Pool: VideoPool

You also create a Rewrite Set and associate it with the path-based routing rule itself (not a specific path). The rewrite set is configured to add a new header X-Request-Source: AppGateway. A client sends a request to https://contoso.com/images/logo.png. Which of the following statements is true?

Configure Azure Application Gateway Hard
A. The request is routed to ImagePool, but the header is not added because rewrite sets can only be associated with basic routing rules.
B. The request is routed to ImagePool, and the X-Request-Source header is added.
C. The request fails because a rewrite set cannot be associated with a parent path-based rule.
D. The request is routed to the default backend pool of the listener because the rewrite set conflicts with the path-based logic.

52 A subnet contains several VMs and has an NSG with the following outbound rules:
- Priority 100: Source Any, Destination Service Tag: AzureCloud, Port Any, Protocol Any, Action Allow
- Priority 200: Source Any, Destination Any, Port 80, Protocol TCP, Action Deny
- Priority 4096: Default DenyAllOutbound rule (not visible)

A VM in this subnet attempts to make an outbound HTTP request to www.bing.com on port 80. The public IP of www.bing.com is part of the IP address range covered by the AzureCloud service tag. What is the outcome of the connection attempt?

Configure network security groups Hard
A. The connection is denied because service tags cannot be used in the destination of outbound rules.
B. The connection is allowed because the rule for the AzureCloud service tag has a higher priority (100) than the deny rule (200).
C. The connection is allowed because www.bing.com is an external service and not part of the AzureCloud service tag.
D. The connection is denied because the rule with priority 200 specifically denies outbound traffic on port 80.

53 You have a hub-spoke topology where the hub VNet has an Azure Firewall and a custom DNS server. Spoke VNets are peered to the hub and use the custom DNS. You create a Private Endpoint for an Azure SQL database in a spoke VNet. The corresponding Private DNS Zone (privatelink.database.windows.net) is linked to the hub VNet but not to the spoke VNet where the Private Endpoint resides. A VM in the spoke VNet tries to resolve the FQDN of the SQL database (mydb.database.windows.net). What is the result?

Configure network routing and endpoints Hard
A. The resolution fails because the spoke VNet cannot access a Private DNS Zone linked only to the hub VNet.
B. The VM resolves the public IP of the SQL database because its VNet is not linked to the Private DNS Zone.
C. The VM resolves the private IP of the Private Endpoint because the query is forwarded to the custom DNS in the hub, which can access the linked Private DNS Zone.
D. The VM resolves the private IP of the Private Endpoint because the presence of the endpoint in the VNet automatically enables private resolution.

54 You are using Azure CDN from Microsoft (Standard) to serve static assets from a Blob Storage origin. You configure a caching rule in the CDN Rules Engine with the following settings:
- Match Condition: Request URL Path contains /dynamic/
- Action: Cache Expiration -> Bypass cache

The origin storage container has a Cache-Control header set to max-age=3600 for all blobs. A user requests a file at https://mycdn.azureedge.net/dynamic/script.js. What caching behavior will be observed at the CDN POP?

Introduction to Azure Front Door and Content Delivery Network (CDN) Hard
A. The CDN will cache the content using its default TTL because the Rules Engine action conflicts with the origin header.
B. The CDN will bypass its cache and fetch the content from the origin for every request to this URL.
C. The configuration is invalid; Bypass cache cannot be used with a Blob Storage origin.
D. The CDN will cache the content for 3600 seconds as instructed by the origin's Cache-Control header.

55 You are configuring a subnet that will host an Azure App Service Environment v3 (ASEv3). You attempt to delegate this subnet to Microsoft.Web/hostingEnvironments. After successful delegation, you try to associate a Network Security Group (NSG) with this same subnet to add a custom rule blocking outbound traffic to a specific IP address. What will be the outcome?

Configure virtual networks Hard
A. The operation will fail because some service delegations, including Microsoft.Web/hostingEnvironments, impose restrictions that prevent associating an NSG with the delegated subnet.
B. The operation will succeed, and the NSG will be associated, allowing you to add the custom outbound rule.
C. The operation will succeed, but the custom outbound rule will be ignored by the ASEv3 instances.
D. The delegation will be automatically removed to allow the NSG to be associated.

56 You have a Standard SKU public Azure Load Balancer with a backend pool of VMs that do not have public IP addresses. You have not configured any explicit outbound rules or a NAT Gateway on the subnet. How do the VMs in the backend pool access the internet?

Configure Azure Load Balancer Hard
A. The VMs cannot access the internet because they lack a public IP and no explicit outbound SNAT is configured.
B. The VMs can only access other Azure services via service endpoints; general internet access is blocked.
C. The VMs will use the public IP of the load balancer for outbound SNAT, with a default allocation of SNAT ports.
D. The VMs will be assigned a transient public IP by the Azure fabric for outbound connectivity.

57 An Azure Application Gateway v2 is deployed into a dedicated subnet. You want to ensure all traffic originating from the Application Gateway (i.e., traffic going to the backend pools) is routed through a central Azure Firewall for inspection before reaching the backend servers, which are in a different VNet. How can this be achieved?

Configure Azure Application Gateway Hard
A. Create a route table with a UDR for 0.0.0.0/0 pointing to the Azure Firewall, and associate it with the Application Gateway's subnet.
B. Configure the backend pools of the Application Gateway to use the FQDN of an Internal Load Balancer fronting the Azure Firewall.
C. Enable 'Firewall integration' on the Application Gateway settings, specifying the target Azure Firewall.
D. This configuration is not supported. Application Gateway subnets do not support UDRs that route traffic to a virtual appliance.

58 You have two VNets, VNet-A and VNet-B, in a global VNet peering relationship (VNet-A is in West US, VNet-B is in West Europe). A VM in VNet-A with a private IP of 10.1.1.4 communicates with a VM in VNet-B with a private IP of 10.2.1.4. Which statement accurately describes the data transfer path and associated costs?

Configure Azure Virtual Network peering Hard
A. Traffic is routed entirely over the Microsoft private backbone. Global VNet peering data transfer charges apply, which are higher than regional peering charges.
B. Traffic is routed to the nearest regional edge router and then over the internet. No data transfer charges apply for peered networks.
C. Traffic is routed over the public internet but encrypted by Azure. Standard internet egress data transfer charges apply.
D. Traffic is routed entirely over the Microsoft private backbone. Zonal data transfer charges apply.

59 A virtual network contains two subnets, Subnet-A and Subnet-B. Subnet-A has a route table with a UDR that routes traffic destined for Subnet-B's address prefix to the IP of an NVA. Subnet-B has no route table associated. A VM in Subnet-A sends a packet to a VM in Subnet-B. The NVA forwards the packet to the VM in Subnet-B. How does the return traffic from the VM in Subnet-B get routed back to the VM in Subnet-A?

Configure network routing and endpoints Hard
A. It is automatically routed back through the NVA due to Azure's stateful connection tracking.
B. It is routed to the NVA, because the original request came from the NVA's IP.
C. The connection fails because Subnet-B does not have a route back to the NVA.
D. Directly back to the VM in Subnet-A, bypassing the NVA, potentially causing asymmetric routing.

60 You have a VNet with an address space of 10.10.0.0/16. You add a secondary address space of 192.168.0.0/24 to this VNet. You then create a new subnet with the address prefix 192.168.0.0/25. A VM deployed in this new subnet needs to communicate with a VM in an older subnet (10.10.1.0/24). What is the routing behavior for this traffic?

Configure virtual networks Hard
A. The communication will succeed but will be routed via the VNet's default gateway, introducing extra latency.
B. The communication will succeed, and traffic will be routed directly within the VNet's internal fabric.
C. The communication will fail because resources in different address spaces within the same VNet cannot communicate without a router.
D. The communication requires a UDR to be configured to route traffic between the 10.10.0.0/16 and 192.168.0.0/24 address spaces.