Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Create private endpoints

A worked example

Single answer

Contoso needs private access to a key vault that Fabrikam owns. The key vault is in the West US region and is in Fabrikam's Microsoft Entra directory (tenant). Contoso's virtual network vnet-app and its subnet snet-pe are in the East US region. A Contoso administrator will create the private endpoint in snet-pe by using the key vault's resource ID. Contoso administrators have no role assignments on the Fabrikam key vault.

Which statement correctly describes where the private endpoint must be created and the state of its connection after it is created?

Choose one answer
Why

A private endpoint is always created in the region of the virtual network it attaches to, while the target key vault can be in another region. Here that means East US. Because the key vault is in Fabrikam's directory, the connection request is not approved automatically. It remains Pending until the Fabrikam resource owner approves it.

  • Not correct: Create it in East US; the connection is approved automatically when it is created. For a resource in another directory, you must wait for its owner to approve the connection request, so it does not start as Approved.
  • Not correct: Create it in West US; the connection is approved automatically when it is created. The region is wrong because the private endpoint must match its virtual network's region. The connection is also not approved automatically, because the vault is in another directory.
  • Not correct: Create it in West US; the connection stays Pending until Fabrikam approves it. The private endpoint must be in the same region as its virtual network, which is East US. The key vault's region does not decide where the private endpoint is created.
  • Correct: Create it in East US; the connection stays Pending until Fabrikam approves it. The private endpoint must be in the same region as its virtual network, and the key vault can be in another region. The vault is in another directory, so the connection waits in the Pending state for the resource owner to approve it.
  • Not correct: Create it in East US; a Contoso administrator approves the connection on the key vault. Contoso administrators lack approval permissions on the key vault, so Fabrikam must approve the request.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free