All practice questions
1252 questions
You plan to deploy an Azure Firewall instance. You need to create a dedicated subnet for the firewall within an existing VNet. Which two configuration requirements must be met for this subnet? (Select two.)
Select all that apply
An administrator is configuring a hub-and-spoke network topology in Azure. The environment contains the following resources:
* A hub virtual network named VNet-Hub () that contains a subnet named Subnet-Hub where a virtual machine named VM-Hub is deployed. VNet-Hub also contains an active virtual network gateway.
* A spoke virtual network named VNet-Spoke1 () that contains a subnet named Subnet-Spoke1 where a virtual machine named VM-Spoke1 is deployed.
* A spoke virtual network named VNet-Spoke2 () that contains a subnet named Subnet-Spoke2 where a virtual machine named VM-Spoke2 is deployed.
Virtual network peering is configured between VNet-Hub and VNet-Spoke1, and between VNet-Hub and VNet-Spoke2.
You need to configure the network to meet the following requirements:
1. VM-Spoke1 must be able to communicate with on-premises networks using the virtual network gateway in VNet-Hub.
2. VM-Spoke1 must be able to communicate directly with VM-Spoke2.
3. VM-Spoke2 must not be able to use the virtual network gateway in VNet-Hub.
Which three configurations should you implement? (Select THREE.)
Select all that apply
Your company has an Azure subscription containing two peered virtual networks: `VNet1` () and `VNet2` (). `VNet1` contains a subnet named `Subnet-Web` () and a subnet named `Subnet-Sec` (). A Network Virtual Appliance (NVA) with the private IP address is deployed in `Subnet-Sec` and has IP forwarding enabled on its network interface. `VNet2` contains two subnets named `Subnet-App` () and `Subnet-DB` (). You associate a user-defined route table named `RT-Web` with `Subnet-Web`. You must ensure that traffic from `Subnet-Web` destined for the database servers in `Subnet-DB` is routed through the NVA for security inspection, while traffic destined for the application servers in `Subnet-App` continues to use the direct peering connection. Which route should you add to `RT-Web`?
An organization plans to deploy a public Azure Load Balancer named to distribute HTTPS traffic across three virtual machines: , , and . The virtual machines are configured as follows:
* and are member instances of an Availability Set named .
* is a standalone virtual machine.
* has a public IP address named that uses the Basic SKU.
You plan to configure using the Standard SKU. Which two actions must you perform to ensure that all three virtual machines can be successfully configured in the backend pool of and receive load-balanced traffic?
Select all that apply
A cloud architect is designing a high-availability solution for an application running on three standalone Azure virtual machines. The virtual machines are named VM-App1, VM-App2, and VM-App3, and they are deployed in the East US region. These virtual machines are not associated with any Availability Sets or Virtual Machine Scale Sets. You need to configure a public-facing Azure Load Balancer to distribute inbound traffic across these three virtual machines.
Which two configuration choices must you make to ensure the load balancer functions correctly? (Select two.)
Select all that apply
An administrator is configuring security rules for a virtual network named `VNet1` in an Azure subscription. `VNet1` contains two subnets: `Subnet-Web` () and `Subnet-App` ().
The following virtual machines are deployed:
- `VM-Web1` in `Subnet-Web`
- `VM-App1` and `VM-App2` in `Subnet-App`
An Application Security Group (ASG) named `ASG-App` is created, and the network interface of `VM-App1` (`nic-app1`) is associated with `ASG-App`.
A Network Security Group (NSG) named `NSG-SubnetApp` is associated with `Subnet-App` and contains the following inbound rules:
| Priority | Source | Source Port | Destination | Destination Port | Protocol | Action |
|---|---|---|---|---|---|---|
| 150 | `VirtualNetwork` | `*` | `ASG-App` | 443 | TCP | Allow |
| 200 | `*` | `*` | `*` | `*` | `*` | Deny |
Another NSG named `NSG-NICApp2` is associated with the network interface of `VM-App2` (`nic-app2`) and contains the following inbound rule:
| Priority | Source | Source Port | Destination | Destination Port | Protocol | Action |
|---|---|---|---|---|---|---|
| 110 | `10.0.1.0/24` | `*` | `*` | 443 | TCP | Deny |
Currently, HTTPS traffic from `VM-Web1` can reach `VM-App1` on port 443, but cannot reach `VM-App2` on port 443.
Which two actions should you perform to allow HTTPS traffic on port 443 from `VM-Web1` to `VM-App2`?
Select all that apply
An administrator is configuring network security for a multi-tier application in an Azure subscription. The environment contains a virtual network named `VNet1` () with two subnets: `Subnet-Web` () and `Subnet-App` ().
- `Subnet-Web` is associated with a Network Security Group (NSG) named `NSG-Subnet-Web`.
- `Subnet-Web` contains a virtual machine named `VM-Web`. The network interface of `VM-Web` is associated with an Application Security Group (ASG) named `ASG-Web-Servers` and an NSG named `NSG-NIC-Web`.
- `Subnet-App` is associated with an NSG named `NSG-Subnet-App` that contains only default rules.
- `Subnet-App` contains a virtual machine named `VM-App` (). The network interface of `VM-App` is associated with an ASG named `ASG-App-Servers`.
The inbound security rules for the NSGs are configured as follows:
| Priority | Source | Source Port | Destination | Destination Port | Protocol | Action |
|---|---|---|---|---|---|---|
| 110 | 10.1.2.0/24 | * | * | 443 | TCP | Allow |
| 140 | ASG-App-Servers | * | ASG-Web-Servers | 443 | TCP | Deny |
| Priority | Source | Source Port | Destination | Destination Port | Protocol | Action |
|---|---|---|---|---|---|---|
| 120 | ASG-App-Servers | * | ASG-Web-Servers | 443 | TCP | Deny |
| 150 | 10.1.2.0/24 | * | * | 443 | TCP | Allow |
A user attempts to establish an HTTPS connection from `VM-App` to `VM-Web`.
What is the result of the connection attempt?
An administrator is configuring a public Azure Load Balancer using the Standard SKU. The load balancer will distribute traffic to virtual machines. Which two of the following resources can be associated with this Standard Load Balancer? (Select two.)
Select all that apply
An organization uses Azure Firewall to secure traffic. The firewall has DNAT rules, network rules, and application rules configured. When processing a connection request, which of these rule types is evaluated first by the firewall?
An administrator is configuring a hub-and-spoke network topology in Microsoft Azure. The hub virtual network (VNet-Hub) contains an Azure Firewall deployed with the private IP address . Two spoke virtual networks, VNet-Spoke1 (containing Subnet-App with address space ) and VNet-Spoke2 (containing Subnet-DB with address space ), are peered with VNet-Hub.
The administrator associates a route table with Subnet-App containing a route for destination with a next hop type of Virtual appliance and a next hop address of . In the Azure Firewall, a Network Rule is configured to allow TCP traffic on port from to .
A virtual machine in Subnet-App () attempts to establish a SQL database connection to a database server in Subnet-DB (). The connection fails, even though no Network Security Groups (NSGs) are blocking the traffic and the database server is configured to accept connections.
Which of the following is the most likely cause of this connection failure?
You are deploying different containerized workloads to Azure Container Instances (ACI). You need to configure the appropriate restart policy for each workload. Match each workload scenario to its corresponding container group restart policy.
Click a left item, then click its matching right item
Items
Matches
An administrator is configuring access to an Azure Storage account named auditstore77 that contains a blob container named archives. A group of external auditors named AuditTeam must be able to navigate the Azure portal to find the storage account and download the blobs within the container. The auditors will authenticate using Microsoft Entra ID. You need to assign Azure Role-Based Access Control (RBAC) roles to AuditTeam to meet the requirements using the principle of least privilege. Which two roles should you assign? (Select two.)
Select all that apply
NovaByte Research has an Azure subscription named sub-novabyte-core. You are configuring customer-managed keys (CMK) for an Azure Storage account named sanovabytearchive. You create a user-assigned managed identity named uami-storage-enc to be used for Key Vault access. The Azure Key Vault named kv-novabyte-secure is configured to use Azure role-based access control (Azure RBAC) for authorization. Which of the following actions must you perform to successfully configure the storage account to use customer-managed keys from the key vault? (Select two)
Select all that apply
Your company has an Azure Virtual Machine Scale Set named vmss-processing. The scale set is configured with autoscale rules and currently runs five instances. One of the instances, vmss-processing_3, is currently running a critical, long-running database validation task that must not be interrupted. The remaining instances are idle. You expect a scale-in event to be triggered shortly due to low overall CPU utilization. You need to prevent vmss-processing_3 from being terminated during the scale-in event, without affecting the scaling behavior of the other instances. What should you do?
Your organization manages its Azure environment with the following hierarchy:
* Management Group: `MG-Corporate`
* Subscription: `Sub-Production`
* Resource Group: `RG-DataStorage` (contains multiple Azure Storage accounts)
A security group named `Data-Auditors` needs to inspect the configuration settings of the storage accounts within `RG-DataStorage` to verify compliance. The auditors must not have access to read, write, or delete the actual blob data stored inside these storage accounts, nor should they be able to modify the configurations of the storage accounts. To apply the principle of least privilege, which role assignment should you configure?
An administrator configures a route table named `RT-Prod` and associates it with `Subnet-1` () in `VNet-1` (). `VNet-1` is peered with `VNet-2` ().
The route table `RT-Prod` contains the following two user-defined routes:
* Route1: Destination prefix , Next hop type: Virtual appliance, Next hop IP address:
* Route2: Destination prefix , Next hop type: Virtual Network Gateway
A virtual machine in `Subnet-1` sends a packet to a destination IP address of in `VNet-2`.
Which next hop will the traffic use to reach the destination?
An Azure subscription contains a virtual network named that has an address space of . You are configuring the subnets for this virtual network to support hybrid connectivity and a new application workload. The configuration must meet the following requirements:
- Create a subnet named to support a VPN gateway.
- Create a subnet named to host 28 virtual machines.
- Minimize the address space allocated to each subnet.
Which two subnets should you create to meet the requirements? Select two.
Select all that apply
An administrator is configuring a new public Azure Load Balancer named `LB1` using the Standard SKU. The administrator plans to associate an existing public IP address named `PubIP1` with the frontend IP configuration of `LB1`. `PubIP1` is currently configured with the Basic SKU. Which of the following describes the outcome when the administrator attempts to save this configuration?
To meet security compliance requirements, an organization decides to inspect all traffic moving between application tiers within a single virtual network. The deployment consists of a virtual network named `VNet-SecureHub` () with three subnets:
* `Subnet-App` ()
* `Subnet-Appliance` ()
* `Subnet-Data` ()
A firewall virtual machine named `FW1` is deployed in `Subnet-Appliance` and is assigned the private IP address .
You need to ensure that all traffic sent from `Subnet-App` to `Subnet-Data` is routed through `FW1` for inspection.
Which two configuration steps should you perform? (Select two.)
Select all that apply
Your company has an Azure subscription that contains a resource group named rg-finance. Within rg-finance, there is an Azure Storage account named stfinrecords that hosts a blob container named historical-data. A financial analyst named Taylor needs to read the blobs in the historical-data container. You must configure access to meet the following requirements:
- Taylor must authenticate by using Microsoft Entra ID.
- Taylor must be prevented from modifying any data or storage account configurations.
- The solution must follow the principle of least privilege.
Which role should you assign to Taylor?