GregLab | Exam Prep

Network security

Core

Network security groups and application security groups

Stateful traffic rules, subnet/NIC scope, workload grouping, and effective rules.

Key points

  • NSGs contain prioritized stateful inbound and outbound allow or deny rules.
  • Subnet and NIC NSGs both apply, and every applicable layer must allow the flow.
  • ASGs provide workload-oriented source or destination membership for NSG rules.

Best-known use cases

  • Allow a web ASG to reach a database ASG on one port.
  • Deny unwanted inbound traffic at a subnet boundary.

What candidates often confuse it with

  • NSG vs ASG: filter and rules vs logical NIC grouping used in rules.
  • NSG vs route table: allow or deny vs next-hop selection.

Key takeaway

Use NSGs to filter exact flows and ASGs to express workload membership without hard-coded addresses.

Related services

  • Azure Bastion

Relevant exam tasks

  • D4.2.S1 — Create and configure network security groups (NSGs) and application security groups
  • D4.2.S2 — Evaluate effective security rules in NSGs
  • D4.2.S3 — Implement Azure Bastion

Learn more

Free Microsoft Certified: Azure Administrator Associate prep

Build focused AZ-104 quizzes from skill areas, topics, and product references.

Practice with exam-style multiple-choice and multiple-response questions, score breakdowns, explanations, and a compact reference for this lane's official exam domains.

Read Topics Build a quiz

Exam Weights

Exam snapshot

AZ-104 at a glance

Level
Intermediate
Duration
100 minutes
Questions
No fixed live question count published
Formats
No guaranteed question-type mix
Scoring
1–1,000 scaled score; 700 minimum passing score

Quiz builder

Choose your practice set

Mode

Exam fidelity: Microsoft does not publish a fixed live question count or guarantee a question-type mix for AZ-104. This lane counts multiple-choice and multiple-response items as exam-style practice. Ordering, matching, and case-study items are supplemental site exercises and do not count toward exam-style accuracy. Practice percentages do not reproduce Microsoft's scaled scoring, and difficulty labels describe this site's Intermediate-level scenario complexity rather than a Microsoft-published question rating.

Reference

AZ-104 topics and reference map

Study links

AZ-104 resources