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

Programmer, architect, trainer, blogger, evangelist are just a few of my titles. What I really am, is a passionate technology enthusiast. I take great pleasure in learning new technologies and finding ways in which this can aid people every day. My latest passion is running an Azure 4 Everyone YouTube channel, where I show that Azure really is for everyone!

Did you enjoy the article?

Share it!

More tagged posts