QuestionQ21

VerifiedImplement and manage virtual networking

You have an Azure subscription that contains the virtual networks shown in the following table.

Question Image

The subscription contains the subnets shown in the following table.

Question Image

The subscription contains the storage accounts shown in the following table.

Question Image

You create a service endpoint policy named Policy1 in the South Central US Azure region to allow connectivity to all the storage accounts in the subscription.

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

Yes or No
StatementsYesNo
Policy1 can be applied to Subnet3.
Only storage1 and storage2 can be accessed from VNet2.
Only storage2 can be accessed from VNet3.
Explanation

A service endpoint policy for Azure Storage can be associated only with subnets that already have the Microsoft.Storage service endpoint enabled, and the virtual network must be in the same region and subscription as the policy. Statement 1: Subnet3 is in VNet3, which is in South Central US, so Policy1 can be applied there. Statement 2: Subnet2 has the Microsoft.Storage service endpoint but no policy, and Policy1 cannot be associated with it because VNet2 is in Southeast Asia, a different region. By default, a subnet with service endpoints and no policy can reach all storage accounts, so storage1, storage2 and storage3 are all reachable from VNet2. Statement 3: Policy1 allows every storage account in the subscription. Once a policy is applied, the storage service endpoint scope becomes global, so storage1, storage2 and storage3 are all reachable from Subnet3. They are also all reachable if Policy1 is not associated, so access is not limited to storage2.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!