Question 6 — AZ-104 Practice Exam 11
In an ARM template outputs section, which function can be used to return the runtime state of a resource, such as storage account endpoints? (Select one answer)
reference()
parameters()
variables()
copy()
Correct answers
reference()
Explanations
Correct:
reference() – Retrieves runtime state information from a deployed resource.
Wrong:
parameters() – Retrieves input values defined in parameters.
variables() – Retrieves values from the variables section.
copy() – Used to repeat values, not to fetch runtime state.