DP-600 - Prepare Data (46% of the exam) - Section 2.4

Create views, functions, and stored procedures to transform data in a warehouse or the SQL analytics endpoint.

Create T-SQL views, stored procedures, and table-valued functions to encapsulate transformation logic in a Fabric Warehouse or the SQL analytics endpoint of a Lakehouse. Understand which warehouse objects are supported and how the SQL analytics endpoint exposes Lakehouse tables without data movement.

T-SQL viewsstored procedurestable-valued functionsSQL analytics endpointwarehouse objects

Practice question for this objective

Free samplePrepare Datamedium

Data lands as Delta tables in a "Lakehouse". An analytics engineer needs to create persistent T-SQL stored procedures and views that run INSERT and UPDATE statements to build curated transformed tables. The "SQL analytics endpoint" of the Lakehouse exposes the tables but rejects the data-modification statements. Where should the engineer build these writable transformation objects?

  • AContinue in the "Lakehouse" "SQL analytics endpoint" and grant the engineer higher T-SQL permissions so the INSERT and UPDATE statements are allowed to run.
  • BCreate the procedures in the workspace default "semantic model", which can carry the T-SQL data-modification logic that the "SQL analytics endpoint" refuses to run.
  • CCreate the stored procedures and views in a Fabric "Warehouse", which supports full read-write T-SQL and can run the INSERT and UPDATE logic against its own tables. Correct
  • DMove the transformation into an "Eventhouse" and write the INSERT and UPDATE statements there, since it accepts the same T-SQL surface as a Fabric "Warehouse".
Build writable T-SQL stored procedures and views in a Warehouse, because the Lakehouse SQL analytics endpoint is read-only and cannot run data-modification statements. The Lakehouse SQL analytics endpoint offers read-only T-SQL over Delta tables, whereas a Fabric Warehouse is a full read-write T-SQL engine, so any object that needs INSERT, UPDATE, or other DML must live in a Warehouse.

Why A is wrong: The endpoint is read-only over Lakehouse tables by design, so no permission grant enables INSERT or UPDATE there, which makes this the wrong place for writable objects.

Why B is wrong: A semantic model is a reporting layer with DAX, not a T-SQL execution surface, so it cannot host stored procedures that run INSERT and UPDATE statements.

Why C is correct: A Fabric Warehouse provides full read-write T-SQL, so it can host stored procedures and views that execute INSERT and UPDATE to build curated tables, unlike the read-only endpoint.

Why D is wrong: An Eventhouse is a KQL store for real-time telemetry and does not offer the read-write T-SQL DML surface, so it cannot replace a Warehouse for these objects.

See more DP-600 practice questions, answers explained.

Exam traps in Prepare Data

Answers that look right on this material and are not. Each one is a distractor from a different question in the DP-600 bank for this domain.

  • No, the "SQL analytics endpoint" allows only ad hoc SELECT statements and cannot persist any T-SQL object, so the engineer must build the view inside a separate Fabric "Warehouse".

    Why it is wrong: The endpoint is read-only over data but does persist T-SQL objects such as views, so claiming it cannot store any object is incorrect and points the engineer to the wrong surface.

  • Create a second Fabric "Warehouse" in the workspace named reporting, and place all the curated views, functions, and procedures inside it so they sit apart from the staging objects.

    Why it is wrong: A second Warehouse is a separate item, not a namespace within the one Warehouse the requirement specifies, so it adds an extra store rather than grouping objects inside the existing one.

  • A "Lakehouse", because its tables are created and populated through read-write T-SQL INSERT statements and stored procedures without any Spark engineering involved.

    Why it is wrong: A "Lakehouse" is engineered through Spark, and its SQL surface is read-only, so a SQL-only team cannot create and populate its tables with write T-SQL as the requirement demands.

Examworthy is not affiliated with or endorsed by Microsoft. Original, blueprint-aligned practice material only.