All practice questions
1252 questions
You have a public load balancer named LB1 that uses the Basic SKU. LB1 distributes traffic to virtual machines in an Availability Set. You need to upgrade the load balancer to the Standard SKU to support Availability Zones. Which change must you make to the existing configuration before you can associate the backend virtual machines with the upgraded Standard SKU load balancer?
An administrator is configuring load balancing for a web application in an Azure subscription. The environment contains the following resources:
- A virtual network named VNet1 that has a single subnet named Subnet1.
- A virtual machine named VM1 deployed in Availability Zone 1. VM1 has a network interface named NIC1 connected to Subnet1. NIC1 has a Basic SKU public IP address named VM1-PIP assigned to its IP configuration.
- A virtual machine named VM2 deployed in Availability Zone 1. VM2 has a network interface named NIC2 connected to Subnet1 with no public IP address.
- A virtual machine named VM3 deployed in Availability Zone 2. VM3 has a network interface named NIC3 connected to Subnet1 with no public IP address.
You deploy a public Azure Load Balancer named LB1 using the Standard SKU. You associate LB1 with a Standard SKU public IP address named LB-PIP.
When you attempt to add VM1, VM2, and VM3 to the backend pool of LB1, the configuration fails with a SKU mismatch error.
Which action should you perform to successfully add all three virtual machines to the backend pool of LB1?
Your company has an Azure subscription containing a storage account named storagedata2026. The storage account contains a blob container named receipts.
You need to grant a Microsoft Entra ID group named SalesGroup the ability to read the blobs in the receipts container by using the Azure portal. The solution must use Microsoft Entra ID credentials for authentication and must follow the principle of least privilege.
Which two role assignments are required to achieve this goal? (Select two.)
Select all that apply
An organization organizes its cloud resources using the following Azure hierarchy:
* Management Group: MG-Corporate
* Subscription: Sub-FinApp
* Resource Group: RG-BillingData
A developer named Casey must be able to deploy and manage virtual machines and storage accounts within RG-BillingData. Additionally, Casey requires the ability to read, write, and delete blobs inside the storage accounts in RG-BillingData. Casey must not have permissions to assign RBAC roles to other users or manage resource locks.
Which role assignment configuration meets these requirements while adhering to the principle of least privilege?
You need to route all outbound internet traffic from a subnet named Subnet1 through an Azure Firewall deployed in the same virtual network. You create a new route table and associate it with Subnet1. You add a route for the destination . Which next hop type must you select to ensure the traffic is routed through the Azure Firewall?
An Azure environment contains the following resources:
- A virtual network named `VNet1` with two subnets: `Subnet-Web` () and `Subnet-DB` ().
- A virtual machine named `VM-Web1` in `Subnet-Web` with its network interface associated with an Application Security Group (ASG) named `ASG-Web`.
- A virtual machine named `VM-DB1` in `Subnet-DB` with its network interface associated with an ASG named `ASG-DB`.
- `Subnet-DB` is associated with a Network Security Group (NSG) named `NSG-Subnet`.
- The network interface of `VM-DB1` is associated with an NSG named `NSG-NIC`.
The NSGs contain the following custom inbound security rules:
| Priority | Source | Destination | Port | Protocol | Action |
|---|---|---|---|---|---|
| 200 | 10.0.1.0/24 | Any | Any | Any | Deny |
| Priority | Source | Destination | Port | Protocol | Action |
|---|---|---|---|---|---|
| 300 | VirtualNetwork | Any | Any | Any | Deny |
You need to allow database traffic from `VM-Web1` to `VM-DB1` on TCP port 1433. All other traffic from `Subnet-Web` to `Subnet-DB` must remain blocked.
Which two security rules should you create to meet these requirements? (Select TWO.)
Select all that apply
An administrator is configuring a custom subdomain named `sales.contoso.com` for an Azure App Service web app named `app1`. The web app currently runs on a Basic B1 App Service plan.
The administrator has already created a CNAME record in the DNS zone that points `sales` to `app1.azurewebsites.net`.
The administrator needs to secure the custom domain using a free Azure App Service Managed Certificate.
Which two actions should the administrator perform? (Choose two.)
Select all that apply
An administrator configures virtual networking in an Azure subscription. A virtual network named `VNet-Corp` contains two subnets: `Subnet-Web` () and `Subnet-DB` (). A virtual machine named `VM-Web1` is deployed in `Subnet-Web` and has its network interface associated with an Application Security Group (ASG) named `ASG-Web`. A virtual machine named `VM-DB1` is deployed in `Subnet-DB` and has its network interface associated with an ASG named `ASG-DB`.
The subnets and network interfaces are configured with the following Network Security Groups (NSGs):
* `NSG-SubnetDB` is associated with `Subnet-DB` and contains the following inbound rule:
* Priority: , Source: `ASG-Web`, Port: , Destination: Any, Action: Allow
* `NSG-NicDB` is associated with the network interface of `VM-DB1` and contains the following inbound rules:
* Priority: , Source: `ASG-Web`, Port: , Destination: Any, Action: Deny
* Priority: , Source: Any, Port: , Destination: Any, Action: Allow
When `VM-Web1` attempts to establish a database connection to `VM-DB1` on TCP port , what is the outcome of the traffic flow?
You are configuring a public Azure Load Balancer. You have provisioned a public IP address named IP-Front that uses the Basic SKU. You plan to distribute traffic to virtual machines.
Which two configurations must you select to ensure compatibility with IP-Front?
Select all that apply
You are planning to deploy a new Azure virtual machine named VM1 to host a critical application in the East US region.
You need to configure VM1 to meet the following requirements:
- Provide protection against a single datacenter outage within the region.
- Support automated backups of VM1 to a Recovery Services Vault named RSV1.
Which two actions should you perform? (Select two.)
Select all that apply
An administrator is configuring an Azure Virtual Machine Scale Set (VMSS) named `vmss-web` to support automatic operating system (OS) image upgrades. The scale set currently uses a custom image from an Azure Compute Gallery and is configured with a manual upgrade policy.
Which sequence of actions should the administrator perform to configure and apply automatic OS image upgrades to the existing instances?
Drag items to arrange them in the correct order
An administrator is designing a hybrid networking architecture to connect an on-premises datacenter to Azure using an ExpressRoute connection. The Azure environment consists of a hub virtual network (`VNet-Hub` with address space ) and a peered spoke virtual network (`VNet-Spoke` with address space ).
You plan to deploy an Azure Kubernetes Service (AKS) cluster into a subnet named `AKS-Subnet` () within `VNet-Spoke`. The cluster will host standard microservices and a specialized high-performance GPU-intensive workload.
You must configure the cluster to meet the following requirements:
* Pods must be allocated IP addresses from a private network range that does not consume IP addresses from the `VNet-Spoke` address space.
* The Kubernetes API server must be accessible only via a private IP address within the virtual network.
* The specialized GPU-intensive workload must run on a dedicated node pool named `gpu-pool`, and no standard microservice pods may be scheduled on the GPU nodes.
Which of the following configurations should you implement to meet the requirements? (Select two.)
Select all that apply
Solaris Energy Partners has an Azure subscription named sub-solaris-dev. The subscription contains an Azure Key Vault named kv-solaris-dev and a Storage account named sasolarisdev. The Key Vault has soft-delete enabled, purge protection disabled, and uses the Azure role-based access control (Azure RBAC) permission model.
You associate a user-assigned managed identity named uami-solaris-storage with sasolarisdev.
You need to configure sasolarisdev to use a customer-managed key stored in kv-solaris-dev by using uami-solaris-storage. The solution must follow the principle of least privilege.
Which configuration steps should you perform?
An administrator manages an Azure subscription. A resource group named `rg-analytics-prod` has a tag named `CostCenter: Finance` and a `ReadOnly` resource lock. Inside `rg-analytics-prod`, there is an Azure Storage account named `sa-analytics`.
The administrator needs to perform the following actions:
1. Verify the tags currently applied to the `sa-analytics` storage account.
2. Modify the configuration of `sa-analytics` to enable public network access.
Which of the following describes the outcome of these actions?
You are designing a new Azure virtual network named `vnet-finance-prod` with an address space of . You need to create a subnet named `snet-app` that must support at least 60 concurrent virtual machine instances. What is the smallest subnet size, represented by the largest CIDR prefix length, that you can assign to `snet-app` to satisfy this requirement?
An organization plans to host a public web application on two virtual machines named VM1 and VM2 in a single virtual network. VM1 is located in Availability Zone 1, and VM2 is located in Availability Zone 2. Both virtual machines require dedicated public IP addresses on their network interfaces to support direct administrative connections. You need to configure a public Azure Load Balancer to distribute incoming traffic to VM1 and VM2. Which configuration should you use for the load balancer and the virtual machine public IP addresses?
Your company has an Azure environment with a virtual network named `VNet-Corp` (). `VNet-Corp` contains three subnets:
* `Subnet-Web` ()
* `Subnet-DMZ` ()
* `Subnet-DB` ()
A virtual machine named `NVA1` is deployed in `Subnet-DMZ` to act as a firewall. `NVA1` has a single network interface with the private IP address . You must ensure that all traffic from `Subnet-Web` destined for `Subnet-DB` is routed through `NVA1` for security inspection, while ensuring other subnet traffic is unaffected by this custom routing configuration.
Which of the following actions should you perform? (Select TWO choices.)
Select all that apply
Your department uses a multi-tier Azure resource layout to manage corporate workloads. The layout contains the following hierarchy:
* Management Group: MG-Corp-Prod
* Subscription: Sub-AppServices
* Resource Group: RG-WebApps
* Virtual Machines: vm-frontend-01, vm-frontend-02
You are tasked with assigning permissions to a security group named App-Operators. The members of App-Operators must be able to perform the following tasks:
1. Start, stop, and restart the virtual machines in RG-WebApps.
2. View monitoring metrics and activity logs for all resources in the Sub-AppServices subscription.
You need to assign the appropriate built-in Azure roles to App-Operators. The solution must follow the principle of least privilege.
Which two role assignments should you configure? (Select two.)
Select all that apply
An Azure Storage account named saexports hosts a blob container named monthly-reports. A data analyst named Maria plans to use the AzCopy command-line utility to download files from the container by authenticating via Microsoft Entra ID. You need to identify the minimum Azure role-based access control (Azure RBAC) configuration that allows Maria to download the blobs. Which role assignment should you configure for Maria?
An administrator is deploying a public Azure Load Balancer using the Standard SKU. The administrator needs to configure the frontend IP configuration for the load balancer. Which Public IP address SKU must the administrator select to support this configuration?