Skip to content

DP-600 · Domain 2: Prepare data · 46% of the exam

Task 2.1: Get data

Data connections and gateways, discovering data in the OneLake catalog and Real-Time hub, ingesting or accessing data with pipelines, dataflows, notebooks, COPY and shortcuts, choosing a data store, and OneLake integration for eventhouses and semantic models.

Study it

  • Data connections, the OneLake catalog and Real-Time hub

    Lesson coming

  • Ingesting or accessing data: pipelines, dataflows, notebooks, COPY and shortcuts

    Lesson coming

  • Choosing a data store, and OneLake integration for eventhouses and semantic models

    Partly covered by: RDS vs DynamoDB

Sample questions

Try each one before opening the answer. Every option is explained, with the Microsoft documentation page that proves it.

Question 1 · choose 1

A semantic model in a workspace of the Power BI Pro workspace type refreshes every night from an Azure SQL database. The database team is turning off public network access, so the database will accept connections only through a private endpoint in a company virtual network. The infrastructure team won't run or patch gateway software on any virtual machine, and the nightly refresh must keep working. The organization has an F16 capacity with spare room. What should you do?

  1. AKeep the Pro workspace and refresh through a virtual network data gateway in that network
  2. BMove the workspace to the F16 capacity and refresh through a virtual network data gateway
  3. CInstall an on-premises data gateway in standard mode on a virtual machine in that network
  4. DMove the workspace to the F16 capacity and create a managed private endpoint to the database
Show the answer and why
  • AKeep the Pro workspace and refresh through a virtual network data gateway in that network

    Incorrect

    VNet data gateways need a Fabric capacity or a Premium capacity (A4 and higher or any P SKU), which a Pro workspace in shared capacity doesn't provide.

  • BMove the workspace to the F16 capacity and refresh through a virtual network data gateway

    Correct

    A VNet data gateway is managed by Microsoft, reaches the database through the private endpoint, and is available on Fabric and Premium capacities.

  • CInstall an on-premises data gateway in standard mode on a virtual machine in that network

    Incorrect

    It would reach the private endpoint, but it's a Windows application on a machine that the infrastructure team would have to run and patch.

  • DMove the workspace to the F16 capacity and create a managed private endpoint to the database

    Incorrect

    Managed private endpoints serve Fabric Data Engineering items such as notebooks, lakehouses and Spark job definitions, not semantic model refresh.

A virtual network data gateway is injected into a delegated subnet of your Azure virtual network, so it can reach data sources through private endpoints without any traffic on public endpoints, and its hardware is fully managed. It supports Power BI semantic models, paginated reports, Dataflow Gen2, pipelines, Copy job and mirroring, and it requires a Fabric capacity (any F SKU) or a Premium capacity. An on-premises data gateway also works but has to be installed and maintained on a machine.

Question 2 · choose 1

Analysts want the import tables of their published semantic models to be written to OneLake as Delta tables, so that lakehouses and notebooks can use them. The model owners can't find the option to turn on. Which admin portal tenant setting must be enabled?

  1. AUsers can access data stored in OneLake with apps external to Fabric
  2. BUsers can create Fabric items
  3. CSemantic models can export data to OneLake
  4. DAllow XMLA endpoints and Analyze in Excel with on-premises semantic models
Show the answer and why
  • AUsers can access data stored in OneLake with apps external to Fabric

    Incorrect

    That setting controls external apps such as OneLake File Explorer and ADLS APIs, not exports from semantic models.

  • BUsers can create Fabric items

    Incorrect

    It governs creating Fabric items; it doesn't let semantic models write their tables to OneLake.

  • CSemantic models can export data to OneLake

    Correct

    This setting lets semantic models configured for OneLake integration send their import tables to OneLake.

  • DAllow XMLA endpoints and Analyze in Excel with on-premises semantic models

    Incorrect

    It enables XMLA and Analyze in Excel connections, not OneLake integration.

OneLake integration for semantic models writes the data of import tables to Delta tables in OneLake, where lakehouses, warehouses and notebooks can use them. A Fabric administrator must enable the tenant setting Semantic models can export data to OneLake; model owners then turn on OneLake integration for their models.

Question 3 · choose 1

A Dataflow Gen2 must read tables from a SQL Server database on the company's network. An analyst already runs an on-premises data gateway in personal mode on her laptop for her Power BI semantic models. What should be used for the dataflow?

  1. AHer existing personal-mode gateway
  2. BA virtual network data gateway in an Azure virtual network
  3. CA managed private endpoint from the workspace
  4. DAn on-premises data gateway in standard mode
Show the answer and why
  • AHer existing personal-mode gateway

    Incorrect

    A gateway in personal mode can be used only with Power BI and supports a single user.

  • BA virtual network data gateway in an Azure virtual network

    Incorrect

    It runs in an Azure virtual network, which has no path to a database on the company network without a network link.

  • CA managed private endpoint from the workspace

    Incorrect

    Managed private endpoints serve Data Engineering items such as notebooks, not Dataflow Gen2.

  • DAn on-premises data gateway in standard mode

    Correct

    Standard mode supports Fabric workloads such as Dataflow Gen2 and centrally managed, shared connections.

The on-premises data gateway runs on a machine in your network and works with Power BI, Microsoft Fabric, Power Apps and other services. Personal mode allows one user to connect to data sources, can't be shared and can be used only with Power BI. Standard mode supports centrally managed connections for multiple users and is the mode Fabric items such as Dataflow Gen2 and pipelines use.

Question 4 · choose 1

The schema-enabled lakehouse AnalyticsLH must expose all 40 tables of the finance schema in the FinanceLH lakehouse, which sits in another workspace, without copying data. The finance team adds new tables to that schema every few weeks, and they must appear in AnalyticsLH without anyone creating anything else. What should you create in AnalyticsLH?

  1. AA table shortcut in Tables for each of the 40 tables
  2. BA shortcut in Files that points to the Tables/finance folder of FinanceLH
  3. CA schema shortcut that points to the finance schema of FinanceLH
  4. DA Copy job that copies the finance schema into AnalyticsLH
Show the answer and why
  • AA table shortcut in Tables for each of the 40 tables

    Incorrect

    Each table shortcut links to one table, so a table added to the finance schema later needs another shortcut.

  • BA shortcut in Files that points to the Tables/finance folder of FinanceLH

    Incorrect

    Table discovery doesn't happen in the Files folder, so the Delta tables wouldn't appear as tables.

  • CA schema shortcut that points to the finance schema of FinanceLH

    Correct

    A schema shortcut creates a schema whose tables reference the source schema, and changes in the source, including new tables, are reflected automatically.

  • DA Copy job that copies the finance schema into AnalyticsLH

    Incorrect

    A Copy job copies the data, which the requirement rules out.

In a schema-enabled lakehouse, a schema shortcut creates a new schema that references Delta tables in a schema of another lakehouse or in a folder of external storage such as ADLS Gen2. Changes to the tables in the source location are reflected in the schema automatically. Shortcuts in the Tables section can link to a single table or to a schema, while shortcuts in Files don't get table discovery.

Question 5 · choose 1

A faulty load changed rows in dbo.FactSales, a 2 TB table in the SalesDW warehouse, at 19:00 UTC yesterday. Testers need their own copy of the table as it was at 18:00 UTC, in a test schema of the same warehouse, to rerun the load against. The copy must be ready in seconds without duplicating the 2 TB of data, and their changes to it must never reach dbo.FactSales. What should you run?

  1. ACREATE TABLE test.FactSales AS SELECT * FROM dbo.FactSales, then reverse the faulty load
  2. BA shortcut in a test lakehouse that points to dbo.FactSales
  3. CCREATE TABLE test.FactSales AS CLONE OF dbo.FactSales AT a timestamp of 18:00 UTC yesterday
  4. DCREATE TABLE test.FactSales AS CLONE OF dbo.FactSales, with no timestamp
Show the answer and why
  • ACREATE TABLE test.FactSales AS SELECT * FROM dbo.FactSales, then reverse the faulty load

    Incorrect

    CTAS writes a full physical copy of the 2 TB table and takes far longer than seconds.

  • BA shortcut in a test lakehouse that points to dbo.FactSales

    Incorrect

    A shortcut reads the table as it is now, faulty rows included, and the testers' changes would have to go to the source.

  • CCREATE TABLE test.FactSales AS CLONE OF dbo.FactSales AT a timestamp of 18:00 UTC yesterday

    Correct

    A clone copies only metadata, can target a point in time within the retention period, and is independent of its source afterwards.

  • DCREATE TABLE test.FactSales AS CLONE OF dbo.FactSales, with no timestamp

    Incorrect

    Without a point in time, the clone reflects the current table, which already contains the faulty changes.

CREATE TABLE AS CLONE OF creates a zero-copy clone: the metadata is copied while the new table references the same Parquet files in OneLake. The clone can be based on the current state or on a point in time within the configured data retention period (30 days by default), within or across schemas of one warehouse. After creation, DML and DDL on the clone don't affect the source, and changes to the source don't reach the clone.

Question 6 · choose 1

Data scientists work in Spark notebooks attached to the ScienceLH lakehouse. They need to read dbo.FactOrders, a table in the OrdersDW warehouse of another workspace, by table name in Spark SQL, always seeing its current data and without a copy being made. What should you do?

  1. ACreate a shortcut in OrdersDW that points to ScienceLH
  2. BRun a nightly Copy activity from OrdersDW into a ScienceLH table
  3. CCreate a OneLake shortcut in the Tables section of ScienceLH that points to dbo.FactOrders
  4. DCreate a view in ScienceLH's SQL analytics endpoint that selects from OrdersDW.dbo.FactOrders
Show the answer and why
  • ACreate a shortcut in OrdersDW that points to ScienceLH

    Incorrect

    Shortcuts can be created in lakehouses and KQL databases, not in warehouses, and it would point the wrong way.

  • BRun a nightly Copy activity from OrdersDW into a ScienceLH table

    Incorrect

    A copy goes stale between runs and duplicates the data.

  • CCreate a OneLake shortcut in the Tables section of ScienceLH that points to dbo.FactOrders

    Correct

    An internal shortcut can point to a warehouse table, and a Delta shortcut in Tables can be read as a table with Spark SQL.

  • DCreate a view in ScienceLH's SQL analytics endpoint that selects from OrdersDW.dbo.FactOrders

    Incorrect

    Cross-database references reach only warehouses and endpoints in the current workspace, and OrdersDW is in another one.

Shortcuts can be created in lakehouses and KQL databases. An internal OneLake shortcut can point to data in other Fabric items, including warehouses, across workspaces, and the item types don't need to match. A shortcut in the Tables section that points to Delta data is recognized as a table, so Spark can read it with Spark SQL by name, and it always reflects the current data.

Question 7 · choose 1

Fast copy is allowed in a Dataflow Gen2 that copies a 3-million-row Azure SQL table into a lakehouse without transformations. The refresh history shows that the standard engine was used, not CopyActivity. You want this query to always use fast copy. What should you do?

  1. AAdd a filter step so the query folds to the source
  2. BTurn off staging for the query
  3. CTurn on Require fast copy for the query
  4. DChange the destination to a Fabric warehouse
Show the answer and why
  • AAdd a filter step so the query folds to the source

    Incorrect

    The query already has no transformations; the engine choice comes from the row-count threshold, not folding.

  • BTurn off staging for the query

    Incorrect

    Staging doesn't decide whether fast copy is used for a source this small.

  • CTurn on Require fast copy for the query

    Correct

    Require fast copy bypasses the size threshold, and the refresh stops if fast copy can't be used.

  • DChange the destination to a Fabric warehouse

    Incorrect

    Fast copy currently loads directly only to a lakehouse; a warehouse destination would need staging and a second query.

With fast copy allowed, a dataflow switches to the pipeline Copy activity backend automatically when the data passes a threshold: 100 MB of CSV or Parquet files in ADLS Gen2 or Blob storage, or 5 million rows in a database source. You can bypass the threshold by selecting Require fast copy, which also stops the refresh if fast copy can't be used. Fast copy currently loads directly only to a Lakehouse destination.

Question 8 · choose 1

A Dataflow Gen2 uses incremental refresh with a monthly bucket size on InvoiceDate to load invoices into a lakehouse. Finance wants each month's rows to be extracted only after the month has ended, so that no partly complete month is ever loaded. Which setting should you turn on?

  1. AOnly extract new data when the maximum value in this column changes
  2. BRequire incremental refresh query to fully fold
  3. COnly extract data for concluded periods
  4. DExtract data from the past: 1 month
Show the answer and why
  • AOnly extract new data when the maximum value in this column changes

    Incorrect

    That required setting decides when a bucket is refreshed; it still loads the current, incomplete month.

  • BRequire incremental refresh query to fully fold

    Incorrect

    It validates that the query folds to the source; it doesn't hold back the current month.

  • COnly extract data for concluded periods

    Correct

    With a monthly bucket size, this setting extracts only complete months that contain no future data.

  • DExtract data from the past: 1 month

    Incorrect

    That setting controls how far back the initial load reaches, not whether an incomplete month is loaded.

Dataflow Gen2 incremental refresh divides data into buckets on a Date, DateTime or DateTimeZone column and refreshes a bucket when the maximum value of the change-detection column changes. The optional setting Only extract data for concluded periods limits extraction to periods that are complete, for example whole months with a monthly bucket size. Extract data from the past sets the range of the initial load.

Question 9 · choose 1

Each night, a vendor drops CSV files into Files/orders of the RetailLH lakehouse in the Retail workspace. The rows must be loaded into dbo.Orders in the FinanceDW warehouse of the Finance workspace. The finance team writes T-SQL and wants neither a pipeline nor an external staging storage account. The engineer who runs the load has the Contributor role in both workspaces. Which statement fits?

  1. AINSERT INTO dbo.Orders SELECT * FROM RetailLH.dbo.orders
  2. BCOPY INTO dbo.Orders FROM 'https://onelake.dfs.fabric.microsoft.com/<workspaceId>/<itemId>/Files/orders/*.csv'
  3. CCOPY INTO dbo.Orders FROM 'https://onelake.dfs.fabric.microsoft.com/Retail/RetailLH.Lakehouse/Files/orders/*.csv'
  4. DCOPY INTO dbo.Orders from the ID-based OneLake path, with a shared access signature in the CREDENTIAL clause
Show the answer and why
  • AINSERT INTO dbo.Orders SELECT * FROM RetailLH.dbo.orders

    Incorrect

    Three-part names reach tables of items in the same workspace, not CSV files in the Files section of a lakehouse in another workspace.

  • BCOPY INTO dbo.Orders FROM 'https://onelake.dfs.fabric.microsoft.com/<workspaceId>/<itemId>/Files/orders/*.csv'

    Correct

    COPY INTO can load files from OneLake directly, with a path that uses the workspace and item IDs and the user's Microsoft Entra identity.

  • CCOPY INTO dbo.Orders FROM 'https://onelake.dfs.fabric.microsoft.com/Retail/RetailLH.Lakehouse/Files/orders/*.csv'

    Incorrect

    With OneLake as the source, paths must use workspace and item IDs; friendly workspace and item names aren't supported.

  • DCOPY INTO dbo.Orders from the ID-based OneLake path, with a shared access signature in the CREDENTIAL clause

    Incorrect

    For OneLake sources, only Microsoft Entra ID and the workspace identity are supported; SAS tokens, shared keys and connection strings aren't.

The COPY statement in a Fabric warehouse loads CSV, JSONL and Parquet files from Azure storage accounts and from OneLake, so files in a lakehouse's Files section can be ingested without an external staging account. With OneLake as the source, the path must use workspace and item IDs, the credential must be Microsoft Entra ID or the workspace identity, and a user who runs it with their own identity needs at least the Contributor role on both the source and the target workspace. T-SQL that reads tables with three-part names works only within the same workspace.

Question 10 · choose 1

At 10:00 on a weekday, a developer publishes a change to a Dataflow Gen2 whose only schedule runs at 02:00. Minutes later, the operations team sees the dataflow's queries running against the source ERP database during business hours. What started this?

  1. APublishing moves the next scheduled refresh to the publish time
  2. BThe editor keeps refreshing the data preview after the dataflow is published
  3. CThe 02:00 refresh failed, and failed refreshes retry at the next publish
  4. DA successful publish starts an on-demand refresh of the dataflow
Show the answer and why
  • APublishing moves the next scheduled refresh to the publish time

    Incorrect

    The schedule stays as it is; the extra refresh is the on-demand one that publishing starts.

  • BThe editor keeps refreshing the data preview after the dataflow is published

    Incorrect

    Data previews run while you author; the queries seen after publishing come from the refresh it starts.

  • CThe 02:00 refresh failed, and failed refreshes retry at the next publish

    Incorrect

    Nothing ties retries to publishing; a successful publish itself starts the refresh.

  • DA successful publish starts an on-demand refresh of the dataflow

    Correct

    When a dataflow publish completes successfully, an on-demand refresh starts.

A dataflow refresh can be triggered on demand or by a refresh schedule of up to 48 slots a day. Besides selecting Refresh or running a pipeline with a Dataflow activity, a successful publish of a dataflow also starts an on-demand refresh. Plan publishes of dataflows that read busy sources with that in mind.

Question 11 · choose 1

A deployment script creates lakehouses with the Create Lakehouse REST API. The team later finds that these lakehouses have no schema support, unlike the ones they create in the Fabric portal. What should the script include?

  1. AA follow-up call that enables schemas on the existing lakehouses
  2. B"enableSchemas": true in the request's creationPayload
  3. CA dbo schema created with Spark SQL after creation
  4. DThe Lakehouse schemas option in the workspace settings
Show the answer and why
  • AA follow-up call that enables schemas on the existing lakehouses

    Incorrect

    Tools that convert a non-schema lakehouse to a schema-enabled one in place aren't available yet.

  • B"enableSchemas": true in the request's creationPayload

    Correct

    Through the REST API, schemas aren't enabled by default and must be requested in the creation payload.

  • CA dbo schema created with Spark SQL after creation

    Incorrect

    A non-schema lakehouse doesn't become schema-enabled by running Spark SQL in it.

  • DThe Lakehouse schemas option in the workspace settings

    Incorrect

    Schema support is chosen per lakehouse at creation, not as a workspace setting.

Schemas are enabled by default when you create a lakehouse in the Fabric portal, but not when you create one through the Create Lakehouse REST API, where you include "enableSchemas": true in the creationPayload. Migration tools that convert a non-schema lakehouse to a schema-enabled lakehouse without moving data aren't available yet.

Question 12 · choose 1

A pipeline's Copy activity loads CSV files into a lakehouse table with default settings, in a workspace where V-Order is off for Spark sessions. How are the table's files written?

  1. AIn V-Order, because Copy writes lakehouse tables in V-Order by default
  2. BWithout V-Order, because the workspace's Spark default applies to every writer
  3. CAs CSV files under Tables, because Copy keeps the source format
  4. DIn V-Order only if the table has the delta.parquet.vorder.enabled property
Show the answer and why
  • AIn V-Order, because Copy writes lakehouse tables in V-Order by default

    Correct

    The lakehouse connector writes data to lakehouse tables in V-Order unless you change it.

  • BWithout V-Order, because the workspace's Spark default applies to every writer

    Incorrect

    The Spark session setting governs Spark writes; the Copy activity has its own default.

  • CAs CSV files under Tables, because Copy keeps the source format

    Incorrect

    Copying to a lakehouse table writes Delta Parquet, not the source CSV files.

  • DIn V-Order only if the table has the delta.parquet.vorder.enabled property

    Incorrect

    The Copy activity uses V-Order by default without needing that table property.

The Copy activity's lakehouse connector writes data to lakehouse tables in V-Order by default. V-Order for Spark is controlled separately, by the spark.sql.parquet.vorder.default session setting, table properties and writer options, and it's disabled by default for Spark in new workspaces.

Question 13 · choose 1

A user with the Viewer role in a workspace tries to run CREATE TABLE dbo.Orders_Test AS CLONE OF dbo.Orders in its warehouse, and it fails. Which change would let them clone the table?

  1. AGive them SELECT on dbo.Orders and CREATE TABLE in the dbo schema, keeping the Viewer role
  2. BShare the warehouse with them with Read all data using SQL
  3. CGive them the Contributor role, with SELECT on the table and CREATE TABLE in the schema
  4. DRun the statement in the lakehouse's SQL analytics endpoint instead
Show the answer and why
  • AGive them SELECT on dbo.Orders and CREATE TABLE in the dbo schema, keeping the Viewer role

    Incorrect

    SELECT is needed, but the Viewer workspace role can't create a clone.

  • BShare the warehouse with them with Read all data using SQL

    Incorrect

    ReadData lets them read tables; it doesn't allow creating clones.

  • CGive them the Contributor role, with SELECT on the table and CREATE TABLE in the schema

    Correct

    Cloning needs Admin, Member or Contributor, SELECT on every row and column of the source, and CREATE TABLE in the target schema.

  • DRun the statement in the lakehouse's SQL analytics endpoint instead

    Incorrect

    Clone table isn't supported on the SQL analytics endpoint of a lakehouse.

Users with the Admin, Member or Contributor workspace role can clone tables in the workspace; the Viewer role can't. They also need SELECT permission on all the rows and columns of the source table and CREATE TABLE permission in the schema where the clone is created. Table clones aren't supported on the SQL analytics endpoint of a lakehouse.

Microsoft documentation

Question 14 · choose 1

Analysts run ad hoc T-SQL against the SalesDW warehouse from SSMS all day, while ETL updates its tables from 01:00 to 04:00 and sometimes in short bursts during the day. Analysts must always query all tables as they were at 06:00 that day, keep one connection string and their existing queries, and see the 06:00 state of the next day without anyone copying data. What should you set up?

  1. AZero-copy clones of all SalesDW tables as of 06:00 in a second warehouse that analysts connect to, recreated each morning
  2. BA user-defined restore point at 06:00 each day, with SalesDW restored in place to it
  3. CA warehouse snapshot of SalesDW whose timestamp a job rolls forward to 06:00 each day
  4. DA zero-copy clone of the SalesDW warehouse as of 06:00, recreated each morning
Show the answer and why
  • AZero-copy clones of all SalesDW tables as of 06:00 in a second warehouse that analysts connect to, recreated each morning

    Incorrect

    Table clones across warehouses in a workspace aren't supported; a clone is created within or across schemas of one warehouse.

  • BA user-defined restore point at 06:00 each day, with SalesDW restored in place to it

    Incorrect

    A restore in place overwrites SalesDW itself, so the daytime ETL bursts keep changing the data that analysts query.

  • CA warehouse snapshot of SalesDW whose timestamp a job rolls forward to 06:00 each day

    Correct

    A snapshot is a read-only point-in-time view with its own connection, and rolling its timestamp forward is instant and atomic.

  • DA zero-copy clone of the SalesDW warehouse as of 06:00, recreated each morning

    Incorrect

    Cloning a whole warehouse or schema isn't supported; clones are made per table.

A warehouse snapshot is a read-only representation of a warehouse at a point in time. Its timestamp can be rolled forward on demand, with updates applied instantly as one atomic change, so consumers keep a consistent version of all tables through the same connection while ETL keeps changing the parent warehouse. Zero-copy table clones can also preserve a point in time, but only within one warehouse, and a restore in place overwrites the warehouse it restores.

Practice domain 2 →Practice all domains →