Skip to content

AzureStorage

1. Differentiate between resource manager and classic ?

Azure provides two deployment models for resources: Resource Manager (ARM) and Classic. Below is a comparison of the two models:

  1. Overview
Feature Resource Manager (ARM) Classic Deployment Model
Introduced 2014 (Modern model) Pre-2014 (Legacy model)
Deployment Method Declarative templates (ARM templates) Manual or scripted (PowerShell, CLI)
Resource Group Resources are grouped logically using Resource Groups No concept of Resource Groups
Management Unified and consistent management via Azure Portal, PowerShell, CLI, SDKs Limited and inconsistent management
  1. Key Differences
Aspect Resource Manager (ARM) Classic Deployment
Grouping Resources are deployed and managed as a group Resources are managed individually
RBAC Support Supports Role-Based Access Control (RBAC) Limited RBAC (applies at subscription level)
Tagging Support Tags can be applied to resources and groups No tagging support
Template Support Supports Infrastructure-as-Code with ARM templates No native template support
Consistency Consistent and predictable deployments Less consistent across services
Dependencies Supports defining dependencies between resources No dependency handling
Resource Locks Supports locking resources to prevent changes Not available
Policy Integration Supports Azure Policy Not supported
  1. Use Cases

ARM Model:

  • Recommended for all new resources and services
  • Supports CI/CD, DevOps, automation, and modern governance3

Classic Model:

  • Legacy workloads or services not yet migrated
  • Not recommended for new deployments

  • Migration

Microsoft encourages migration from Classic to ARM using tools like:

  • Azure Migrate
  • Classic to ARM migration tools
  • Manual re-deployment via ARM templates

⚠️ Note: Some services no longer support the classic model and may be retired.

  1. Conclusion

ARM provides a modern, scalable, and manageable way of working with Azure resources, enabling automation, consistency, and governance. The classic model is deprecated and should be avoided in new projects.

References

2. Explain the difference between blobs , files , queues and table ?

Azure Storage offers different services to cater to various storage needs. Below is a breakdown of the key differences among Blob Storage, File Storage, Queue Storage, and Table Storage.

  1. Overview
Storage Type Description
Blob Storage Stores unstructured data like documents, images, videos, and backups
File Storage Shared file system accessible via SMB protocol, similar to a file share
Queue Storage Messaging store for reliable inter-service communication
Table Storage NoSQL key-value storage for structured, non-relational data
  1. Key Differences
Feature Blob Storage File Storage Queue Storage Table Storage
Use Case Images, backups, videos, logs Shared file access, lift-and-shift apps Messaging between services Storing large sets of structured data
Data Type Unstructured File-based Text messages Structured data in key-value format
Access Protocol HTTP/HTTPS via REST API SMB (Server Message Block) REST API REST API
File Structure Containers → Blobs Shares → Directories → Files Queues → Messages Tables → Entities
Max Message Size N/A N/A 64 KB per message Up to 1 MB per entity
Max Storage Size Depends on tier (up to petabytes) Up to 100 TiB per share Up to 500 TiB Up to 500 TiB
Access Control Azure RBAC, Shared Access Signatures Azure RBAC, Shared Access Signatures Shared Access Signatures (SAS) Shared Access Signatures (SAS)
Latency Low Low Very Low (used for message queuing) Low
  1. When to Use What?

Blob Storage

  • Storing images, videos, PDFs, large logs
  • Backup and disaster recovery
  • Data lake for analytics (with ADLS Gen2)

File Storage

  • Migrating legacy apps that use file shares
  • Centralized file storage accessible via SMB
  • Lift-and-shift file-based workloads

Queue Storage

  • Asynchronous task messaging
  • Decoupling services in distributed systems
  • Processing orders, logs, or events in the background

Table Storage

  • Large-scale structured data with simple query needs
  • Device logs, metadata storage, user profiles
  • Cheaper alternative to full database if joins aren't needed

  • Summary

Storage Type Best For Key Benefit
Blob Media files, unstructured data Cost-effective, scalable
File SMB file share replacement Easy migration of legacy systems
Queue Service communication Reliable async messaging
Table NoSQL structured storage Fast and cheap key-value access
  1. References

  2. Azure Blob Storage Documentation

  3. Azure Files Documentation
  4. Azure Queue Storage Documentation
  5. Azure Table Storage Documentation

3. Differentiate between general storage v1 vs v2 vs blob ?

Azure offers different types of storage accounts to meet various needs. The three primary types are:

  • General Purpose v1 (GPv1)
  • General Purpose v2 (GPv2)
  • Blob Storage Account

Below is a detailed comparison:

  1. Overview
Storage Account Type Description
GPv1 Legacy account supporting all storage services with older pricing model
GPv2 Recommended default; supports latest features, access tiers, and pricing
Blob Storage Specialized for blob data only, with access tiers but limited services
  1. Feature Comparison
Feature / Capability GPv1 GPv2 (Recommended) Blob Storage Account
Supported Services Blobs, Files, Queues, Tables Blobs, Files, Queues, Tables Blobs only
Access Tiers Not supported Hot, Cool, Archive Hot, Cool, Archive
Performance Tiers Standard, Premium (limited) Standard, Premium (full) Standard only
Features (Soft delete, etc.) Limited Full support (latest features) Partial (Blob-related only)
Pricing Model Older pricing Latest pricing (cost-effective) Latest pricing
Lifecycle Management Not supported Supported Supported
Redundancy Options LRS, GRS, RA-GRS, ZRS LRS, GRS, RA-GRS, ZRS LRS, GRS, RA-GRS
Use Cases Legacy systems New apps, general workloads Blob-heavy workloads
  1. Key Differences

General Purpose v1

  • Older version with limited support for new features
  • No access tiers (hot/cool/archive)
  • Higher transaction costs compared to GPv2
  • Use only if backward compatibility is required

General Purpose v2 (GPv2)

  • Default and recommended option
  • Supports all storage types with full feature set
  • Includes access tiers, lifecycle management, soft delete, and Azure Data Lake Gen2
  • Cost-optimized pricing model

Blob Storage Account

  • Only supports blob data
  • Includes support for access tiers (hot, cool, archive)
  • Does not support queues, files, or tables
  • Good for scenarios dealing only with blobs like media storage, backup, archives

  • When to Use Which?

Scenario Recommended Account Type
General purpose storage (blobs, files, etc.) General Purpose v2 (GPv2)
Blob-only workloads (e.g., backup/archive) Blob Storage
Legacy systems requiring older features General Purpose v1 (GPv1)
  1. Summary Table
Feature / Type GPv1 GPv2 (Recommended) Blob Storage
Supports Blob Storage
Supports File Storage
Supports Queue Storage
Supports Table Storage
Access Tiers (Hot/Cool/Archive)
Pricing Model Legacy Latest (Flexible) Latest
Lifecycle Management
Azure Data Lake Gen2
  1. Conclusion

  2. Always use GPv2 for most new workloads — it's the most flexible and future-proof.

  3. Use Blob Storage Account only for blob-specific needs when no other storage services are required.
  4. Avoid GPv1 unless you're working with legacy systems or need compatibility.

  5. References

  6. Azure Storage Account Overview

  7. Azure Storage Pricing

4. When should we select hot access tier or cold access tier ?

Azure Blob Storage provides multiple access tiers to optimize cost based on how frequently your data is accessed. Choosing the right tier can significantly reduce storage costs.

🔥 Hot Access Tier

✅ When to Use:

  • Data is accessed frequently (read/write)
  • Requires low latency and high throughput
  • Mission-critical, real-time processing applications

📦 Typical Use Cases:

  • Active application data (e.g., media content, transaction logs)
  • Data in use by websites, mobile apps, and business processes
  • Databases and frequently updated logs
  • Real-time analytics and dashboarding

💰 Cost Characteristics:

  • Higher storage cost
  • Lower access (read/write) cost

❄️ Cool (Cold) Access Tier

✅ When to Use:

  • Data is infrequently accessed, but still needs to be retrieved occasionally
  • Data must be stored for at least 30 days

📦 Typical Use Cases:

  • Backup files
  • Long-term storage for compliance
  • Historical logs and infrequently queried datasets
  • Data awaiting processing

💰 Cost Characteristics:

  • Lower storage cost
  • Higher access cost (read/write operations cost more)
  • Early deletion fees (minimum 30-day retention)

❗ Key Decision Factors

Factor Hot Tier Cool Tier
Access Frequency High Low
Latency Low (faster access) Medium (slightly slower access)
Storage Cost per GB Higher Lower
Access Cost per Operation Lower Higher
Minimum Retention Duration None 30 days
Early Deletion Charges No Yes

📊 Summary

Use Case Recommended Tier
Frequently used app data Hot
Infrequently accessed backups Cool
Log files stored for 6+ months Cool
Videos for a streaming platform Hot
Archived customer invoices Cool

🔄 Other Access Tiers for Reference

Tier Best For Min Retention Access Speed Cost Trend
Hot Frequent access None Fast High storage, low access
Cool Infrequent access (≥ 30 days) 30 days Moderate Low storage, high access
Archive Rare access (≥ 180 days) 180 days Slow (rehydration needed) Lowest storage, highest access

🔗 References

5. When should we choose standard vs premium ?

Azure Storage offers two performance tiers:

  • Standard Tier
  • Premium Tier

Selecting the right tier depends on your application's performance, cost, and latency requirements.

🟢 Standard Tier

✅ When to Use:

  • General-purpose workloads with moderate performance needs
  • Applications where latency is not critical
  • Cost-sensitive scenarios with large data volumes

📦 Typical Use Cases:

  • Backups and archives
  • Media content storage (images, videos)
  • General-purpose file shares
  • Database BLOBs with low IOPS
  • Web apps, APIs, dev/test environments

⚙️ Technical Characteristics:

  • Backed by HDDs or standard SSDs
  • Lower IOPS and throughput
  • Higher latency (~ms range)

💰 Cost:

  • Low cost per GB
  • Higher latency
  • Pay-per-transaction (higher for frequent access)

🔴 Premium Tier

✅ When to Use:

  • Workloads requiring low-latency, high throughput, and high IOPS
  • Applications with performance-critical operations

📦 Typical Use Cases:

  • Virtual machines with heavy I/O (e.g., SQL Server, Oracle)
  • OLTP databases
  • High-performance file shares (e.g., FSLogix profiles)
  • Enterprise apps with sub-millisecond latency requirements

⚙️ Technical Characteristics:

  • Backed by high-performance SSDs
  • Very high IOPS & throughput
  • Lower latency (~sub-millisecond)

💰 Cost:

  • Higher cost per GB
  • Predictable performance
  • Flat rate pricing (vs. transactional)

🔍 Side-by-Side Comparison

Feature Standard Tier Premium Tier
Performance Medium HDD / Standard SSD SSD
Latency Milliseconds Sub-millisecond
Throughput Moderate High
IOPS Low to moderate High
Cost Lower (pay-as-you-go) Higher (flat rate)
Use Case Fit Archive, backup, general use Mission-critical, high IOPS
Scalability High High

✅ Choosing Recommendation

Scenario Recommended Tier
Backups and archives Standard
Media content delivery Standard
Dev/test environments Standard
Mission-critical database (SQL, Oracle) Premium
High-performance virtual machine disks Premium
File shares for FSLogix profiles (VDI) Premium

🔗 References

6. Differentiate between SDD vs HDD ?

Both SSD (Solid State Drive) and HDD (Hard Disk Drive) are storage devices used in computers and servers. Below is a comparison based on speed, durability, cost, and use cases.

🧠 Overview

Feature SSD (Solid State Drive) HDD (Hard Disk Drive)
Technology Flash memory (no moving parts) Magnetic spinning disk + moving head
Access Time Fast (0.1 ms - 0.3 ms) Slow (5 ms - 15 ms)
Durability More durable (no mechanical parts) Prone to damage from drops/shocks
Noise Silent operation Audible spinning/clicking sounds
Power Usage Lower power consumption Higher power consumption
Cost/GB Higher Lower
Lifespan (writes) Limited write cycles (wear leveling) Can degrade over time (mechanical wear)
Boot Time 10–15 seconds 30–40 seconds

⚙️ Performance Comparison

Criteria SSD HDD
Read/Write Speed 500 MB/s to 7,000 MB/s (NVMe) 80 MB/s to 160 MB/s
Data Transfer Rate Very high Moderate to low
IOPS (Input/Output) 10x to 100x more than HDD Lower IOPS

📦 Use Case Comparison

Use Case Recommended Drive
Operating system / boot drive SSD
Gaming or media editing SSD
Archival or long-term data storage HDD
Large file media libraries HDD
Performance-critical applications SSD
Budget-friendly large storage HDD

🧾 Cost & Capacity Comparison

Feature SSD HDD
Price per GB Higher Lower
Typical Capacity 128 GB – 8 TB 500 GB – 20 TB
Affordability Expensive for large sizes Cost-effective for bulk

📊 Summary Table

Feature SSD HDD
Speed Much faster Slower
Durability More resistant to damage Mechanical, fragile
Noise Silent Audible
Cost Higher Lower
Lifespan Limited write cycles Mechanical wear over time
Energy Usage Low High

🧠 Conclusion

  • Choose SSD if you need speed, reliability, and performance (e.g., boot drives, databases, gaming).
  • Choose HDD if you need large storage capacity at low cost (e.g., backups, media libraries).

🔗 References

7. Differentiate between LRS , ZRS , GRS and RA-GRS ?

Azure provides multiple data redundancy options to ensure high availability, durability, and disaster recovery of your data. These include:

  • LRS (Locally Redundant Storage)
  • ZRS (Zone-Redundant Storage)
  • GRS (Geo-Redundant Storage)
  • RA-GRS (Read-Access Geo-Redundant Storage)

  • 🧠 Definitions

Redundancy Option Description
LRS Replicates data 3 times within a single datacenter in one region.
ZRS Replicates data across 3 availability zones in the same region.
GRS Replicates data to a secondary region hundreds of miles away (with LRS in both regions).
RA-GRS Same as GRS but allows read-only access to the secondary region.
  1. 📦 Use Case Comparison
Scenario Recommended Redundancy
Low-cost storage with basic durability LRS
High availability within a region ZRS
Disaster recovery across regions (write-only) GRS
Read-only access during regional outage RA-GRS
  1. 🔁 Replication Scope
Redundancy Intra-Region Inter-Zone Cross-Region Read Access to Secondary
LRS
ZRS
GRS
RA-GRS

💰 Cost & Availability

Feature LRS ZRS GRS RA-GRS
Cost Lowest Medium High Highest
Durability (9s) 11 9s 12 9s 16 9s 16 9s
Availability SLA 99.9% 99.999% 99.9% 99.9%
Disaster Recovery Ready
Read Access in Failover

🔍 Summary Table

Feature LRS ZRS GRS RA-GRS
Redundancy Type Single DC replication Multi-zone replication Cross-region replication Cross-region + read access
Number of Copies 3 3+ 6 (3 in each region) 6 (3 in each region)
Availability Zone
Geo Replication
Read from Secondary
Best For Low-cost local storage High-availability within region Disaster recovery DR + read access to secondary

✅ Recommendations

Need Use
Basic redundancy, dev/test workloads LRS
Zone-level high availability (e.g., production apps) ZRS
DR capability for mission-critical apps GRS
DR with read access (e.g., reporting, analytics) RA-GRS

🔗 References

8. How can azure storage explorer make your life easy ?

Azure Storage Explorer is a free, standalone GUI tool from Microsoft that simplifies working with Azure Storage resources like Blobs, Queues, Tables, and File Shares.

🛠️ What is Azure Storage Explorer?

Azure Storage Explorer is a cross-platform desktop app (Windows, macOS, Linux) that lets you easily manage and interact with your Azure storage accounts without needing to write code or scripts.

✅ Key Benefits of Azure Storage Explorer

  1. Visual Interface

  2. Browse containers, directories, and blobs like a file explorer.

  3. Easy drag-and-drop for uploads and downloads.
  4. No need for complex PowerShell or Azure CLI commands.

  5. Multi-Storage Support

  6. Manage multiple storage accounts across subscriptions and tenants.

  7. Access Azure Blob, Queue, Table, and File storage, plus Azure Data Lake.

  8. Local Emulator Support

  9. Integrates with Azure Storage Emulator or Azurite for local development.

  10. Helps in testing apps offline before cloud deployment.

  11. Access via Different Authentication Modes

  12. Azure AD (RBAC), Shared Access Signature (SAS), Connection Strings, or Account Keys.

  13. Connect to public, private, or even on-premises Azure Stack storage.

  14. Blob and File Management

  15. Upload, download, rename, move, and delete blobs or files.

  16. Preview file types like text, JSON, images right in the app.

  17. Queue and Table Explorer

  18. View and modify queue messages.

  19. Browse, filter, add, edit, or delete rows in Azure Tables (NoSQL DB).

  20. SAS Token and Shared Access

  21. Generate and manage SAS URLs to securely share blobs, files, or containers.

  22. Easily control permissions (read, write, delete, list, etc.).

  23. Cross-Region and Cloud Integration

  24. Manage Azure storage across multiple regions.

  25. Support for Azure Government, China, and Azure Stack clouds.

  26. Time-Saving for DevOps & Admins

  27. Easy to inspect storage used by web apps, functions, and containers.

  28. Faster troubleshooting and real-time monitoring of storage data.

  29. Snapshot and Versioning Support

  30. View and restore blob snapshots and versions.

  31. Helpful for backup and disaster recovery scenarios.

📦 Typical Use Cases

Role Use Case
Developer Upload test files, debug queue messages
Data Engineer Manage and inspect blob datasets and file shares
Admin Monitor storage usage and permissions
QA Tester Interact with emulators for offline testing

🔗 Resources

🧠 Conclusion

Azure Storage Explorer makes your life easy by offering a GUI-based, no-code, cross-platform way to work with Azure storage. It e