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:
A - Can you have multiple delete locks on a resource? YES
Confirmed, with screenshots in the below article.
- https://stackoverflow.com/questions/65408486/why-azure-provides-multiple-delete-locks-on-a-virtual-machine
B - Are locks inherited from a resource group? YES
When you apply a lock at a parent scope, all resources within that scope inherit the same lock. Even resources you add later inherit the lock from the parent. The most restrictive lock in the inheritance takes precedence.
If you want to create a lock at a parent level, select the parent. The currently selected resource inherits the lock from the parent. For example, you could lock the resource group to apply a lock to all its resources.
- https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources#:~:text=In%20the%20Settings%20blade%20for,the%20lock%20from%20the%20parent
C - If you have a read only lock, can you add a delete lock? YES
Confirmed as possible by vasonic in a previous comment in lab.
The answer in box 3 is yes, I have student subscription for Azure and I just tried adding a read-only lock and then adding a delete lock. It was successful. So BOX 3 -> YES
Correct - in addition for C
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. CanNotDelete means authorized users can read and modify a resource, but they can't delete it
what would be the point in multiple delete Locks ? The only way would be if a resource inherited several from different hierarchies but then that is a pointless statement
will all due respect, your statement defies logic: if 1st answer is No, automatically the 3rd answer has to be No: "read-only AND delete lock" means MULTIPLE (more than one) locks
Got this in my exam today. Scored 905/1000.
Initially I thought, applying multiple locks at resource level doesn't make sense so it should be false but then it inherits from RG so if we apply at both level, it is kind of multiple locks. So I answered YYY.
I had 4 questions related to multiple locks.
ChatGPT is the all bullshiting. If you doesn't know much about a matter, ChatGPT will sound like a genious. If you know, you'll notice a lot of mistakes in it's speach.
yes, yes, no..
chatGTP answered 3 as:
No, if an Azure resource has a read-only lock, you cannot add a delete lock to the same resource. When a resource is marked as read-only, it means that no changes can be made to the resource, including adding or removing locks.
Resource Lock - Prevent accidental deletion/modification of resources:
Applicable at multiple levels: subscription, resource group, or resource
^Azure Resource inherits locks from its resource group and subscriptions
Two options: CanNotDelete and ReadOnly
Locked resource should be unlocked before it can be changed (even by owners)
Two Options:
ReadOnlyLock : Authorized users can read BUT they can't delete or update the
resource
CannotDelete : Authorized users can read and modify BUT they can't delete the
resource
Example : If a Resource Group has a Delete Lock, then administrator
can first remove DELETE lock before she can delete the resources
You can have multiple locks at different levels
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.
SimonR2
Highly Voted 4 years agovasonic
Highly Voted 4 years, 2 months agoPetraA
Most Recent 4 weeks, 1 day agoSuper63
6 months agoblkrn2828
8 months, 1 week agoNoursBear
9 months agoa41628e
10 months, 2 weeks agorankocertified
5 months, 3 weeks agoCodee
1 year, 2 months agochereda
1 year, 8 months agozimzimzimma
1 year, 10 months agozimzimzimma
1 year, 7 months agoHash___
1 year, 8 months agoonepunchman
1 year, 11 months agoEkie
2 years agoimsidrai
2 years, 1 month agounVatoLoco
2 years, 2 months agoNet_IT
2 years, 2 months agoNet_IT
2 years, 2 months agoealt
2 years, 2 months agoNANANA123
2 years, 4 months agoahashemi
2 years, 4 months agoBMF
2 years, 4 months agoAzureCloud07
2 years, 4 months ago