Exam AZ-204 All QuestionsBrowse all questions from this exam
Question 12

You are creating an Azure key vault using PowerShell. 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.)

    Correct Answer: B, D

    To ensure that objects deleted from the Azure key vault are kept for 90 days, two parameters need to be used. The 'EnableSoftDelete' parameter allows the key vault to retain deleted objects for a specified duration, ensuring that deleted entities can be recovered within the retention period. The 'EnablePurgeProtection' parameter prevents deleted objects from being permanently deleted before the soft delete retention period has elapsed, ensuring that the objects remain protected for the 90-day duration.

Discussion
forgetfulalligatorOptions: BD

The EnablePurgeProtection parameter prevents the deletion of key vault objects by enabling purge protection. This parameter ensures that objects deleted from the key vault cannot be permanently deleted until the purge protection period has expired. The EnableSoftDelete parameter allows the key vault to retain deleted objects for a specified duration. This parameter enables soft delete, which allows the key vault to retain deleted objects for a specified period of time (90 days in this case) before they are permanently deleted.

viking2Options: BD

BD is correct. You'll need to enable soft delete, and then purge protection to make sure that soft-deleted objects are not purged early.

finnishrOptions: BD

The answer is correct!!!

UkadikeTochOptions: BD

BD EnabledForDeployment is a property of Azure Key Vault that allows you to control whether the Key Vault can be deployed as part of an Azure Resource Manager (ARM) template deployment. When EnabledForDeployment is set to true, it means that the Key Vault can be included in ARM templates and deployed using Azure Resource Manager. EnablePurgeProtection is a property of Azure Key Vault's soft delete feature. When EnablePurgeProtection is set to true, it ensures that deleted Key Vault entities (such as secrets, keys, or certificates) cannot be permanently deleted immediately. EnabledForTemplateDeployment is a property of Azure Key Vault that determines whether the Key Vault can be deployed as part of an Azure Resource Manager (ARM) template deployment. EnableSoftDelete is a property of Azure Key Vault that enables the soft delete feature for the Key Vault. Soft delete allows you to recover deleted entities (secrets, keys, or certificates) within a specified retention period, even after they have been deleted.

alexein74Options: BD

B. EnablePurgeProtection D. EnableSoftDelete To meet the requirement of keeping objects deleted from the key vault for 90 days, you need to use the EnablePurgeProtection and EnableSoftDelete parameters when creating the key vault using PowerShell. EnablePurgeProtection prevents the key vault from being permanently deleted before the soft-delete retention period has elapsed. EnableSoftDelete allows deleted vault and its contents to be retained and recoverable for the specified number of days.

HafizSalmanMalikOptions: BD

Correct options are B. EnablePurgeProtection D. EnableSoftDelete

elequielOptions: BD

Correct.

MagisOptions: BD

Correct.

vincent_huangOptions: BD

BD is correct.

Archana_GOptions: BD

BD is correct.

AZAdam22Options: BD

You need soft delete (D) to retain deleted objects for up to 90 days, and you need purge protection (B) to prevent deleted objects from being purged until 90 days have passed, as it says 90 "set" days.

uffuchsi

B, and C. Purge defines how long a blob is 'alive' before it can be deleted. Soft delete allows you to recover mistakenly deleted blobs

uffuchsi

Mis-type, meant to be B, and D

Topic9Options: BD

B & D.

OPT_001122Options: BD

correct - B and D

helnikOptions: BD

correct b, d