Contoso mirrors an Azure Cosmos DB for NoSQL database into Microsoft Fabric. A single Fabric workspace contains the mirrored database cosmicworks-mirror and a lakehouse named salesLake, which holds a targets table. Both items are in the same workspace.
Analysts must join the mirrored product table with targets. The solution must meet these requirements:
- It must not consume request units (RUs) on the Azure Cosmos DB account.
- It must not create another copy of the mirrored data.
Which two approaches meet the requirements? Each correct answer presents a complete solution.
The mirrored data is stored as Delta tables in OneLake, where analytical reads do not consume RUs on the source Azure Cosmos DB account. A OneLake shortcut references those tables without copying them, allowing Spark to join the mirrored product data to targets. Alternatively, the SQL analytics endpoint can add salesLake through + Warehouses and join using three-part names without moving data. The Spark connector and the source database view both read the Azure Cosmos DB account and consume RUs. Writing the mirrored product data into a new lakehouse table creates another copy.