Question
You have a Google Cloud Storage (GCS) container named storage1 that contains the files shown in the following table.
| Name | Size |
|---|---|
| ProductFile.parquet | 8 MB |
| StoreFile.json | 500 MB |
| TripsFile.csv | 99 MB |
You have a Fabric workspace named Workspace1 that has the cache for shortcuts enabled. Workspace1 contains a lakehouse named Lakehouse1. Lakehouse1 has the shortcuts shown in the following table.
| Name | Source | Last accessed |
|---|---|---|
| Products | ProductFile | 12 hours ago |
| Stores | StoreFile | 4 hours ago |
| Trips | TripsFile | 48 hours ago |
You need to read data from all the shortcuts.
Which shortcuts will retrieve data from the cache?
- A. Stores only
- B. Products only
- C. Stores and Products only Correct
- D. Products, Stores, and Trips
- E. Trips only
- F. Products and Trips only
Explanation
OneLake shortcut caching for GCS stores each file in the workspace cache and serves later reads from the cache. Every read resets the retention period, and a file that isn't read within that period is purged. Files larger than 1 GB are never cached, but all three files here are smaller. With the 24-hour retention period this scenario assumes, Products (read 12 hours ago) and Stores (read 4 hours ago) are still in the cache. Trips was last read 48 hours ago, so it has been purged and must be read from GCS again.