Microsoft Azure Administrator (AZ-104) — Identity, Governance & Storage (Domains 1 & 2)
High-yield AZ-104 flashcards covering Microsoft Entra ID tenants, dynamic groups, Administrative Units, Conditional Access, PIM, Azure RBAC vs. Entra roles, Management Groups, Azure Policy, Resource Locks, Storage redundancy (LRS/ZRS/GRS/GZRS), Blob tiers, SAS tokens, and Azure Files.
- Category
- Multi-Cloud & DevOps Architecture — Microsoft Azure (AZ-104 & AZ-305), Google Cloud (PCA & PDE), Kubernetes (CKA / CKAD) & HashiCorp Terraform Associate
- Level
- basic
- Languages
- en → en
- Cards
- 32
- Markdown
- Microsoft Azure Administrator (AZ-104) — Identity, Governance & Storage (Domains 1 & 2) (.md)
Flashcards (32)
| # | Front (Term / Question) | Back (Definition / Answer) | Example | Multiple-Choice Options |
|---|---|---|---|---|
| 1 | How many levels of Management Groups are supported in a single Microsoft Entra tenant hierarchy (excluding the Root Management Group and Subscriptions)? | Azure supports up to six levels of Management Groups below the Root Management Group, with up to 10,000 groups total. | An enterprise structures `Root Management Group` -> `Enterprise` (L1) -> `Production` (L2) -> `EU-Region` (L3) -> `Regulated-Workloads` (L4), attaching sovereign compliance initiatives at L3. |
|
| 2 | How does Azure File Sync work, and what does the 'Cloud Tiering' feature do on registered Windows Servers? | Azure File Sync centralizes file shares in Azure Files while turning on-premises Windows Servers into fast local caches; Cloud Tiering stubs cold files locally. | Enabling Cloud Tiering with a 20% volume free-space policy and a 30-day date policy replaces old local files with NTFS reparse point pointers that stream transparently on demand. |
|
| 3 | How is an Archive-tier blob read in Azure Blob Storage, and what are the two rehydration priority options? | Archive blobs are offline and require rehydration to Hot/Cool or copying to a new blob via Standard (<15h) or High (<1h) priority. | An administrator needing urgent access to a 5 GB archived compliance bundle runs `az storage blob copy start` to a Hot-tier target blob with `--rehydrate-priority High`. |
|
| 4 | Which Microsoft Entra ID license tier is required to configure Dynamic Group membership rules or Privileged Identity Management (PIM)? | Dynamic Groups require at least Microsoft Entra ID P1, while Privileged Identity Management (PIM) requires Microsoft Entra ID P2. | An organization deploying just-in-time Global Administrator elevation with approval workflows and access reviews must assign Microsoft Entra ID P2 (or Microsoft 365 E5) licenses to eligible administrators. |
|
| 5 | What does Enabling 'Restricted Management Administrative Units' in Microsoft Entra ID prevent? | It blocks tenant-scoped administrators (such as Global Admins) from modifying objects inside the AU unless explicitly assigned to that AU. | Executive or C-suite user accounts placed inside a Restricted Management Administrative Unit cannot have their MFA methods reset by standard tenant-level Helpdesk or User Administrators. |
|
| 6 | What is the exact four-level hierarchy of scopes for Azure RBAC role assignments and Azure Policy assignments? | Management Group, Subscription, Resource Group, and individual Resource, with permissions and policies inherited downward from parent to child. | Assigning the `Reader` role to an auditing team at the `Corp-Prod` Management Group automatically grants read-only visibility across all child Subscriptions, Resource Groups, and VMs. |
|
| 7 | What happens when a Global Administrator enables 'Access management for Azure resources' in Microsoft Entra ID properties? | The user is temporarily granted the Azure RBAC 'User Access Administrator' role at the Root scope (`/`) across all linked subscriptions. | When the sole Owner of an Azure Subscription leaves the company, a Global Admin toggles this switch to grant themselves access to reassign Subscription Owner permissions. |
|
| 8 | How do the four built-in Azure RBAC roles—Owner, Contributor, Reader, and User Access Administrator—differ in permissions? | Owner has full access including RBAC delegation; Contributor manages resources but cannot grant access; Reader views only; User Access Admin manages RBAC only. | A CI/CD service principal assigned `Contributor` on a Resource Group can deploy AKS clusters and SQL databases via Terraform but cannot assign RBAC roles to other identities. |
|
| 9 | Compare Locally Redundant Storage (LRS) and Zone-Redundant Storage (ZRS) in Azure Storage regarding copy count and fault tolerance. | LRS maintains 3 synchronous copies within a single physical datacenter, whereas ZRS maintains 3 synchronous copies across 3 Availability Zones. | A production AKS workload using Azure Files or Blob storage selects ZRS (12 nines durability) so that a complete datacenter power or cooling failure in Zone 1 causes zero downtime. |
|
| 10 | What is the difference between Blob Versioning, Soft Delete for Blobs/Containers, and Immutable Blob Storage (WORM)? | Versioning saves prior states on every overwrite; Soft Delete retains deleted blobs/containers for a retention window; WORM blocks all modification or deletion. | Brokerage firms subject to SEC Rule 17a-4 configure container-level Time-Based Retention policies in Locked mode or Legal Holds so nobody—not even the Subscription Owner—can purge records. |
|
| 11 | Compare the four Azure Blob Storage access tiers (Hot, Cool, Cold, Archive) by minimum retention period and retrieval latency. | Hot has no minimum duration; Cool requires 30 days, Cold 90 days (all three offer millisecond latency); Archive requires 180 days with hours-long rehydration. | Financial audit logs accessed once a quarter are stored in Cold tier (90-day minimum, instant millisecond access), while 7-year regulatory archives move to Archive tier (180-day minimum, offline). |
|
| 12 | What is the purpose of 'Report-only' mode in Microsoft Entra Conditional Access? | Report-only mode evaluates sign-ins against the policy and logs the outcome to Sign-in logs without enforcing or blocking access. | Before enforcing phishing-resistant FIDO2 MFA across 5,000 engineers, administrators enable Report-only mode and inspect Entra Workbooks to verify no service accounts are inadvertently locked out. |
|
| 13 | What is the difference between Azure Policy and Azure RBAC? | Azure RBAC controls who can perform actions based on user identity, whereas Azure Policy enforces resource properties and compliance regardless of user identity. | A Subscription Owner has RBAC permission to create any VM, but an Azure Policy with the `Deny` effect blocks the Owner from deploying VMs outside `westeurope`. |
|
| 14 | When migrating or copying data in Azure Storage, how do `AzCopy` and Azure Storage Explorer differ, and how does server-side `azcopy copy` work between two Storage Accounts? | `AzCopy` is a high-concurrency CLI utility that performs direct server-to-server copies between Azure Storage accounts without routing bytes through the client machine. | Running `azcopy copy 'https://src.blob.core.windows.net/data?<SAS>' 'https://dst.blob.core.windows.net/data?<SAS>' --recursive` transfers 10 TB directly across the Azure backbone network. |
|
| 15 | In Microsoft Entra ID, what is the difference between Assigned, Dynamic User, and Dynamic Device group membership types? | Assigned groups require manual member selection, whereas Dynamic User and Dynamic Device groups evaluate attribute rules automatically. | A dynamic user rule such as `(user.department -eq "Finance") and (user.country -eq "US")` automatically adds or removes users from licensing and access groups when HR updates attributes. |
|
| 16 | How does Azure Blob Storage Lifecycle Management automate cost optimization for objects? | Lifecycle Management evaluates JSON rule sets once daily to transition blobs toward cooler tiers or delete blobs/versions based on age or last access. | A rule filtering prefix `logs/raw/` with `daysAfterLastAccessTimeGreaterThan: 30` automatically transitions unaccessed telemetry files from Hot to Cool and deletes them after 365 days. |
|
| 17 | Compare SMB and NFSv4.1 protocol support in Azure Files regarding storage account tiers and authentication. | SMB works on Standard (HDD) and Premium (SSD) file shares with identity-based AD/Entra Kerberos auth; NFSv4.1 requires Premium FileStorage and VNet network security. | Linux pods in AKS mounting a high-throughput POSIX shared volume provision a `FileStorage` Premium file share over NFSv4.1 secured via a Private Endpoint inside the cluster VNet. |
|
| 18 | How do Microsoft Entra Conditional Access policies evaluate multiple matching policies assigned to a user sign-in? | Conditional Access evaluates all matching policies simultaneously using logical AND; every required grant control and any Block control applies. | If Policy A requires MFA for Azure Portal sign-ins and Policy B requires a Hybrid Entra Joined compliant device, the administrator must satisfy both controls to sign in. |
|
| 19 | Do Azure Resource Group tags automatically inherit down to child resources created inside that Resource Group? | No, tags applied to a Subscription or Resource Group are not inherited by child resources unless enforced via an Azure Policy. | To ensure every VM and Disk inherits the `CostCenter` tag from its parent Resource Group, administrators assign the built-in `Inherit a tag from the resource group if missing` Modify policy. |
|
| 20 | In an Azure RBAC custom role JSON definition, what is the difference between `Actions`, `NotActions`, `DataActions`, and `NotDataActions`? | `Actions`/`NotActions` govern control-plane operations in Azure Resource Manager, while `DataActions`/`NotDataActions` govern data-plane operations inside resources. | Granting `Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read` in `DataActions` allows reading blobs directly via Entra authentication without exposing the storage account's control-plane access keys. |
|
| 21 | What problem do Administrative Units (AUs) solve in Microsoft Entra ID? | Administrative Units restrict the scope of Entra ID role assignments to a specific subset of users, groups, or devices. | Assigning a regional helpdesk engineer the User Administrator role scoped to the `EMEA-AU` Administrative Unit allows password resets for European staff without granting tenant-wide privileges. |
|
| 22 | How many Subscriptions can trust a single Microsoft Entra ID tenant, and how many Entra ID tenants can a single Azure Subscription trust at once? | Multiple Azure Subscriptions can trust the same Microsoft Entra ID tenant, but each Subscription trusts only one tenant. | When an enterprise moves an Azure Subscription to a different Microsoft Entra directory using `az account subscription`, existing Azure RBAC role assignments are permanently lost and must be recreated. |
|
| 23 | How do Geo-Redundant Storage (GRS) and Geo-Zone-Redundant Storage (GZRS) replicate data to the secondary Azure region, and what is required for read access to the secondary? | Both replicate asynchronously to a single physical location (LRS) in the paired secondary region; read access requires RA-GRS or RA-GZRS. | With RA-GZRS enabled, an application reads from `<account>-secondary.blob.core.windows.net` during a primary region outage, though asynchronous replication means `Last-Sync-Time` typically lags by several minutes (RPO ~15 min). |
|
| 24 | Compare the three types of Azure Storage Shared Access Signatures (SAS): User Delegation SAS, Service SAS, and Account SAS. | User Delegation SAS is signed with Microsoft Entra credentials (most secure); Service SAS targets one storage service; Account SAS spans multiple services. | Microsoft recommends disabling shared Account Keys (`allowSharedKeyAccess: false`) and issuing short-lived User Delegation SAS tokens for Blob and Data Lake Gen2 access. |
|
| 25 | How do the `DeployIfNotExists` (DINE) and `Modify` effects in Azure Policy remediate existing non-compliant resources? | Both require a Managed Identity attached to the policy assignment and a Remediation Task to update pre-existing non-compliant resources. | When assigning a `DeployIfNotExists` policy that deploys Azure Monitor Diagnostic Settings to all Key Vaults, the administrator creates a Remediation Task using a System-Assigned Managed Identity. |
|
| 26 | How do Microsoft Entra ID roles differ architecturally from Azure RBAC roles? | Entra ID roles control access to directory objects (users, groups, apps), whereas Azure RBAC controls Azure resource management via ARM. | A Global Administrator manages Entra tenant settings and users, while an Azure RBAC Owner or Contributor manages Virtual Machines and Storage Accounts inside a Subscription. |
|
| 27 | In Microsoft Entra Privileged Identity Management (PIM), what is the difference between an 'Eligible' and an 'Active' role assignment? | Eligible assignments require the user to perform just-in-time activation (with optional MFA or approval), whereas Active assignments apply immediately. | A Cloud Architect assigned as Eligible for the Contributor role on a production subscription activates the role for a 4-hour window with a change ticket justification. |
|
| 28 | In what order does Azure Policy evaluate multiple policy effects when a resource request is submitted to Azure Resource Manager? | Disabled is checked first, then Append and Modify (which can alter the request), followed by Deny, Audit, and finally DeployIfNotExists/AuditIfNotExists. | If an `Append` policy adds a required `Environment: Prod` tag to a new Storage Account request, a subsequent `Deny` policy checking for missing tags sees the appended tag and allows creation. |
|
| 29 | What happens when both a `ReadOnly` lock and a `CanNotDelete` lock exist on the same Resource Group, or why can a `ReadOnly` lock break an Azure Storage Account? | The most restrictive lock (`ReadOnly`) wins; `ReadOnly` blocks HTTP POST/PUT ARM calls, preventing `listKeys` operations on Storage Accounts. | Applying a `ReadOnly` lock to a Resource Group containing a Storage Account breaks applications or Azure Portal blades that call `POST .../listKeys` to retrieve or rotate account keys. |
|
| 30 | How can you immediately revoke an issued Service SAS token without rotating the entire Storage Account access key? | Associate the Service SAS with a container-level Stored Access Policy and modify or delete that Stored Access Policy to revoke access immediately. | Up to 5 Stored Access Policies can be defined per container, file share, table, or queue, letting administrators alter start time, expiry time, or permissions after issuing the SAS URI. |
|
| 31 | What is the minimum passing scaled score and exam domain weight distribution for the Microsoft Azure Administrator (AZ-104) certification? | Passing requires a scaled score of 700 out of 1000 across five domains led by Virtual Networking and Compute. | Candidates face 40 to 60 questions—including case studies and interactive scenarios—covering Identity and Governance (20-25%), Storage (15-20%), Compute (20-25%), Networking (15-20%), and Monitoring (10-15%). |
|
| 32 | How does Azure RBAC evaluate conflicting `Allow` role assignments and `Deny assignments`? | Azure RBAC starts with an implicit Deny; explicit Deny assignments (created by Azure Blueprints or Managed Applications) override any role assignment. | Even if a user holds the Subscription `Owner` role, a Managed Application's explicit Deny assignment on its managed Resource Group blocks the user from deleting its internal VMs. |
|