Check Your Knowledge
Test what you’ve learned from this section before moving on to schema translation with Lakebridge.
-
What are the two Unity Catalog objects required to set up Lakehouse Federation to an external database? A. A cluster and a warehouse B. A connection and a foreign catalog C. A metastore and a workspace D. A pipeline and a job
-
What does “query pushdown” mean in the context of Lakehouse Federation? A. Data is copied nightly from the source system into Delta tables B. As much of the query as the source system supports is translated and executed on the source system, returning only the result set C. Databricks always pulls the entire table before filtering D. Queries are cached indefinitely in Unity Catalog
-
Which privilege is required on the Unity Catalog metastore before creating a connection? A.
CREATE CONNECTIONB.MODIFY CLUSTERC.CREATE VOLUMED.MANAGE ACCOUNT -
Per this section’s guidance, how should credentials be supplied in a
CREATE CONNECTIONstatement? A. As plaintext strings directly in the SQL statement B. Referenced from a Databricks secret scope rather than plaintext C. Embedded in the foreign catalog name D. Credentials are not required for federated connections -
Why does a federated dashboard that fires twenty queries on page load pay a latency cost twenty times over? A. Because Unity Catalog throttles federated queries after the first one B. Because each query against a foreign table pays its own network round-trip and source-side query planning time, independently C. Because foreign catalogs cache only one query result at a time D. Because SQL Server and Oracle share a single connection pool by default
-
According to the workload-inventory-based triage in this section, which tables are the worst fit for staying federated long-term? A. Low access frequency, low data volume tables B. Tables that are never queried C. High access frequency, high data volume tables D. Tables with fewer than 10 columns
-
What happens to load on the legacy source system when it is federated for BI/dashboard use? A. Load decreases because Databricks caches all results B. The legacy system’s compute is still consumed by every federated query, potentially competing with existing OLTP/batch workloads C. The legacy system is automatically taken offline D. Federation eliminates the need for the legacy system’s compute entirely
-
In the federate-then-migrate phased pattern, what is stage 1? A. Decommission the source system B. Federate the entire estate first, before any table physically migrates C. Migrate only the highest-volume tables first D. Delete the foreign catalog
-
In the phased pattern’s stage 3 example, what technique lets downstream consumers stay agnostic to whether a given table has migrated yet? A. A stable view layer that points at either the foreign table or the migrated Delta table underneath B. Renaming every foreign table to match its future Delta table name C. Duplicating every dashboard for federated vs. migrated data D. Disabling Unity Catalog audit logging during migration
-
What does this section identify as the sign that the federate-then-migrate pattern has stalled rather than completed? A. A foreign catalog that was dropped immediately after creation B. A federated connection still live long after migration was declared complete C. A workload inventory with no federated tables at all D. A view layer pointing entirely at Delta tables
Answer Key
- B – A connection (credentials/network details) and a foreign catalog (mirrors the external schema) are the two required objects.
- B – Pushdown translates and executes as much of the query as possible on the source system, returning only the result set across the network.
- A –
CREATE CONNECTIONprivilege on the metastore is required, alongsideCREATE CATALOGfor the foreign catalog step. - B – Credentials should be referenced via
secret('scope', 'key')from a Databricks secret scope, never plaintext in the statement. - B – Each federated query independently pays its own network round-trip and source-side planning cost; this cost is per-query, not per-session.
- C – High access frequency combined with high data volume is exactly where federation’s repeated round-trip cost compounds worst.
- B – Federation adds a new class of caller to the legacy system; it does not reduce or eliminate its compute load.
- B – Stage 1 is federating the entire estate first, before any physical migration, to give a single governed surface immediately.
- A – A stable view whose target swaps from the foreign table to the migrated Delta table lets consumers stay unaware of migration progress.
- B – A federated connection still live long after “migration complete” signals the phased pattern stalled partway through rather than finishing.
| ← Previous: Federate-then-Migrate: The Phased Pattern | Next: Schema Translation with Lakebridge (and Its Blind Spots) → | |:—|—:|