AZ-104 - Configure and Manage Virtual Networking - Section 4.1

Configure and manage virtual networks including subnets, peering, and service endpoints.

Design virtual network address spaces and divide them into subnets to segment workloads, then connect virtual networks with VNet peering for low-latency private traffic. Distinguish service endpoints, which reach PaaS services over the Azure backbone while keeping a public endpoint, from private endpoints, which project a service into the network on a private IP.

virtual networkssubnetsVNet peeringservice endpointsprivate endpoints

Practice question for this objective

Free sampleConfigure and Manage Virtual Networkingmedium

An administrator enables a service endpoint for Azure Storage on a virtual machine subnet and then adds a virtual network rule on the storage account. After enabling the endpoint, what change occurs to the source IP address that storage sees for requests from VMs in that subnet?

  • AIt switches from a private IPv4 address to a new public IPv4 address of the VM in the subnet.
  • BIt switches from a public IPv4 address to a shared gateway IPv4 address in front of the subnet.
  • CIt switches from a public IPv4 address over to the private IPv4 address of the VM in the subnet. Correct
  • DIt switches from a private IPv4 address to a reserved firewall IPv4 address held for the subnet.
Service endpoints change the request source to the VM private IPv4 address, enabling virtual network rules on the service. With service endpoints, the source IP addresses of VMs in the subnet switch from using public IPv4 addresses to using private IPv4 addresses when accessing the service, which is what lets a virtual network rule secure the resource.

Why A is wrong: This reverses the actual behaviour; service endpoints move the source to the private address.

Why B is wrong: No NAT or gateway device is introduced; the source becomes the VM private address itself.

Why C is correct: Correct. With service endpoints, the source IP addresses of VMs in the subnet switch from using public IPv4 addresses to using private IPv4 addresses when accessing the service, which is what lets a virtual network rule secure the resource.

Why D is wrong: Service endpoints remove the need for reserved public addresses rather than introducing a reserved one.

See more AZ-104 practice questions, answers explained.

More in this domain

Back to all Configure and Manage Virtual Networking objectives, or the AZ-104 cert hub.

Examworthy is not affiliated with or endorsed by Microsoft. Original, blueprint-aligned practice material only.