Chapter 3: Governance and Compliance Flashcards
(36 cards)
What is a Subscription?
Billing unit that aggregates all costs of underlying resources
Helps segment billing units into logical ownership
Ex. Marketing vs. Engineering
What does a subscription contain?
Contain resource groups and associated resources
Each resource group must be part of one single subscription
Subscription is a scoping level for deploying ARM templates
What are some types of subscriptions?
Pay as you Go
Free Trial
Enterprise Agreement
What are 3 major types of subscription naming conventions?
Environment - Prod, Dev, Staging
Department/Teams
Region - geographical region of the business
What is a Management Group?
Container to manage subscriptions in a parent/child relationship
What is the Root Management Group?
Top level management group - cannot put another manage group above
How many levels of management groups can you have?
6 levels
Can you deploy an Azure Policy at the Management Group level?
Yes
Can you deploy RBAC at the Management Group level?
Yes
Why is it important to understand where you set scope for RBAC and Policies?
The level of scope will allow those settings to flow down from there - cascade downward
Are users given access to a root management group by default?
No, this would allow users highest scope control
Only the global admin
Can Root Management Groups be moved or deleted?
No
What can the global admin do in the event of getting locked out?
Global Administrators can elevate themselves to User Access Admin of root group
What is an Azure Policy?
Enforce compliance and enable auditing
You determine what is “compliant”
What are some use cases for policies?
Prohibiting services and/or resources to control costs
Enforce allowed locations
What are the components of an Azure policy?
Definition
Assignment
Initiative Definition
What is a policy definition?
Defines the policy - the evaluation criteria for compliance and defines the actions that take place
Audit or deny something outside of compliance
Example: Deny the creation of a resource without a specific tag
What is a policy assignment?
The scope at which we assign our policy. The WHO
What policy scopes are possible?
Management Group
Subscription
Resource Group
Resource
What is a policy initiative definition?
Collection of policies that are tailored to achieving a singular high-level goal together
What are Tags?
Name / Value pairs
Ex. Dept:Marketing, Env:Prod
How many characters can names be? Values? Storage Accounts?
Names = 512
Value = 256
Storage = 128
Are tags inherited down the hierarchy?
No tags stay at the set scope and are not inherited beneath.
What is a resource lock?
Allows you to override permissions to resources
You can lock subscriptions, resource groups, or resources.