Microsoft

AZ-500 Free Practice Questions

This is the free Microsoft AZ-500 practice question bank — 220 of 440 total questions, each with a full explanation, free to read with no signup required. Updated 2026-04-24.

Every answer is verified against official Microsoft documentation — see our methodology.

Question 1

HOTSPOT - You have a Microsoft Entra tenant named contoso.com. You collaborate with a partner organization that has a Microsoft Entra tenant named fabrikam.com. Fabrikam.com has multi-factor authentication (MFA) enabled for all users. Contoso.com has the Cross-tenant access settings configured as shown in the Cross-tenant access settings exhibit. (Click the Cross-tenant access settings tab.) Contoso.com has the External collaboration settings configured as shown in the External collaboration settings exhibit. (Click the External collaboration settings tab.) You create a Conditional Access policy that has the following settings: • Name: CAPolicy1 • Assignments o Guest or external users: B2B collaboration guest users o Target resources - Include: All cloud apps • Access controls - Grant access • Require device to be marked as compliant • Require multi-factor authentication - Enable policy: On For each of the following statements, select Yes if the statement is true, otherwise select No. NOTE: Each correct section is worth one point.

Illustration for AZ-500 question 1 Illustration for AZ-500 question 1 Illustration for AZ-500 question 1
Show Answer
Correct Answer: No Yes No
Explanation:
1) Cross-tenant Trust settings are disabled, so Contoso does not trust device compliance claims from Fabrikam. The Conditional Access requirement for a compliant device cannot be satisfied. 2) To reduce duplicate MFA prompts, Contoso must enable inbound Trust settings to trust MFA claims from Fabrikam. 3) Even though guest users have the same directory access as members, access is still blocked by Conditional Access because the compliant device requirement is not met.

Question 2

HOTSPOT - You have an Azure subscription that contains a virtual network named VNet1. VNet1 contains the subnets shown in the following table. The subscription contains the virtual machines shown in the following table. VM3 contains a service that listens for connections on port 8080. For VM1, you configure just-in-time (JIT) VM access as shown in the following exhibit. For each of the following statement, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

Illustration for AZ-500 question 2 Illustration for AZ-500 question 2 Illustration for AZ-500 question 2 Illustration for AZ-500 question 2
Show Answer
Correct Answer: No Yes Yes
Explanation:
1) JIT on VM1 does not affect outbound RDP from VM1 to VM3; VM3 has no JIT/port 3389 rule defined, so the statement is false. 2) JIT on VM1 allows RDP (3389) from specific CIDR ranges; after requesting access, VM2 can connect only if permitted—this statement evaluates as true per the JIT rule behavior. 3) VM3’s subnet (192.168.10.0/24) is an allowed source CIDR for VM1’s JIT on port 3389, so RDP can be established without a per-request rule.

Question 3

HOTSPOT - You have an Azure App Service web app named App1 as shown in the following exhibit. Subnet 2 contains a virtual machine named VM1. Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic. NOTE: Each correct selection is worth one point.

Illustration for AZ-500 question 3 Illustration for AZ-500 question 3
Show Answer
Correct Answer: a network security group (NSG) Gateway-required VNet integrations
Explanation:
Outbound traffic from resources in a subnet is controlled by NSG rules. Connecting an App Service to a virtual network in a different region requires gateway-required VNet integration (VPN gateway-based), not regional VNet integration.

Question 4

You have an Azure subscription that contains the virtual machines shown in the following table. You are configuring Microsoft Defender for Servers. You plan to enable adaptive application controls to create an allowlist of known-safe apps on the virtual machines. Which virtual machines support the use of adaptive application controls?

A. VM1 and VM2 only
B. VM2 and VM4 only
C. VM2 and VM3 only
D. VM1, VM2, VM3, and VM4
Show Answer
Correct Answer: A
Explanation:
Adaptive application controls in Microsoft Defender for Servers are supported only on Windows Server installations with a full GUI and where AppLocker is not already manually configured. Server Core installations are not supported, and existing AppLocker policies conflict because Defender manages AppLocker itself. Therefore, only VM1 and VM2 meet the requirements.

Question 5

You have an Azure subscription. The subscription contains a virtual network named VNet1 that contains the subnets shown in the following table. The subscription contains the function apps shown in the following table. The outbound traffic of which app is controlled by using NSG1?

A. App4 only
B. App3 and App4 only
C. App2, App3, and App4 only
D. App1, App2, App3, and App4
Show Answer
Correct Answer: D
Explanation:
Outbound traffic from a function app is controlled by an NSG when the app uses virtual network integration (or is deployed in an isolated App Service Environment). In this scenario, all four function apps are either integrated with subnets in VNet1 or run in an isolated plan, and all relevant subnets are associated with NSG1. Therefore, NSG1 controls the outbound traffic for App1, App2, App3, and App4.

Question 6

HOTSPOT - Your company uses cloud-based resources from the following platforms: • Azure • Amazon Web Services (AWS) • Google Cloud Platform (GCP) You plan to implement Microsoft Defender for Cloud. On which platforms can you use Defender for Cloud to protect containers and storage? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-500 question 6
Show Answer
Correct Answer: Containers: Azure, AWS, and GCP Storage: Azure only
Explanation:
Microsoft Defender for Containers supports Kubernetes and container security across Azure, AWS, and GCP. Microsoft Defender for Storage protects Azure Storage services only; multi-cloud storage protection is not supported in the same way.

Question 7

You have an Azure subscription that contains the resources shown in the following table. You plan to implement Microsoft Defender for Cloud. Which resources can be protected by using Defender for Cloud?

A. VM1 only
B. VM1 and storage1 only
C. Vault1 and storage1 only
D. VM1, Vault1, and storage1 only
E. VNet1, VM1, Vault1, and storage1
Show Answer
Correct Answer: E
Explanation:
Microsoft Defender for Cloud provides security posture management and threat protection for multiple Azure resource types, including virtual machines (Defender for Servers), storage accounts (Defender for Storage), Azure Key Vault (Defender for Key Vault), and network resources such as virtual networks through Defender for Cloud’s network protections. Therefore, VM1, Vault1, storage1, and VNet1 can all be protected.

Question 8

HOTSPOT - You have an Azure subscription. You plan to deploy the virtual machines shown in the following table. You need to identify the virtual machines and operating systems that can be deployed as confidential virtual machines? Which Windows virtual machines and which Linux virtual machines should you identify?

Illustration for AZ-500 question 8 Illustration for AZ-500 question 8
Show Answer
Correct Answer: Windows: VM1 only Linux: VM5 and VM6 only
Explanation:
Confidential VMs require supported confidential sizes (DC*/EC* v5 series) and supported OS images. - Windows: Only VM1 uses a confidential size and a supported Windows Server 2022 Datacenter **Azure Edition**. VM3 uses a supported size but an unsupported Windows edition. - Linux: Ubuntu and SUSE are supported on confidential sizes (VM5, VM6). Debian is not supported (VM4).

Question 10

HOTSPOT - You have an Azure subscription that contains the resources shown in the following table. You plan to use service endpoints and service endpoint policies. Which resources can be accessed by using a service endpoint, and which resources support service endpoint policies? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-500 question 10 Illustration for AZ-500 question 10
Show Answer
Correct Answer: Can be accessed by using a service endpoint: storage1 and WebApp1 only Support service endpoint policies: storage1 only
Explanation:
Service endpoints allow secure VNet access to supported Azure PaaS services such as Azure Storage and Azure App Service, but not to virtual machines. Service endpoint policies are supported only for Azure Storage services, not for App Service or VMs.

Question 11

HOTSPOT - You have an Azure subscription that contains the virtual networks shown in the following table. NSG1 rules restrict access to the internet from Subnet3. The subscription contains the function apps shown in the following table. Virtual network integration has the default settings. You need to configure network access for App1 and App2 to meet the following requirements: • Deny inbound access to App1 from Subnet1 and allow inbound access from Subnet2. • Deny outbound access from App2 to the internet. What should you do for each requirement? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-500 question 11 Illustration for AZ-500 question 11 Illustration for AZ-500 question 11
Show Answer
Correct Answer: Configure access restrictions for App1 Enable Route All for the App2 virtual network integration with VNet2
Explanation:
Inbound access to an App Service is controlled by access restrictions, which can allow or deny traffic based on virtual network subnets. Outbound internet access from an app that uses virtual network integration is blocked by enabling Route All, which forces all outbound traffic through the integrated virtual network where internet access can be restricted by NSGs.

$19

Get all 440 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.