Practice Test

Question 1

Which statement describes Azure Resource Locks? Resource Locks are …

✔ That's correct
❌ That's not correct
👨‍🦱 💬 Azure Resource Locks were designed to prevent accidental deletion and/or modification.

Question 2

Which kind of locks are supported by Azure?

✔ That's correct
❌ That's not correct
👨‍🦱 💬 Currently Azure offers two types of locks to be created. A read-only and a delete lock.

Question 3

Contoso company wants to protect their production Storage Account from being deleted by accident. Currently their Administrators group has Owner privileges on the entire resource group where the storage account resides.
To achieve this they used Delete lock on the Storage Account resource. Will this solution work?

✔ That's correct
❌ That's not correct
👨‍🦱 💬 Yes. Resource locks prevent even Owners from deleting resources. They would need to remove lock first in order to remove storage account, which no longer would be an accidental removal.

Question 4

Read-only locks only allow read actions on resources. Every other action is blocked. True or false?

✔ That's correct
❌ That's not correct
👨‍🦱 💬 This statement is true. Read-only locks only allow read actions.

Question 5

Delete locks only allows resoruces to be deleted but not created or updated. True or false?

✔ That's correct
❌ That's not correct
👨‍🦱 💬 This statement is false. Delete locks allow all actions except for deletion.

Question 6

Azure Resource Locks can be applied on which scopes?

✔ That's correct
❌ That's not correct
👨‍🦱 💬 At this time locks can be only applied to Azure subscriptions, resource groups and resources only.
◀ Previous Episode Next Episode ▶

Adam Marczak

I've spent most of my career working with software and cloud technologies, but at heart I'm simply someone who loves learning new things and sharing what I discover. Through this blog and my Azure 4 Everyone YouTube channel, I try to make Azure and cloud computing more approachable for developers, architects, and anyone curious about technology. For full profile details, visit adammarczak.pl.

Did you enjoy the article?

Share it!

More tagged posts