Fabric Data Engineer (DP-700) · Free practice question 6 of 12
Zero-copy table clone in a warehouse
Before a risky schema change, the SQL team at Calder Bank wants an instant copy of a 2 TB warehouse table for testing that doesn't duplicate the stored data files. Which T-SQL statement creates it?
- A.CREATE TABLE dbo.Orders_Test AS CLONE OF dbo.Orders
- B.SELECT * INTO dbo.Orders_Test FROM dbo.Orders
- C.BACKUP TABLE dbo.Orders TO dbo.Orders_Test
- D.CREATE VIEW dbo.Orders_Test AS SELECT * FROM dbo.Orders
Show answer and explanation
Correct answer: A. CREATE TABLE dbo.Orders_Test AS CLONE OF dbo.Orders
Why: CREATE TABLE ... AS CLONE OF creates a zero-copy clone: a new table whose metadata references the existing data files, so it's created almost instantly without copying 2 TB. SELECT INTO copies all rows. BACKUP TABLE isn't valid T-SQL in Fabric, and a view is not an independent table that can be changed safely.
More free Fabric Data Engineer (DP-700) questions
- Maximum Spark job lifetime guardrail
- Managed identity for Azure SQL mirroring
- Spark job definition for script batch jobs
- KQL mv-expand for arrays
- Dataflow Gen2 fast copy
- Restoring a Delta table version
- Killing a running warehouse query
- Until activity for status polling
- Load to Tables from lakehouse files
- Schema evolution with mergeSchema
- Pipeline dependency conditions on failure