Microsoft Azure Administrator (legacy) — Question 3

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains 10 virtual networks. The virtual networks are hosted in separate resource groups.
Another administrator plans to create several network security groups (NSGs) in the subscription.
You need to ensure that when an NSG is created, it automatically blocks TCP port 8080 between the virtual networks.
Solution: You create a resource lock, and then you assign the lock to the subscription.
Does this meet the goal?

Answer options

Correct answer: B

Explanation

Creating a resource lock at the subscription level does not configure network security groups or their rules, and therefore it does not block TCP port 8080 between the virtual networks. The correct approach would involve explicitly defining NSG rules for the traffic management between the networks, which the resource lock does not accomplish.