exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 1 question 42 discussion

Actual exam question from Microsoft's AZ-500
Question #: 42
Topic #: 1
[All AZ-500 Questions]

You have been tasked with creating an Azure key vault using PowerShell. You have been informed that objects deleted from the key vault must be kept for a set period of 90 days.
Which two of the following parameters must be used in conjunction to meet the requirement? (Choose two.)

  • A. EnabledForDeployment
  • B. EnablePurgeProtection
  • C. EnabledForTemplateDeployment
  • D. EnableSoftDelete
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rawrkadia
Highly Voted 3 years, 8 months ago
Correct, but soft-delete is now enabled by default. :)
upvoted 7 times
...
Rume
Highly Voted 3 years, 10 months ago
repeted question - and the answers are correct
upvoted 7 times
...
stonwall12
Most Recent 2 months, 2 weeks ago
Selected Answer: BD
Answer: 1. B, EnablePurgeProtection 2. D, EnableSoftDelete Reason: To keep deleted objects in an Azure Key Vault for a set period of 90 days, you need to use both EnableSoftDelete and EnablePurgeProtection parameters. 1. EnablePurgeProtection prevents the permanent deletion of these objects before the retention period expires. 2. EnableSoftDelete allows for the recovery of deleted objects within a specified retention period. Reference: https://learn.microsoft.com/en-us/azure/key-vault/general/soft-delete-overview
upvoted 1 times
...
Ruffyit
5 months, 4 weeks ago
Here you have a fantastic video-training in which you'll be able to deeply learn about KeyVault:
upvoted 1 times
...
STC007
1 year, 7 months ago
Here you have a fantastic video-training in which you'll be able to deeply learn about KeyVault: https://www.youtube.com/results?search_query=john+savill+key+vault
upvoted 2 times
...
ArchitectX
1 year, 7 months ago
Selected Answer: BD
B & D are the right answers
upvoted 1 times
...
ESAJRR
1 year, 9 months ago
Selected Answer: BD
B. EnablePurgeProtection D. EnableSoftDelete
upvoted 1 times
...
Andre369
1 year, 11 months ago
Selected Answer: BD
To meet the requirement of keeping deleted objects in the Azure key vault for a set period of 90 days, you need to use the following two parameters together: B. EnablePurgeProtection: This parameter enables purge protection, which prevents permanent deletion of objects from the key vault. When purge protection is enabled, deleted objects are retained for a specified period and can be recovered within that timeframe. D. EnableSoftDelete: This parameter enables soft delete functionality for the key vault, which allows for the recovery of deleted objects. Soft deleted objects are retained for a specified retention period, during which they can be restored. By using both EnablePurgeProtection and EnableSoftDelete parameters in your PowerShell script, you can ensure that deleted objects in the key vault are protected from permanent deletion and kept for the required period of 90 days.
upvoted 4 times
...
zellck
1 year, 11 months ago
Selected Answer: BD
BD is the asnwer. https://learn.microsoft.com/en-us/azure/key-vault/general/soft-delete-overview When soft-delete is enabled, resources marked as deleted resources are retained for a specified period (90 days by default). The service further provides a mechanism for recovering the deleted object, essentially undoing the deletion.
upvoted 2 times
zellck
1 year, 11 months ago
https://learn.microsoft.com/en-us/azure/key-vault/general/soft-delete-overview#purge-protection Purge protection is an optional Key Vault behavior and is not enabled by default. Purge protection can only be enabled once soft-delete is enabled. It can be turned on via CLI or PowerShell. Purge protection is recommended when using keys for encryption to prevent data loss. Most Azure services that integrate with Azure Key Vault, such as Storage, require purge protection to prevent data loss. When purge protection is on, a vault or an object in the deleted state cannot be purged until the retention period has passed. Soft-deleted vaults and objects can still be recovered, ensuring that the retention policy will be followed. The default retention period is 90 days, but it is possible to set the retention policy interval to a value from 7 to 90 days through the Azure portal. Once the retention policy interval is set and saved it cannot be changed for that vault.
upvoted 3 times
153a793
7 months, 2 weeks ago
In simple terms purge protection option is to protects the "soft delete" state.
upvoted 1 times
...
...
...
exnaniantwort
2 years ago
Purge protection is an optional feature of Azure Key Vault which is disabled by default. Purge protection can only be enabled once soft delete is enabled for the key vault. When purge protection is on, a vault or an object in the deleted state cannot be purged until the retention period has passed. Soft-deleted vaults and objects can still be recovered, ensuring that the retention policy will be followed. Please note that the purge protection retention policy uses the same interval as soft delete. Once the period is set, the retention policy interval cannot be changed.
upvoted 2 times
...
majstor86
2 years, 1 month ago
Selected Answer: BD
B. EnablePurgeProtection D. EnableSoftDelete
upvoted 2 times
...
blazefather
2 years, 5 months ago
In exam 31/10/2022
upvoted 2 times
...
Armored5772
2 years, 7 months ago
Selected Answer: BD
CORRECT
upvoted 2 times
...
Eltooth
3 years, 1 month ago
Selected Answer: BD
B and D are correct.
upvoted 1 times
...
udmraj
3 years, 2 months ago
Correct Answer - EnablePurgeProtection an EnableSoftDelete
upvoted 1 times
...
mansc3wth1s
3 years, 2 months ago
Just note soon SoftDelete will be enabled by DEFAULT in the coming months. https://docs.microsoft.com/en-us/azure/key-vault/general/soft-delete-overview
upvoted 1 times
...
subhuman
3 years, 2 months ago
Correct , for EnablePurgeProtection to work self delete has to be enabled
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago