Learning Objectives
By the end of this chapter, you will be able to:
- Recommend a database service that meets relational data requirements and select the right Azure Cosmos DB API and consistency level for a non-relational workload.
- Recommend a database service tier and capacity, and design data integration pipelines that feed and operate that tier.
- Recommend a database scalability pattern, including read scale-out, sharding, and Hyperscale, and design the analytical surface that consumes the result.
- Recommend a solution for encrypting data at rest, data in transmission, and data in use across Azure SQL, Azure Storage, and Azure Cosmos DB.
- Recommend a storage solution that balances features, performance, and cost across Azure Storage account types, tiers, and SKUs.
- Design an Azure Storage account configuration that meets performance, scale, and durability targets, including premium block blob, premium file shares, and standard general-purpose v2.
- Recommend a storage solution for data protection and durability using replication, versioning, immutability, soft delete, and operational backup.
- Recommend a solution for storing and accessing files and blobs from interactive applications, batch jobs, and lift-and-shift workloads.
Executive Summary
- Pick a relational engine by compatibility, scale ceiling, and operational model before tuning cost. Azure SQL Database for new PaaS workloads, Azure SQL Managed Instance for near-100 percent SQL Server compatibility with VNet integration, and SQL Server on Azure Virtual Machines only when OS-level access or unsupported features force IaaS.
- Choose Azure Cosmos DB when global distribution, single-digit-millisecond latency at scale, or schema-flexibility constraints exceed what a relational engine can meet, and pick the API by data model: NoSQL for new builds, MongoDB or Cassandra for lift-and-shift, Gremlin for graph, Table for Azure Table Storage migration, and PostgreSQL for distributed relational.
- Treat tier sizing as a function of read/write ratio, working-set size, latency SLO, and HA requirement. Map to DTU, vCore General Purpose, Business Critical, or Hyperscale and bind capacity decisions to the same telemetry that feeds Cost Management and Azure Monitor.
- Layer encryption across all three states. Service-managed keys cover the baseline, customer-managed keys in Azure Key Vault address regulated tenants, and Always Encrypted with secure enclaves, confidential VMs, or Azure Confidential Ledger address data-in-use.
- Drive Azure Storage account decisions from durability target (LRS, ZRS, GRS, RA-GRS, GZRS, RA-GZRS), access pattern (Hot, Cool, Cold, Archive), and access protocol (Blob, ADLS Gen2, NFS, SMB), then attach lifecycle management, versioning, change feed, and immutability for protection.
Assumptions
- The architecture described in the previous chapter has already provisioned a management-group hierarchy, Microsoft Entra ID tenant, Log Analytics workspace, and Azure Key Vault instances. This chapter references those terms exactly as defined there and does not redefine them.
- Region pair and availability-zone vocabulary follows the official Azure global infrastructure reference. Sovereign cloud variations are noted only when service availability differs.
- All examples assume Resource Manager mode. Classic deployment model resources are excluded from the design surface.
