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

CertStreak
Menu

Configure service endpoint policies

A worked example

Yes or no

A subnet named Subnet-Web has Azure Storage service endpoints enabled. Two service endpoint policies are associated with it:

  • SEP-1 lists the storage account sta. sta uses read-access geo-redundant storage (RA-GRS) and is in the same subscription as the virtual network.
  • SEP-2 lists the storage account stb. A partner wants to replace stb in SEP-2 with its storage account stc, which is in a different Microsoft Entra tenant from the virtual network.

No other policies are associated with Subnet-Web.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

StatementYesNo
A storage account must appear in both SEP-1 and SEP-2 for the policies to allow traffic to it.

When several policies are associated with a subnet, traffic is allowed to resources listed in any of them, so sta and stb are both allowed.

Correct
stc can replace stb in SEP-2 even though stc is in a different Microsoft Entra tenant from the virtual network.

The allowlist can include storage accounts owned by another subscription or Microsoft Entra tenant.

Correct
To allow reads from the RA-GRS secondary endpoint of sta, a separate entry for the secondary must be added to SEP-1.

RA-GRS secondary access is allowed automatically when the primary account is listed.

Correct
Why

Several policies on one subnet combine as a union. A resource listed in any associated policy is allowed, and everything else is denied. Listed accounts can belong to another subscription or Microsoft Entra tenant. Listing an RA-GRS primary account also allows its secondary, so no extra entry is needed.

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