Question 24 — AZ-104 Case Study Set
Paideffort's storageEndpoint output retrieves the deployed storage account's runtime primaryEndpoints property by using the [Gap 1] function.
- uniqueString
- concat
- reference
- variables
- parameters
Correct answers
- Gap 1: reference
Explanations
Correct Answer:
reference
Explanation:
Paideffort needs a property from the runtime state of the deployed storage account. The reference() function accesses runtime resource information and is therefore appropriate for retrieving primaryEndpoints.
Wrong Answers:
parameters
parameters() retrieves deployment input values. It does not retrieve the runtime state of Paideffort's deployed storage account.
variables
Template variables contain values or expressions defined within the template. They do not query runtime resource properties.
concat
concat() combines values into a string or array. It cannot retrieve the storage account's runtime endpoint information.
uniqueString
uniqueString() produces a deterministic hash-based string from supplied values. It does not return runtime resource state.