Country or region and language

    Choose your country or region and your language.

    Suggested for you

      All countries and regions

        Choose your character

        It shows in the top bar and on your profile. Change it any time.

        Sign in or join

        DP-750 mock exam 2

        Answer 50 original questions in 2 h, weighted like the official outline. Your report shows a score for each skill group. Our study target is 40 correct; it does not convert to Microsoft's scaled score.

        Two data sources flowing into a Delta table, then a chart and a checked task list, for DP-750 practice.
        Questions
        50
        Time
        2 h
        Our practice target
        40 (80%)
        Mode
        Timed or untimed
        Access
        Exam pass

        The practice test needs JavaScript. These are its questions:

        Case study: Kestrel Health

        Kestrel Health runs 25 clinics. Appointment events stream from the booking system all day, and the operations team watches waiting times within minutes. A partner analytics firm reads the curated appointments table with an Iceberg client and cannot read Delta. The appointments table holds 2 TB and grows by 4 GB a day; most queries filter by clinic_id and appointment date.

        Case study: Wren Retail

        Wren Retail runs SQL dashboards on a serverless SQL warehouse and a nightly notebook job on classic compute. One dashboard query became slow after a product launch. In the nightly job, one join task runs for 40 minutes while 199 other tasks of the same stage finish in under a minute. The sales table receives thousands of small files a day.

        1. One notebook needs version 2.1 of a Python package while other notebooks on the same cluster must keep version 1.8. Where should the package be installed?

          1. A compute-scoped library
          2. Databricks Runtime for Machine Learning
          3. A workspace-wide init script
          4. A notebook-scoped %pip install
        2. An interactive cluster needs two workers most of the day and up to eight during a one-hour peak. Which setting matches the load without paying for eight workers all day?

          1. An instance pool
          2. A single-node cluster
          3. A fixed number of workers
          4. Autoscaling between a minimum and maximum
        3. A data scientist trains models with MLflow and common machine learning libraries on the cluster and does not want to install them by hand. Which runtime fits?

          1. The newest beta runtime
          2. A Databricks Runtime LTS release
          3. Databricks Runtime for Machine Learning
          4. Photon enabled on the compute
        4. Twelve analysts should share one cluster, and Unity Catalog must keep each user's data access separate. Which access mode fits?

          1. Dedicated access mode
          2. Standard access mode
          3. A single-node cluster
          4. A compute policy
        5. A Genie space answers revenue questions with gross amounts, but the business defines revenue as net of refunds. What should you add to the space?

          1. A view
          2. A larger SQL warehouse
          3. A column mask
          4. Instructions and example SQL in the space
        6. Compliance requires that all managed tables of the hr schema store their data in a dedicated storage container. What should you set?

          1. An external volume
          2. Separate catalogs per environment
          3. A view
          4. A schema with a managed location
        7. A vendor sends raw JSON files that engineers keep for audits, and analysts query the cleaned rows. Unity Catalog should manage all storage. Select TWO objects.

          1. A managed volume
          2. A managed table
          3. A foreign catalog
          4. An external location
          5. A view
        8. Analysts want a saved query that always shows the current active customers and stores no data of its own. Which object fits?

          1. A managed table
          2. A streaming table
          3. A view
          4. A materialized view
        9. An engineer dropped the managed table main.sales.orders by mistake an hour ago. Which command brings it back?

          1. CREATE OR REPLACE TABLE ... AS SELECT
          2. UNDROP TABLE
          3. RESTORE TABLE to a version
          4. ALTER TABLE ... ADD COLUMN
        10. Everyone may read the employees table, but only members of hr_admins may see the salary values. Others should see NULL. What should you add?

          1. SELECT on the table alone
          2. A row filter on the table
          3. Ownership of the table
          4. A column mask
        11. Regional managers query the same sales table, and each must see only the rows of their own region, from any tool. What should you add to the table?

          1. A column mask
          2. SELECT on the view, not the table
          3. Grants to each user by name
          4. A row filter on the table
        12. New analysts join every month and need the same read access as their team. How should the privileges be granted?

          1. Ownership of the table
          2. ALL PRIVILEGES on the whole catalog
          3. Grants to an account group
          4. Grants to each user by name
        13. A CI pipeline deploys bundles to the production workspace. How should it authenticate?

          1. A SAS token in each notebook
          2. OAuth for a service principal
          3. A personal access token in the code
          4. Run as the author
        14. Forty tables have columns tagged pii with the value email, and every one needs the same mask, including tables created next month. What scales?

          1. Governed tags
          2. Grants to each user by name
          3. A column mask
          4. A tag-based ABAC policy
        15. A logistics partner that does not use Databricks needs read access to one shared table from its own tools. Which sharing option fits?

          1. Grants to each user by name
          2. A Databricks-to-Databricks share
          3. CSV exports in a public container
          4. Open sharing with a credential
        16. Users keep asking whether the net_amount column includes tax. Where should the answer be documented?

          1. COMMENT ON TABLE
          2. Governed tags
          3. ALTER COLUMN ... COMMENT
          4. A tag-based ABAC policy
        17. A table lost half its rows yesterday. Select TWO sources that show which operation ran and which identity ran it.

          1. DESCRIBE HISTORY on the table
          2. COMMENT ON TABLE
          3. Governed tags
          4. SHOW GRANTS on the object
          5. The system.access.audit table
        18. Before writing access policies, the governance team wants to classify which columns hold personal data so policies can target them. What should they apply?

          1. delta.logRetentionDuration
          2. Governed tags
          3. COMMENT ON TABLE
          4. A column mask
        19. Which loading method fits the waiting-time dashboard?

          1. A notebook with custom code
          2. A scheduled batch load
          3. Azure Data Factory with a self-hosted runtime
          4. A continuous streaming load
        20. How should the curated table be stored so the partner can read it?

          1. Plain Parquet files
          2. Delta Lake
          3. CSV files
          4. Delta with Iceberg reads (UniForm)
        21. Pharmacy wants to report every prescription line with the price list valid on its date, and price lists change monthly. Select TWO modeling choices.

          1. One row per order line
          2. SCD type 1
          3. One row per store per day
          4. Partitioning by a high-cardinality column
          5. SCD type 2
        22. A 150 GB table is filtered by store_id today, but the team expects the main filter to change to product_id next quarter. Which layout fits?

          1. Partitioning by a high-cardinality column
          2. Deletion vectors
          3. Liquid clustering on the filter columns
          4. OPTIMIZE ... ZORDER BY
        23. Customer phone numbers are corrected after typing errors, and nobody needs the wrong old values. Which SCD type fits the phone attribute?

          1. SCD type 2
          2. SCD type 1
          3. One row per order line
          4. SCD type 0
        24. Telemetry arrives in an Azure Event Hubs namespace. Which source should Structured Streaming use?

          1. The Kafka source
          2. COPY INTO
          3. Auto Loader (cloudFiles)
          4. The Delta change data feed
        25. A stream should process everything that arrived since the last run and then stop, so the job compute shuts down. Which trigger fits?

          1. A processing-time trigger
          2. A continuous trigger
          3. A new checkpoint for each run
          4. trigger(availableNow=True)
        26. An engineer streams telemetry from Event Hubs into a Delta table. Put the steps in order.

          1. Store the Event Hubs connection string in a secret scope
          2. Write to Delta with a checkpoint location
          3. Parse the value column into typed fields
          4. Read the Kafka endpoint with spark.readStream
        27. An engineer wants to create a new table from a query over existing silver tables in one SQL statement. Which method fits?

          1. COPY INTO
          2. INSERT INTO for each file
          3. CREATE TABLE ... AS SELECT
          4. Auto Loader (cloudFiles)
        28. Two regional files have the same columns in a different order. You must stack them without mixing values. Which operation fits?

          1. INTERSECT
          2. EXCEPT
          3. UNION ALL by position
          4. unionByName
        29. Finance wants one row per region with a column for each order status holding the total amount. Which operation fits?

          1. EXCEPT
          2. A denormalized gold table
          3. UNPIVOT
          4. PIVOT
        30. A report must show 0 for regions with no refunds, but the refund total is NULL for them. Which expression fits?

          1. Dropping every row with a NULL
          2. try_cast on the column
          3. COALESCE with a default
          4. SELECT DISTINCT on every column
        31. Invoice amounts must add up to the cent in reconciliation reports. Which column type fits?

          1. STRING
          2. DECIMAL(12,2)
          3. DOUBLE
          4. INT
        32. A payments table must never publish if any row has a NULL account number, because downstream payouts would fail. Which expectation fits?

          1. ON VIOLATION FAIL UPDATE
          2. A warn-only expectation
          3. mergeSchema on the write
          4. ON VIOLATION DROP ROW
        33. Discount percentages must be between 0 and 100 in the table, whichever job writes them. Which control fits?

          1. try_cast on the column
          2. A warn-only expectation
          3. A NOT NULL constraint
          4. A CHECK constraint
        34. Some files hold a text value in a numeric column. The load must not fail, and the bad values must be kept for review. Where do they go with Auto Loader?

          1. mergeSchema on the write
          2. Dropping every row with a NULL
          3. The _rescued_data column
          4. A NOT NULL constraint
        35. The same notebook must process each of 30 country codes from a list, with the same settings. Which task type fits?

          1. A For each task
          2. A continuous trigger
          3. Notebook tasks with dependencies
          4. An If/else condition task
        36. Order the steps of a job that publishes only when quality passes.

          1. Run the quality checks on silver
          2. Publish gold or alert the owner
          3. Load the day's orders into silver
          4. Branch on the quality result
        37. A job should run the full rebuild on the first day of the month and the incremental load on other days, based on a parameter. Which task fits?

          1. Run if: At least one failed
          2. A For each task
          3. A Lakeflow declarative pipeline
          4. An If/else condition task
        38. A pipeline calls an external API with custom retry logic and writes files in a vendor format. The team needs full control of each step. What fits?

          1. A For each task
          2. A continuous trigger
          3. Notebook tasks with dependencies
          4. A Lakeflow declarative pipeline
        39. Supplier files land at unpredictable times, and processing should start soon after each arrival. Which trigger fits?

          1. A file arrival trigger
          2. A Quartz cron schedule with a time zone
          3. Maximum concurrent runs of 1
          4. A continuous trigger
        40. A task calls an API that sometimes times out for a minute. The task writes with MERGE on a stable key. What should you configure?

          1. A duration warning threshold
          2. A repair run
          3. A continuous trigger
          4. A task retry policy
        41. A nightly run failed in its gold task. Put the recovery steps in order.

          1. Start a repair run of the failed task
          2. Confirm the dependent tasks succeeded
          3. Fix the cause in code or configuration
          4. Open the failed run and read the task error
        42. A streaming job must run all the time and come back by itself after a failure. Which trigger fits?

          1. A task retry policy
          2. A file arrival trigger
          3. A continuous trigger
          4. A Quartz cron schedule with a time zone
        43. Which test runs the deployed job in the staging target on realistic data and compares the gold tables it writes?

          1. End-to-end tests
          2. User acceptance testing
          3. Unit tests
          4. Integration tests
        44. Two engineers deploy the same bundle to the dev target and must not overwrite each other's jobs or start schedules. What keeps them apart?

          1. A force push over main
          2. Edits by hand in the workspace UI
          3. A target per environment
          4. Development mode for the target
        45. A team wants the same job definition deployed to dev, staging and prod with different workspaces. Select TWO things to define.

          1. Edits by hand in the workspace UI
          2. A force push over main
          3. A target per environment
          4. databricks.yml in the bundle root
          5. User acceptance testing
        46. A legacy scheduler cannot run the Databricks CLI but can call HTTPS endpoints. How should it create and update jobs?

          1. Edits by hand in the workspace UI
          2. A Git folder in the workspace
          3. The Jobs REST API
          4. databricks bundle validate
        47. Where should you look first to find the slow operator in the dashboard query?

          1. The query profile
          2. The system.billing.usage table
          3. DESCRIBE HISTORY on the table
          4. The stage details in the Spark UI
        48. What addresses the one long join task?

          1. Restart the cluster
          2. Caching a DataFrame read once
          3. A broadcast join
          4. Adaptive skew join handling
        49. The sales table has thousands of small files and keeps storing files from versions older than its retention. Select TWO commands for regular maintenance.

          1. OPTIMIZE on the table
          2. Caching a DataFrame read once
          3. df.collect() to the driver
          4. VACUUM
          5. Restart the cluster
        50. A notebook caches a 500 GB DataFrame that is read once, and executors start evicting data. What should you do?

          1. df.collect() to the driver
          2. Caching a DataFrame read once
          3. Remove the cache after use
          4. Restart the cluster

        What this set covers

        • 1.1: Compute4 questions
        • 1.2: Unity Catalog objects5 questions
        • 2.1: Security4 questions
        • 2.2: Governance5 questions
        • 3.1: Data modeling5 questions
        • 3.2: Ingestion4 questions
        • 3.3: Transformation4 questions
        • 3.4: Data quality3 questions
        • 4.1: Pipeline design4 questions
        • 4.2: Lakeflow Jobs4 questions
        • 4.3: Development lifecycle4 questions
        • 4.4: Monitoring4 questions

        Next: DP-750 mock 3

        More practice for this exam

        1. DP-750 mock 150 questions · 2 h
        2. DP-750 mock 350 questions · 2 h

        All practice for the Microsoft DP-750

        The Work Gym is independent of Microsoft and Databricks. Microsoft and Azure are trademarks of the Microsoft group of companies, and Databricks is a trademark of Databricks, Inc. Our original practice does not provide an official exam, voucher or certification.

        Your Work Gym account

        Save your progress and pick up on another device. Your browser's progress comes with you.

        Your account can start a 5-day free trial: every course, unit, project and exam. Card needed; cancel any time and pay nothing.

        New accounts get 6 hours of full access: every course, unit, project and exam. The clock starts when you go past the free lessons.

        Plan your practice from a job ad or syllabus

        Have a referral code?

        or

        You can keep practicing without an account.

        Change your plan

        Checking the price

        Help and feedback

        Ask a question, tell us what is not working, or share an idea. We reply by email.

        What is it about?

        We use it only to reply to you.