The correct answer is **B. Apply a read-only lock to RG1**.
### Explanation:
A **read-only lock** prevents users from making any modifications to resources within the resource group, including adding, updating, or deleting resources. It also ensures that the resource group itself cannot be deleted. This meets all the requirements stated in the scenario.
### Why not the other options?
- **A. Apply a delete lock to RG1**: A delete lock would prevent users from deleting RG1 but does not restrict modifications to resources within RG1.
- **C. Grant role-based access control (RBAC) permissions to RG1**: RBAC permissions provide access control but require detailed configuration and may not completely restrict all the specified actions.
- **D. Add a tag to RG1**: Tags are used for organizing resources and do not control access or prevent actions.
Read-only: This lock type prevents users from modifying or deleting the resource group and its resources.
CanNotDelete: This lock type prevents users from deleting the resource group but allows modifications.
I think we should get a :
- delete lock on RG1 =====> Answer A
- read only lock on RG1 resources only ====> Not mentioned in the possible choices
Additionally, I understand there is no inheritance on a RG and its resources. So it should be answer A. Am I wrong ?
B. Apply a read-only lock to RG1.
A read-only lock will prevent users from making any modifications or deletions to the resource group and its resources. This lock type ensures that all resources within RG1 can only be read, not modified or deleted
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.AZ-900 Exam Questions
Log in to ExamTopics
Sign in:
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.
RjayC
2 months, 3 weeks agoDmarcetic
4 months, 1 week agoDmarcetic
4 months, 2 weeks agoLili97
4 months, 4 weeks agozswap
8 months, 1 week ago