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

CertStreak
Menu

Create a network security group (NSG)

A worked example

Single answer

You create a new network security group (NSG) in the Azure portal and do not add any custom security rules. Which outbound traffic do the default security rules in the NSG allow?

Choose one answer
Why

Every NSG that you create gets a set of default security rules from Azure. The default outbound rules permit traffic to the virtual network and to the internet. You therefore do not need a custom rule for those two destinations.

  • Not correct: No traffic until a custom outbound rule is added. Azure creates default rules in every new NSG, and the outbound defaults already permit traffic to the internet and the virtual network without any custom rule.
  • Correct: Traffic to the virtual network and to the internet. The default outbound rules that Azure adds to every new NSG permit traffic to the virtual network and to the internet.
  • Not correct: Traffic to the virtual network and to Azure load balancers. The default inbound rules include an Azure load balancer allowance, and the default outbound rules allow traffic to the virtual network and the internet.
  • Not correct: Traffic to any destination reachable from the virtual network. The default outbound rules allow traffic to the virtual network and the internet and deny other outbound traffic.

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