Register to Better Coder! It's free.
Enjoy the premium features and succeed at every job interview.

How can you create a resource in such a way so that a user with RBAC Owner role cannot delete it?

Experience Level: Senior
Tags: Azure BlueprintsAzure Cloud

Answer

Use Azure Blueprint, resource locking feature.

Using Azure Blueprins you can create resources in subscription automatically. Thanks to resource locking you can make the resource locked so that Owner cannot delete it.

You can set the following states using resource locking:
  • Not Locked,
  • Read Only,
  • Cannot Edit / Delete
  • Cannot Delete. 
Related Azure Cloud job interview questions

Comments

No Comments Yet.
Be the first to tell us what you think.
Azure Blueprints
Azure Blueprints

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself
AZ-304 Microsoft Azure Architect Design Preparation
AZ-304 Microsoft Azure Architect Design Preparation

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself