Question 15 — AZ-104 Case Study Set
Based on the scenario, Paideffort wants development to use Standard_LRS by default while allowing production engineers to choose Standard_GRS or Standard_ZRS without editing the ARM template. Which two characteristics of storageAccountType support this requirement? (Select two answers)
A default value allows development deployments to omit the SKU when Standard_LRS is acceptable.
Allowed values restrict deployment input to storage SKUs approved by Paideffort.
A template variable automatically prompts production engineers to select a storage SKU.
An output value prevents administrators from supplying unsupported storage SKUs.
Correct answers
A default value allows development deployments to omit the SKU when Standard_LRS is acceptable.
Allowed values restrict deployment input to storage SKUs approved by Paideffort.
Explanations
Correct Answer:
A default value allows development deployments to omit the SKU when Standard_LRS is acceptable.
Allowed values restrict deployment input to storage SKUs approved by Paideffort.
Explanation:
Paideffort needs flexibility without requiring every deployment to specify the same common value. defaultValue supplies Standard_LRS when no override is provided, while allowedValues constrains administrators to the storage SKUs permitted by the platform design.
Wrong Answers:
A template variable automatically prompts production engineers to select a storage SKU.
Variables calculate or simplify values inside the template. They do not define administrator-supplied deployment inputs or constrain which values an administrator may provide.
An output value prevents administrators from supplying unsupported storage SKUs.
Outputs return values after deployment. They do not validate or constrain the values supplied before deployment begins.