Fabric Data Warehouse Interview Questions
40 questions covering Warehouse SQL, ingestion, query performance, security, recovery and migration. Focus on the supported T-SQL surface and the evidence you would collect before changing production.
- IDENTITY is supported: BIGINT IDENTITY, without a custom seed/increment.
- MERGE is supported; an incremental batch does not justify deleting every unmatched target row.
- A Lakehouse SQL endpoint supports views, functions and procedures, but not base-table DML.
- Warehouse retention defaults to 30 days; restore-in-place and read-only time travel are distinct operations.
- Clustering is Preview. Statistics, caching and capacity behavior need workload-specific validation.
Be precise about supported syntax, write paths and permission boundaries. Practise a safe incremental MERGE, a historical SELECT, a slow-query investigation and a recovery plan. Explain the tradeoff and the checks you would run, not just the feature name.
Warehouse Architecture
The fundamental shift from PaaS Synapse to SaaS Fabric — Polaris engine, Delta Parquet internals, the Warehouse vs Lakehouse SQL Endpoint distinction, and 2026 database convergence.
Q1
Fabric Warehouse is a managed analytical SQL engine with a supported T-SQL surface and open Delta/Parquet storage in OneLake. It separates storage from compute and manages physical distribution rather than asking you to configure SQL Server files, indexes or Synapse distribution keys.
It is not full SQL Server compatibility or free idle compute. Workspaces share the capacity to which they are assigned, and purchased capacity has its own billing model. Assess transactions, data types, security, ingestion and concurrency against the Warehouse documentation before migrating an operational or analytical workload.
Q2
Warehouse supports table DDL and data writes through supported T-SQL. A Lakehouse SQL analytics endpoint exposes eligible Delta tables for SQL reads; it cannot INSERT, UPDATE, DELETE or manage their base table schema.
Read-only base tables do not mean read-only metadata: the Lakehouse endpoint supports T-SQL views, functions and stored procedures over those tables. Use Spark or another supported Lakehouse write path to change the underlying data. Both surfaces support documented cross-item queries, subject to permissions and supported workspace boundaries.
Practise this: Build a Warehouse and inspect its SQL surfaces.
Q3
Synapse dedicated pools expose distribution and indexing choices and use DWUs. Fabric Warehouse manages distribution on open OneLake storage and consumes its assigned Fabric capacity. Do not translate DWUs directly into an F-SKU or assume capacity changes are instantaneous.
Remove unsupported distribution/index clauses, but assess each T-SQL construct rather than deleting every CREATE STATISTICS statement. Warehouse supports statistics, MERGE and identity columns, with platform-specific limitations. Test data types, temporary tables, procedures, transaction semantics and security using the current surface-area list and representative workloads.
Q4
Warehouse persists data in Delta/Parquet in OneLake, enabling supported cross-engine reads and Direct Lake modeling without independently maintaining another analytical table copy. Mirroring is a separate ingestion/replication capability, not a property conferred on every Warehouse table by Delta.
Access through SQL and access through OneLake are different permission paths. SQL RLS does not automatically protect an independently authorized file reader. Review ReadData versus ReadAll, broad workspace roles and the current OneLake security support for the item/engine. Do not assume one policy secures every privileged or alternate access route.
Q5
Warehouse supports ACID transactions with snapshot isolation. Reads see a consistent view, while conflicting writes can still fail and require an appropriate retry strategy. There is no customer-managed SQL Server transaction-log file or log-backup chain to operate.
Use supported BEGIN TRANSACTION, COMMIT and ROLLBACK operations; assess the documented DDL and cross-database limitations before combining steps. Keep transactions short, make retries safe and test contention on representative loads. Managed storage durability is distinct from your application recovery and disaster-recovery plan.
Q6
Use OPTION (FOR TIMESTAMP AS OF '...') on a SELECT to inspect historical data at a UTC timestamp. Warehouse retention defaults to 30 calendar days and can be configured from 1 to 120 days. This is a Warehouse setting, not a Spark Delta table-property change.
SELECT OrderID, OrderDate, Amount
FROM dbo.Orders
OPTION (FOR TIMESTAMP AS OF '2026-10-29T09:00:00');The hint applies to the whole statement and cannot be used for INSERT, UPDATE or DELETE. For recovery, inspect/export the historical result through a supported separate step, or use a supported clone/restore workflow; do not put this hint on an INSERT recovery statement. Validate keys, schema changes and the intended recovery scope before writing data back.
Q7
Database Hub is a Preview unified surface for supported database estate discovery and operations. Check the current database/source matrix and required onboarding rather than assuming every SQL, Cosmos DB, PostgreSQL and Warehouse service has identical management support.
Discovery does not confer database administrator access. Existing identity, network and database permissions remain relevant. Explain the operational benefit of a consolidated inventory and monitoring experience, but separate that from data-plane access, backup and workload-specific administration.
Q8
From a Warehouse SELECT query, use Create rule to configure an Activator alert. The query should return rows only for a condition that needs action; returning a scalar count of zero still returns a row and needs careful rule/query design.
The rule runs at the configured ‘Run query every’ frequency. It is not a database DML trigger or a continuously pushed SQL change stream. Configure the supported action, credentials and evaluation schedule, test repeated matches and notification behavior, and include query cost and delivery latency in the design.
T-SQL Development & Limitations
Use the current T-SQL surface: identity and MERGE support, unenforced constraints and item-specific read/write boundaries.
Q9
Yes. Current Warehouse documentation supports identity columns using BIGINT IDENTITY. Unlike the familiar SQL Server example, Fabric does not allow specifying a custom seed and increment.
CREATE TABLE dbo.Orders (
OrderID BIGINT IDENTITY,
OrderDate DATE NOT NULL,
CustomerID INT NOT NULL,
Amount DECIMAL(18,2) NOT NULL
);Values are positive and can have gaps or be assigned out of order across distributed ingestion. Do not use the generated value as a business sequence or infer event ordering from it. Explicit identity inserts have separate rules and can affect uniqueness guarantees; review the migration guidance before preserving existing keys.
Q10
Warehouse PRIMARY KEY, UNIQUE and FOREIGN KEY constraints are supported only in their documented NOT ENFORCED forms. Validate uniqueness and referential integrity in ingestion; the engine does not reject every violating row for you.
Declare only relationships that are actually true. The optimizer can use constraint information, so an incorrect uniqueness declaration can affect query correctness, not just documentation. Run duplicate, orphan and null checks as part of the data-quality contract and monitor them after schema or load changes.
Q11
MERGE is supported and generally available. It can combine updates and inserts for an SCD Type 1 or upsert load, with optional delete behavior when the source contract requires it. Deduplicate the source key and test concurrent/repeated batches.
MERGE dbo.Customers AS target
USING staging.CustomerUpdates AS source
ON target.CustomerID = source.CustomerID
WHEN MATCHED THEN
UPDATE SET Name = source.Name, Email = source.Email
WHEN NOT MATCHED BY TARGET THEN
INSERT (CustomerID, Name, Email)
VALUES (source.CustomerID, source.Name, source.Email);Do not add WHEN NOT MATCHED BY SOURCE THEN DELETE to an incremental change batch: absent rows may be unchanged customers, not deletions. Use that clause only for an authoritative complete source set with the intended scope, or process explicit delete events separately.
Q12
Warehouse supports stored procedures, views and supported functions, including inline table-valued functions. The Lakehouse SQL analytics endpoint also supports these objects over read-only base Delta tables.
Assess the actual T-SQL in each procedure. Session-scoped temporary tables are supported; ‘temp tables are unsupported’ is an outdated blanket rule. Other SQL Server/Synapse constructs still have limitations. Check the current surface-area list, replace unsupported procedural patterns deliberately and test transactions, errors and output equivalence.
Q13
COPY INTO is a supported high-throughput file-ingestion option. INSERT INTO … SELECT is appropriate for in-engine transformations and supported source queries; it is not universally slower merely because it is a DML statement.
Choose by the actual source, format, authentication, parallel file layout and workload. Use a documented source URL and authentication option for Warehouse COPY, or a pipeline connector that meets the network/identity requirement. Do not copy an Azure Synapse managed-identity credential example and assume it works unchanged in Fabric. Validate load errors, file counts, row counts, types and replay behavior.
Practise this: Practise pipeline-based ingestion.
Q14
The dbt-fabric adapter targets Fabric Warehouse through its SQL endpoint. Configure a supported authentication method and adapter version, then test the table, view and incremental materializations you use.
Choose the incremental strategy explicitly from that adapter version’s supported options. A unique_key alone is not proof that every model uses MERGE, and INSERT OVERWRITE is not a generic Warehouse strategy to assume. Validate updates, deletes, duplicate keys, schema changes and full-refresh behavior; use dbt tests for business-key and relationship quality.
Q15
Treat Warehouse schemas as contracts. Compare source metadata with INFORMATION_SCHEMA.COLUMNS, including schema name, types, precision and nullability, before allowing a change. Stage raw inputs in a suitable format/location; a typed staging table does not accept every incompatible record automatically.
Use supported DDL for additive changes, or a reviewed migration for incompatible changes. Warehouse supports VARCHAR for persisted strings rather than assuming SQL Server NVARCHAR works unchanged. Quarantine invalid rows, log the mismatch and alert the owner; do not silently alter production columns to fit every source change.
Q16
A Fabric data agent can use a supported Warehouse as a source to answer natural-language analytical questions with generated queries. Configure the item, selected tables, instructions and applicable capacity/tenant prerequisites; adding a source is not the whole production setup.
The agent works within the documented user/data-source permission model, but generated SQL and answers still need validation. Test restricted-user access, ambiguous measures, unsupported questions and sensitive outputs. Never dismiss security review as unnecessary simply because permissions are honored, and do not confuse the agent with a generic writeback or transaction API.
Performance Tuning in Fabric Data Warehouse interview questions
Result Set Caching, Data Clustering (the new ingestion-time layout feature), incremental statistics, CTAS patterns, and monitoring slow queries via DMVs.
Q17
Result set caching persists eligible SELECT outputs and is enabled by default at the Warehouse or SQL analytics endpoint item level. It is opportunistic, not a promise of zero compute or instant results for every repeated query.
Eligibility excludes scenarios such as cross-database queries, certain security features, time travel, nondeterministic functions and large outputs. Underlying changes invalidate affected results. Check the message output or queryinsights.exec_requests_history.result_cache_hit: 2 means reused cache, 1 means created cache and 0 means not applicable. Use the documented DISABLE_RESULT_SET_CACHE hint for a controlled comparison rather than relying on an invented whitespace-only cache-key rule.
Q18
Warehouse data clustering is currently Preview. It colocates similar values in the physical layout to improve pruning for relevant predicates. Choose clustering columns from measured query/filter patterns and review the current column-count and data-type limitations.
It is not a Synapse distribution key or a manual Spark ZORDER command. Compare clustered and unclustered loads with representative predicates, write overhead and data volume. A join key is not automatically a useful clustering key when the query cannot prune files; do not rank choices solely by high cardinality or assume the same benefit on every query.
Q19
Warehouse automatically creates and maintains supported statistics used for cardinality estimation. Incremental statistics updates can reduce maintenance work on eligible append-heavy tables rather than resampling the entire historical dataset each time.
Eligibility and maintenance thresholds matter: this is not a guarantee that only the exact newly appended rows are read or that statistics never delay a query. Inspect statistics and query behavior after large loads or distribution changes; use supported manual CREATE/UPDATE STATISTICS when needed. Frequent updates/deletes and changed predicates can need a different maintenance path.
Q20
V-Order is a Parquet write-layout optimization; it is not exclusive to Power BI and can affect SQL read efficiency too. Warehouse manages its own data layout, and supported V-Order configuration has workload and item limitations.
For Spark-written Lakehouse data, V-Order is disabled by default in newly created workspaces. Benchmark a representative read-heavy serving workload against its write cost rather than prescribing it universally. Use query plans, file pruning and measured timings to establish whether layout is the bottleneck.
Q21
Use a suitable schema, aligned key types and current statistics so the optimizer can estimate joins correctly. Filter and project early where semantics allow, avoid unnecessary casts on join keys and inspect the execution evidence for data movement, skew or large intermediate results.
Warehouse manages distribution; Synapse HASH distribution clauses do not transfer. Clustering can help relevant pruning but is not a universal join-colocation control. For a repeatedly expensive result, evaluate a staged aggregate or CTAS materialization against freshness, storage, refresh cost and concurrency, rather than declaring materialization the only solution.
Q22
CTAS physically materializes a complex aggregation or join result into a new table. Use it when: (1) a complex query runs repeatedly and Result Set Caching doesn’t apply (parameter variation), (2) an aggregation is queried by multiple downstream consumers, (3) a view would be queried enough times that on-the-fly computation is expensive. CTAS is the Fabric equivalent of a Synapse Materialized View when needed.
-- Materialize daily sales aggregation for reporting CREATE TABLE reporting.DailySalesSummary AS SELECT CAST(OrderDate AS DATE) AS SaleDate, Region, SUM(Amount) AS TotalRevenue, COUNT(1) AS OrderCount FROM dbo.Orders GROUP BY CAST(OrderDate AS DATE), Region -- Truncate + reload on each pipeline run -- or MERGE for incremental updates using MERGE GA
Whether you know CTAS as the explicit materialization pattern and can connect it to the MERGE GA feature for incremental updates. Candidates who combine CTAS (for initial build) with MERGE (for daily incremental) are showing production-ready thinking.
Q23
Use Query activity for active/recent execution, supported DMVs for live requests, Query Insights for historical analysis and Capacity Metrics for capacity contention and consumption. DAX Studio is a semantic-model tool, not the primary Warehouse SQL-plan viewer.
SELECT TOP (20) submit_time, command, result_cache_hit
FROM queryinsights.exec_requests_history
ORDER BY submit_time DESC;Use a supported SQL client and documented plan/monitoring features for deeper investigation. Do not use Synapse’s sys.dm_pdw_exec_requests as a Fabric Warehouse history example. Correlate a slow query with its plan, load activity and capacity state before changing the SKU.
Q24
Warehouse scales execution within the Fabric capacity assigned to its workspace. There is no per-Warehouse Synapse DWU control; capacity size, competing workloads and query design still need deliberate management.
Interactive operations are smoothed over a minimum of five minutes, potentially longer, while background operations are smoothed over 24 hours. Sustained overage can throttle. Autoscale billing for Spark is not a Warehouse autoscale switch. Use workload metrics to choose scheduling, tuning, capacity separation or an F-SKU change, then retest concurrency and latency.
Security & Governance
T-SQL security layer (RLS, CLS, Dynamic Masking), the Spark bypass gap, Purview auditing, and item-level sharing.
Q25
Warehouse supports T-SQL RLS using a predicate function and security policy. Define the allowed business identity-to-row mapping, apply the policy and test it using actual restricted principals and supported access paths.
SQL RLS does not automatically secure a separately authorized OneLake read. Review ReadData/ReadAll, workspace privileges and the current item/engine security support rather than promising that OneLake roles cover all access vectors. Broad workspace editors are not restricted by granular OneLake roles. Preserve equivalent policy semantics across each approved consumer before changing the architecture.
Q26
Column-level security restricts access to selected columns; dynamic data masking changes what a user without the appropriate unmask permissions sees. Masking is not encryption or a robust substitute for access controls, and inference can still be possible through queries.
Use least privilege, approved roles and tested SQL permissions for sensitive columns. Test privileged access and downstream exports separately. Neither masking nor denying SELECT erases stored personal data, so a deletion/retention requirement needs a distinct process and compliance assessment.
Q27
Workspace roles (Admin/Member/Contributor/Viewer) grant broad access to all items in the workspace. Item-level sharing via the Warehouse “Share” button grants access to a specific Warehouse only — the user can connect via SQL without being in the workspace at all. Item sharing is the right model for external analysts or BI tools that need SQL access to one Warehouse but nothing else in the workspace.
Combine both: workspace Contributor for the data engineering team (they need to write pipelines, create items), item-level sharing for the BI team (they need SQL read on the reporting Warehouse only, not the staging Warehouse). Never add BI users as workspace Members just for Warehouse access — that grants more permissions than needed.
Whether you apply least-privilege thinking specifically to Fabric’s dual permission model. The ability to explain when item sharing beats workspace roles — and vice versa — signals you’ve designed production access models, not just studied documentation.
Practise this: Review item sharing and governance decisions.
Q28
Separate Fabric control-plane audit events from SQL statement auditing. Configure Warehouse SQL audit logs for the database events and query activity required by your audit policy. The documented Audit queries permission controls configuration/access, and the audit log destination, retention and storage access require deliberate setup.
Query Insights is an operational history tool, not an automatic compliance archive. Purview integration does not by itself guarantee that every query and all returned data are retained indefinitely. Validate event coverage, failed actions, retention, access and export/recovery against the actual regulatory requirement; avoid sensitive literals in query text and logs.
Q29
Neither Warehouse nor Lakehouse is universally ‘stronger’. Warehouse provides supported SQL permissions, RLS, CLS and masking; Lakehouse access can combine workspace/item permissions, OneLake security and its SQL endpoint access mode.
Choose the data and engine paths that meet the policy, then test effective permissions. Do not assume SQL rules automatically govern file reads, or that OneLake roles restrict workspace Admins, Members and Contributors. Limit broad privileges, consider exports and external clients, and use the supported matrix for the actual item rather than promising all-engine protection.
Q30
Warehouse has managed restore points and restore-in-place, as well as read-only time travel and table-clone scenarios. It does not expose SQL Server’s customer-managed BACKUP DATABASE/log-backup workflow. Default Warehouse data retention is 30 days, configurable from 1 to 120.
Restore-in-place overwrites the existing Warehouse; test the documented scope and prerequisites before a recovery. Active Warehouses receive system-created restore points, and supported users can create user-defined points before major changes. Storage redundancy is not a replacement for retention or workload recovery. Keep definitions and deployment procedures versioned, and test recovery of connections, access and dependent consumers.
Cross-Querying Strategy
Supported same-workspace SQL references, Lakehouse shortcuts for remote data, explicit cross-tenant sharing, effective permissions and query costs.
Q31
Three-part naming: [LakehouseName].[schema].[table] within a T-SQL query on the Warehouse. Both items must be in the same workspace and the executing user must have read access to both. No ETL required — the SQL engine reads the Lakehouse’s Delta Parquet files directly.
-- Sales data is in the Warehouse; Logs are in the Lakehouse -- No ETL needed — single T-SQL query across both SELECT s.OrderID, s.Amount, l.EventType, l.EventTimestamp FROM dbo.SalesFact s JOIN [SalesLakehouse].[dbo].[WebLogs] l ON s.SessionID = l.SessionID WHERE s.OrderDate >= '2026-01-01'
Whether you know the exact three-part naming syntax and the same-workspace requirement. Candidates who describe this as requiring an ETL step or a Linked Service (Synapse concept) are applying the wrong platform mental model.
Q32
For another workspace, expose supported remote tables through a shortcut in a local Lakehouse, then query that Lakehouse’s SQL endpoint from the Warehouse within the supported workspace context. Do not assume the standard operation is creating a shortcut directly inside a Warehouse.
Cross-tenant external data sharing is a separate governed sharing workflow, not ordinary same-tenant three-part naming. Validate producer/consumer permissions, supported sources, SQL visibility and regional constraints. A read reference is not bidirectional synchronization; perform writes through a supported source/ingestion path with explicit ownership.
Q33
Distinguish a read-only Lakehouse endpoint table from a writable Warehouse table. Three-part naming does not make all remote Warehouse data intrinsically read-only; supported operations depend on the target and current T-SQL/transaction limitations.
Validate the same-workspace supported query scope, permissions on referenced items, schema/table visibility and any shortcut prerequisites. Cross-region and cross-tenant access are not enabled merely by writing a longer name. Evaluate supported statistics, pruning and distributed execution with representative joins rather than assuming every cross-item query has the same performance characteristics.
Q34
A view gives consumers a stable SQL contract over an explicit selection of cross-item columns. If the source reference changes, update the view and validate its contract instead of editing every consumer query.
Do not assume the view automatically substitutes its owner’s permissions across every item or workspace. Test the actual ownership-chain, endpoint mode and caller permissions against the supported security model. Prefer explicit columns over SELECT * for a stable reporting contract and validate the restricted consumer, not just the author.
Q35
A shared OneLake source can avoid maintaining a separate persistent table copy, but distributed SQL execution can still read and shuffle substantial data. Measure filters, projections, join cardinalities, source layout, statistics and concurrent capacity pressure.
Use relevant pruning/layout improvements only after establishing the bottleneck. If a heavily reused join remains expensive, compare CTAS or an aggregate table with its refresh/storage costs and freshness contract. ‘No extra persisted copy’ does not mean no network I/O, no intermediate data movement or no consumption.
Q36
In the supported same-workspace scenario, query the Lakehouse SQL endpoint tables from the Warehouse with three-part naming, optionally behind a view with an explicit schema contract. Ensure the source Delta tables are visible and current at the endpoint.
Test SQL/item permissions and the effective security of the caller through both items. Reconcile results against the expected data snapshot. This avoids an independently maintained ingestion copy, but the query still reads data and can perform distributed joins; validate latency and capacity use before promising production performance.
Practise this: Prepare a Lakehouse for the cross-item query exercise.
Migration Scenarios
Source-specific migration assessment, controlled replication/cutover, data reconciliation and measured capacity planning.
Q37
Use migration assessment/tooling specifically documented for Synapse dedicated pools and Fabric Warehouse. A SQL database DACPAC migration assistant is not automatically the right target or scope. Export/ingest supported data and convert schemas only after cataloging dependencies and incompatibilities.
Remove or translate Synapse distribution/index clauses; review data types, constraints, procedures, transactions and current identity syntax. Warehouse supports statistics, so do not strip every statistics statement blindly. Reconcile complete and incremental loads, test security and downstream queries, and rehearse cutover and rollback before scheduling the production move.
Q38
Mirroring can reduce an analytical cutover window for a supported source by keeping a read-only replica available while the source continues operating. Its SQL analytics endpoint is not a writable Warehouse created by a connection-string change.
Keep application writes on the supported operational source unless you are performing a separately designed application/database migration. A Warehouse is not automatically an OLTP replacement, and stopping the source also stops its replication feed. Measure replication lag, reconcile at an agreed boundary and redirect validated analytical consumers; do not promise zero downtime or automatic bidirectional write migration.
Q39
Compare row counts, null/duplicate keys, business totals and representative records at a consistent source/target snapshot or agreed watermark. Check types, decimal precision, timestamps/timezones, string normalization and deletes, not just a single grand total.
Checksums and sample rows help triage but do not prove complete equality: hashes can collide, and samples miss discrepancies. For high-assurance migration, perform partition/key-level reconciliation and investigate every unexplained mismatch. Persist validation evidence and rerun it after the incremental catch-up and before cutover.
Q40
There is no universal DWU-to-F-SKU conversion. Pilot representative ingestion, joins, reporting and concurrent users, including cold-cache and peak periods, and define the latency/throughput objectives first.
Use Capacity Metrics and query evidence to distinguish poor SQL/layout from genuine capacity pressure. Include interactive/background smoothing, competing workloads, retention/storage, reservations and viewer licensing in the cost model. Headroom is a workload-specific decision, not a mandatory 20-30% formula. Load-test the proposed configuration and retain a measured scale/rollback plan.
Practise this: Evaluate measured capacity consumption.
Warehouse done. Pipelines, Dataflows, and orchestration are next.
Start ETL Questions →Choose your next practice session
Return to the Fabric interview hub for role-based preparation and the full question-bank index.
