All exams← All Microsoft Certified: Azure Solutions Architect Expert notes

Design Data Storage Solutions: Microsoft Certified: Azure Solutions Architect Expert revision notes

Revision notes

## Design Data Storage Solutions

Designing data storage solutions in Azure requires understanding different data types, storage services, and their appropriate use cases. The goal is to select services that meet performance, scalability, security, and cost requirements.

Data Types and Storage Categories

Data can be broadly categorized as structured, semi-structured, or unstructured.

  • Structured data fits into a fixed schema (e.g., relational databases).
  • Semi-structured data has some organizational properties but no rigid schema (e.g., JSON, XML).
  • Unstructured data has no defined schema (e.g., images, videos, documents).

Azure offers various storage categories:

  • Relational Databases: For structured data requiring ACID transactions.
  • NoSQL Databases: For high-performance, low-latency applications with flexible schemas.
  • Object Storage: For massive amounts of unstructured data.
  • File Storage: For traditional file shares.
  • Analytical Storage: Optimized for big data analytics workloads.

Relational Data Stores

For structured data, Azure provides several relational database services:

  • Azure SQL Database: A fully managed Platform-as-a-Service (PaaS) relational database offering for SQL Server workloads, ideal for modern cloud applications.
  • Azure SQL Managed Instance: Offers near 100% compatibility with on-premises SQL Server, suitable for migrating existing applications with minimal changes. Provides a managed instance environment.
  • Azure Database for MySQL, PostgreSQL, and MariaDB: Fully managed PaaS offerings for popular open-source relational databases, providing scalability and high availability.

NoSQL Data Stores

For flexible schema, high throughput, and low latency:

  • Azure Cosmos DB: A globally distributed, multi-model database service supporting various APIs (SQL, MongoDB, Cassandra, Gremlin, Table). It's excellent for applications requiring guaranteed low latency and high availability anywhere in the world.
  • Azure Table Storage: A NoSQL key-attribute store for semi-structured data, offering high capacity and low cost for large datasets that don't require complex joins or relationships.

Object, File, and Analytical Storage

  • Azure Blob Storage: Microsoft's object storage solution for the cloud. It's highly scalable and durable, ideal for storing massive amounts of unstructured data like images, videos, backups, and archives. Tiers include Hot, Cool, and Archive for cost optimization based on access frequency.
  • Azure Files: Provides fully managed file shares in the cloud, accessible via the Server Message Block (SMB) protocol or Network File System (NFS) protocol. It can be mounted concurrently by cloud or on-premises deployments.
  • Azure NetApp Files: An enterprise-class, high-performance file storage service for demanding workloads, offering ultra-low latency and high throughput via NFS and SMB.
  • Azure Data Lake Storage Gen2: A highly scalable and cost-effective data lake solution built on Azure Blob Storage. It combines the scalability of object storage with a file system semantic, making it ideal for big data analytics workloads with services like Azure Synapse Analytics and Azure Databricks.

Key Considerations

When designing storage solutions, evaluate:

  • Data Type and Structure: Relational, NoSQL, object, file.
  • Performance Requirements: IOPS, throughput, latency.
  • Scalability: Horizontal vs. vertical scaling needs.
  • Availability and Durability: Redundancy options (LRS, GRS, ZRS).
  • Security: Encryption (at rest, in transit), access control (RBAC, Shared Access Signatures - SAS).
  • Cost Optimization: Storage tiers, reserved capacity, data egress costs.
  • Data Residency and Compliance: Meeting regulatory requirements for data location.

Key facts

Flashcards

When should you use Azure Blob Storage?
For storing massive amounts of unstructured data like images, videos, backups, and data for analytics, with tiered access for cost optimization.
tap to reveal
What is the primary difference between Azure SQL Database and Azure SQL Managed Instance?
Azure SQL Database is a fully managed PaaS database for new cloud apps; Managed Instance offers near 100% compatibility with on-premises SQL Server for easier migration of existing apps.
tap to reveal
Which Azure database service is best for globally distributed applications requiring guaranteed low-latency access and flexible schemas?
Azure Cosmos DB, supporting multiple APIs (SQL, MongoDB, Cassandra, etc.).
tap to reveal
What is Azure Data Lake Storage Gen2 primarily used for?
As a highly scalable and cost-effective data lake solution for big data analytics workloads, built on Azure Blob Storage with file system capabilities.
tap to reveal
How can you grant temporary, delegated access to specific Azure storage resources without sharing account keys?
By using Shared Access Signatures (SAS).
tap to reveal
Which Azure service provides fully managed file shares accessible via SMB and NFS protocols?
Azure Files.
tap to reveal
Name the three primary access tiers for Azure Blob Storage.
Hot, Cool, and Archive.
tap to reveal
When would you consider Azure NetApp Files over Azure Files?
For enterprise-class, high-performance, ultra-low latency file storage needs, especially for demanding workloads like SAP HANA, HPC, or VDI.
tap to reveal
Practice questions

Design Data Storage Solutions: 5 practice questions

Q1. An organization is migrating an on-premises SQL Server instance to Azure. The solution must provide the highest possible compatibility with instance-scoped features like SQL Server Agent and Service Broker, while minimizing management of the underlying infrastructure. Which Azure service should be recommended?
  • A.  Azure SQL Database Single Database
  • B.  Azure SQL Database Elastic Pool
  • C.  Azure SQL Managed Instance
  • D.  SQL Server on an Azure Virtual Machine
Show answer & explanation
✓ Answer: C. Azure SQL Managed Instance
Azure SQL Managed Instance is a fully managed PaaS offering designed for near 100% compatibility with on-premises SQL Server, including instance-scoped features, making it the ideal choice for lift-and-shift migrations.
Q2. You are designing a storage solution for critical business data that must remain available for read access even if an entire Azure region becomes unavailable. Cost is a consideration. Which storage redundancy option meets these requirements?
  • A.  Read-access geo-redundant storage (RA-GRS)
  • B.  Locally-redundant storage (LRS)
  • C.  Zone-redundant storage (ZRS)
  • D.  Geo-redundant storage (GRS)
Show answer & explanation
✓ Answer: A. Read-access geo-redundant storage (RA-GRS)
RA-GRS replicates data to a secondary region for disaster recovery and also provides a read-only endpoint in that secondary region, ensuring read availability during a primary region outage.
Q3. A global e-commerce application uses Azure Cosmos DB for its product catalog. The application requires the lowest possible latency for read operations. It can tolerate slightly stale data, but all reads within a single user session must be consistent. Which Cosmos DB consistency level is the most appropriate choice?
  • A.  Session
  • B.  Bounded Staleness
  • C.  Strong
  • D.  Eventual
Show answer & explanation
✓ Answer: A. Session
Session consistency guarantees read-your-own-writes within a client session, providing a great balance of low latency and data consistency that is ideal for user-centric applications.
Q4. A financial services company must archive transaction logs for seven years to meet regulatory compliance. The data is accessed very rarely after the first 30 days. To minimize costs, you need to automate moving these logs from hot to cold storage tiers. What Azure Storage feature should you use?
  • A.  Azure File Sync
  • B.  Lifecycle management policies
  • C.  Azure Data Factory copy activity
  • D.  Stored access policies
Show answer & explanation
✓ Answer: B. Lifecycle management policies
Lifecycle management policies for Azure Blob Storage allow you to create rules to automatically transition blobs to cooler access tiers (like Hot to Cool or Archive) based on their age or last modification time, optimizing storage costs.
Q5. You are designing a high-availability solution for a group of critical Azure SQL Databases. In the event of a regional disaster, all databases in the group must fail over together to a secondary region with a single, unchanged connection string for the application. What should you implement?
  • A.  Transactional replication to a VM
  • B.  An auto-failover group
  • C.  Active geo-replication for each database
  • D.  A zone-redundant configuration
Show answer & explanation
✓ Answer: B. An auto-failover group
Auto-failover groups manage the replication and failover of a group of databases to a secondary region, providing a single listener endpoint that automatically redirects traffic after failover, simplifying application configuration.
Test yourself
See the Microsoft Certified: Azure Solutions Architect Expert page

More Microsoft Certified: Azure Solutions Architect Expert topics