All practice questions
1252 questions
You have an Azure subscription that contains a storage account named sadata2026. The storage account contains a blob container named reports. A user named User1 is assigned the following Azure role-based access control (RBAC) roles:
* Reader at the storage account scope
* Storage Blob Data Reader at the reports container scope
User1 logs into the Azure Portal, navigates to the reports container, and attempts to view the list of blobs. User1 receives an error indicating that they are not authorized to list the blobs. You need to ensure that User1 can view and download the blobs in the container using the least privilege.
Which action should you instruct User1 to perform?
You manage an Azure App Service web app named WebApp1 and an Azure Storage account named storage1. Access to storage1 is restricted by a firewall.
You need to configure WebApp1 to perform scheduled custom backups to storage1 using a secure, identity-based connection without exposing storage1 to the public internet.
Which five 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
An administrator configures secure network access to an Azure Storage account named stcorpdata. The administrator disables public network access to the storage account and deploys a Private Endpoint in Subnet-App within a virtual network named VNet-Core. A private DNS zone named privatelink.blob.core.windows.net is created and linked to VNet-Core, containing a DNS A record pointing stcorpdata.blob.core.windows.net to the private IP address of the Private Endpoint.
An Azure Virtual Machine named VM-App is deployed in a peered virtual network named VNet-Spoke. Although the virtual network peering between VNet-Core and VNet-Spoke is successfully established, applications on VM-App cannot connect to the storage account because they resolve stcorpdata.blob.core.windows.net to its public IP address instead of its private IP address.
What should the administrator do to resolve the DNS resolution issue from VM-App?
An organization requires a new Azure virtual machine to host a database. To protect the database against the failure of an entire datacenter building within the chosen region, which configuration option should be specified when provisioning the virtual machine?
Your company has an Azure environment with the following resource hierarchy:
* Tenant Root Group (Management Group)
* Finance-MG (Management Group)
* Sub-Finance (Subscription)
* RG-Core (Resource Group)
* RG-Archive (Resource Group)
* storarchive (Storage Account)
You need to grant permissions to a user named User1 to perform the following tasks:
1. Manage virtual machines located in RG-Core.
2. Configure Azure Backup for the virtual machines in RG-Core, which includes creating a new Recovery Services vault inside RG-Core.
3. Read and write blob data within the containers of the storarchive storage account.
You must follow the principle of least privilege.
Which role assignments should you configure?
An administrator is configuring a new virtual machine named VM1 in the East US region. The deployment has the following requirements:
- The OS disk must be deployed as an Ephemeral OS disk using the virtual machine's local temp disk to reduce read/write latency.
- The virtual machine must use the Standard_D4s_v5 size, which features vCPUs, GB of RAM, a GB cache limit, and a GB temp disk.
- The operating system must be deployed using a custom Windows Server 2022 image that has a size of GB.
What is the result when the administrator attempts to deploy this virtual machine?
An administrator is planning the deployment of a new virtual machine named VM-Prod1 in the East US region. The virtual machine will host a database workload. The deployment must satisfy the following requirements:
- Use Ultra Disk storage for the database log files.
- Provide high availability with infrastructure protection against datacenter-wide failures.
- Position the virtual machine backend pool behind a public-facing load balancer.
- Configure daily backups for VM-Prod1.
You currently have an active Recovery Services Vault named RSV1 located in the West US region and a Public Load Balancer named LB1 configured with the Basic SKU.
Which configuration must you select to meet all deployment requirements?
You have an Azure subscription that contains a resource group named RG1. Inside RG1, you create a virtual network named VNet1. VNet1 has a subnet named Subnet1 with an address space of . You need to deploy a resource in Subnet1 and configure it with a static IP address of . Is the statement true that you can assign the IP address to the resource?
You configure an Azure virtual network with an address space of and create a subnet named Subnet1 with the address range . Is the statement 'The maximum number of usable IP addresses for Azure resources in Subnet1 is 59' true or false?
Your company has an Azure subscription containing a resource group named RG1. You plan to deploy a new virtual network named VNet1 in RG1. VNet1 will use the address space.
You need to configure subnets within VNet1 to support the following requirements:
- Subnet-Web: Must support at least virtual machines.
- Azure Bastion: Must be deployed to secure management access.
- VPN Gateway: Must be deployed to support hybrid connectivity.
To conserve IP addresses for future subnets, you must minimize the address space allocated to each subnet.
Which subnet configuration should you use?
An organization implements Microsoft Entra ID. You are tasked with delegating administrative duties for a specific subset of employees. A helpdesk worker named Alex must be able to perform password resets, modify profile fields, and assign licenses for users in the Finance department only. Alex must not have administrative permissions over users in other departments. Which action should you perform?
You have an Azure App Service web app named App1. You need to configure a custom domain named www.contoso.com for App1 and secure it using a free Azure App Service Managed Certificate.
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
You need to use AzCopy to upload a folder from an on-premises client computer to a blob container named `data` in an Azure Storage account named `store1`.
The storage account is configured to restrict network access to selected networks.
You plan to authenticate AzCopy using a Microsoft Entra ID service principal named `AzCopySP`.
Which five actions should you perform in sequence? To answer, arrange the actions in the correct order.
Drag items to arrange them in the correct order
An administrator is deploying several Azure virtual machines (VMs) and must configure their storage, boot architecture, and encryption capabilities. How should the administrator match each Azure VM feature on the left with its correct description on the right?
Click a left item, then click its matching right item
Items
Matches
An organization, Titan Sports, is planning the deployment of a new multi-tier application in the Australia East region. The application consists of four virtual machines: VM-Web1, VM-Web2, VM-App1, and VM-App2. The deployment must guarantee a uptime SLA at the virtual machine level and protect the application against datacenter-wide failures. Which configuration should you implement?
An administrator is tasked with configuring a custom domain name for an Azure App Service web app named App1. The web app is currently hosted on a Free (F1) App Service plan. The administrator needs to ensure that App1 can use the custom domain.
What is the first action the administrator must take?
An Azure subscription contains two resource groups named rg-network and rg-data.
The resource groups have the following configurations:
- rg-network: Has a CanNotDelete lock and is tagged with CostCenter value . It contains a virtual network named vnet-core.
- rg-data: Has a ReadOnly lock and is tagged with CostCenter value . It contains a storage account named sa-logs.
Neither vnet-core nor sa-logs has any directly applied locks or tags.
Which of the following statements are correct? (Select two.)
Select all that apply
Your company has an on-premises datacenter connected to an Azure virtual network using a Site-to-Site VPN. An on-premises server named Server1 runs the Azure File Sync agent. You have an Azure storage account named storagedata1 that contains an Azure file share named share1. To comply with security policies, the firewalls and virtual networks settings for storagedata1 are configured to allow access only from selected networks. You need to ensure that Server1 can synchronize files with share1 over the VPN connection. Which of the following configurations should you implement?
You are deploying a new Azure virtual machine by using the Azure portal. You need to configure infrastructure redundancy for the virtual machine to protect the application from localized failures. Which two infrastructure redundancy options can you configure under the Availability options setting during VM creation? (Select two.)
Select all that apply
An administrator is designing a virtual machine deployment strategy in Azure to support a high-performance, multi-tier application. You need to map each architectural requirement to the correct Azure Virtual Machine configuration or feature. Match each requirement on the left to its corresponding configuration or feature on the right.
Click a left item, then click its matching right item
Items
Matches