Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 1 question 15 discussion

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

You are developing an application to transfer data between on-premises file servers and Azure Blob storage. The application stores keys, secrets, and certificates in Azure Key Vault and makes use of the Azure Key Vault APIs.
You want to configure the application to allow recovery of an accidental deletion of the key vault or key vault objects for 90 days after deletion.
What should you do?

  • A. Run the Add-AzKeyVaultKey cmdlet.
  • B. Run the az keyvault update --enable-soft-delete true --enable-purge-protection true CLI.
  • C. Implement virtual network service endpoints for Azure Key Vault.
  • D. Run the az keyvault update --enable-soft-delete false CLI.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
anu_ezio
Highly Voted 2 years ago
Selected Answer: B
Correct Answer
upvoted 8 times
...
ca1502
Most Recent 2 weeks, 1 day ago
Selected Answer: B
https://learn.microsoft.com/en-us/azure/key-vault/general/soft-delete-overview
upvoted 1 times
...
forgetfulalligator
1 month, 3 weeks ago
Selected Answer: B
The --enable-soft-delete flag enables soft-delete on the key vault, which means that when objects are deleted, they are retained in a recoverable state for a specified period (90 days, in this case), rather than being immediately deleted. The --enable-purge-protection flag turns on purge protection, which prevents the permanent deletion of objects until the soft-delete retention period has expired. This ensures that deleted objects can be recovered within the retention period.
upvoted 3 times
...
Ciupaz
1 month, 3 weeks ago
Selected Answer: B
Soft-delete means that deleted key vault objects can be recovered for 90 days after deletion. Purge protection means that deleted key vault objects cannot be permanently deleted until the purge protection period has expired.
upvoted 1 times
...
harbox
1 month, 3 weeks ago
Selected Answer: B
To configure an Azure Key Vault to allow recovery of deleted vaults or objects, you need to enable soft delete and purge protection. Soft delete is a feature that allows you to recover a deleted Key Vault or its objects from the backup for a period of time, without the need to restore from a backup. By default, soft delete is disabled in Azure Key Vault. Purge protection is a feature that protects Key Vault or its objects from being purged permanently, even if soft delete is enabled. This feature allows for recovery of the deleted object beyond the soft delete retention period. Purge protection is also disabled by default. To enable soft delete and purge protection, you can use the Azure CLI command "az keyvault update" with the following options: --enable-soft-delete true: This option enables soft delete for the Key Vault. --enable-purge-protection true: This option enables purge protection for the Key Vault.
upvoted 1 times
...
viking2
1 year, 4 months ago
Selected Answer: B
B is correct. Soft-delete and purge protection are both needed, and B shows the correct syntax to achieve this
upvoted 1 times
...
uffuchsi
1 year, 9 months ago
B. Purge defines how long a key vault entry is 'alive' before it can be deleted. Soft delete allows you to recover mistakenly deleted key vault entries.
upvoted 1 times
...
alexein74
1 year, 9 months ago
B. Run the az keyvault update --enable-soft-delete true --enable-purge-protection true CLI. To configure the application to allow recovery of an accidental deletion of the key vault or key vault objects for 90 days after deletion, you should run the az keyvault update --enable-soft-delete true --enable-purge-protection true CLI command. This command enables both soft delete and purge protection for the key vault. Soft delete allows deleted key vaults and their contents to be retained and recoverable for the specified number of days after deletion. Purge protection prevents key vault from being permanently deleted before the soft-delete retention period has elapsed.
upvoted 2 times
...
HafizSalmanMalik
1 year, 10 months ago
Correct option is Answer: B
upvoted 1 times
...
Topic9
1 year, 10 months ago
Correct answer
upvoted 1 times
...
OPT_001122
2 years ago
Selected Answer: B
correct
upvoted 2 times
...
ahmad123456789
2 years ago
correct
upvoted 2 times
...
Ganeshd7
2 years ago
correct
upvoted 1 times
...
RachidBinAhmed
2 years, 1 month ago
correct
upvoted 1 times
...
finnishr
2 years, 2 months ago
Correct
upvoted 3 times
...
kampatra
2 years, 2 months ago
Correct
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 ...