All practice questions
1252 questions
You are configuring the Self-Service Password Reset (SSPR) policy for users in a Microsoft Entra ID tenant. You need to select the methods that users can use to reset their passwords. Which two of the following authentication methods can be enabled directly within the Microsoft Entra ID SSPR authentication methods policy?
Select all that apply
An organization uses an Azure subscription named `Contoso-Dev-Sub` for testing new applications. Inside `Contoso-Dev-Sub`, a resource group named `rg-sandbox-vms` contains several virtual machines.
You want to implement cost controls and governance policies that satisfy the following requirements:
- Automatically deallocate all virtual machines in `rg-sandbox-vms` when the actual monthly consumption reaches of the designated USD budget.
- Prevent administrators and developers from accidentally deleting the `rg-sandbox-vms` resource group or its contents.
- Allow developers to continue starting, stopping, and resizing the virtual machines as needed, provided the budget threshold has not been exceeded.
Which administrative actions should you perform to meet these requirements?
You are configuring a new monthly budget in Azure Cost Management to monitor spending on an Azure subscription. You want to ensure that the administration team is notified when the spending threshold is exceeded.
Which of the following components can be configured directly within the budget alert settings to handle notifications or trigger actions? Select TWO.
Select all that apply
Your company has a Microsoft Entra ID tenant. You need to delegate user and license administration tasks for the Sales department. The solution must meet the following requirements:
- A user named Admin1 must be able to reset passwords and manage license assignments for users in the Sales department.
- Admin1's administrative permissions must be restricted to the Sales department users only.
- Licensing conflicts for Sales department users must be resolved by prioritizing group-based licensing over direct assignments.
Which four actions should you perform in sequence? (To answer, arrange the appropriate actions from the list of actions in the correct order.)
Drag items to arrange them in the correct order
Your organization needs to migrate files from an on-premises server to a container named uploads in an Azure Storage account named corpstore. The on-premises server connects to the internet via a public IP address of .
The firewall for the corpstore storage account is configured as follows:
- Allowed networks: 'Enabled from selected virtual networks and IP addresses'
- Allowed IP addresses: None
- Exception: 'Allow Azure services on the trusted services list to access this storage account' is selected.
You log in to the server, install AzCopy, and run the command `azcopy login` using an administrator account that has been assigned the 'Contributor' and 'Reader and Data Access' roles at the storage account level. When you run `azcopy sync "/data" "https://corpstore.blob.core.windows.net/uploads"`, the synchronization fails with network and authorization errors.
Which combination of actions will allow the synchronization to complete successfully using Microsoft Entra ID authentication?
You manage a standard General Purpose v2 (GPv2) storage account named `streports2026` in the North Europe region. The storage account is configured with Locally-Redundant Storage (LRS) and contains a container named `finance`.
You have the following requirements:
1. Replicate the storage account data to the West Europe region and ensure the data is immediately readable in the secondary region.
2. Automatically transition blobs in the `finance` container to the Cool tier 30 days after modification, and delete them after 365 days.
Which of the following actions should you perform? (Select TWO.)
Select all that apply
You manage an Azure Storage account named storagedata. An external partner application requires temporary access to read and write blobs in a container named incoming. You must generate a Shared Access Signature (SAS) that meets the following security requirements:
- The access token must be immediately revoked if the primary storage access key (key1) is rotated.
- The access token must remain valid if the secondary storage access key (key2) is rotated.
- The partner application must only be allowed to connect from the public IP address .
In the Azure portal, you set the allowed protocols to HTTPS only. Which two configurations should you select to generate the SAS? (Select two.)
Select all that apply
Solaris Grid plans to deploy a new web application in the Japan East region. The deployment requires three virtual machines named VM-App1, VM-App2, and VM-App3. The application must achieve a virtual machine uptime SLA of . You need to configure a high-availability solution and a load balancer to distribute traffic across the virtual machines. Which configuration should you implement?
An administrator needs to configure secure access to a blob container named confidential in an Azure Storage account named corpstore104 for an external partner application. The solution must meet the following requirements:
- The partner application must only be allowed to read and list blobs in the container.
- Access must be granted for a maximum of 8 hours.
- Access must be restricted to the partner application's public IP address range of using HTTPS only.
- In accordance with the least-privilege security policy, access must be authorized using a Microsoft Entra ID security principal rather than the storage account's shared access keys.
Which two actions should the administrator perform?
Select all that apply
An administrator is setting up Azure File Sync. The administrator configures a storage account to restrict network access using a firewall. To allow the Azure File Sync service to access the Azure file share inside this secured storage account, which setting should the administrator enable on the storage account's firewalls and virtual networks configuration?
An Azure subscription contains a resource group named RG-Gov. A tag with the key-value pair Dept: Finance is applied to RG-Gov, and a ReadOnly lock is placed on the RG-Gov scope. Within RG-Gov, you deploy an Azure Storage account named store1 with no direct locks or tags.
An administrator asserts that if they query resources using the Dept: Finance tag, store1 will be included in the query results, and that they can rotate the access keys of store1 without removing the lock from RG-Gov.
Is the administrator's assertion correct?
You manage an Azure Virtual Machine Scale Set named `VMSS1` configured with Uniform orchestration mode. You configure an Azure Autoscale setting for `VMSS1` containing two profiles as shown in the following table:
| Profile Name | Minimum Capacity | Maximum Capacity | Scale-out Rule | Scale-in Rule | Schedule |
|---|---|---|---|---|---|
| Profile 1 (Default) | CPU > 80% (add 1) | CPU < 30% (remove 1) | Always active | ||
| Profile 2 (PeakHours) | CPU > 70% (add 2) | CPU < 40% (remove 2) | Monday-Friday, 08:00-18:00 |
On Monday at 07:55 AM, `VMSS1` has running instances, and the average CPU usage is . The average CPU usage remains stable at until 08:30 AM.
At 08:30 AM, what is the total number of running instances in `VMSS1`?
An administrator creates an Azure budget named Mgmt-Prod-Budget scoped to a management group named Prod-MG to monitor spending across multiple subscriptions. The administrator can configure Mgmt-Prod-Budget to trigger an Azure Action Group that executes a Logic App when the actual monthly cost reaches 100% of the budget.
An organization manages its Azure environment using a management group named Tenant-MG, which contains an Azure subscription named Sub-01. Sub-01 contains two resource groups named RG-Prod and RG-Dev.
You assign an Azure Policy definition that restricts allowed virtual machine SKUs at the Sub-01 subscription level. You add the RG-Dev resource group to the exclusion list of this policy assignment. A developer attempts to deploy a virtual machine with a disallowed SKU to the RG-Dev resource group.
What is the outcome of this deployment?
You manage a Microsoft Entra ID tenant. You configure the Self-Service Password Reset (SSPR) policy and set the enablement scope to a group named SSPR-Users. A user who is a direct member of the SSPR-Users group attempts to reset their password but receives an error indicating that they cannot reset their password. Which of the following is the most likely cause of this issue?
Your organization has an Azure active directory tenant integrated with an Azure resource hierarchy structured as follows:
- Production-MG (Management Group)
- Subscription-A (Subscription)
- RG-Secure (Resource Group)
- sa-audit (Storage Account)
- RG-Compute (Resource Group)
You must configure access for a security group named Audit-Admins to meet the following requirements:
1. Members must be able to assign Azure RBAC roles to other users only within the scope of RG-Secure.
2. Members must be able to view and download audit logs stored in the blob service of sa-audit. They must not be able to modify firewall settings, delete the storage account, or view access keys.
3. Members must be able to add and remove members from Microsoft Entra ID security groups used for auditing.
You must follow the principle of least privilege and minimize administrative overhead.
Which combination of role assignments should you configure?
An administrator is configuring a dynamic group in Microsoft Entra ID named Corporate-Marketing. The administrator wants the group to dynamically include all users from the Marketing department who are currently assigned a corporate Windows 11 laptop. The administrator attempts to save the following membership rule for a group with the membership type set to Dynamic User:
(user.department -eq "Marketing") -and (device.deviceOSVersion -startsWith "10.0.22")
Why does the configuration fail?
An administrator is configuring Azure File Sync to synchronize files between an on-premises Windows Server and an Azure file share named share-a in a storage account named storagea. The on-premises server connects to an Azure virtual network using a Site-to-Site VPN. To meet security requirements, all synchronization traffic must traverse the VPN connection instead of the public internet. The administrator creates a private endpoint for the Storage Sync Service in the virtual network. Which configuration must be completed to ensure the on-premises server can successfully synchronize files with share-a?
A developer is configuring a CI/CD pipeline that uploads build artifacts to a private blob container in an Azure Storage account. The pipeline requires access to upload these files but should not have administrative control over the storage account. You decide to generate a Shared Access Signature (SAS) token for this purpose.
To adhere to the principle of least privilege and secure access, which two settings should you configure? (Select two.)
Select all that apply
An administrator deploys an Azure Virtual Machine Scale Set (VMSS) named `vmss1` using the Uniform orchestration mode. The upgrade policy is set so that when the VMSS model is updated, existing virtual machine instances do not automatically receive the updates, while any new instances created by scaling out are deployed with the updated model. Which upgrade policy is currently configured for `vmss1`?