All practice questions
1252 questions
An administrator needs to restrict access to an Azure Storage account named stdatafiles2026 so that it is only accessible from a specific subnet named Subnet1 in a virtual network named VNet1. The configuration must use service endpoints.
Arrange the steps in the correct order to configure the network access.
Drag items to arrange them in the correct order
An administrator is configuring a swap with preview for an Azure App Service web app named WebApp1. WebApp1 runs on a Premium V3 App Service plan and has a production slot and a deployment slot named staging. Regional virtual network integration is configured as follows: the production slot is integrated with VNet1/Subnet1, and the staging slot is integrated with VNet1/Subnet2. An Azure SQL database named SQLDB1 is configured with a virtual network rule that allows connections only from VNet1/Subnet1. The App Setting DbConnectionString (with the Deployment slot setting checkbox unselected) points to SQLDB1 in the production slot and to TestDB in the staging slot. The administrator initiates a swap with preview from the staging slot to the production slot. During the preview phase of the swap, what will be the behavior when the application in the staging slot attempts to connect to a database?
An administrator is configuring access control for an Azure Storage account named corpdata2026 that hosts a blob container named audits.
A user named Auditor1 must be able to browse to the storage account in the Azure portal and download the blobs within the audits container. The configuration must satisfy the following constraints:
- Auditor1 must authenticate using Microsoft Entra ID.
- Auditor1 must not have read access to any other containers in the storage account.
- The solution must minimize permissions to adhere to the principle of least privilege.
Which two roles should you assign to Auditor1? (Select two.)
Select all that apply
An organization is planning to host two different web applications on Azure App Service:
* AppA is a development/testing application that requires a custom domain, custom SSL binding, testing in a staging environment prior to production swap, and up to 3 scale-out instances.
* AppB is a critical customer-facing API that requires 7 staging slots, automatic scaling up to 15 instances, and integration with an Azure Virtual Network to access on-premises resources via a VPN gateway.
You need to choose the most cost-effective App Service Plan tiers that satisfy the requirements for each application.
Which two pricing tiers should you choose? (Select two.)
Select all that apply
An administrator applies a tag named Dept: Marketing to an Azure resource group named rg-marketing. The resource group contains three virtual machines that do not have any tags applied.
Determine whether the following statement is true:
In Azure Cost Analysis, when filtering or grouping by the Dept: Marketing tag, the costs generated by the three virtual machines will be included in the results.
To protect a critical business application, an administrator plans to configure a daily scheduled backup for an Azure App Service web app named app-finance. The web app is currently hosted on a Basic (B1) App Service plan. When navigating to the backup configuration page in the Azure portal, the configuration options are disabled. Which action should the administrator perform first to resolve this issue?
An administrator is preparing to deploy Azure Bastion in a virtual network named . The virtual network has an address space of . The administrator needs to create the subnet for the Bastion host. The design must minimize the number of unused IP addresses while complying with all Microsoft requirements for Azure Bastion. Which subnet configuration should the administrator create?
An Azure subscription contains a resource group named `rg-prod-data`. You apply a tag named `Environment: Production` and a `ReadOnly` resource lock to `rg-prod-data`. The resource group contains an Azure Storage account named `storage1`. An administrator with owner permissions attempts to access `storage1`. Which of the following describes the governance behavior for `storage1`?
A company's infrastructure team is preparing to provision a virtual machine named VM-Finance in the East US region. The virtual machine must satisfy the following criteria:
- Provide protection against physical datacenter-wide outages within the region.
- Enable daily backups to be managed automatically via Azure Backup.
- Ensure that authorized administrative users can read files inside the virtual machine's associated storage account blob containers, while preventing users with subscription-level Contributor roles from having direct data-plane read access.
Which deployment configuration should the team implement for VM-Finance?
An administrator is configuring the network topology for a resource group named `RG-Core` in an Azure subscription. The resource group contains a virtual network named `VNet-Core`. The administrator must add a new subnet named `Subnet-Workloads` to `VNet-Core` to host exactly virtual machines, with each requiring a dedicated private IP address. No other resources will be placed in this subnet. To minimize IP address allocation, the subnet must use the smallest possible prefix that accommodates the virtual machines. Which subnet mask should the administrator choose?
An organization's infrastructure team is planning to deploy a hybrid cloud architecture in Microsoft Azure. The deployment includes a virtual network named VNet-Prod with an address space of . The virtual network must host three subnets to support the following requirements:
1. A subnet named GatewaySubnet to connect to an on-premises datacenter via an Azure VPN Gateway.
2. A subnet named AzureBastionSubnet to provide secure management access to virtual machines.
3. A subnet named Subnet-App to host application virtual machines. The application tier requires at least usable IP addresses for virtual machines, plus any Azure reserved addresses.
The team configures the subnets with the following CIDR blocks:
- GatewaySubnet:
- AzureBastionSubnet:
- Subnet-App:
Is the following statement true?
The proposed subnet configuration successfully meets the minimum prefix size requirements for GatewaySubnet and AzureBastionSubnet, and provides enough usable IP addresses for the application tier.
You need to create a new deployment slot named 'staging' for an Azure App Service web app named App1. Which sequence of actions should you perform in the Azure portal to achieve this? Arrange the steps in the correct order.
Drag items to arrange them in the correct order
Your company has an Azure Storage account named `sa-prod-backup` that stores database backups in a blob container named `db-dumps`. To comply with security policies, the storage account has Shared Key authorization disabled (`AllowSharedKeyAccess` set to `false`).
An administrator needs to use AzCopy on a local machine to upload files to the `db-dumps` container. The administrator generates an Account Shared Access Signature (SAS) token using the Azure portal and signs it with the storage account access key. When running the `azcopy copy` command with the generated SAS token, the operation fails with an HTTP 403 (Authentication Failed) error.
You need to resolve the error and ensure that the administrator can successfully upload the files using AzCopy while adhering to the security policy of the storage account.
Which of the following actions should you perform?
Your organization, Tailwind Traders, plans to deploy Azure File Sync to centralize file shares from a local branch office file server named OAK-SRV01. You have already created a storage account named tailwindstorageacct and an Azure file share named sales-share. You need to configure Azure File Sync to synchronize the local directory D:\SalesData on OAK-SRV01 with sales-share.
Which sequence of actions should you perform to establish the synchronization?
Drag items to arrange them in the correct order
You are a Global Administrator for a Microsoft Entra ID tenant.
You need to delegate the management of a group of users in the Sales department to a local administrator named Admin1. Admin1 has no directory-wide roles. Admin1 must be able to update user profiles and manage group memberships for the Sales department.
Additionally, you need to implement group-based licensing for the Sales department users using a Microsoft 365 license. The configuration must prevent any license assignment errors due to missing user properties.
Which sequence of actions should you perform to meet these requirements?
Drag items to arrange them in the correct order
An administrator needs to deploy a containerized script to Azure Container Instances (ACI) that performs a one-time database backup. The script must run, complete the backup, and then stop. If the backup process fails, the container must attempt to run again. Which restart policy should the administrator configure for the container group?
A company plans to deploy a web application on virtual machines in the East US region. The application must remain online even if an entire datacenter building experiences a power outage.
Which configuration should be used to protect the virtual machines against datacenter-wide failures?
An administrator is configuring a custom domain for a web app named App1 that runs on a Standard S1 App Service plan. The DNS zone for the domain contoso.com is hosted in Azure DNS. You need to configure App1 to be accessible via https://www.contoso.com using a free App Service Managed Certificate. Which two actions should you perform? Select two.
Select all that apply
An administrator is configuring a public load balancer in Azure. The load balancer is configured with the Basic SKU. The administrator needs to configure the frontend IP and backend pool. Which of the following configurations are supported for this load balancer? (Select two.)
Select all that apply
An administrator is configuring a new Azure App Service web app named app-finance-prod that runs on a Premium V3 App Service plan. The administrator must implement the following requirements:
1. The web app must connect to an Azure SQL database using a private endpoint located in a subnet named db-subnet inside a virtual network named VNet1. Outbound database traffic from the web app must be secured.
2. The custom application settings and database connection strings must remain specific to the production environment and must not be copied or swapped when deploying updates via a deployment slot named staging.
3. To resolve the database's private endpoint FQDN, the web app must use a private DNS zone named privatelink.database.windows.net.
Which three configurations should the administrator perform?
Select all that apply