MicrosoftAssociate levelAZ-500Page 3 of 3

AZ-500 exam dumps: questions 201 to 273 of 273

Page 3 of the free AZ-500 question bank for the Microsoft Azure Security Technologies exam. Questions 201 to 273 are listed below, the first 5 in full with answers and explanations. Back to page 1 for the exam overview and FAQ.

Question bank last updated May 2025

Free AZ-500 practice questions

Questions 201 to 205 of 273

Pick an answer before you open the explanation. Each question also has its own page with a permalink.

AZ-500 Question 201

Select 2

You have an Azure App Service hosting a production website that uses an SSL certificate stored in Azure Key Vault. The certificate is soon expiring, so you want to ensure the certificate is automatically rotated in the Key Vault and seamlessly updated by the App Service. Which TWO actions must you perform to implement this automated certificate rotation solution?

  1. A

    Enable a system-assigned managed identity on the App Service and grant it certificate access in Key Vault

  2. B

    Configure the App Service to handle certificate rotation exclusively via Application Settings without referencing Key Vault

  3. C

    Set the Key Vault certificate lifecycle policy to 'Auto-Renew' with a valid issuer and appropriate notifications

  4. D

    Manually export the Key Vault certificate and re-import it to the App Service each time it expires

Show answer and explanation

Correct answers: A, C

Explanation

By enabling a managed identity and configuring Key Vault’s automatic certificate renewal, you let Azure handle certificate rotation transparently. Once the policy is configured for auto-renew, Azure Key Vault will acquire the new certificate from the trusted issuer, and App Service (via its managed identity) can retrieve the updated certificate. For more details, refer to Microsoft documentation on Managed Identities and Key Vault certificate lifecycle policies: https://learn.microsoft.com/azure/key-vault/certificates/certificate-lifecycle and https://learn.microsoft.com/azure/app-service/app-service-key-vault-references.

  • A. Correct.

    Correct. Enabling the system-assigned managed identity and granting it the appropriate Key Vault access (e.g., get and list permissions) ensures the App Service can securely retrieve the certificate from Key Vault when it updates.

  • B. Incorrect.

    Incorrect. Simply configuring App Service Application Settings without referencing Key Vault does not enable automatic retrieval or rotation of certificates. You must integrate the Key Vault reference to automate this process.

  • C. Correct.

    Correct. Key Vault can automatically renew certificates with a valid issuer if you configure the lifecycle policy (auto-renew). This setup ensures the service handles renewals and even allows for notifications before expiration.

  • D. Incorrect.

    Incorrect. Manually exporting and re-importing the certificate each time it expires defeats the purpose of automation. Key Vault’s certificate lifecycle management is designed to avoid manual updates.

AZ-500 Question 202

Single answer

You manage an application that uses an RSA key stored in Azure Key Vault for encrypting sensitive data. A new security mandate requires that the key be automatically rotated every 90 days to meet compliance requirements. Additionally, you want to avoid complex manual oversight. Which approach best satisfies these requirements with minimal administrative overhead while ensuring the application continues to function correctly during the rotation process?

  1. A

    Configure a rotation policy for the RSA key in Azure Key Vault to automatically rotate every 90 days and optionally send notification before rotation.

  2. B

    Create a scheduled script in Azure Automation to forcefully delete the old key version every 90 days and manually create a new key version at that time.

  3. C

    Use role assignments in Azure Active Directory (Azure AD) to enforce key rotation by disabling access to keys older than 90 days.

  4. D

    Manually generate a new key version in the Azure portal every 90 days and update all applications immediately.

Show answer and explanation

Correct answer: A

Explanation

Azure Key Vault offers a built-in rotation policy feature that automates the creation of a new key version on a specified schedule (such as every 90 days). It also allows you to configure notifications when rotation is due, reducing administrative effort while ensuring compliance. Reference: https://learn.microsoft.com/azure/key-vault/keys/how-to-rotate-keys

  • A. Correct.

    Correct. Azure Key Vault now supports built-in key rotation policies. You can set the rotation interval to 90 days and configure notifications. This provides an automated and low-overhead approach that doesn’t disrupt the application because older key versions remain accessible until you choose to disable them, ensuring continuity.

  • B. Incorrect.

    Incorrect. While Azure Automation could rotate keys, you would still have to delete and recreate them manually or via scripts, leading to higher administrative overhead. Additionally, forcefully deleting old keys could break applications still referencing the older key version.

  • C. Incorrect.

    Incorrect. Azure AD role assignments do not directly handle key lifecycle management or enforce rotation schedules on specific keys. They control who can access or manage the keys, but they do not rotate the keys themselves automatically.

  • D. Incorrect.

    Incorrect. Manually rotating the key every 90 days is prone to human error and requires constant supervision. It also increases the risk of disruption if an administrator forgets or is unavailable.

AZ-500 Question 203

Single answer

You have an Azure Key Vault containing an RSA key used to encrypt data at rest in an Azure Storage account. The security policy requires automatically rotating the key every 90 days. You configure the rotation policy in the Key Vault portal, but after 95 days, you notice the key has not rotated. Which of the following steps must you perform to ensure that Azure Key Vault automatically rotates the key on a 90-day schedule?

  1. A

    Create a new version of the key in Key Vault manually every 90 days and use an Event Grid subscription to notify administrators of the old key version.

  2. B

    Enable the Key Vault's key rotation policy by adding a lifetime action of type 'Rotate' and setting 'timeAfterCreate' to 90 days.

  3. C

    Configure a Key Vault firewall rule to block all access except for a scheduled script that invokes the Set-AzKeyVaultKey command every 90 days.

  4. D

    Disable soft delete on the Key Vault and rely on Azure AD to force key rotation every 90 days.

Show answer and explanation

Correct answer: B

Explanation

Azure Key Vault supports a built-in rotation policy that automatically generates a new key version on a specified schedule. To use it, you must configure a lifetime action of type 'Rotate' within the key rotation policy, typically specifying 'timeAfterCreate' or 'timeBeforeExpiry' for triggering. Reference: Microsoft Docs - 'Configure key rotation and expiration policies in Azure Key Vault.' Properly using these policies ensures that your keys rotate automatically without requiring manual intervention.

  • A. Incorrect.

    Option 1 is incorrect. Manually creating a new key version every 90 days relies on manual intervention and does not leverage the built-in rotation policy in Azure Key Vault. While an Event Grid subscription can notify administrators, it does not enable automatic rotation.

  • B. Correct.

    Option 2 is correct. To ensure automatic rotation, you must configure a key rotation policy in Azure Key Vault with a 'Rotate' lifetime action set for a specific interval (e.g., 'timeAfterCreate' of 90 days). This properly instructs Key Vault to generate a new key version automatically.

  • C. Incorrect.

    Option 3 is incorrect. While you can rotate keys using scripts, creating a scheduled script and blocking access via firewall rules is a more manual approach and does not reflect the built-in key rotation policy, which is specifically intended to automate this process.

  • D. Incorrect.

    Option 4 is incorrect. Disabling soft delete and relying on Azure AD does not enable automatic key rotation. Soft delete and Azure AD access policies serve different security functions and do not replace the rotation policy feature.

AZ-500 Question 204

Select 2

Your financial services company uses Azure Key Vault to store the encryption keys for a critical application. The application processes sensitive data, and the risk team requires that all keys rotate automatically every 90 days. They also want an email alert 14 days before each key’s scheduled rotation so they can review usage logs. You plan to set up an automatic rotation policy in Azure Key Vault and configure alerts. Which of the following steps should you implement to meet these requirements? (Choose two.)

  1. A
    1. Configure a rotation policy in Azure Key Vault with an 'expiryTime' set to 90 days for the target key.
  2. B
    1. Subscribe to the near-expiry event in Azure Key Vault via Event Grid and trigger an email notification 14 days before expiration.
  3. C
    1. Enable Microsoft Defender for Key Vault (formerly advanced threat protection) to automatically rotate keys and send pre-rotation alerts.
  4. D
    1. Deploy an Azure Policy assignment to forcibly rotate Key Vault keys older than 90 days.
Show answer and explanation

Correct answers: A, B

Explanation

To configure key rotation in Azure Key Vault, you must set up a rotation policy that defines key expiration (e.g., 90 days) and create a corresponding notification mechanism. Azure Event Grid provides the near-expiry event, which can be used to alert or automate workflows before a key's scheduled rotation. Refer to Microsoft documentation on 'Manage rotation policy in Key Vault' for detailed steps and best practices.

  • A. Correct.

    Option 1 is correct. Azure Key Vault provides a built-in rotation policy that allows you to specify 'expiryTime' for keys. Setting this to 90 days ensures that the key rotation process occurs automatically at the specified interval.

  • B. Correct.

    Option 2 is correct. To send email alerts before the key expires, you can use Azure Event Grid subscriptions with Key Vault’s near-expiry event. Configuring this event to trigger 14 days before the key’s expiration fulfills the notification requirement.

  • C. Incorrect.

    Option 3 is incorrect. Enabling Microsoft Defender for Key Vault helps detect potential threats and intrusions but does not rotate keys automatically or provide pre-rotation alerts. It focuses on security insights rather than key lifecycle management.

  • D. Incorrect.

    Option 4 is incorrect. While Azure Policy can audit or deny non-compliant resources, it does not automatically rotate keys. Azure Policy is typically used to ensure resources follow organizational standards, not to enforce rotating keys on a fixed schedule.

AZ-500 Question 205

Single answer

Your organization needs to replicate certificates, secrets, and keys stored in an existing Azure Key Vault in Subscription A to a newly created Azure Key Vault in Subscription B for disaster recovery and compliance purposes. Both subscriptions belong to the same Azure AD tenant, and both Key Vaults use the Premium SKU. Which approach correctly accomplishes this backup and restore process?

  1. A

    Perform a backup of the existing Key Vault, securely store the backup file, and then restore it to the new Key Vault in Subscription B using the Azure Key Vault backup and restore functionality.

  2. B

    Use the built-in Azure portal feature to directly copy all secrets, keys, and certificates between the two Key Vaults in different subscriptions without performing a backup.

  3. C

    Enable soft delete on both Key Vaults and rely on the service to automatically synchronize secrets, keys, and certificates between Vault A and Vault B.

  4. D

    Generate new keys and certificates in the new Key Vault, as cross-subscription backup and restore is not supported even in the same tenant.

Show answer and explanation

Correct answer: A

Explanation

To properly back up and restore secrets, keys, or certificates across different Azure subscriptions, they must be in the same Azure AD tenant, and the Key Vaults must share the same SKU (for example, Premium). The supported process is to generate a backup from the source vault, store it securely (for example, in Azure Storage), and then restore that backup to the target vault. For more guidance, see the official Azure Key Vault documentation: https://learn.microsoft.com/azure/key-vault/general/backup

  • A. Correct.

    Option 1 is correct. Azure Key Vault supports backing up and restoring secrets, keys, and certificates within the same Azure AD tenant, even across different subscriptions, as long as the Key Vaults share the same SKU (Premium in this case). The recommended approach is to perform a backup from the source Key Vault, securely store the backup file, then restore it to the target Key Vault in the new subscription.

  • B. Incorrect.

    Option 2 is incorrect because there is no built-in Azure portal feature that directly copies secrets, keys, and certificates from one Key Vault to another across subscriptions without creating a backup. The backup and restore process is the supported method.

  • C. Incorrect.

    Option 3 is incorrect. Soft delete helps recover deleted items within the same Key Vault. It does not automatically synchronize or copy content from one Key Vault to another. Soft delete is for recovering accidentally deleted secrets, keys, or certificates within the same vault.

  • D. Incorrect.

    Option 4 is incorrect. Azure Key Vault does allow backup and restore across subscriptions within the same tenant, provided the vaults are of the same SKU. You do not need to recreate keys and certificates from scratch, as cross-subscription backup and restore is indeed supported.

Timed practice exam

Take a AZ-500 practice test under exam conditions

70 questions in 100 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam

AZ-500 practice questions 201 to 273 of 273

Every question has a page with the answer and explanation. Numbers are stable, so you can bookmark or share them. The bank is split into 3 pages of up to 100 questions.

  1. 201.You have an Azure App Service hosting a production website that uses an SSL certificate stored in Azure Key...
  2. 202.You manage an application that uses an RSA key stored in Azure Key Vault for encrypting sensitive data. A new...
  3. 203.You have an Azure Key Vault containing an RSA key used to encrypt data at rest in an Azure Storage account....
  4. 204.Your financial services company uses Azure Key Vault to store the encryption keys for a critical application....
  5. 205.Your organization needs to replicate certificates, secrets, and keys stored in an existing Azure Key Vault in...
  6. 206.Your organization stores an SSL certificate in an Azure Key Vault located in the West Europe region, which...
  7. 207.You manage certificates stored in multiple Azure Key Vaults for a large enterprise. Due to an unexpected...
  8. 208.You manage backups for your organization using an Azure Recovery Services vault to protect virtual machine...
  9. 209.You are a security engineer at Contoso. The organization is concerned about accidental or malicious deletion...
  10. 210.You work as an Azure administrator for a company that uses Azure Backup to protect critical data. The...
  11. 211.Your organization manages multiple Azure subscriptions across different departments. The security team wants...
  12. 212.You are a security engineer for an organization that manages hundreds of Azure resources across multiple...
  13. 213.You are the Azure Security Engineer for a company with numerous Azure subscriptions. Management wants to...
  14. 214.Your organization manages multiple Azure subscriptions that must comply with a set of regulatory and security...
  15. 215.You are responsible for ensuring your organization's Azure environment meets a specific regulatory compliance...
  16. 216.You are the security engineer for an organization with multiple Azure subscriptions in a single tenant. You...
  17. 217.Your organization has several virtual machines (VMs) in Azure reported as missing a vulnerability assessment...
  18. 218.Your organization has noticed that the Microsoft Defender for Cloud secure score is critically low across...
  19. 219.You are an Azure security engineer at Contoso. While reviewing Microsoft Defender for Cloud’s Secure Score,...
  20. 220.Your organization must comply with the PCI-DSS standard across multiple Azure subscriptions. You have enabled...
  21. 221.Your company wants to measure compliance with the NIST SP 800-53 security framework by using Microsoft...
  22. 222.Your organization wants to track compliance with ISO 27001 across all its Azure subscriptions using Microsoft...
  23. 223.Your company has created a custom compliance framework and an associated Azure Policy initiative. A Security...
  24. 224.You are a Security Engineer for an organization that must comply with a proprietary framework not included...
  25. 225.Your organization must comply with a new, industry-specific standard that is not included among Microsoft...
  26. 226.Your organization has developed an internal compliance framework that includes unique controls not found in...
  27. 227.Your organization has developed an internal compliance requirement not included in the default standards in...
  28. 228.You are a security engineer for a company that needs to include additional internal security controls that...
  29. 229.Your organization wants to centralize security posture management across Azure, AWS, and GCP using Microsoft...
  30. 230.Your organization hosts workloads in both AWS and GCP and wants to unify threat protection and security...
  31. 231.Your organization hosts applications in Google Cloud Platform (GCP) and wants to ingest security alerts from...
  32. 232.Your organization recently acquired multiple subsidiary domains and brand names. You want to ensure Microsoft...
  33. 233.Your organization has deployed Microsoft Defender External Attack Surface Management (EASM) to monitor and...
  34. 234.Your organization has recently onboarded Microsoft Defender External Attack Surface Management (EASM) to...
  35. 235.Your organization has multiple Azure subscriptions recently onboarded to Microsoft Defender for Cloud. You...
  36. 236.You are a security administrator for a company that has multiple Azure subscriptions, all of which are...
  37. 237.You manage an Azure environment with multiple subscriptions. You recently noticed that newly created virtual...
  38. 238.You are a security engineer at Contoso, responsible for protecting newly created Windows and Linux virtual...
  39. 239.You manage an Azure environment hosting both Windows and Linux virtual machines. Currently, they are covered...
  40. 240.You are an Azure Security Engineer at a company with many Windows and Linux virtual machines (VMs) in Azure....
  41. 241.You are the security administrator for an organization running multiple Azure VMs (both Windows and Linux),...
  42. 242.You are an Azure Security Engineer for a company that recently decided to standardize on Microsoft Defender...
  43. 243.You are an Azure security engineer for an e-commerce company running Ubuntu-based VMs on Azure for web...
  44. 244.Your organization has recently upgraded multiple Azure subscriptions to Microsoft Defender for Servers Plan 2...
  45. 245.You are a security engineer responsible for implementing agentless vulnerability scanning for several Windows...
  46. 246.Your organization has 100 Azure virtual machines across multiple subscriptions. You want to reduce overhead...
  47. 247.Your organization is using Microsoft Defender for Servers Plan 2 to manage vulnerabilities on Azure virtual...
  48. 248.You have upgraded to Microsoft Defender for Servers Plan 2 in Microsoft Defender for Cloud and want to enable...
  49. 249.Your organization has deployed several Windows and Linux Azure Virtual Machines (VMs) and has enabled the...
  50. 250.Your organization hosts its application source code in both GitHub and Azure DevOps repositories. You have...
  51. 251.You manage a GitHub repository for an internal application and want to implement automated security scanning...
  52. 252.Your organization stores source code in both Azure DevOps and GitHub. You need to configure Microsoft...
  53. 253.Your organization uses Microsoft Sentinel to monitor security events. The security team notices repeated...
  54. 254.You are a security engineer for a company that uses Microsoft Sentinel to monitor critical sign-in activities...
  55. 255.Your organization uses Microsoft Sentinel to aggregate security logs from various sources. You have created...
  56. 256.You manage an Azure environment with several Windows virtual machines. Microsoft Defender for Cloud has...
  57. 257.You have received an alert in Microsoft Defender for Cloud indicating suspicious outbound traffic from an...
  58. 258.Your organization is receiving recurring alerts in Microsoft Defender for Cloud about suspicious connections...
  59. 259.Your organization wants to automatically notify the security team in a Microsoft Teams channel whenever a new...
  60. 260.You have configured a workflow automation in Microsoft Defender for Cloud to trigger a Logic App whenever a...
  61. 261.Your organization uses Slack as a team communication tool and wants to automatically post any high-severity...
  62. 262.You are responsible for collecting and analyzing network security event logs from multiple Linux-based Azure...
  63. 263.Contoso has multiple Windows-based virtual machines (VMs) and an Azure Firewall in their environment. They...
  64. 264.Your organization manages multiple Azure Firewall instances in separate production resource groups across two...
  65. 265.Your company uses multiple on-premises network devices that generate logs in the Common Event Format (CEF)....
  66. 266.Your organization wants to monitor suspicious sign-in attempts from on-premises Windows servers in Microsoft...
  67. 267.You have enabled the built-in Azure Active Directory data connector in Microsoft Sentinel to ingest sign-in...
  68. 268.You are a security analyst at an organization that has connected multiple data sources (including Azure...
  69. 269.You are a Security Engineer at Contoso, where Microsoft Sentinel is used to detect suspicious sign-in...
  70. 270.You have created a custom analytics rule in Microsoft Sentinel to detect suspicious sign-ins originating from...
  71. 271.Your organization wants to automate a high-severity incident response in Microsoft Sentinel. Specifically,...
  72. 272.Your organization uses Microsoft Sentinel to monitor security activity. A new requirement is to automatically...
  73. 273.Your organization frequently encounters suspicious IP addresses in high-severity incidents within Microsoft...