Az104Deck1 Flashcards
What is the hierarchy in Azure Resource Manager (ARM)?
Subscription\ResourceGroup\Resource (Subscription is the billing unit)
Example: Subscription\Development\Virtual Machine
What is the role of Azure Resource Manager (ARM)?
ARM is the orchestration layer that connects to the Azure Resource Provider to complete requests on resources.
What is the function of Tenants in ARM?
Tenants use Azure Active Directory (AAD) to prevent interference with other organizations’ resources.
What are the key points about ARM fundamentals?
- Resources are Azure Managed Entities
- Resources are held in Resource Groups (RGs)
- RGs are in subscriptions (billing entities)
- Management via REST API endpoints (Portal, CLI, Powershell)
- ARM is a management service
- Each resource has a resource provider
What are the components of an ARM template?
- Parameters: Passed in at run time
- Variables: Hardcoded
- Resources: Define resources in template
- Outputs: Return info from the deployment (e.g., IP of a VM)
What are the key points about ARM templates?
- Can be deployed at various scopes
- Can be nested
- Are JSON Files
- Are Infrastructure as Code (IAC) and enable quick, repeatable environment deployment
What is a subscription in Azure?
A billing unit that aggregates costs of underlying resources. It contains Resource Groups and their resources, and it is a scoping level for governance and security.
What are the types of subscription ideas?
- PROD/DEV/STAGING
- DEPT/TEAMS
- REGION
What is the relationship between AAD and subscriptions?
A subscription can only be associated with one Azure Tenant at a time, and there is a trust relationship between AAD and the subscription. A Tenant can have multiple subscriptions within it.
What are management groups in Azure used for?
Organizing and grouping subscriptions, implementing a hierarchy (up to 6 levels) with root management group at the top, and serving as a scope for Azure RBAC and Policies.
What are the key points about Azure Policies?
- Used to enforce compliance and governance (e.g., cost control, location restrictions)
- Can audit non-compliant resources or deny creation of non-compliant resources
- Components: Definition (rules/criteria), Assignment (scope), Initiative (collection of policies for higher-level goals)
What are the characteristics of tagging resources in Azure?
- Name/Value pairs for categorization (e.g., Dept, Location, Environment)
- Up to 50 tags per resource
- Tag names: up to 512 characters; Tag values: up to 256 characters (storage account tags are less: names up to 128 characters)
- Tags are not inherited (Azure Policies can help)
- Tag names must be unique at the resource scope
What is the purpose of locks in Azure?
Prevent accidental update and deletion of resources.
What are the types of locks in Azure?
- Read Only: Allows users to read a resource but not update it
- Cannot Delete: Allows users to read and update a resource but not delete it
What are the key points about moving resources in Azure?
- Resources can be moved across Resource Groups and Subscriptions
- Moving a resource is a write operation
- RG level locks are not moved with resources, but locks applied directly to resources are retained
What factors affect Azure costs?
- Subscription Type (Free, PAYG, Enterprise Agreement, CSP)
- Resource Type
- Usage Meter
- Resource Usage
- Location