In this post we are going to cover OneLake, shortcuts and mirroring in Microsoft Fabric: what makes OneLake different, how shortcuts and their security work, what mirroring does and what it costs, and how to reach OneLake from outside Fabric. These are 7 real Microsoft Fabric interview questions, asked the way they come up on a real project, and the last one is a scenario where five departments each copy the same customer table into their own workspace.
OneLake is the single data lake that comes with every Fabric tenant. Shortcuts and mirroring are the two ways to get data into it without building copy pipelines. Interviewers ask about this because it is the biggest change from a classic data platform: in Fabric, the first question is not "how do I copy it?" but "can I point to it?"
Part 2 of the Real Time Microsoft Fabric Interview Questions and Answers series on TechBrothersIT.
- The short answer
- Question 1: An architect says OneLake is just another data lake. What makes OneLake different, and why does one copy of the data matter?
- Question 2: The finance data already sits in ADLS Gen2 and S3. How do shortcuts work, and when do you use a shortcut instead of copying?
- Question 3: A shortcut works for you but a colleague gets access denied. How does security work through shortcuts?
- Question 4: The business wants near real-time copies of an Azure SQL database and Snowflake tables in Fabric without building pipelines. What is mirroring, and what does it cost?
- Question 5: Your Databricks team already has Unity Catalog. How do you bring that data into Fabric without duplicating it?
- Question 6: A developer asks how to read and write OneLake from outside Fabric. How do ABFS paths and the OneLake APIs work?
- Scenario 7: Five departments each copy the same customer table into their own workspace. How do you redesign it with OneLake?
The short answer
OneLake is one lake per tenant, built on ADLS Gen2, and every engine works on the same Delta copy. Shortcuts point to data in place, with access that is the most restrictive of the shortcut and the target. Mirroring replicates databases into OneLake with free replication compute, and Unity Catalog comes in as metadata only.
Keep that in mind. Every question below is one piece of it.
Question 1: An architect says OneLake is just another data lake. What makes OneLake different, and why does one copy of the data matter?
OneLake is the one data lake for the whole tenant. There is exactly one, it is provisioned automatically, and nobody creates storage accounts for it. Workspaces map to containers, and items map to folders.
It is built on ADLS Gen2, so tools like Storage Explorer, AzCopy and Databricks work against it. Tables are Delta Parquet, and Iceberg readers, like Snowflake, can read them through metadata virtualization.
Now the part that makes it different: every engine works on the same copy.
- Spark in notebooks and jobs.
- T-SQL in the warehouse and the SQL endpoint.
- Direct Lake in Power BI.
- KQL in the Eventhouse.
They all use the same files. No engine needs its own copy.
Why does that matter? Let's look at a classic platform. The warehouse loads a copy, Power BI imports another, and teams export a third. Each copy needs a pipeline, drifts away from the others, and needs its own security. With OneLake, you govern one copy.
Teams copying data between workspaces out of habit. In Fabric, the first question is: can I point to it with a shortcut instead?
Question 2: The finance data already sits in ADLS Gen2 and S3. How do shortcuts work, and when do you use a shortcut instead of copying?
A shortcut is a pointer, like a symbolic link. You create it in a lakehouse, and the data shows up as a table or a folder without being copied. The finance data stays where it is.
Let's look at what a shortcut can point to:
- External shortcuts: ADLS Gen2, Blob, Amazon S3 and S3-compatible storage, Google Cloud Storage, Dataverse, and on-premises sources through the gateway.
- Internal shortcuts: other Fabric items.
Where you create it matters too. Under Tables, a shortcut to a Delta folder shows up as a table, at the top level or as a schema shortcut. Under Files, it can point to any format, at any level. So the finance Delta tables in ADLS go under Tables, and the CSV files in S3 go under Files.
Then the decision:
| Shortcut | Copy | |
|---|---|---|
| WHEN | you just read the data | you reshape it or want your own layout |
| WHY | one copy, no pipeline | slow source, egress, isolation |
Copy when you must reshape the data, want your own layout like V-Order, the source is slow or charges egress, or you need isolation.
For S3, turn on shortcut caching, from 1 to 28 days, to cut egress.
Deleting a shortcut doesn't touch the target. Deleting files inside a shortcut does, if you have write access.
Question 3: A shortcut works for you but a colleague gets access denied. How does security work through shortcuts?
Access through a shortcut is the most restrictive combination of two permissions: the one on the shortcut path, and the one on the target. Your colleague needs both.
Let's see which identity reaches the target:
| Shortcut type | Identity used to reach the target |
|---|---|
| Same tenant, OneLake to OneLake | passthrough: the caller (default) |
| Cross-tenant | delegated |
| External: ADLS, S3 and others | delegated: the cloud connection |
For a shortcut to another lakehouse in the same tenant, Fabric uses passthrough by default: the caller's own identity. You can read the target lakehouse, so it works for you. Your colleague can't read the target item, so it fails.
External shortcuts work differently. ADLS and S3 shortcuts use delegated access through a cloud connection, so reads use the connection's credential. Cross-tenant shortcuts are delegated too.
So here is what I check, in order:
- Their access on the shortcut side, including OneLake security roles.
- Their access to the target, for OneLake shortcuts.
- The connection, for external shortcuts.
Remember that OneLake security roles only limit Viewers and item Read users.
Direct Lake over SQL, and T-SQL in delegated identity mode, reach the target as the item owner, then apply OneLake security roles. For those engines, the user's own permissions on the target are bypassed.
Question 4: The business wants near real-time copies of an Azure SQL database and Snowflake tables in Fabric without building pipelines. What is mirroring, and what does it cost?
Mirroring replicates a source database into OneLake as Delta tables and keeps it in sync, with no pipelines to build. You pick the tables, and changes can land as often as every 15 seconds.
Both of these sources are generally available. Many others are too, like SQL Server, Oracle and BigQuery, but check each source's status before you promise it.
Let's look at what you get. Every mirrored database gets a SQL analytics endpoint, works with Direct Lake, and joins to other items with three-part names. There is also open mirroring, where your own app writes changes to a landing zone.
Now the cost, which is the part interviewers want:
| Cost item | What you pay |
|---|---|
| Replication compute | free |
| Mirrored storage | free up to 1 TB per CU (F64: 64 TB) |
| Queries | billed normally on the capacity |
| Capacity paused | replication stops, storage still billed |
Replication compute is free. Mirrored storage is free up to 1 TB per capacity unit, so an F64 gets 64 TB. Queries on the mirrored data are billed normally on your capacity.
The catch is that mirroring needs a running capacity. Pause it, and replication stops while OneLake storage is still billed.
A mirror is a copy of the source, not a model. You still build silver and gold on top of it.
Question 5: Your Databricks team already has Unity Catalog. How do you bring that data into Fabric without duplicating it?
You mirror the Azure Databricks Unity Catalog. It is metadata mirroring, and it is generally available. Fabric syncs the catalog's metadata, the schemas and tables, and reaches the data through shortcuts. No data is copied.
Let's see what you get in Fabric. A mirrored Azure Databricks item, and from it:
- A SQL analytics endpoint of its own.
- Direct Lake reports that read the Delta tables in place, in Databricks storage.
- For Spark notebooks, lakehouse shortcuts to the mirrored tables.
Then the split of roles:
| Databricks | Fabric | |
|---|---|---|
| ROLE | the writer: builds the tables | the reader: reports, SQL, sharing |
| DATA | stays in Databricks storage | read in place, no copy |
Databricks stays the writer. The team keeps building with Unity Catalog, and Fabric is the reader, for reports, ad hoc SQL and sharing. New changes can take seconds to minutes to show up.
For security, OneLake security supports the mirrored Databricks catalog with Read roles, so you still control which Fabric users see which tables.
For one or two tables, a plain shortcut to the storage folder works too. But the mirrored catalog keeps the table list in sync as Databricks adds tables.
One copy, two engines.
Question 6: A developer asks how to read and write OneLake from outside Fabric. How do ABFS paths and the OneLake APIs work?
OneLake supports a subset of the ADLS Gen2 and Blob APIs. So tools that work with ADLS work with OneLake:
- Azure Storage Explorer
- AzCopy
- Databricks and Synapse
- The OneLake file explorer, or your own code
The path looks like ADLS. Let's break it down:
| Part of the path | Value |
|---|---|
| Account | onelake.dfs.fabric.microsoft.com |
| Container | the workspace |
| First folder | the item: name.type |
| Then | Tables or Files |
Here is what that looks like from Spark:
# OneLake ABFS path: workspace, then item.type
ws = "Sales"
item = "SalesLH.Lakehouse"
path = (f"abfss://{ws}@onelake.dfs.fabric.microsoft.com/"
f"{item}/Tables/dbo/orders")
df = spark.read.format("delta").load(path)
df.show(5)You can use GUIDs instead of names, and you must when names contain spaces. A regional endpoint keeps data in its region.
Fabric permissions still apply. Admins, Members and Contributors can read through the OneLake APIs, but a Viewer can't by default. They need Read all access or a OneLake security role.
For people, the OneLake file explorer for Windows is generally available. For automation, the Fabric REST APIs manage items and shortcuts, while the storage API moves the files.
Scenario 7: Five departments each copy the same customer table into their own workspace. How do you redesign it with OneLake?
First, the problem. Five copies means five pipelines, five schedules and five versions of the truth. When finance and sales report different customer counts, nobody knows which one is right.
The redesign is one owner, one copy. Let's build it step by step.
- One home. The customer table lives in one place, say a gold lakehouse in a shared master data workspace. One team owns it, and one pipeline loads it.
- Shortcuts. Finance, sales, marketing, HR and operations each get a shortcut to that table in their own lakehouse. They query it like a local table, but nothing is copied, and every change shows up for everyone at once.
- Security at the source. Give Read on the shared item, plus OneLake security roles with row-level and column-level security, so marketing sees only what it should. Shortcuts use the caller's identity, so the rules follow each user.
- Make it findable. Put the workspace in a domain, and endorse the lakehouse as master data.
- Retire the old pipelines, one department at a time.
One customer count, and four fewer pipelines.
Key points to remember
- OneLake: one lake per tenant, every engine on the same copy
- Shortcuts point to ADLS, S3 and Fabric items: nothing is copied
- Shortcut access = most restrictive of shortcut and target
- Mirroring: free replication compute, storage free up to a limit
- Unity Catalog: metadata mirroring; outside access with ABFS paths
Part 3: Lakehouse, Delta Tables and the SQL Endpoint
Part of the Real Time Microsoft Fabric Interview Questions and Answers series on TechBrothersIT. Features, limits and their status (GA or preview) are current as of October 2026; check the Microsoft Learn page for anything you quote in an interview.



No comments:
Post a Comment
Note: Only a member of this blog may post a comment.