Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Create an application security group (ASG)

A worked example

Multiple answers

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.

Choose 2 answers.
Why

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.

Source

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free