An administrator created an application security group named asg-web in the resource group RG-Web. The ASG is not assigned to any network interface and is not referenced by any NSG rule.
The naming standard has changed. You must end up with an ASG whose resource name is asg-frontend in RG-Web, and no ASG named asg-web may remain.
Which two Azure CLI commands should you run? Each correct answer presents part of the solution. Select two.
The az network asg update command modifies tags and cannot rename an ASG. To get an ASG called asg-frontend, you create a new one with az network asg create. You then remove the original with az network asg delete so that asg-web no longer exists. Adding a tag does not change the resource name.
- az network asgMicrosoft Learn