Courseiva

OLTP vs OLAP: Transactional and Analytical Workloads for DP-900

A company stores customer orders in a relational database that handles many small transactions (inserts, updates, deletes) throughout the day. Separately, they maintain a data warehouse that is used for complex aggregations and historical trend analysis. Which statement correctly describes these two workloads?

Quick Answer

The answer is that the first system is an OLTP workload and the second is an OLAP workload. This is correct because OLTP (Online Transaction Processing) systems are optimized for handling many small, concurrent transactions like inserts, updates, and deletes while maintaining ACID compliance and fast response times, whereas OLAP (Online Analytical Processing) systems are designed for complex aggregations and historical trend analysis using columnar storage and star schemas. On the DP-900 exam, this distinction tests your understanding of fundamental data architecture roles, often appearing in scenario-based questions where you must match workload characteristics to the correct processing type. A common trap is confusing OLTP with analytics, but remember that OLTP focuses on write-heavy, row-based operations for day-to-day operations, while OLAP focuses on read-heavy, column-based queries for business intelligence. A helpful memory tip: think of OLTP as "transactional" and OLAP as "analytical" — the "P" in each stands for Processing, but the "T" and "A" tell you the purpose.

⚠ Common exam trap

Many exam-takers confuse the terms OLTP and OLAP, often assuming any database that stores data is OLTP or that any system with 'warehouse' in the name is automatically OLTP, when in fact the workload pattern (many small transactions vs. complex aggregations) defines the category.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

The first system is an OLTP workload; the second is an OLAP workload.

The first system handles many small, concurrent transactions (inserts, updates, deletes) typical of an Online Transaction Processing (OLTP) workload, optimized for ACID compliance and fast query response. The second system is an Online Analytical Processing (OLAP) workload, designed for complex aggregations and historical trend analysis using columnar storage and star schemas. This distinction is fundamental in data architecture, where OLTP systems prioritize write performance and OLAP systems prioritize read performance for large-scale analytics.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    The first system is an OLTP workload; the second is an OLAP workload.

    Why this is correct

    Many small inserts, updates and deletes typify OLTP, which is optimised for high-volume transactional writes. Complex aggregations over historical data typify OLAP, which uses columnar storage and dimensional models for analytical queries. The stem's two distinct workloads therefore map directly onto these separate processing paradigms.

  • ✗

    Both systems are OLTP workloads because they store customer orders.

    Why it's wrong here

    The warehouse performs complex aggregations over historical data, which is OLAP, not OLTP; storing customer orders does not make a workload transactional. OLTP describes the first system's many small inserts, updates and deletes. The option is tempting because both systems hold the same order data, but the workload pattern, not the subject matter, defines the category.

  • ✗

    The first system is an OLAP workload; the second is an OLTP workload.

    Why it's wrong here

    The workloads are reversed: the transactional database handling many small inserts, updates and deletes is OLTP, while the warehouse running complex aggregations is OLAP. The option is tempting because both terms sound interchangeable, but the axis of difference is transaction volume versus analytical query complexity, and the stem assigns each accordingly.

  • ✗

    Both systems are OLAP workloads because they both involve data storage.

    Why it's wrong here

    The first system runs many small inserts, updates and deletes, which is OLTP, not OLAP; mere data storage does not make a workload analytical. OLAP describes the warehouse's complex aggregations and trend analysis. The option is tempting because both systems store data, but the access pattern, not storage itself, determines the classification.

Go deeper

Related to this question

About these practice questions

One of 851 original DP-900 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

6 more ways this is tested on DP-900

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company maintains a database of customer orders that are updated frequently. They also store aggregated monthly sales reports that are generated once and then only read. Which statement correctly distinguishes these two types of data workloads?

easy
  • ✓ A.Transactional data is optimized for write operations, and analytical data is optimized for read operations.
  • B.Transactional data must always be stored in non-relational databases, and analytical data in relational databases.
  • C.Analytical data always requires real-time processing, whereas transactional data is batch-processed.
  • D.Transactional data is read-only and analytical data is frequently updated.

Why A: Transactional workloads (like the frequently updated customer orders) are optimized for write-heavy operations, ensuring ACID compliance and data integrity, while analytical workloads (like the read-only monthly sales reports) are optimized for read-heavy operations, often using columnar storage or pre-aggregated data to speed up queries. This distinction aligns with the core difference between OLTP (Online Transaction Processing) and OLAP (Online Analytical Processing) systems in Azure, such as Azure SQL Database for transactional data and Azure Synapse Analytics for analytical data.

Variation 2. A retail company processes customer orders throughout the day. Each order involves inserting a new record into a database table, updating inventory counts, and deleting temporary cart data. At the end of each week, the company runs a query that aggregates all orders by product category and region to generate a sales report. Which of the following best describes these two workloads?

easy
  • A.Order processing is OLAP; weekly reporting is OLTP
  • B.Order processing is batch processing; weekly reporting is streaming processing
  • ✓ C.Order processing is OLTP; weekly reporting is OLAP
  • D.Both workloads are OLTP

Why C: Order processing involves frequent, small transactions (inserts, updates, deletes) that are typical of Online Transaction Processing (OLTP) workloads, which prioritize data integrity and low-latency writes. The weekly sales report aggregates large volumes of historical data by product category and region, which is characteristic of Online Analytical Processing (OLAP) workloads that support complex queries and data summarization. Option C correctly identifies these two distinct workload types.

Variation 3. A company operates an online store that processes customer orders. When a customer places an order, the system must immediately reduce the inventory count for the purchased items and record the order details. At the end of each month, the company runs reports that aggregate sales data over the past month to analyze trends. Which type of data processing workload best describes the order placement activity?

easy
  • ✓ A.Transactional processing
  • B.Analytical processing
  • C.Batch processing
  • D.Stream processing

Why A: Order placement requires immediate inventory reduction and order recording, which demands ACID (Atomicity, Consistency, Isolation, Durability) guarantees. This is a classic transactional processing workload, typically handled by OLTP (Online Transaction Processing) systems like SQL Server or Azure SQL Database, ensuring data integrity even under concurrent access.

Variation 4. A retail company operates an online store. When a customer places an order, the system immediately updates inventory and payment records. Separately, the company's business analysts run weekly reports that aggregate sales data to identify trends. Which two terms correctly describe these workloads?

easy
  • ✓ A.Batch processing and real-time processing
  • ✓ B.OLTP and OLAP
  • C.Structured and Unstructured data
  • D.Data ingestion and data transformation

Why A: Option A is correct because the order-placement workload that immediately updates inventory and payment records is real-time (transactional) processing, while the weekly aggregate sales reports run on a schedule over accumulated data, which is batch processing. Option B is correct because the immediate, row-level insert/update of inventory and payment records is classic OLTP (Online Transaction Processing), whereas the weekly aggregation of sales data for trend analysis is classic OLAP (Online Analytical Processing). Option C is not correct because the scenario describes operational and analytical processing patterns, not a contrast between structured and unstructured data formats. Option D is not correct because data ingestion and data transformation are pipeline stages (extract/load and convert/clean), not the workload categories being contrasted here.

Variation 5. A ride-sharing company processes trip requests from customers. Each trip is recorded as a single transaction that updates the driver's status, calculates the fare, and logs the ride. At the end of each month, the company runs reports that aggregate millions of trips to determine average wait times and revenue per driver. Which pair of terms best describes these two distinct workloads?

easy
  • ✓ A.OLTP and OLAP
  • B.Batch processing and stream processing
  • C.ETL and ELT
  • D.Relational and non-relational

Why A: The first workload (trip request processing) is a classic OLTP (Online Transaction Processing) system because each trip is a single, atomic transaction that updates driver status, calculates fare, and logs the ride in real time. The second workload (monthly aggregation reports) is OLAP (Online Analytical Processing) because it queries millions of historical trip records to compute averages and revenue summaries. These two patterns have fundamentally different data storage and query optimization requirements, making OLTP and OLAP the correct pair.

Variation 6. A company operates an online store where customers place orders and the system immediately updates inventory and records payments. This workload is best described as:

easy
  • A.OLAP (Online Analytical Processing)
  • ✓ B.OLTP (Online Transaction Processing)
  • C.Batch processing
  • D.Data warehousing

Why B: This workload is best described as OLTP because it involves real-time, high-frequency transactions that immediately update inventory and record payments. OLTP systems are designed for concurrent, atomic operations that maintain data integrity, which is exactly what an online store's order processing requires.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DP-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-900 exam.