Skip to content

AZ-700 · Domain 1: Design and implement core networking infrastructure · 28% of the exam

Task 1.1: Design and implement IP addressing for Azure resources

Segmenting address spaces into virtual networks and subnets, subnets for gateways, firewalls, Bastion and delegated services, public IP address prefixes and custom IP prefixes, and public IP addresses on resources.

Study it

  • Address spaces, subnets for gateways, firewalls, Bastion and delegated services

    Partly covered by: VPC: Subnets, NAT & Firewalls

  • Public IP addresses, public IP prefixes and custom IP prefixes

    Lesson coming

Sample questions

Try each one before opening the answer. Every option is explained, with the Microsoft documentation page that proves it.

Question 1 · choose 1

VNet-Hub has four subnets, each with free addresses: snet-pe (10.10.1.0/26) holds two private endpoints for storage accounts; snet-dns-in (10.10.2.0/28) holds the inbound endpoint of an Azure DNS Private Resolver; snet-dns-out (10.10.2.16/28) holds the outbound endpoint of the same resolver; snet-web (10.10.3.0/26) holds App Service virtual network integration and is delegated to Microsoft.Web/serverFarms. You must add a private endpoint for a key vault to VNet-Hub without creating a subnet. Which subnet can hold it?

  1. Asnet-pe, the 10.10.1.0/26 subnet
  2. Bsnet-dns-in, the 10.10.2.0/28 subnet
  3. Csnet-dns-out, the 10.10.2.16/28 subnet
  4. Dsnet-web, the 10.10.3.0/26 subnet
Show the answer and why
  • Asnet-pe, the 10.10.1.0/26 subnet

    Correct

    It's the only subnet that is neither reserved for a resolver endpoint nor delegated to a service, so the new endpoint can take one of its free addresses.

  • Bsnet-dns-in, the 10.10.2.0/28 subnet

    Incorrect

    An inbound endpoint's subnet can be delegated only to Microsoft.Network/dnsResolvers and can't be used for other services.

  • Csnet-dns-out, the 10.10.2.16/28 subnet

    Incorrect

    An outbound endpoint needs a dedicated subnet with no other service running in it.

  • Dsnet-web, the 10.10.3.0/26 subnet

    Incorrect

    A subnet that is delegated to a service can't be used with a private endpoint.

Each Azure DNS Private Resolver endpoint uses its own subnet, delegated to Microsoft.Network/dnsResolvers, that can't hold anything else. A delegated subnet, such as one delegated to App Service, can't be used with a private endpoint either. That leaves snet-pe.

Question 2 · choose 1

A new hub virtual network gets the address space 10.0.0.0/24. It must hold an Azure Firewall, an Azure Route Server and a VPN gateway, plus a subnet of at least /27 for jump hosts. Which subnet plan can you deploy?

  1. AAzureFirewallSubnet /27, RouteServerSubnet /26, GatewaySubnet /26, jump hosts /26
  2. BAzureFirewallSubnet /26, RouteServerSubnet /27, GatewaySubnet /26, jump hosts /26
  3. CAzureFirewallSubnet /28, RouteServerSubnet /26, GatewaySubnet /26, jump hosts /26
  4. DAzureFirewallSubnet /26, RouteServerSubnet /26, GatewaySubnet /27, jump hosts /27
Show the answer and why
  • AAzureFirewallSubnet /27, RouteServerSubnet /26, GatewaySubnet /26, jump hosts /26

    Incorrect

    Azure Firewall needs a /26 subnet so that it has addresses for the instances it adds when it scales.

  • BAzureFirewallSubnet /26, RouteServerSubnet /27, GatewaySubnet /26, jump hosts /26

    Incorrect

    RouteServerSubnet must be /26 or larger.

  • CAzureFirewallSubnet /28, RouteServerSubnet /26, GatewaySubnet /26, jump hosts /26

    Incorrect

    A /28 is too small for Azure Firewall, which needs a /26.

  • DAzureFirewallSubnet /26, RouteServerSubnet /26, GatewaySubnet /27, jump hosts /27

    Correct

    Both service subnets get the /26 they need, a /27 gateway subnet fits most configurations, and the plan uses 192 of the 256 addresses.

Azure Firewall needs a /26 AzureFirewallSubnet, and Azure Route Server needs a subnet named RouteServerSubnet of /26 or larger. A /27 GatewaySubnet is enough for most gateway configurations. Only one plan meets both service requirements inside the /24.

Question 3 · choose 1

Partners will add one /30 public IP prefix to their allow lists. The addresses must serve the frontend of a public Standard Load Balancer that receives the partners' inbound HTTPS connections, and the outbound traffic of an Azure Firewall. How should you use the prefix?

  1. AAssociate the prefix itself with the load balancer frontend and with the firewall
  2. BAssociate the prefix with the firewall, and add one address from it to the load balancer
  3. CCreate Standard public IP addresses from the prefix for the frontend and for the firewall
  4. DAssociate the prefix with the load balancer frontend, and give the firewall one address from it
Show the answer and why
  • AAssociate the prefix itself with the load balancer frontend and with the firewall

    Incorrect

    Azure Firewall doesn't support attaching a prefix itself, and a prefix on a load balancer frontend serves outbound connections only.

  • BAssociate the prefix with the firewall, and add one address from it to the load balancer

    Incorrect

    Azure Firewall can't take a prefix itself; it uses individual public IP addresses.

  • CCreate Standard public IP addresses from the prefix for the frontend and for the firewall

    Correct

    Addresses created from a prefix can be assigned to any resource that takes a Standard public IP, including a load balancer frontend and the firewall.

  • DAssociate the prefix with the load balancer frontend, and give the firewall one address from it

    Incorrect

    A prefix associated with a load balancer frontend can't be used for inbound connections, only outbound.

Static public IP addresses created from a prefix keep the allow list to one entry and can be assigned wherever a Standard public IP fits. Azure Firewall can't attach a prefix itself, and a prefix on a load balancer frontend serves outbound connections only.

Question 4 · choose 1

After a merger, the on-premises networks use every address in 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. You're creating a virtual network that will connect to them over ExpressRoute, with no overlap and no address translation. Which address space can you assign?

  1. A100.64.0.0/16, from the RFC 6598 shared block
  2. B169.254.0.0/16, the link-local block
  3. C127.16.0.0/16, carved from the loopback block
  4. D224.10.0.0/16, carved from the multicast block
Show the answer and why
  • A100.64.0.0/16, from the RFC 6598 shared block

    Correct

    Azure treats 100.64.0.0/10 as private address space, and the range doesn't overlap the on-premises networks.

  • B169.254.0.0/16, the link-local block

    Incorrect

    Azure's IP planning guidance lists 169.254.0.0/16 among the ranges you must not assign.

  • C127.16.0.0/16, carved from the loopback block

    Incorrect

    127.0.0.0/8 is on the same list of ranges not to assign.

  • D224.10.0.0/16, carved from the multicast block

    Incorrect

    224.0.0.0/4 is on the same list of ranges not to assign.

Besides the RFC 1918 ranges, Azure treats the RFC 6598 shared address space 100.64.0.0/10 as private, which helps when RFC 1918 space is used up. 169.254.0.0/16, 127.0.0.0/8, 224.0.0.0/4, 255.255.255.255/32 and 168.63.129.16/32 must not be assigned.

Question 5 · choose 1

A virtual network has a GatewaySubnet with plenty of free addresses, and a team wants to place two small jump-host VMs in it to save address space. What should you tell them?

  1. AThey can, as long as the two VMs use static private IP addresses that the gateway's instances never take
  2. BThey can, once the subnet is renamed so that it's no longer reserved
  3. CThey can't; nothing other than the virtual network gateway may be deployed to the gateway subnet
  4. DThey can, if the subnet is first delegated to Microsoft.Compute
Show the answer and why
  • AThey can, as long as the two VMs use static private IP addresses that the gateway's instances never take

    Incorrect

    Address assignment isn't the issue; the gateway subnet must hold only the gateway.

  • BThey can, once the subnet is renamed so that it's no longer reserved

    Incorrect

    The subnet must be named GatewaySubnet for the gateway to use it.

  • CThey can't; nothing other than the virtual network gateway may be deployed to the gateway subnet

    Correct

    Microsoft says never to deploy anything else, such as more VMs, to the gateway subnet.

  • DThey can, if the subnet is first delegated to Microsoft.Compute

    Incorrect

    Delegation doesn't change what the gateway subnet may contain.

The gateway subnet, which must be named GatewaySubnet, holds the gateway's VMs and services. Nothing else, such as more VMs, may be deployed to it.

Question 6 · choose 1

You plan to create five public IP prefixes of 16 addresses each in one subscription, whose limit for static public IP addresses is 60. What should you expect?

  1. AAll five can be created, because prefixes have their own separate limit
  2. BOnly one prefix can exist in a subscription at a time
  3. CAll five can be created if each one is zone-redundant
  4. DThe 80 addresses exceed the subscription's limit, so the limit has to be raised first
Show the answer and why
  • AAll five can be created, because prefixes have their own separate limit

    Incorrect

    The prefixes can't add up to more static public IP addresses than the subscription allows.

  • BOnly one prefix can exist in a subscription at a time

    Incorrect

    There's no limit on how many prefixes a subscription can have.

  • CAll five can be created if each one is zone-redundant

    Incorrect

    Zone redundancy doesn't change how many addresses count against the subscription.

  • DThe 80 addresses exceed the subscription's limit, so the limit has to be raised first

    Correct

    The number of prefix ranges isn't limited, but together they can't exceed the static public IP addresses allowed in the subscription.

There's no limit on how many public IP prefixes a subscription holds, but the ranges together can't exceed the number of static public IP addresses allowed in the subscription.

Practice domain 1 →Practice all domains →