HOTSPOT - For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Hot Area:
Answer should be: YYN
No, you cannot add more than one resource lock to an Azure resource. Each resource can only have one lock at a time, either a ReadOnly lock or a CanNotDelete lock
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources?tabs=json
YNN.
In Azure, a resource lock is a setting that can be applied to Azure resources to prevent accidental deletion or modification. It's a feature designed to provide an extra layer of protection, ensuring that critical resources remain safe from unintended changes.
YNN.
You can add more than one resource lock to an Azure resource. According to the Microsoft Learn article1, “You can set locks that prevent either deletions or modifications. In the portal, these locks are called Delete and Read-only. In the command line, these locks are called CanNotDelete and ReadOnly.” Therefore, you can apply both a Delete and a Read-only lock to a resource if you want to prevent any changes to it.
You cannot delete a resource group containing resources that have resource locks. According to the Microsoft Learn article1, “If you have a Delete lock on a resource and attempt to delete its resource group, the feature blocks the whole delete operation. Even if the resource group or other resources in the resource group are unlocked, the deletion doesn’t happen. You never have a partial deletion.”
YNN is the answer.
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources?tabs=json
As an administrator, you can lock an Azure subscription, resource group, or resource to protect them from accidental user deletions and modifications. The lock overrides any user permissions.
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources?tabs=json#lock-inheritance
If you have a Delete lock on a resource and attempt to delete its resource group, the feature blocks the whole delete operation. Even if the resource group or other resources in the resource group are unlocked, the deletion doesn't happen. You never have a partial deletion.
YNN. Proof :
"If you have a Delete lock on a resource and attempt to delete its resource group, the whole delete operation is blocked. Even if the resource group or other resources in the resource group aren't locked, the deletion doesn't happen. You never have a partial deletion."
source : https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources?tabs=json
This section is not available anymore. Please use the main Exam Page.SC-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.
Aunehwet79
Highly Voted 3 years, 6 months agoPooltime123
2 months, 2 weeks agoContactfornitish
Highly Voted 3 years, 2 months agoLegendaryZA
Most Recent 7 months agotnttech
9 months agoazhrhsn
1 year, 4 months agoTomG
1 year, 8 months agomanofsteel9
1 year, 11 months agozellck
2 years agozellck
2 years agojqatar
2 years, 2 months agoluckyiki
2 years, 3 months agoyonie
2 years, 4 months agoTomGray1989
2 years, 4 months agoTanzy360
2 years, 8 months agocantbeme
2 years, 8 months agoYelad
2 years, 10 months agokah1
3 years agobillo86
3 years agoobaali1990
2 years, 2 months ago