Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft SC-500 Exam - Topic 2 Question 7 Discussion

Posted by Onita on Sep 27, 2026 at 11:47 AM

You have an Azure subscription named Sub1 that contains a resource group named RG1.

RG1 contains a virtual network named VNet1 and a storage account named storage1. Several engineers are assigned the Owner role for Sub1.

You need to prevent updates to and deletions from VNet1. The solution must ensure that engineers can continue updating other resources in RG1.

Which lock should you apply?

Suggested Answer: C

Apply a Read-only lock directly to VNet1. Azure management locks operate independently of Azure RBAC and override permissions such as Owner. A ReadOnly lock prevents authorized users from both updating and deleting the locked resource, which exactly satisfies the protection requirement for VNet1. Microsoft documents that a ReadOnly lock effectively restricts authorized users to read operations for the locked resource.

The lock must be scoped specifically to VNet1, not RG1. Locks applied at a parent scope are inherited by child resources. Therefore, applying ReadOnly to RG1 would also prevent modifications to storage1 and other resources in RG1, violating the requirement that engineers must remain able to update those resources.

A Delete lock is insufficient because CanNotDelete permits users to modify a resource while preventing only deletion. The question explicitly requires preventing updates and deletions, so ReadOnly is necessary.

This aligns with the SC-500 governance objective covering enforcement of security controls for Azure resources. The current study guide places governance and security-control enforcement under Manage identity, access, and governance.

===============


Get Premium SC-500 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
11 comments · newest first
SA
Santos
I disagree, a Delete lock at the VNet1 scope makes more sense!
RY
Ryann 5 days ago
C) a Read-only resource lock at the VNet1 scope is the way to go.
MA
Maurine 10 days ago
A Read-only lock at the RG1 scope would affect everything, not just VNet1.
FE
Felix 15 days ago
Totally agree with C, keeps VNet1 safe while letting us work on other stuff!
NO
Noble 20 days ago
Wait, can you really lock just one resource like that?
EL
Elza 26 days ago
I disagree, B) a Delete resource lock at the RG1 scope makes more sense.
KA
Kandis 1 month ago
C) a Read-only resource lock at the VNet1 scope is the way to go.
AL
Albert 1 month ago
I’m a bit confused. If we apply a lock at the RG1 level, wouldn’t that affect everything in the resource group? I think we should focus on VNet1.
IS
Isaac 1 month ago
I practiced a similar question, and I think a Read-only lock at the RG1 scope would be too broad. We need to target VNet1 specifically.
FA
Fannie 2 months ago
I remember something about resource locks, and I feel like a Delete lock at the VNet1 scope would be the right choice. It seems to fit the requirement.
CH
Chaya 2 months ago
I think we need to apply a lock specifically to VNet1 to prevent updates and deletions, so maybe option C? But I'm not entirely sure.
0/2000 characters

Save Cancel