Azure Solutions Architect Domain 2: Design Data Storage Solutions
44 free practice questions for Design Data Storage Solutions in the Microsoft Azure Solutions Architect Expert (AZ-305) exam. Try each question first, then open "Show answer" for the correct option and explanation.
Design Data Storage Solutions practice questions
-
Question 1. An e-commerce app needs a relational database with automatic tuning, built-in high availability, and no OS management. What should be recommended?
Show answer
Answer: C. Azure SQL Database
Azure SQL Database is PaaS with patching, backups, and HA managed by Azure.
-
Question 2. A company is migrating a SQL Server app that uses SQL Agent jobs, cross-database queries, and CLR, with minimal changes. What fits BEST?
Show answer
Answer: D. Azure SQL Managed Instance
Managed Instance offers near-full SQL Server compatibility as a managed service.
-
Question 3. An app requires OS-level access to SQL Server and a feature not supported in PaaS. What should be recommended?
Show answer
Answer: D. SQL Server on Azure Virtual Machines
IaaS gives full control of the OS and SQL Server, at the cost of managing it.
-
Question 4. Many small SaaS tenant databases have unpredictable, mostly low usage. How can costs be reduced in Azure SQL Database?
Show answer
Answer: D. Put them in an elastic pool sharing resources
Elastic pools share compute among databases with varying usage peaks.
-
Question 5. A development database is used a few hours a day and idle otherwise. Which Azure SQL option reduces cost automatically?
Show answer
Answer: D. The serverless compute tier with auto-pause
Serverless scales compute with demand and pauses when idle, billing only storage then.
-
Question 6. A SQL database will grow to 60 TB and needs fast backups and restores regardless of size. Which tier fits?
Show answer
Answer: D. Hyperscale
Hyperscale scales storage up to 128 TB with snapshot-based backups and fast restore.
-
Question 7. A SQL workload needs the lowest latency storage and built-in readable secondary replicas. Which Azure SQL tier fits?
Show answer
Answer: D. Business Critical
Business Critical uses local SSD storage and an Always On availability group with a readable secondary.
-
Question 8. A globally distributed app needs single-digit millisecond reads and writes in multiple regions with a NoSQL document model. What fits?
Show answer
Answer: D. Azure Cosmos DB with multi-region writes
Cosmos DB replicates across regions and can accept writes in all of them.
-
Question 9. Which Cosmos DB consistency level gives the strongest guarantees for reads in multi-region setups?
Show answer
Answer: D. Strong
Strong guarantees linearizable reads but adds latency and has regional limits. Session is the default.
-
Question 10. A Cosmos DB app reads its own writes within a user session and needs good performance. Which consistency level is the default and fits?
Show answer
Answer: D. Session
Session consistency gives read-your-writes within a session with low latency.
-
Question 11. Cosmos DB throughput is spiky and unpredictable. Which capacity model avoids over-provisioning?
Show answer
Answer: D. Autoscale throughput or serverless
Autoscale scales RU/s between 10% and max, and serverless bills per request for low traffic.
-
Question 12. A Cosmos DB container has a hot partition. What is the design fix?
Show answer
Answer: D. Choose a partition key with high cardinality and even access
Good partition keys spread storage and requests evenly across physical partitions.
-
Question 13. An app is moving from MongoDB and wants a managed service with minimal code changes. What should be recommended?
Show answer
Answer: D. Azure Cosmos DB for MongoDB
Cosmos DB for MongoDB supports the MongoDB wire protocol, including a vCore option.
-
Question 14. A PostgreSQL app needs a managed service with zone-redundant high availability. What fits?
Show answer
Answer: B. PostgreSQL flexible server with zone-redundant HA
Flexible server supports a standby in another zone with automatic failover.
-
Question 15. Which storage solution fits unstructured data, such as images and backups, accessed over HTTP by many apps?
Show answer
Answer: C. Azure Blob Storage
Blob Storage scales for unstructured objects, with access tiers and lifecycle management.
-
Question 16. A data lake for big data analytics needs a hierarchical namespace and POSIX-like ACLs. What should be used?
Show answer
Answer: C. Azure Data Lake Storage Gen2
ADLS Gen2 adds directories and ACLs to Blob Storage for analytics engines.
-
Question 17. Blobs are accessed often for 30 days, rarely for a year, and then must be kept for 7 years. What design minimizes cost?
Show answer
Answer: A. Lifecycle rules: Hot to Cool or Cold, then Archive
Lifecycle policies change tiers by age automatically. Archive is the cheapest for rarely read data.
-
Question 18. Legal records in Blob Storage must be kept unchangeable for 5 years. What should be configured?
Show answer
Answer: C. Immutable storage with a locked retention policy
WORM immutability prevents modification and deletion until retention ends.
-
Question 19. Lift-and-shift apps need shared SMB file storage, and on-premises servers should cache it locally. What fits?
Show answer
Answer: D. Azure Files with Azure File Sync
File Sync caches Azure file shares on Windows servers with cloud tiering.
-
Question 20. An enterprise app needs very high-performance NFS file storage with sub-millisecond latency. What should be recommended?
Show answer
Answer: A. Azure NetApp Files
Azure NetApp Files is designed for demanding file workloads like SAP and HPC.
-
Question 21. Which storage redundancy keeps data available if a zone fails and also replicates to a secondary region?
Show answer
Answer: A. Geo-zone-redundant storage (GZRS)
GZRS combines ZRS in the primary region with asynchronous copy to a secondary region.
-
Question 22. Applications must read data from the secondary region even before a failover. What should be chosen?
Show answer
Answer: B. RA-GRS or RA-GZRS
Read-access geo-redundancy exposes a read-only secondary endpoint.
-
Question 23. A storage account must be reachable only from specific virtual networks over private IPs. What should be designed?
Show answer
Answer: C. Private endpoints, with public network access off
Private endpoints map services such as blob or file to private IPs in the VNet.
-
Question 24. Apps must access blobs with Microsoft Entra identities instead of shared keys. What should the design use?
Show answer
Answer: A. Entra data roles (e.g. Storage Blob Data Reader), shared keys off
Entra authorization supports least privilege and audit, and disabling shared keys removes a risk.
-
Question 25. A partner needs time-limited access to upload files to one container. What should be issued?
Show answer
Answer: D. A user delegation SAS with limited permissions and expiry
User delegation SAS is signed with Entra credentials and can be scoped and time-bound.
-
Question 26. Data at rest in a storage account must be encrypted with a key the company controls and can revoke. What should be configured?
Show answer
Answer: C. Customer-managed keys in Key Vault
CMK lets the company rotate or revoke the key, which makes data unreadable.
-
Question 27. Data in Azure SQL Database must stay encrypted in memory and during processing so DBAs can't see it. What fits?
Show answer
Answer: C. Always Encrypted, optionally with enclaves
Always Encrypted keeps keys on the client side, so the database engine never sees plaintext.
-
Question 28. Support staff should see only the last four digits of credit card numbers in query results. What should be used?
Show answer
Answer: A. Dynamic data masking
Masking hides data in results for non-privileged users without changing stored data.
-
Question 29. Each sales rep must see only rows for their own region in a shared table. What should be used?
Show answer
Answer: A. Row-level security
Row-level security filters rows with predicates based on the user or session context.
-
Question 30. Which Azure service orchestrates data movement and transformation pipelines between on-premises and cloud sources?
Show answer
Answer: D. Azure Data Factory
Data Factory provides pipelines, connectors, and a self-hosted integration runtime for on-premises data.
-
Question 31. A company needs a unified analytics platform with a lakehouse, data engineering, and Power BI reporting as SaaS. What fits?
Show answer
Answer: A. Microsoft Fabric
Fabric combines OneLake, data engineering, warehousing, and Power BI in one service.
-
Question 32. An app needs high-throughput event ingestion from millions of devices for stream processing. What should be used?
Show answer
Answer: C. Azure Event Hubs
Event Hubs ingests millions of events per second with partitions and consumer groups.
-
Question 33. Streaming data must be analyzed in real time with SQL-like queries to detect anomalies. What fits?
Show answer
Answer: B. Azure Stream Analytics
Stream Analytics runs continuous queries over Event Hubs or IoT Hub streams.
-
Question 34. An application stores session state and needs sub-millisecond reads to reduce database load. What should be recommended?
Show answer
Answer: C. Azure Managed Redis or Azure Cache for Redis
An in-memory cache speeds up reads and stores sessions for web apps.
-
Question 35. An application needs simple key-value storage for billions of small structured entities at low cost. What fits?
Show answer
Answer: C. Azure Table Storage or Cosmos DB for Table
Table storage is cheap and schemaless, and Cosmos DB for Table adds global distribution and SLAs.
-
Question 36. A 500 TB dataset must be moved to Azure with limited internet bandwidth. What should be recommended?
Show answer
Answer: A. Azure Data Box
Data Box devices are shipped, loaded, and returned to Azure for large offline transfers.
-
Question 37. A database must be migrated to Azure SQL Managed Instance with minimal downtime. What should be used?
Show answer
Answer: C. Database Migration Service online, or the MI link
Online migration keeps the target in sync until a short cutover.
-
Question 38. A storage account holds millions of blobs, and the team needs a daily list of objects and their tiers for analysis. What should be enabled?
Show answer
Answer: B. Blob inventory
Blob inventory writes scheduled reports of blobs and properties to a container.
-
Question 39. Accidental blob deletions must be recoverable for 14 days. What should be enabled?
Show answer
Answer: A. Blob soft delete (14 days) plus versioning
Soft delete and versioning keep deleted or overwritten data for a set period.
-
Question 40. A company wants to track every change to blobs for auditing and event processing in order. What fits?
Show answer
Answer: A. Blob change feed
The change feed is an ordered, durable log of blob create, update, and delete events.
-
Question 41. An Azure SQL database needs automated backups kept for 10 years for compliance. What should be configured?
Show answer
Answer: B. Long-term retention (LTR) policies
LTR keeps weekly, monthly, or yearly full backups for up to 10 years.
-
Question 42. A reporting workload must query large volumes of structured data using massively parallel processing. What should be recommended?
Show answer
Answer: C. A data warehouse, such as Fabric Data Warehouse
MPP warehouses distribute queries across many nodes for large analytical workloads.
-
Question 43. Which storage performance tier should be chosen for a transactional database on a VM needing consistent high IOPS and low latency?
Show answer
Answer: B. Premium SSD v2 or Ultra Disk
Premium SSD v2 and Ultra Disk let IOPS and throughput be set independently of size.
-
Question 44. A design must keep a data copy in a paired region for disaster recovery for a storage account. Which option is simplest?
Show answer
Answer: A. Choose GRS or GZRS redundancy
Geo-redundancy replicates asynchronously to the secondary region, and customer-managed failover is possible.
Microsoft and Azure are trademarks of the Microsoft group of companies. These questions are original study material, not questions from the real exam.