exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 5 question 18 discussion

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

HOTSPOT -
You need to create an Azure key vault. The solution must ensure that any object deleted from the key vault be retained for 90 days.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: -EnablePurgeProtection -
If specified, protection against immediate deletion is enabled for this vault; requires soft delete to be enabled as well.

Box 2: -EnableSoftDelete -
Specifies that the soft-delete functionality is enabled for this key vault. When soft-delete is enabled, for a grace period, you can recover this key vault and its contents after it is deleted.
Reference:
https://docs.microsoft.com/en-us/powershell/module/azurerm.keyvault/new-azurermkeyvault

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
macco455
Highly Voted 3 years, 2 months ago
Outdated, Soft delete is enabled by default so you don't need to use that command anymore and you can't even turn it off.
upvoted 17 times
Fred64
3 years, 1 month ago
yes but you still need EnablePurgeProtection
upvoted 10 times
...
...
majstor86
Highly Voted 1 year, 3 months ago
Box 1: EnablePurgeProtection Box 2: EnableSoftDelete Outdated
upvoted 10 times
...
wardy1983
Most Recent 7 months, 2 weeks ago
Box 1: -EnablePurgeProtection - If specified, protection against immediate deletion is enabled for this vault; requires soft delete to be enabled as well. Box 2: -EnableSoftDelete - Specifies that the soft-delete functionality is enabled for this key vault. When soft-delete is enabled, for a grace period, you can recover this key vault and its contents after it is deleted.
upvoted 3 times
...
WhalerTom
2 years, 5 months ago
In exam Dec 21. 40 questions, 1 case study, no labs. Answer provided is correct, but now in Azure Soft Delete is enabled by default and there's a transitory period where you can specify an inline parameter to temporarily disable it.
upvoted 8 times
...
sudarchary
2 years, 6 months ago
1. EnablePurgeProtection 2. SKU specifies the SKU of the key vault instance. Key vault SKU represents two pricing tiers for Key Vault -- standard and premium. The premium level adds Thales HSM (Hardware Security Modules) to your Key Vault
upvoted 1 times
sudarchary
2 years, 5 months ago
Given answer is correct. -EnablePurgeProtection If specified, protection against immediate deletion is enabled for this vault; requires soft delete to be enabled as well.
upvoted 1 times
...
...
vofka
2 years, 9 months ago
1. EnablePurgeProtection 2. SKU. Why? EnableSoftDelete is valid for deprecated cmdlet New-AzureRMKeyVault it's not valid for New-AzKeyVault https://docs.microsoft.com/en-us/powershell/module/az.keyvault/new-azkeyvault?view=azps-6.4.0&viewFallbackFrom=azps-5.4.0
upvoted 4 times
Tonion
2 years, 6 months ago
SKU has nothing in common with soft deletion. For New-AzKeyVault there is -SoftDeleteRetentionInDays paramater.
upvoted 1 times
...
...
Sandomj55
2 years, 10 months ago
In Exam 8/4/2021
upvoted 2 times
...
badaboom
3 years, 2 months ago
YES Correct answers !
upvoted 3 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 ...