Question 400
An ARM deployment must add tags to each generated resource. Which administrative action most directly meets the requirement?
Explanation
Correct Answer
Azure resource tags are properties on the actual resource declarations, not the deployment's general metadata. Add the required name/value pairs to each eligible resource's tags object, using parameters or variables where consistent values are needed. Validate the resulting template before deployment and account for resource types with different tagging support.
Incorrect Answers
A hosting-plan dependency or resource ID reference controls which service resource a web app consumes. It does not populate the Azure resource tags of all resources emitted by this ARM template, so changing it would leave the tagging requirement unmet.
Resource-name length validation prevents failed deployments caused by provider naming rules. It does not attach Owner, Environment or other tags to generated resources. The template needs explicit tags fields on the deployed resource definitions.
Fixing a misspelled ARM parameter reference removes expression-evaluation errors. It does not create or assign the requested resource tags, so it is an unrelated change unless the tag expressions themselves have a verified reference error.