All practice questions
1252 questions
A Microsoft Entra tenant contains the following resource hierarchy:
* Root Management Group
* Subscription: `sub-shared-infra`
* Resource Group: `rg-network-hub`
* Virtual Network: `vnet-core`
A user named Admin1 is assigned only the Global Administrator directory role in Microsoft Entra ID. Admin1 needs to assign the Network Contributor role to a group named NetOps at the `rg-network-hub` scope. Currently, Admin1 cannot view `sub-shared-infra` or `rg-network-hub` in the Azure portal.
Which action should Admin1 take to assign the role?
Your organization manages resources across a multi-layered Azure resource hierarchy. An administrator needs to configure permissions for various identities while strictly adhering to the principle of least privilege.
Match each security identity and business requirement to the most restrictive (least privilege) Azure Role-Based Access Control (RBAC) role and scope combination that satisfies the requirement.
Click a left item, then click its matching right item
Items
Matches
Meridian Transit plans to deploy a new critical scheduling application in the West Europe region. The application requires two virtual machines named `VM-Sched1` and `VM-Sched2`. The deployment must meet the following requirements:
- Protect the application against the failure of an entire datacenter.
- Achieve a virtual machine uptime Service Level Agreement (SLA) of .
Which configuration should you implement?
When deploying virtual machines in Azure, you must select the appropriate managed disk type for the OS and data disks based on performance and workload requirements. Match each Azure managed disk type to its primary characteristic.
Click a left item, then click its matching right item
Items
Matches
You plan to deploy an Azure Virtual Machine named VM1 in the East US region. VM1 will host a transaction-heavy database engine. You need to configure VM1 to satisfy the following requirements:
- Ensure the database files are stored on a disk that supports up to 80,000 IOPS and sub-millisecond latency.
- Protect the virtual machine against datacenter-wide failures.
- Allow VM1 to be placed in the backend pool of an existing public load balancer.
- Configure daily backups for the virtual machine.
Which configuration should you choose when deploying VM1?
Vortex Analytics is planning to deploy a new web application on Azure virtual machines in the North Europe region. The application requires a minimum virtual machine uptime SLA of and protection against datacenter-wide failures. You will deploy multiple virtual machines named VM-App-Prod1, VM-App-Prod2, and VM-App-Prod3. You need to configure the high availability and load balancing solution. Which of the following configuration steps should you perform? Select two.
Select all that apply
You configure the Azure resource hierarchy for a business unit. The hierarchy includes a Management Group named Global-MG, an Azure subscription named Sub-Finance, and two resource groups named RG-Core and RG-Sandbox.
You assign the 'Allowed locations' Azure Policy definition to Sub-Finance. The policy definition is configured to permit resource creation only in the East US or West US regions. You add RG-Sandbox to the exclusion list (Not Scopes) of this policy assignment.
What is the result when an administrator attempts to deploy a new storage account in the West Europe region within RG-Sandbox?
You need to generate a Shared Access Signature (SAS) token for an Azure Storage account. The access must be restricted to secure connections only and limited to a specific client network range.
Which two settings should you configure when generating the SAS token?
Select all that apply
You manage a Microsoft Entra ID tenant named corp.litware.com. The tenant contains the following:
* An administrative unit named AU1.
* A security group named Group1.
* A security group named Group2 that is a nested member of Group1.
* Standard internal member users and B2B guest users.
You need to configure the tenant to satisfy the following security and administration requirements:
1. Only the users in Group1 and Group2 must be permitted to use Self-Service Password Reset (SSPR).
2. Internal member users must be able to invite guest users, but B2B guest users must be blocked from inviting other guest users.
3. Guest invitations must be permitted only to the partner.com domain.
Which three actions should you perform? Each correct answer presents part of the solution.
Select all that apply
Contoso Corp has an Azure subscription containing a Key Vault named contosokey1 and a Storage Account named contosodata1. You plan to configure contosodata1 to use customer-managed keys (CMK) stored in contosokey1 to encrypt storage data.
Which two features must be enabled on contosokey1 before you can configure CMK encryption? (Select two.)
Select all that apply
An administrator is configuring autoscale rules for an Azure Virtual Machine Scale Set (VMSS) named `vmss-backend`. The scale-out rule is configured to add `` instances when the average CPU utilization exceeds ``. The administrator wants to configure a scale-in rule that decreases the instance count while preventing instance thrashing (continuous launching and terminating of VMs).
Which CPU utilization threshold should the administrator set for the scale-in rule?
Your company has an Azure subscription containing a resource group named RG1. RG1 contains an Azure Storage account named corpstorage1 that hosts a blob container named reports. You have an Azure virtual machine named VM1 that has a system-assigned managed identity enabled. You deploy a custom application on VM1. The application must perform the following tasks:
1. Retrieve a list of blobs from the reports container.
2. Generate a User Delegation SAS token to allow temporary read access to individual reports in the container.
You need to configure the minimal role assignments to allow the application on VM1 to perform these tasks using Microsoft Entra ID authentication under the principle of least privilege. Which two role assignments should you configure?
Select all that apply
You are designing the configuration management and deployment workflows for virtual machines (VMs) in a Microsoft Azure subscription.
Match each administrative requirement to the most appropriate Azure Virtual Machine feature or tool. (To answer, match the appropriate tool on the right to the requirement on the left. Each tool may be used once, more than once, or not at all.)
Click a left item, then click its matching right item
Items
Matches
An administrator has a standard General Purpose v2 (GPv2) storage account named stprodwest in the West US region with Geo-redundant storage (GRS) enabled. Due to a disaster in the primary region, the administrator performs a customer-managed failover of the storage account to the secondary region (East US).
Which of the following describes the replication state of the storage account immediately after the failover completes, and the action required to restore replication to the secondary region?
The Azure resource hierarchy for a retail company consists of the following components:
* Management Group: `MG-Corporate`
* Subscription: `Sub-Production`
* Resource Group: `RG-Web-Apps`
An IT administrator named Admin1 is assigned only the Global Administrator role in the Microsoft Entra ID tenant.
Admin1 must delegate permissions to a development team by assigning the Contributor role at the `RG-Web-Apps` scope. However, Admin1 is currently unable to view `Sub-Production` or `RG-Web-Apps` in the Azure portal.
Which action should Admin1 perform to ensure they can assign the role?
You are planning to delegate user management tasks in a Microsoft Entra ID tenant. You need to create a new group named Identity-Managers and assign the User Administrator role directly to this group. Which configuration is required for the Identity-Managers group?
Your organization's Azure environment features the following resource hierarchy:
- Tenant Root Group (Management Group)
- IT-MG (Management Group)
- Production-Sub (Subscription)
- App-RG (Resource Group)
You configure a system-assigned managed identity for an Azure App Service instance inside App-RG. You need to grant this managed identity the ability to view the configuration of all resources within App-RG. The identity must not be allowed to modify any resource configurations or change role assignments.
Which Azure role and scope should you assign to the managed identity to meet these requirements while adhering to the principle of least privilege?
An organization is configuring access control for its Azure environment. You have the following Azure resource hierarchy and assignments:
* Subscription1
* ResourceGroup1
* StorageAccount1 (contains a blob container named container1)
* ResourceGroup2
* VM1 (Virtual Machine)
You configure the following identity and access management settings:
- User1 is assigned the Microsoft Entra ID Global Administrator role.
- User1 is assigned the Storage Blob Data Reader role at the scope of Subscription1.
- User1 is assigned the Reader role at the scope of ResourceGroup2.
Which of the following actions can User1 perform? (Select two.)
Select all that apply
A company implements an Azure Storage account named `stbackupshare` to store business data. The storage account's firewall is configured to allow access only from a subnet named `Subnet-App` within the virtual network `VNet-Core`. Azure Backup is configured to back up the file shares in `stbackupshare`, but the backup jobs fail with a network access error. Which configuration adjustment must be made to allow Azure Backup to successfully back up the files?
An administrator is configuring an Azure Virtual Machine Scale Set (VMSS) named `vmss-processing` to handle a variable batch-processing workload. The VMSS must meet the following requirements:
- Use Flexible orchestration mode to allow a mix of Spot and Standard virtual machines.
- Support Azure Autoscale to dynamically increase and decrease the number of instances based on CPU utilization.
Which two settings must be configured on `vmss-processing` to support automatic scaling? Select two.
Select all that apply