Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam AZ-104 Topic 9 Question 84 Discussion

Actual exam question for Microsoft's AZ-104 exam
Question #: 84
Topic #: 9
[All AZ-104 Questions]

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 configure a custom policy definition, and then you assign the policy to the subscription.

Does this meet the goal?

Show Suggested Answer Hide Answer
Suggested Answer: B

A custom policy definition is a way to define your own rules for using Azure resources. You can use custom policies to enforce compliance, security, cost management, or organization-specific requirements. However, a custom policy definition alone is not enough to meet the goal of automatically blocking TCP port 8080 between the virtual networks. You also need to create a policy assignment that applies the custom policy definition to the scope of the subscription. A policy assignment is the link between a policy definition and an Azure resource. Without a policy assignment, the custom policy definition will not take effect. Therefore, the solution does not meet the goal.


Tutorial: Create a custom policy definition

Create and manage policies to enforce compliance

Contribute your Thoughts:

Bulah
8 months ago
Ha, this question reminds me of that time I spent a whole week trying to find a workaround for a problem that had a much simpler solution. Always gotta think outside the box, but not too far outside, you know?
upvoted 0 times
...
Jamal
8 months ago
I agree with you both. The question is asking about a specific solution, but it doesn't seem like the most straightforward or effective way to achieve the goal. I'd be curious to see if there are any other options we should consider.
upvoted 0 times
...
Nohemi
8 months ago
You make a good point. Applying a policy to the entire subscription seems like overkill when we could just create an NSG with the appropriate rules. It would be more efficient and easier to manage.
upvoted 0 times
...
Truman
8 months ago
Hmm, this is an interesting question. I'm not sure if configuring a custom policy definition would be the best solution here. Shouldn't we be able to create a network security group that blocks TCP port 8080 between the virtual networks directly, rather than relying on a custom policy?
upvoted 0 times
...
Noushu
1 years ago
Answer is A
upvoted 1 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77