Question 58 — AZ-104 Practice Exam 6
You’ve created a VM in Azure for a testing environment. After deployment, you realize the configuration isn’t suitable. What’s the best way to adjust the setup while minimizing manual effort? (Select one answer)
Manually reconfigure the VM using the Azure Portal
Export and modify the Resource Manager template, then redeploy
Rebuild the VM from scratch each time
Switch to Terraform immediately
Correct answers
Export and modify the Resource Manager template, then redeploy
Explanations
Correct:
Export and modify the Resource Manager template, then redeploy – You can edit the JSON template and redeploy resources to match the new settings.
Wrong:
Manually reconfigure the VM using the Azure Portal – Time-consuming and error-prone.
Rebuild the VM from scratch each time – Inefficient compared to template-driven redeployment.
Switch to Terraform immediately – Valid tool, but the direct solution is to use templates as described.