Skill 1.3 Manage Subscriptions and Governance Flashcards
What is a resource in Azure
A single service instance, which can be a virtual machine, a virtual network, a storage account or any other Azure Service
What are resource groups
logical groupings of resource or those single-service instances
How many resource groups can a resource exist in
one resource group that cannot be renamed
What is Azure Policy
Azure Service that can be used to create, assign, and manage policies that enforce governance in your Azure Environment
What does Azure Policy include
application of rules that allow or deny a given resource type,
apply tags automatically, and
even enforce data sovereignty
What provides a mechanism to express how the environment is governed for all users at a specified scope regardless of RBAC assignments
Azure Policy
What does Azure RBAC default to for access
default deny with an explicit allow mechanism, whearas Policy is default allow mechanism with an explicit deny system
What does azure policy definition do
describes your desired behavior for Azure resources at the time resources are created or updated.
What do you declare though a policy definition
what resources and resource features are considered compliant within your Azure environment and what should happen when a resource is non-compliant
What are the four Azure Policy Scope
Management Groups
Subscriptions
Resource Groups
Resource
What do excluded scopes do
Allow you to model your environment with rich devalrations in the form of Policy definitions that are applied exactly as required by your organizations governance needs.
What are Azure Resource Locks
They are used to prevent the accidental deletion or modification of resources.
What are the two resource lock types
CanNotDelete
ReadOnly
What does the CanNotDelete Resource Lock do
Prevents the deletion of a resource. it only prevents deletion but not the modification
What does a ReadOnly Resource lock do
Prevents users from modifying a resource including updating or deleting
What can resource locks be applied to
A subscription, resource group, and resource scopes
What do resource tags do?
allow you to apply custom metadata to your Azure resources to logically organize them and to build out custom taxonomies.
What is a resource tag
A name and a value
What are some common tag types
environment with which a resource is associated, a cost center or billing code, and resource owner
Where must tags be applied
At the resource scope to be visible in detailed usage exports. Tags applied the resource group scope are not inherited by child resources
What access is needed to apply tags to a subscription, resource group, or resource
Write Access (Contributor Role or higher)
Can tags be applied in both a imperative and declarative manner
yes
What is required for tags to be applied to all resources
Because tags do not have inheritance you have to individually tag all resources in a resource group
What values can be used with the Update-AzTag Command
Replace – replaces the specified tags in the listed resources
Merge – Merges the newly specified tags with the existing ones and overrides the conflicts for the listed resources
Delete – Deletes the specified tags from the listed resources