Courseiva

AZ-104 Implement and Manage Virtual Networking Practice Question

Match each NSG or ASG scenario to the most accurate Azure security behavior.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

The priority 200 deny is evaluated first and blocks the flow.

The destination NIC must be added to ASG-Api for the rule to match.

The service tag does not represent the workstation's IP; a rule for the real source or a VPN path is needed.

NSGs are stateful, so the return traffic is allowed automatically.

The lower-number deny rule wins because NSGs stop at the first matching rule.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

NSG applied to subnet: Traffic filtering is applied to all network interfaces in that subnet.

NSGs filter traffic at subnet or NIC level, while ASGs group VMs for scalable rule application. Service tags simplify rules for Azure services.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • NSG applied to subnet: Traffic filtering is applied to all network interfaces in that subnet.

    Why this is correct

    An NSG associated with a subnet applies its rules to all VMs and resources within that subnet.

  • ASG applied to VMs: Allows grouping of VMs for application of NSG rules based on workload roles.

    Why this is correct

    ASGs enable logical grouping of VMs with similar functions, simplifying NSG rule creation.

  • Service tag in NSG: Allows traffic only to specific IP ranges defined by user.

    Why it's wrong here

    Service tags represent predefined IP ranges for Azure services; users cannot define custom IPs.

  • ASG automatically updates NSG rules: ASGs integrate with NSGs but do not auto-update rules; rules must reference the ASG.

    Why it's wrong here

    ASGs are referenced in NSG rules but do not automatically modify or update rules.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

About these practice questions

Courseiva writes every AZ-104 question from scratch — 1,049 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-104 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-104 exam.