Courseiva

Databricks-DE-Pro · topic practice

Data Sharing and Federation practice questions

This domain covers Delta Sharing and Lakehouse Federation in Unity Catalog: sharing tables, views, volumes, and partitions with recipients, and querying external systems like PostgreSQL, MySQL, Snowflake, and BigQuery through foreign catalogs. Questions test provider/recipient setup, sharing protocol clients, connection and catalog creation, and permission models.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Data Sharing and Federation

What the exam tests

What to know about Data Sharing and Federation

Be able to create shares, add tables, and define recipients for both open-protocol and Databricks-to-Databricks access, and to create foreign catalogs over connections to external databases. The key is knowing which objects the provider creates versus which the recipient creates.

Creating Delta Shares with CREATE SHARE and granting tables to recipients

Configuring recipients and bearer tokens or Databricks-to-Databricks sharing

Using the open Delta Sharing protocol from non-Databricks clients

Creating foreign catalogs with CREATE FOREIGN CATALOG over Lakehouse Federation connections

Watch out for

Common Data Sharing and Federation exam traps

  • ▸Confusing provider-side share creation with recipient-side catalog mounting; the recipient creates a catalog from the share, not the provider.
  • ▸Assuming Databricks-to-Databricks sharing uses bearer tokens; it uses recipient objects and sharing identifiers instead.
  • ▸Forgetting that foreign catalogs expose external data read-only and that connection credentials and permissions must both be granted.

Practice set

Data Sharing and Federation questions

20 questions · select your answer, then reveal the explanation

Refer to the exhibit. A Data Engineer wants to share only the North American data from the 'revenue' table with 'partner_corp'. The user observes that the recipient is still seeing all regional data. What is the cause of this behavior?

Exhibit

{
  "share": "sales_data",
  "recipients": ["partner_corp"],
  "objects": [
    {
      "table": "main.sales.revenue",
      "partition_filters": [{"column": "region", "value": "NA"}]
    }
  ]
}

Refer to the exhibit. A user is attempting to access a Delta Sharing share but receives this error. What is the most likely cause?

Exhibit

Error: [INTERNAL_ERROR] The credential provider failed to authenticate to the shared path. Check if the recipient has a valid, non-expired token.

A Data Engineer is configuring a new Delta Share. Which THREE requirements must be satisfied for the recipient to access the data successfully?

Refer to the exhibit. A Data Engineer applied these permissions, but the users in the 'data_analysts' group still cannot query the tables. What is the missing step?

Exhibit

GRANT SELECT ON FOREIGN CATALOG postgres_sales TO `data_analysts`;
GRANT USAGE ON CONNECTION postgres_conn TO `data_analysts`;

A Data Engineer is configuring a Databricks-to-Databricks Delta Share for a partner who uses a Unity Catalog-enabled workspace in a different Databricks account. The engineer has created the share, added the table, and granted the recipient access. The partner reports that they can see the share but cannot query the table. The engineer verifies that the recipient has been granted SELECT on the share. What is the most likely cause?

A data engineer at a healthcare analytics company needs to share a Delta table containing patient readmission metrics with an external research partner that uses Apache Spark on AWS. The partner does not have a Databricks account. The engineer creates a share, adds the table with a partition filter to include only records from 2023, and generates a bearer token for the recipient. After the recipient activates the token, they report they can list the shared table but cannot read any data. The engineer verifies the share is active and the recipient has been granted SELECT on the share. What is the most likely cause of the read failure?

A data engineer is configuring Lakehouse Federation to query an external MySQL database from Databricks. The engineer creates a connection and a foreign catalog. Which two statements accurately describe the behavior or requirements of this federation setup? (Choose two.)

A Data Engineer is setting up a Delta Share to share a table with an external recipient who will use the open-source Delta Sharing client. The engineer wants to ensure the recipient can access the data securely and that the share can be revoked if needed. Which two actions should the engineer take? (Choose two.)

A data engineer is configuring a Delta Share to include a table that contains sensitive customer data. The table has a column named 'email' that must be masked for all recipients. The engineer wants to ensure that recipients cannot see the original email values even if they query the shared table directly. Which approach should the engineer take?

A data engineer is configuring a Delta Sharing recipient using a bearer token. The recipient reports that they can list the shared tables but cannot read the data, receiving a '403 Forbidden' error. The engineer has verified that the recipient's token is active and the share contains the tables. What is the most likely cause of the error?

A data engineer needs to share a Delta table with a partner organization using Delta Sharing. The partner does not use Databricks and requires read access to the data. The engineer wants to ensure that the partner can only see a subset of columns and rows. Which feature should the engineer use to achieve this?

A Data Engineer is managing a Delta Share that includes a table with sensitive data. The engineer wants to ensure that the recipient can only query data from the last 30 days and cannot see historical data beyond that. The table is updated daily with new data. What is the most appropriate approach?

A data engineer is setting up Lakehouse Federation to query an external MySQL database from Databricks. The engineer needs to ensure that queries against the foreign catalog are optimized and secure. Which TWO actions should the engineer take? (Choose two.)

A data engineer is configuring a Delta Share to share a table with a partner who uses Databricks in a different Unity Catalog metastore. The partner needs to query the shared table using their own Databricks workspace. The engineer creates a share, adds the table, and creates a recipient of type 'Databricks'. The partner provides their Databricks organization ID and a sharing identifier. After the recipient is created, the partner reports they cannot see the shared table. What is the most likely cause?

A Data Engineer needs to share a Delta table with a partner organization using Delta Sharing. The partner does not use Databricks. Which component must the Data Engineer generate to facilitate this secure connection?

Which statement correctly describes the relationship between Unity Catalog and Databricks SQL Warehouses when using Lakehouse Federation?

A Data Engineer is setting up Lakehouse Federation for a PostgreSQL database. Which TWO steps are required to ensure that users can securely query the data using Unity Catalog?

What is the primary difference between sharing data via Delta Sharing compared to sharing data via Databricks-to-Databricks sharing?

What is the primary benefit of using Unity Catalog for data federation?

When using Delta Sharing to share data with a recipient, what is the best way to handle updates to the shared data?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Data Sharing and Federation sessions

Start a Data Sharing and Federation only practice session

Every question in these sessions is drawn from the Data Sharing and Federation domain — nothing else.

Related practice questions

Related Databricks-DE-Pro topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the Databricks-DE-Pro exam test about Data Sharing and Federation?
Be able to create shares, add tables, and define recipients for both open-protocol and Databricks-to-Databricks access, and to create foreign catalogs over connections to external databases. The key is knowing which objects the provider creates versus which the recipient creates.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Data Sharing and Federation questions in a focused session?
Yes — the session launcher on this page draws every question from the Data Sharing and Federation domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other Databricks-DE-Pro topics?
Use the topic links above to move to related areas, or go back to the Databricks-DE-Pro question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the Databricks-DE-Pro exam covers. They are not copied from any real exam or dump site.