All practice questions
1252 questions
An administrator is managing a standard General Purpose v2 (GPv2) storage account named `strecords2026` in the West Europe region. The storage account currently uses locally-redundant storage (LRS) replication. The administrator needs to configure the storage account to use zone-redundant storage (ZRS) to protect against datacenter failures within the region. The configuration must be performed with no downtime and without migrating data to a new storage account. Which of the following actions should the administrator perform?
Your organization's Azure environment is structured with the following resource hierarchy:
- Tenant Root Group (Management Group)
- Corp-MG (Management Group)
- Corp-Sub (Subscription)
- Dev-RG (Resource Group)
- VM1 (Virtual Machine)
- Storage1 (Storage Account)
You need to assign Azure Role-Based Access Control (RBAC) roles to a developer named User1 at the Dev-RG scope. User1 must be able to start, stop, and restart VM1, and view the configuration settings of Storage1. User1 must not be able to delete or modify any other resources in the resource group.
Which two built-in Azure RBAC roles should you assign to User1 to meet the requirements while adhering to the principle of least privilege? Select two.
Select all that apply
A security audit requires an external analytics platform to pull diagnostic reports from a container named `audit-reports` in an Azure Storage account named `corpsecuredatalake`.
The following security policy rules must be enforced:
- The access credentials must be tied to a Microsoft Entra ID security principal to track token generation in activity logs.
- The connection must be restricted to the analytics platform's public IP address of `198.200.150.12`.
- The connection must enforce HTTPS-only traffic.
- The token's validity must not exceed 24 hours.
- The platform must only be permitted to view the list of files and download them.
Which two of the following actions are required to configure and authorize this access?
Select all that apply
Your organization uses a multi-tier Azure resource hierarchy structure. The hierarchy contains a Management Group named Corp-MG, a subscription named Finance-Sub under Corp-MG, and a resource group named Finance-Prod-RG inside Finance-Sub. A compliance team needs to audit role assignments and resource configurations. They must be able to:
1. View all resource configurations inside the Finance-Sub subscription.
2. Read all logs and role assignments inside Finance-Prod-RG.
3. Manage (create, delete, and update) role assignments specifically within Finance-Prod-RG.
They must not be able to modify any resource configurations or access data plane objects (such as reading storage blob data or key vault secrets). You need to configure role assignments for the compliance team's security group.
Which two role assignments should you configure to meet the requirements while adhering to the principle of least privilege? (Select two.)
Select all that apply
You need to deploy a new application that requires full administrative control over the operating system, including custom registry settings and background services. The application must also be protected from datacenter-wide outages. Which Azure resource configuration should you deploy?
An administrator is deploying Windows Server virtual machines in an Azure subscription. The subscription is configured as an Azure Dev/Test subscription. Determine whether the following statement is true or false: Applying Azure Hybrid Benefit for Windows Server to these virtual machines reduces their billing rate below the standard Linux virtual machine compute rate.
An administrator configures the following Azure resource hierarchy:
* A management group named `Contoso-Org-MG`
* A subscription named `Sub-Procurement-01` under `Contoso-Org-MG`
* Two resource groups within `Sub-Procurement-01` named `rg-operational-prod` and `rg-testing-dev`
The administrator configures two Azure Policy assignments:
1. Assignment 1: Assigns a policy definition that denies the deployment of virtual machines unless they use the `Standard_D8s_v5` or `Standard_D16s_v5` SKU. This policy is assigned at the `Contoso-Org-MG` management group scope, with an exclusion configured for the `rg-testing-dev` resource group.
2. Assignment 2: Assigns a policy definition that denies the deployment of resources unless they contain a tag named `DeptCode`. This policy is assigned at the `Sub-Procurement-01` subscription scope, with no exclusions configured.
A developer attempts to perform the following actions:
* Action 1: Create a virtual machine using the `Standard_D8s_v5` SKU and a tag named `DeptCode` in the `rg-operational-prod` resource group.
* Action 2: Create a virtual machine using the `Standard_B2s` SKU and a tag named `DeptCode` in the `rg-testing-dev` resource group.
* Action 3: Create a virtual machine using the `Standard_D16s_v5` SKU and no tags in the `rg-operational-prod` resource group.
* Action 4: Create a virtual machine using the `Standard_B2s` SKU and no tags in the `rg-testing-dev` resource group.
Which of the actions will succeed? (Select two)
Select all that apply
Zenith Trading plans to deploy a critical line-of-business application on Azure virtual machines in the East US 2 region. The application infrastructure must survive a local datacenter-wide outage and maintain a minimum virtual machine uptime SLA of . Which deployment configuration should you use to meet these requirements?
You are planning the deployment of several Azure virtual machines (VMs) for different workloads. Match each workload requirement to the appropriate Azure VM configuration feature.
Click a left item, then click its matching right item
Items
Matches
An administrator needs to configure permissions for a developer named User1 to access blob data in a storage account named devstorage99. The developer must be able to read blobs using Microsoft Entra ID authentication.
Which two built-in Azure role-based access control (RBAC) roles should the administrator assign to User1 to permit this data access? (Select two)
Select all that apply
You are configuring an Azure Virtual Machine Scale Set (VMSS) named `vmss-processor` that processes messages from an Azure Service Bus queue. The VMSS is configured with the following parameters:
- Orchestration mode: Flexible
- Upgrade policy: Manual
- Current instance count: 4
- Scale-in policy: Default
You need to configure autoscale rules to meet the following requirements:
1. Scale out by 2 instances when the average queue depth exceeds 1,000 messages.
2. Scale in by 1 instance when the average queue depth falls below 200 messages.
3. Prevent instance thrashing (frequent, consecutive scale-out and scale-in actions).
Which of the following configurations should you apply to the autoscale rules? (Select TWO.)
Select all that apply
You manage an Azure App Service web app named App1 that is hosted on a Basic (B1) App Service plan named ASP1. You need to configure App1 to automatically scale out up to a maximum of 8 instances when the average CPU utilization exceeds 80%. What should you do first?
A team configures an Azure resource group named `rg-billing-prod` by assigning a tag named `CostCenter: IT` and configuring a `CanNotDelete` lock on the resource group. The team then deploys a virtual network named `vnet-prod-01` inside `rg-billing-prod`.
What is the status of the tag and the resource lock on `vnet-prod-01`?
You have an Azure App Service web app named WebApp1 that is hosted on a Basic (B1) App Service plan. You need to configure a custom domain name for WebApp1 and enable daily automated backups of the web application. Which action should you perform first?
An administrator is deploying a new Azure virtual machine named VM1 in the West US 2 region. The deployment must meet the following requirements:
- Protect the virtual machine against datacenter-level failures.
- Automatically install a web server role immediately after the virtual machine is provisioned.
Which two configurations should the administrator select? (Select two.)
Select all that apply
Your company has an Azure environment that contains a management group named Tenant-MG. Tenant-MG contains an Azure subscription named Sub1. Inside Sub1, there is a resource group named RG-App.
You have a Microsoft Entra ID security group named App-Admins.
You need to ensure that members of App-Admins can manage Azure RBAC role assignments for resources within RG-App. The solution must follow the principle of least privilege and prevent App-Admins from managing role assignments for other resource groups in Sub1 or modifying the configuration of resources within RG-App.
Which administrative action should you perform?
You need to implement a hybrid file distribution solution using Azure File Sync. The environment consists of a local Windows Server 2025 file server and an Azure storage account containing an empty file share. You must deploy Azure File Sync to synchronize the local folder with the Azure file share. Which sequence of steps should you perform to complete the deployment and start synchronization?
Drag items to arrange them in the correct order
An administrator needs to configure secure private access to the blob service of an Azure Storage account named `ststorage1` from a virtual network named `VNet1`. The storage account must not be accessible over the public internet.
Which five actions should the administrator perform in sequence? To answer, arrange the actions in the correct order.
Drag items to arrange them in the correct order
You plan to implement group-based licensing for a set of new users in a Microsoft Entra ID tenant. You need to configure the group-based licensing workflow and ensure any potential license assignment issues are addressed. Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Drag items to arrange them in the correct order
Your organization has an Azure subscription containing a resource group named rg-finance. The resource group contains an Azure Storage account named stfinance2026. Inside stfinance2026, there is a blob container named audits. A security auditor named User1 needs to use the Azure portal to navigate to the storage account, view its configurations, and download reports from the audits container. User1 must authenticate using Microsoft Entra ID. Access keys and Shared Access Signatures (SAS) must be disabled and not used. You need to grant User1 the necessary access using the principle of least privilege. Which combination of Azure role assignments should you configure?