All Microsoft exams
Free DP-900 practice test: 30 questions with answers
30 original questions for Microsoft Azure Data Fundamentals, drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.
- Free questions
- 30
- Full bank
- 100 questions
All 30 DP-900 questions with answers
The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.
Relational data on Azure (8 questions)
Question 1
A company needs a fully managed relational database service on Azure that handles patching, backups, and high availability. Which service should be used?
- AAzure SQL Database
- BAzure Cosmos DB
- CAzure Cache for Redis
- DAzure Blob Storage
Show answer and explanationHide answer
Correct answer: AAzure SQL Database is a managed relational service that handles patching, backups and high availability. Cosmos DB is a multi-model NoSQL service, Blob Storage stores objects, and Redis is an in-memory cache.
Question 2
A team wants to run a relational database with full control over the operating system and the database engine version. Which option fits best?
- AAzure Table storage account with LRS
- BSQL Server on an Azure virtual machine
- CAzure Cosmos DB NoSQL API account
- DAzure Data Lake Storage Gen2 HNS
Show answer and explanationHide answer
Correct answer: BSQL Server on an Azure VM gives full control over the operating system and engine. Cosmos DB and Table storage are non-relational, and Data Lake Storage holds files for analytics.
Question 3
A relational database must scale read traffic across several replicas in different regions. Which Azure feature provides this for Azure SQL Database?
- AA single public IP address with NSG rules attached
- BA larger backup retention period for Azure SQL Database
- CGeo-replication with readable secondary replicas
- DStoring data in a flat text file on a local disk
Show answer and explanationHide answer
Correct answer: CGeo-replication creates secondary replicas that can serve read traffic and support recovery. Backup retention, public IPs and text files do not provide replicated read scale.
Question 4
An organization needs a PostgreSQL database service on Azure that is fully managed. Which service should be selected?
- AAzure Synapse dedicated SQL pool
- BAzure Database for PostgreSQL
- CAzure File Share
- DAzure Table storage
Show answer and explanationHide answer
Correct answer: BAzure Database for PostgreSQL is a managed PostgreSQL service. Table storage is NoSQL, Synapse is an analytics platform, and file shares store files.
Question 5
A developer wants to use a SQL query to return the total sales per region from a table. Which SQL clause groups rows to produce these totals?
- AINSERT INTO
- BORDER BY
- CGROUP BY
- DWHERE only
Show answer and explanationHide answer
Correct answer: CGROUP BY groups rows by region so an aggregate such as SUM can be computed for each group. ORDER BY sorts results, WHERE filters rows, and INSERT adds data.
Question 6
A database administrator wants to speed up queries that frequently filter on the customer name column. Which database object should be created?
- AA stored procedure that deletes rows
- BA view that returns all columns
- CA trigger on the customer table
- DAn index on the customer name column
Show answer and explanationHide answer
Correct answer: DAn index on the filtered column speeds lookups. Triggers run code on changes, views save queries, and deletion procedures do not improve query speed.
Question 7
A database needs to restore data to the state it had at a specific time in the last 30 days after an accidental deletion. Which Azure SQL Database feature supports this?
- ARead-only replica only
- BPoint-in-time restore
- CStoring a monthly export on a laptop
- DPublic IP restriction
Show answer and explanationHide answer
Correct answer: BPoint-in-time restore recovers a database to a moment within the retention window. Public IP restrictions, read replicas and laptop exports do not restore a past state.
Question 8
A company's relational database must be encrypted at rest with keys that the company can manage. Which capability addresses this in Azure SQL?
- ATransparent data encryption with customer-managed keys in Azure Key Vault
- BEncrypting only the column headers with a default service key and no Key Vault integration
- CStoring the key in the same database table as the encrypted data without rotation policy
- DTurning off encryption at rest for performance on read-heavy workloads in production
Show answer and explanationHide answer
Correct answer: ATransparent data encryption encrypts data at rest and can use customer-managed keys in Key Vault. Disabling encryption, storing keys in the same table and encrypting headers do not meet the requirement.
Core data concepts (8 questions)
Question 9
A retailer stores customer orders in a table where every row has the same columns, such as order ID, customer ID, and total. What type of data is this?
- ASemi-structured data
- BStreaming data
- CStructured data
- DUnstructured data
Show answer and explanationHide answer
Correct answer: CStructured data follows a fixed schema with defined columns, as in relational tables. Semi-structured data such as JSON has flexible fields, and unstructured data such as images has no schema.
Question 10
A company stores product catalogue entries as JSON documents, where each product has different attributes. Which category does this data belong to?
- AStructured data in tables
- BRelational data
- CUnstructured data
- DSemi-structured data
Show answer and explanationHide answer
Correct answer: DJSON documents carry their own schema information but vary in fields, which makes them semi-structured. A fixed relational schema would be structured, and binary files would be unstructured.
Question 11
Which term describes the process of organizing data in related tables to reduce redundancy and improve integrity?
- AReplicated rows
- BCaching results
- CSharding by key
- DNormalization
Show answer and explanationHide answer
Correct answer: DNormalization organizes data into related tables that reduce duplication and protect consistency. Replication copies data, sharding partitions it, and caching stores frequently used results.
Question 12
A database must guarantee that a money transfer either completes fully or not at all, even if the system fails midway. Which property is being described?
- AAtomicity
- BPartitioning
- CLatency
- DElasticity
Show answer and explanationHide answer
Correct answer: AAtomicity ensures a transaction is all or nothing. Latency is response time, partitioning splits data, and elasticity relates to scaling resources.
Question 13
A data engineer must choose a primary key for a table of customers. Which property is most important for a primary key?
- AIt uniquely identifies each row
- BIt stores multiple values per row
- CIt is always a text field
- DIt changes frequently to reflect updates
Show answer and explanationHide answer
Correct answer: AA primary key must uniquely identify each row. It does not need to change frequently, store multiple values, or be text.
Question 14
A table has a column that refers to the primary key of another table to link related records. What is this column called?
- AUnique index
- BForeign key
- CIndexed view
- DDML trigger
Show answer and explanationHide answer
Correct answer: BA foreign key references a primary key in another table, establishing a relationship. An index speeds lookups, a view is a saved query, and a trigger runs code on events.
Question 15
An analyst wants to query data by reading the most recent events from a continuous stream of sensor readings. Which type of data workload is this?
- ATransactional workload only
- BStreaming data workload
- CBatch data workload
- DArchive retrieval
Show answer and explanationHide answer
Correct answer: BStreaming workloads process continuous data as it arrives. Batch workloads process collected data at intervals, transactional workloads focus on individual updates, and archive retrieval is not a query pattern for live streams.
Question 16
A company wants to load data from many sources into a central store, clean and transform it, and then make it available for reporting. Which concept describes this pipeline?
- AETL or ELT data integration
- BTransparent encryption at rest
- CLoad balancing across web tier
- DNetwork segmentation by subnet
Show answer and explanationHide answer
Correct answer: AETL or ELT describes extracting, transforming and loading data for analysis. Encryption, network segmentation and load balancing address other concerns.
Non-relational data on Azure (7 questions)
Question 17
An application stores user profiles with flexible attributes and needs low-latency reads at global scale with a key-value or document model. Which service fits best?
- AAzure Data Factory
- BAzure Monitor
- CAzure SQL Database
- DAzure Cosmos DB
Show answer and explanationHide answer
Correct answer: DCosmos DB is a globally distributed multi-model database with low-latency reads and flexible documents. SQL Database is relational, Data Factory orchestrates data movement, and Monitor collects telemetry.
Question 18
A company needs to store large volumes of unstructured data such as images and videos for an application to access over HTTP. Which storage service is designed for this?
- AAzure SQL Database
- BAzure Cosmos DB for relational queries
- CAzure Blob Storage
- DAzure Synapse
Show answer and explanationHide answer
Correct answer: CBlob Storage stores unstructured objects such as images and video and provides HTTP access. SQL Database and Synapse are not object stores, and Cosmos DB is not for relational queries.
Question 19
Which THREE are common non-relational data models? (Choose three.)
- AKey-value
- BRelational tables with foreign keys
- CStar schema for dimensional modelling
- DDocument
- EColumn-family or wide-column
Show answer and explanationHide answer
Correct answer: A, D, EKey-value, document and column-family models are non-relational. Relational tables and star schemas are relational or dimensional designs.
Question 20
A company needs a key-value store for session data that must respond in milliseconds and expire automatically after a period. Which Azure service is well suited?
- AAzure Files
- BAzure Cache for Redis
- CAzure Data Lake Storage
- DAzure SQL Database
Show answer and explanationHide answer
Correct answer: BAzure Cache for Redis provides in-memory key-value storage with expiration and fast responses. SQL Database, Data Lake Storage and Files are not designed for millisecond session caches.
Question 21
A table service stores billions of entities with a partition key and row key, and the application needs simple, low-cost access by key. Which Azure service fits?
- AAzure Table storage
- BAzure SQL Managed Instance
- CAzure Machine Learning
- DAzure Synapse dedicated pool
Show answer and explanationHide answer
Correct answer: AAzure Table storage is a NoSQL key-value service for large amounts of structured, non-relational data with low cost. SQL Managed Instance is relational, Synapse is for analytics, and Machine Learning is for model development.
Question 22
A developer needs to store JSON documents that change shape over time and query them with a SQL-like language. Which Azure service supports this model?
- AAzure Files
- BAzure Blob Storage with no query support
- CAzure Monitor
- DAzure Cosmos DB for NoSQL
Show answer and explanationHide answer
Correct answer: DCosmos DB for NoSQL stores JSON documents and supports a SQL-like query language. Blob Storage lacks document queries, Azure Files is file storage, and Monitor collects telemetry.
Question 23
A graph of relationships between customers, products, and suppliers needs to be queried by traversing connections. Which Azure data service is designed for this?
- AAzure Cosmos DB for Apache Gremlin
- BAzure Table storage accounts
- CAzure Files premium file shares
- DAzure Blob Storage hot tier
Show answer and explanationHide answer
Correct answer: ACosmos DB supports graph data through the Apache Gremlin API for traversing relationships. Blob, Table and Files do not provide graph traversal.
Analytics workloads on Azure (7 questions)
Question 24
Which TWO are typical Azure services for analytics and reporting? (Choose two.)
- AAzure Synapse Analytics
- BAzure Cache for Redis as the main analytics engine
- CAzure Front Door for querying data
- DAzure Files for analytical queries
- EPower BI for reports and dashboards
Show answer and explanationHide answer
Correct answer: A, ESynapse Analytics supports large-scale analytics and Power BI provides reports and dashboards. Redis, Files and Front Door are not analytics engines.
Question 25
An organization wants a single platform that combines data warehousing and big data analytics with notebooks and serverless SQL. Which service is best suited?
- AAzure Cache for Redis Premium
- BAzure Table storage
- CAzure Synapse Analytics
- DAzure Load Balancer
Show answer and explanationHide answer
Correct answer: CAzure Synapse Analytics combines warehousing, big data and integrated analytics with serverless SQL and notebooks. The other services do not provide this integrated analytics platform.
Question 26
A business analyst needs interactive dashboards that refresh from a data model and can be shared with managers. Which tool should be used?
- AAzure Firewall
- BAzure Cache for Redis
- CAzure Load Balancer
- DPower BI
Show answer and explanationHide answer
Correct answer: DPower BI creates interactive dashboards and reports from data models and shares them. The other services do not provide dashboards.
Question 27
A company needs to move data from many on-premises and cloud sources into a data lake on a schedule, with monitoring of each pipeline run. Which service orchestrates this?
- AAzure Bastion host
- BAzure DNS records
- CAzure Firewalls
- DAzure Data Factory
Show answer and explanationHide answer
Correct answer: DAzure Data Factory orchestrates scheduled data movement and transformation with run monitoring. Firewall, Bastion and DNS do not move data.
Question 28
Which TWO are benefits of a data warehouse for analytics? (Choose two.)
- AIt is optimized for large analytical queries
- BIt is designed for many small single-row updates
- CIt does not support aggregation
- DIt replaces all operational databases
- EIt stores historical data in a consistent structure for comparison
Show answer and explanationHide answer
Correct answer: A, EData warehouses are optimized for large analytical queries over consistent historical data. They are not designed for many small updates, do not replace operational systems, and support aggregation.
Question 29
A team needs to run big data processing on Apache Spark with notebooks, integrated with a data lake. Which Azure service fits?
- AAzure Synapse Analytics Spark pools or Azure Databricks
- BAzure Bastion for secure RDP and SSH sessions to VMs
- CAzure DNS for hosting public and private DNS zone name resolution
- DAzure Storage Explorer for browsing and uploading blobs and queues
Show answer and explanationHide answer
Correct answer: ASynapse Spark pools and Azure Databricks run Spark for big data processing with notebooks. Bastion, DNS and Storage Explorer do not run Spark.
Question 30
A company wants to produce a dashboard showing real-time sales metrics refreshed as data arrives. Which combination of services supports this?
- AA static PDF report created once per year from a fixed export file
- BA spreadsheet updated manually each hour by copying values from exported CSV files
- CPrinting sales receipts at the till for each transaction after the nightly batch close
- DEvent ingestion with Stream Analytics feeding a Power BI real-time dataset
Show answer and explanationHide answer
Correct answer: DIngesting events, processing them in Stream Analytics and streaming results into Power BI supports real-time dashboards. Static PDFs, printed receipts and manual spreadsheets are not real-time.
Want more DP-900 questions?
The full bank has 100 questions with answers and explanations, as a PDF, an online practice exam, or both.
Both formats together. The best value.
Instant access after payment, with 90 days of updates. Checkout is on our store, AIExamCerts.