Virtual machines in a virtual network named vnet1 must reach a general-purpose v2 storage account named st1 over private IP addresses. The virtual machines use Blob storage and Azure Files shares in st1. They do not use any other storage service in st1. vnet1 uses a single, common DNS server configuration.
Complete the plan using the minimum number of private endpoints required for st1.
Minimum number of private endpoints to create for st1: . Property whose value must differ between these private endpoints: .
- Blank 1: 2 (correct answer)
Blob and file require separate private endpoints, so the minimum is two. One endpoint cannot serve both targets. Three or four exceed the minimum and would introduce unnecessary additional endpoints.
- Blank 2: Target subresource (correct answer)
Target subresource selects blob or file, so it must differ between the two endpoints. Subnet does not need to differ, because multiple private endpoints can share the same subnet. Connection approval method can be the same for both. Private-link resource is st1 for both endpoints.
A storage private endpoint provides access to its selected subresource. Access to both Blob storage and Azure Files therefore requires two endpoints, targeting blob and file respectively. Both endpoints connect to st1 and can share a subnet and approval method.
- What is a private endpoint? - Azure Private LinkMicrosoft Learn