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.
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.