Learn what resource locks are and how to apply them to protect critical resources in Azure.
Question
Which of the following situations would be good example of when to use a resource lock?
A. A ExpressRoute circuit with connectivity back to the on-premises network.
B. A non-production virtual machine used to test occasional application builds.
C. A storage account used to temporarily store images processed in a development environment.
Answer
A. A ExpressRoute circuit with connectivity back to the on-premises network.
Explanation
An ExpressRoute Circuit is a critical resources Resource locks prevent other users in the organization from accidentally deleting or modifying critical resources.
A resource lock is a feature that prevents other administrators from modifying or deleting resources in Azure. A resource lock can be set to CanNotDelete or ReadOnly levels. A resource lock is useful when a resource is critical for the operation of the system and should not be changed accidentally or maliciously.
A ExpressRoute circuit is a dedicated connection between the on-premises network and Azure. It is a vital resource that enables hybrid cloud scenarios and should not be tampered with. Therefore, applying a resource lock to a ExpressRoute circuit is a good example of when to use this feature.
B and C are not good examples of when to use a resource lock, because they are not critical resources and may need to be modified or deleted frequently. A non-production virtual machine and a storage account used for temporary purposes are not essential for the system and can be recreated if needed.
B is incorrect. A non-production VM resource doesn’t need to be protected from accidental deletion or modification.
C is incorrect. A temporary resource doesn’t need to be protected from accidental deletion or modification.
Microsoft Azure Administrator AZ-104 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure Administrator AZ-104 exam and earn Microsoft Azure Administrator AZ-104 certification.