Microsoft

AZ-500 Free Practice Questions — Page 13

Question 129

You have an Azure AD tenant. The tenant contains users that are assigned Azure AD Premium P2 licenses. You have a partner company that has a domain named fabrikam.com. The fabrikam.com domain contains a user named User1. User1 has an email address of You need to provide User1 with access to the resources in the tenant. The solution must meet the following requirements: • User1 must be able to sign in by using the credentials. • You must be able to grant User1 access to the resources in the tenant. • Administrative effort must be minimized. What should you do?

A. Create a user account for User1.
B. To the tenant, add fabrikam.com as a custom domain.
C. Create an invite for User1.
D. Set Enable guest self-service sign up via user flows to Yes for the tenant.
Show Answer
Correct Answer: C
Explanation:
Inviting User1 as a guest (Azure AD B2B) allows the user to sign in with their existing fabrikam.com credentials, after which you can assign access to tenant resources. This approach requires minimal administrative effort and does not require managing an external domain or creating a separate user account.

Question 130

HOTSPOT - You have an Azure subscription that contains the resources shown in the following table. You perform the following tasks: • Create a managed identity named Managed1. • Create a Microsoft 365 group named Group1. • Register an enterprise application named App1. • Enable a system-assigned managed identity for VM1. You need to identify which service principals were created and which identities can be assigned the Reader role for RG1. What should you identify? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-500 question 130 Illustration for AZ-500 question 130
Show Answer
Correct Answer: Service Principals: Managed1, VM1, and App1 only Identities: Managed1 and VM1 only
Explanation:
A service principal is created for user-assigned managed identities, system-assigned managed identities, and app registrations. Microsoft 365 groups do not create service principals. For Azure RBAC at a resource group, Reader can be assigned to managed identities and service principals, but not directly to Microsoft 365 groups in this context.

Question 132

SIMULATION - You need to ensure that the AzureBackupReport log for the Vault1 Recovery Services vault is stored in the WS12345678 Azure Log Analytics workspace. To complete this task, sign in to the Azure portal and modify the Azure resources.

Show Answer
Correct Answer: Azure portal → Recovery Services vaults → Vault1 Monitoring → Diagnostic settings → Add diagnostic setting Logs: select Azure Backup Reporting Data (AzureBackupReport) Destination: Send to Log Analytics workspace → WS12345678 Save
Explanation:
This configures a diagnostic setting on the Recovery Services vault so Azure Backup reporting logs are sent to the specified Log Analytics workspace for centralized monitoring and reporting.

Question 133

You have an Azure subscription that contains an Azure key vault. You need to configure the maximum number of days for which new keys are valid. The solution must minimize administrative effort. What should you use?

A. Azure Purview
B. Key Vault properties
C. Azure Blueprints
D. Azure Policy
Show Answer
Correct Answer: D
Explanation:
Azure Policy provides built-in Key Vault policies that enforce or audit the maximum validity period of keys (for example, ensuring keys are not active longer than a specified number of days). This centrally enforces the requirement across vaults with minimal administrative effort. Key Vault properties do not offer a setting to globally define maximum key validity, and the other options are unrelated.

Question 134

You have an Azure subscription. You plan to deploy a new Conditional Access policy named CAPolicy1. You need to use the What if tool to evaluate how CAPolicy1 wall affect users. The solution must minimize the impact of CAPolicy1 on the users. To what should you set the Enable policy setting for CAPolicy1?

A. Off
B. On
C. Report only
Show Answer
Correct Answer: C
Explanation:
To evaluate a new Conditional Access policy using the What If tool while minimizing user impact, the policy must not be enforced. Setting the Enable policy option to **Report only** allows Azure AD to simulate and log how the policy would apply without affecting user sign-ins, enabling safe evaluation before enforcement.

Question 135

HOTSPOT - You have an Azure Active directory tenant that syncs with an Active Directory Domain Services (AD DS) domain. You plan to create an Azure file share that will contain folders and files. Which identity store can you use to assign permissions to the Azure file share and folders within the share? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-500 question 135
Show Answer
Correct Answer: Azure file share: Azure AD only Folders in the file share: AD DS and Azure AD
Explanation:
Share-level permissions for Azure Files are assigned using Azure RBAC, which uses Azure AD identities. Folder and file permissions are enforced with NTFS ACLs over SMB, which rely on directory identities (AD DS) while still mapping to Azure AD–backed identities in a hybrid setup.

Question 136

HOTSPOT - You have an Azure subscription that contains two users named User1 and User2 and the blob containers shown in the following table. Policy1 is configured as shown in the following exhibit. You assign the roles for storage1 as shown in the following table. The storage1 account has the following shared access signature (SAS) named SAS1: • Allowed services: Blob • Allowed resource types: Container • Allowed permissions: Read, Write, List, Add, Create • Blob versioning permissions: enables deletion of versions • Allowed blob index permissions: Read/Write • Starr and expiry date/time: o Start: 12/1/2021 o End: 12/31/2021 For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

Illustration for AZ-500 question 136 Illustration for AZ-500 question 136 Illustration for AZ-500 question 136 Illustration for AZ-500 question 136
Show Answer
Correct Answer: Yes Yes No
Explanation:
SAS1 is a storage account SAS valid from Dec 1–31, 2021 with write permissions on containers. It is not linked to the stored access policy, so Policy1 and RBAC roles do not restrict SAS usage. Container2 has no policy, so write is allowed. Container1’s policy is irrelevant because SAS1 is independent. On Jan 10, 2022, SAS1 is expired, so read access is denied.

Question 137

HOTSPOT - You have an Azure subscription that contains the virtual machines shown in the following table. VNET1, VNET2, and VNET3 are peered with each other. You perform the following actions: • Create two application security groups named ASG1 and ASG2 in the West US region. • Add the network interface of VM1 to ASG1. The network interfaces of which virtual machines can you add to ASG1 and ASG2? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-500 question 137 Illustration for AZ-500 question 137
Show Answer
Correct Answer: ASG1: VM2 only ASG2: VM1, VM2, and VM4 only
Explanation:
Application Security Groups are regional resources. All NICs added to an ASG must be in the same region, and once the first NIC is added, all additional NICs must be from the same virtual network. ASG1 already contains VM1 (West US, VNET1), so only other NICs in West US and VNET1 can be added → VM2 only. ASG2 is empty and created in West US, so it can include NICs from any West US virtual network. VM1, VM2, and VM4 qualify. VM3 is excluded because it is in Central US.

Question 138

HOTSPOT - You have an Azure SQL database named DB1 that contains a table named Tablet. You need to configure DB1 to meet the following requirements: • Sensitive data in Table1 must be identified automatically. • Only the first character and last character of the sensitive data must be displayed in query results. Which two features should you configure? To answer, select the features in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-500 question 138
Show Answer
Correct Answer: Data Discovery & Classification Dynamic Data Masking
Explanation:
Data Discovery & Classification automatically identifies and labels sensitive data in the table. Dynamic Data Masking limits query results so that only partial values (such as first and last characters) of sensitive data are displayed.

Question 139

HOTSPOT - Your on-premises network contains the servers shown in the following table. You have an Azure subscription that contains multiple virtual machines that run either Windows Server 2019 or SLES. You plan to implement adaptive application controls in Microsoft Defender for Cloud. Which operating systems and platforms can you monitor? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-500 question 139 Illustration for AZ-500 question 139
Show Answer
Correct Answer: Operating systems: SLES and Windows Servers Platforms: Azure Arc-enabled servers and Azure virtual machines only
Explanation:
Adaptive application controls in Microsoft Defender for Cloud support both Windows Server and Linux (including SLES). The feature applies to Azure virtual machines and to non-Azure machines that are onboarded via Azure Arc. Hyper-V hosts or VMs are not monitored unless they are Azure VMs or Arc-enabled servers.

$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.