All practice questions
1252 questions
You have three Azure virtual networks: VNet-Production (), VNet-Shared (), and VNet-Database (). VNet-Production is peered with VNet-Shared, and VNet-Shared is peered with VNet-Database. No virtual network gateways or network virtual appliances are deployed in the virtual networks. Statement: A virtual machine deployed in VNet-Production can communicate with a virtual machine deployed in VNet-Database over the peering connections. Is this statement true or false?
You manage an Azure subscription that contains a Premium storage account named sa-corp-files in the East US 2 region. The storage account hosts two file shares: an SMB file share named records-smb and an NFS file share named records-nfs. The firewall of sa-corp-files is enabled and configured to allow traffic only from selected virtual networks and IP addresses. The option 'Allow trusted Microsoft services to access this storage account' is currently disabled. You have a Recovery Services vault named rsv-corp-backup in the East US 2 region. Your user account is assigned the Backup Operator role at the resource group level containing all these resources. You need to configure a backup policy in rsv-corp-backup to back up the supported file shares in sa-corp-files while ensuring the minimum administrative permissions are assigned. Which of the following actions should you perform?
An administrator manages an Azure virtual machine named vm-analytics that runs Windows Server 2022. The virtual machine has one OS disk and one data disk named disk-data-01, both of which are Azure Managed Disks. The virtual machine is backed up daily to a Recovery Services vault named vault-prod. The data disk disk-data-01 becomes corrupted due to a database write error. The administrator needs to restore the data disk to its state from a backup taken yesterday. The restore process must meet the following requirements:
- The virtual machine vm-analytics must remain online and continue serving users.
- The restored disk must be attached to vm-analytics as a new data disk to allow data verification.
- Administrative effort must be minimized.
Which recovery configuration should the administrator select in the Azure portal?
You are planning to deploy a public Azure Load Balancer named LB1 to distribute incoming traffic across three virtual machines named VM1, VM2, and VM3. The virtual machines are deployed in different Availability Zones within the same virtual network.
You need to configure the load balancer and its frontend IP address.
Which two actions should you perform? Select two.
Select all that apply
You have an Azure subscription that contains an Azure Application Gateway named AppGW1. You need to configure diagnostic settings for AppGW1 to meet the following requirements:
- All Web Application Firewall (WAF) logs must be streamed to a third-party Security Information and Event Management (SIEM) system with minimal latency.
- All platform metrics must be archived for a minimum of 365 days at the lowest possible cost.
- WAF logs must not be archived in the storage account, and platform metrics must not be streamed to the SIEM system.
Which configuration should you use to meet these requirements?
An administrator is setting up a backup policy for a file share hosted in Azure. The resources are configured as follows:
- Storage Account: `sa-finance-prod` (Standard general-purpose v2, configured with a storage firewall restricting access to selected networks)
- File Share: `fin-share-main` (SMB file share)
- Region: East US
- Backup Target: A Recovery Services vault named `rsv-finance` in the East US region
During the backup configuration wizard inside the Recovery Services vault, the administrator cannot find the `sa-finance-prod` storage account to select it.
Which of the following actions will resolve this discovery issue?
An organization has an Azure virtual machine named VM-Sales-01 located in the East US region. The virtual machine is backed up to a Recovery Services vault named Vault-Sales with Cross-Region Restore (CRR) enabled. The secondary region is West US. Due to an outage in the East US region, you must recover the workload in the West US region using Azure Backup. Which restore options are available in the secondary region when configuring the restore in the Azure portal? (Select two.)
Select all that apply
An administrator is configuring monitoring and alerting for an Azure subscription containing several production virtual machines. The administrator has the following requirements:
1. Send an email notification to the operations team if CPU utilization exceeds 90% for a sustained period.
2. Trigger an external automation endpoint (webhook) securely using Microsoft Entra ID authentication if a virtual machine is deleted.
3. Temporarily disable notifications during scheduled weekly maintenance windows.
Which of the following statements regarding the behavior and configuration of these Azure Monitor alerts and Action Groups are correct? (Select two)
Select all that apply
A non-profit organization is deploying a public-facing event registration web application to Azure App Service. The hosting plan for the web application must meet the following requirements:
- Allow the application to be accessed using a custom domain with an SSL binding.
- Support scaling up to a maximum of 10 instances to handle traffic spikes during event registrations.
- Support at least one staging slot to perform testing before deploying to production.
You need to identify the most cost-effective App Service plan tier that meets all requirements.
Which App Service plan tier should you select?
Your company plans to deploy an Azure Kubernetes Service (AKS) cluster named AKS1. The cluster will host a multi-tier application consisting of a web frontend and a database backend.
You need to configure AKS1 to meet the following requirements:
- The database backend pods must run only on a specific node pool named dbpool. No other pods must run on dbpool.
- Traffic between the frontend pods and the backend pods must be restricted using rules applied within the cluster.
Which two configurations should you implement? (Choose two.)
Select all that apply
An organization has an Azure subscription containing the following resources:
- `VM-App-01`: An Azure virtual machine located in the North Europe region. It has an attached managed disk named `Disk-Data-01`.
- `SA-Files-01`: A general-purpose v2 storage account located in the West Europe region, hosting an Azure File share named `Share-Assets-01`.
- `RSV-WE`: A Recovery Services Vault located in the West Europe region.
- `RSV-NE`: A Recovery Services Vault located in the North Europe region.
- `BV-NE`: A Backup Vault located in the North Europe region.
An administrator needs to configure backups for `VM-App-01` at the virtual machine level, `Disk-Data-01` at the independent disk level, and `Share-Assets-01` at the file share level.
Which configuration represents the correct vault alignment and prerequisite matching to back up these resources?
An administrator is configuring network security for a hub-and-spoke virtual network topology in Azure. The hub virtual network (VNet-Hub) contains an Azure Bastion host deployed in a subnet named `AzureBastionSubnet` (address prefix 10.1.0.0/26). The spoke virtual network (VNet-Spoke) hosts database virtual machines in a subnet named DB-Subnet (address prefix 10.2.0.0/24). VNet-Hub and VNet-Spoke are peered. You need to configure the Network Security Groups (NSGs) associated with both `AzureBastionSubnet` and DB-Subnet to allow administrators to establish RDP and SSH sessions to the database virtual machines using Azure Bastion. Which configuration should you apply to the NSGs?
A company runs a network architecture in Microsoft Azure. The layout consists of a virtual network named `VNet-Corp` () with three subnets: `Subnet-App` (), `Subnet-Db` (), and `Subnet-NVA` (). A firewall appliance named `NVA1` is placed in `Subnet-NVA` with a private IP address of .
You must ensure that all network packets originating from the application tier (`Subnet-App`) and destined for the database tier (`Subnet-Db`) are inspected by `NVA1`.
Which two actions should you perform? (Each correct answer presents part of the solution.)
Select all that apply
An administrator needs to analyze subscription activity logs in a Log Analytics workspace. The administrator must identify all successful deletions of Azure resource locks that occurred within the last 14 days.
Which of the following KQL queries will return the correct results? (Select two.)
Select all that apply
| where TimeGenerated > ago(14d)
| where OperationNameValue =~ "Microsoft.Authorization/locks/delete"
| where ActivityStatusValue =~ "Success"
| where TimeGenerated > 14d
| where OperationNameValue == "Microsoft.Authorization/locks/delete"
| where ActivityStatusValue == "Success"
| where TimeGenerated >= ago(14d)
| where OperationNameValue contains "locks/delete" and ActivityStatusValue == "Success"
| where TimeGenerated > ago(14d)
| select OperationNameValue, ActivityStatusValue, Caller
| where OperationNameValue == "Microsoft.Authorization/locks/delete" and ActivityStatusValue == "Success"
You have an Azure virtual machine named VM-App10 running Windows Server 2025. The VM is backed up to a Recovery Services vault. A user accidentally deletes a folder on VM-App10. You need to recover the deleted folder by using the File Recovery feature. Which of the following represents the correct sequence of steps you must perform to recover the folder?
Drag items to arrange them in the correct order
An organization deploys two virtual machines across different resource groups:
* `VM-App-East` in resource group `RG-East`, located in the East US region.
* `VM-Web-West` in resource group `RG-West`, located in the West US region.
The environment also contains two Recovery Services vaults:
* `RSV-East` in resource group `RG-Backups`, located in the East US region.
* `RSV-West` in resource group `RG-Backups`, located in the West US region.
You need to configure backups for both virtual machines. Which two configurations should you use? (Select two.)
Select all that apply
An organization deploys three virtual networks in the West US region:
* VNet-Sales with address space . VM-Sales is deployed in a subnet within VNet-Sales.
* VNet-Hub with address space . VNet-Hub contains no virtual machines or gateways.
* VNet-Finance with address space . VM-Finance is deployed in a subnet within VNet-Finance.
You configure a bidirectional virtual network peering between VNet-Sales and VNet-Hub. You also configure a bidirectional virtual network peering between VNet-Finance and VNet-Hub. There is no peering connection between VNet-Sales and VNet-Finance.
VM-Sales is unable to establish network communication with VM-Finance.
Which configuration change should you implement to allow VM-Sales to communicate directly with VM-Finance with the lowest latency?
An administrator is configuring a new Azure Kubernetes Service (AKS) cluster in an existing virtual network. The corporate network security team requires that all pods receive IP addresses that are directly routable within the virtual network. However, to conserve IP address space, the subnet allocated for the AKS cluster nodes is limited to a prefix, while a large number of pods must run on the cluster. Which AKS network configuration should you select to meet these requirements?
You are configuring diagnostic settings for a Recovery Services vault named Vault1 to enable Azure Backup Reports. You target a Log Analytics workspace and select the Resource-specific option.
Which of the following log categories must you enable to report on backup jobs and backup policies? Select two.
Select all that apply
You manage an Azure environment that includes a Recovery Services vault named `rsv-prod-eastus` in the East US region. Your department has a Premium storage account named `stfinprod` in the East US region. This storage account hosts two file shares:
1. `sharesmb` - an SMB-based file share.
2. `sharenfs` - an NFS-based file share.
The networking configuration of `stfinprod` has firewalls and virtual networks enabled, with access restricted to selected networks only. An administrator named Admin1 needs to configure Azure Backup for the file shares in `stfinprod` using the existing Recovery Services vault. Currently, Admin1 has only the `Backup Operator` role assigned on `rsv-prod-eastus` and the `Reader` role assigned on `stfinprod`.
You need to ensure that Admin1 can configure the backup successfully while maintaining the firewall restrictions on the storage account.
Which three of the following actions should you perform? (Select three.)
Select all that apply