Skip to main content

AZ-104 practice question · Implement and manage virtual networking

You are deploying 12 internet-facing VMs in one Azure region. A partner will allow inbound connections from your VMs…

You are deploying 12 internet-facing VMs in one Azure region. A partner will allow inbound connections from your VMs only if they can add your addresses to their firewall with a single CIDR rule. The addresses must stay reserved for your subscription even if a VM's public IP resource is deleted and re-created later. What should you create first?

  • AA /28 public IP prefix, then create the VMs' public IPs from it
  • BTwelve individual Standard SKU static public IP addresses
  • CA /28 range added to the virtual network address space
  • DA public DNS zone with an A record for each VM
Show the answer and explanation

Correct answer: A) A /28 public IP prefix, then create the VMs' public IPs from it

A public IP prefix reserves a contiguous block of static public IPs (for example, a /28 with 16 addresses) that can be allowlisted with one rule. Addresses go back to the prefix when deleted.

Why each option is right or wrong

  • A) Correct. A public IP prefix is a reserved range of public IPs. A /28 provides 16 addresses. Static Standard public IPs created from the prefix are returned to it when deleted, and the whole range can be allowlisted with one firewall rule.
  • B) Incorrect. Each address is static, but Azure assigns them from the regional pool. They aren't guaranteed to be contiguous, so the partner can't cover them with one CIDR rule, and a deleted address isn't held for you.
  • C) Incorrect. A VNet address space defines private addressing inside the network. It doesn't reserve public, internet-routable addresses that a partner could allowlist.
  • D) Incorrect. DNS records map names to whatever IPs the VMs already have. They don't reserve addresses or make them contiguous, and firewalls allowlist IP ranges, not DNS records.
Exam domain
Implement and manage virtual networking · 18% of AZ-104
Question type
Multiple choice (one answer)

Practise the full AZ-104 exam

This question is one of a small free sample from the CertRidge AZ-104 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.

Worth reading: AZ-104 passing score (700/1000), what 700 means on Microsoft's scaled score, and why it isn't 70%.