exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 1 question 22 discussion

Actual exam question from Microsoft's AZ-300
Question #: 22
Topic #: 1
[All AZ-300 Questions]

Note: This question is part of 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?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
How can I freeze or lock my production/critical Azure resources from accidental deletion? There is way to do this with both ASM and ARM resources using Azure resource lock.
References:
https://blogs.msdn.microsoft.com/azureedu/2016/04/27/using-azure-resource-manager-policy-and-azure-lock-to-control-your-azure-resources/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
CloudGuy0
Highly Voted 5 years, 3 months ago
Answer is correct. Resource Lock prevents changes to a resource. It does not lock a configuration in place across multiple iterations.
upvoted 10 times
daniel840829
5 years ago
Wait....
upvoted 1 times
tartar
4 years, 9 months ago
B is ok
upvoted 1 times
...
...
...
Happiman
Highly Voted 5 years, 3 months ago
CloudGuy0,,,,, Are you OK?
upvoted 9 times
Dann1112
5 years, 1 month ago
I think he is just... elaborating ? /u\
upvoted 2 times
...
...
Yu001
Most Recent 4 years, 10 months ago
Answer is correct.Block a port doesn't mean block a resource
upvoted 1 times
...
gboyega
4 years, 11 months ago
B is correct
upvoted 2 times
...
Dineshvishe
4 years, 11 months ago
You configure a custom policy definition, and then you assign the policy to the subscription.\
upvoted 1 times
...
DeveshSolanki
4 years, 11 months ago
No is answer
upvoted 1 times
...
suresz
4 years, 11 months ago
You configure a custom policy definition, and then you assign the policy to the subscription.
upvoted 4 times
...
tundervirld
4 years, 11 months ago
The only way to view such info is through the Deployment blade under the settings section. https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-history?tabs=azure-portal
upvoted 1 times
...
byuq
5 years ago
Answer is correct
upvoted 2 times
...
BenDova
5 years, 2 months ago
Answer B - Locks can be applied to resource, resource group, or subscription. However, it doesn't validate that NSGs have specific rules. Its simply prevents you from changing or deleting resources.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...