Azure Storage Account
Azure Storage provides four primary service types you must understand for the AZ-104 exam.
Blob Storage and Access Tiers
Blob Storage handles unstructured data like images, videos, and backups. It offers three access tiers that affect cost and performance.
- Hot tier provides frequent access with low retrieval costs
- Cool tier suits infrequent access (30+ days) with lower storage costs
- Archive tier offers lowest storage costs for long-term compliance data
Each tier has different pricing and minimum storage duration requirements.
Other Storage Service Types
Table Storage stores NoSQL structured data in key-value pairs. This service works well for applications requiring flexible schemas.
Queue Storage enables asynchronous messaging between application components. Messages can be up to 64 KB each, making this ideal for decoupling services.
File Shares provide SMB and NFS protocol access. Use these for legacy application integration and on-premises connectivity.
Storage Account Tiers
Storage accounts come in different types with different capabilities.
- Standard accounts support all services with magnetic storage and lower costs
- Premium accounts use solid-state drives for specific services like blobs and file shares
- BlockBlobStorage accounts optimize specifically for block blob operations
GPv2 (General Purpose v2) is the most versatile option, supporting all services. Use this for most scenarios. Specialized accounts like FileStorage or BlockBlobStorage optimize for specific workloads when you need maximum performance.
Flashcards help you quickly recall which service suits different scenarios. For example, choose Queue Storage for decoupling application components or select Blob Storage with Archive tier for compliance data retention.
Security, Access Control, and Authentication Methods
Security in Azure Storage involves multiple layers that Azure Administrators must master. You need to understand each method and when to use it.
Storage Account Keys and Shared Access Signatures
Storage account keys provide full access to all data in the storage account. Treat these like database admin passwords. Rotate them regularly as part of security best practices.
Shared Access Signatures (SAS) enable granular, time-limited access without sharing full keys. SAS tokens include expiration times, authorized resources, and specific permissions.
- Account-level SAS controls service-level operations
- Service-level SAS controls resource-level access
Use SAS for temporary access to external partners. Never share storage account keys with external parties.
Azure AD and Role-Based Access Control
Azure Active Directory (AAD) integration allows role-based access control through Azure RBAC. You assign roles like Storage Blob Data Contributor or Storage Queue Data Reader at different scopes.
Managed identities provide another secure authentication method. These allow Azure services to authenticate without storing credentials anywhere.
Network and Encryption Security
Storage account firewalls restrict access to specific IP ranges. Virtual Network Service Endpoints enable secure access from VNets without internet exposure.
Encryption at rest is automatically enabled using Microsoft-managed keys by default. You can implement customer-managed keys through Azure Key Vault for additional control.
Transport Layer Security (TLS) encrypts data in transit. Use TLS 1.2 minimum for all connections.
Azure Defender for Storage provides threat detection and monitoring. Enable this to catch unusual access patterns.
Choosing the Right Authentication Method
Use SAS tokens for temporary access to external partners. Use AAD for internal Azure applications. Use managed identities for serverless scenarios where you cannot store credentials. Flashcards help you remember the specific permissions available for each SAS type and the security implications of different access methods.
Storage Account Configuration, Replication, and Redundancy
Configuring Azure Storage accounts for reliability requires understanding redundancy options. Each option protects against different failure scenarios.
Understanding Redundancy Options
Locally Redundant Storage (LRS) replicates data three times within a single data center. This provides the lowest cost but no protection against data center failures.
Zone-Redundant Storage (ZRS) replicates across three availability zones within the same region. This protects against zone-level outages with 99.99% availability.
Geo-Redundant Storage (GRS) maintains a primary copy in one region with asynchronous replication to a secondary region 300+ miles away. Failover is possible if the primary region becomes unavailable.
Read-Access Geo-Redundant Storage (RA-GRS) adds read access to the secondary region during normal operations. This improves availability but requires managing consistency.
Geo-Zone-Redundant Storage (GZRS) combines ZRS and GRS benefits. RA-GZRS includes read access to the secondary.
Data Protection Features
Storage accounts support immutable storage policies that prevent data modification or deletion. Use this for compliance requirements like WORM (Write Once Read Many).
Blob versioning tracks historical versions of blobs automatically. Soft delete capabilities allow recovery of deleted data within a retention period.
Cost Optimization Through Lifecycle Management
Lifecycle management automates tiering by moving data between Hot, Cool, and Archive tiers based on age. This can reduce storage costs significantly.
Minimum storage durations matter for cost calculations. Cool tier requires 30-day minimum storage. Archive tier requires 90-day minimum. Moving data too frequently defeats the cost benefits.
Performance Tiers
Performance tiers include Standard (HDD-based, cost-effective) and Premium (SSD-based, high-performance). Each supports different scale limits. Each has different pricing models you must understand.
Use flashcards to memorize redundancy characteristics, failover procedures, and cost-benefit analyses of different configurations. This accelerates your exam preparation.
Managing Blob Storage, File Shares, and Data Movement
Blob Storage management involves understanding container organization, blob types, and access patterns. Different blob types serve different purposes.
Blob Types and Storage
Block blobs store files up to 190.7 TB using blocks that can be uploaded in parallel. This makes them ideal for large files and concurrent uploads.
Append blobs optimize for append-only scenarios like logging. These prevent modification of existing data.
Page blobs support random read/write operations and back virtual machine disks. These are less common but essential for specific workloads.
Blob snapshots create read-only point-in-time copies for backup and recovery. Understand that snapshots are manual while versioning is automatic.
Container Organization and Access
Containers provide the first level of organization within a storage account. You can configure anonymous access at the container or blob level.
Azure File Shares provide SMB 3.0 protocol access. These support both cloud-only and hybrid scenarios with Azure File Sync.
Premium File Shares offer higher performance but limited capacity compared to standard shares.
Scale Limits and Data Movement
Storage accounts have scale limits you must know. Blob operations handle 20,000 transactions per second. File shares support 3,000 IOPS by default.
Data movement options include Storage Account Copy for server-side copying between accounts, Blob Upload for uploading local files, and Azure Data Box for offline migration of large datasets up to 1 PB.
Import/Export service uses physical disks for massive data transfers when network bandwidth is limited.
Backup and Recovery Strategies
Understand the difference between blob snapshots and versioning. Versioning maintains all versions automatically, while snapshots require manual creation. Each strategy has different cost and recovery implications.
Tiering strategies automatically move aged data from Hot to Cool to Archive tiers. Flashcards help you quickly recall the four IOPS throttling levels based on storage account type and partition key selection for optimal performance distribution.
Monitoring, Troubleshooting, and Study Strategies for Azure Storage
Monitoring Azure Storage requires familiarity with Azure Monitor, Storage Analytics, and diagnostic logging. These tools provide visibility into performance and security.
Monitoring Tools and Metrics
Azure Monitor metrics track request volume, latency, availability, and error rates. This enables performance trending and alerting.
Diagnostic logs capture detailed information about read, write, and delete operations. Use these for security auditing and troubleshooting.
Azure Storage Analytics provides visibility into application performance patterns and capacity planning.
Key Metrics to Track
Key metrics include average latency, percentage errors, server-side request throttling (HTTP 503/500 errors), and geographic distribution of requests.
Alerts help identify issues like unusual activity patterns or quota approaching limits. Set up alerts for critical thresholds.
Flashcard Study Strategies
For exam preparation, use flashcards to memorize these critical items:
- The four redundancy options and their geographic distribution
- Specific permission sets for different SAS token types
- Pricing differences between access tiers and redundancy options
- Scale limits per storage account
- Minimum storage durations that affect cost optimization
- Authentication method selection criteria
Creating Effective Flashcards
Create flashcards using spaced repetition. Review frequently missed items more often. Front-side questions should describe scenarios. For example, "An organization needs 99.99% availability in a single region." Back-side answers include the solution like RA-GRS or GZRS.
Include practical scenarios: configuring lifecycle policies to reduce costs, implementing security controls, and designing disaster recovery strategies.
Study Session Structure
Study in focused sessions covering one service type per session. Then review cross-cutting concepts like security and monitoring.
Flashcards excel for Azure Storage because the topic contains many decision trees. Given a scenario, you must choose which storage type, redundancy option, and authentication method best fits. Active recall through flashcards builds the pattern recognition skills needed for exam success and professional competency.
