A data engineer must run a CREATE CONNECTION ... TYPE SQLSERVER statement from a notebook to register an Azure SQL Database server in Unity Catalog. The connection will later be used to create a foreign catalog. The engineer is not a metastore admin. Firewall and network security group rules already allow traffic on port 1433 from the Azure Databricks workspace to the database server. The exhibit shows four candidate setups for the engineer and the cluster that runs the notebook.
| Setup | Privilege held by the engineer | Cluster runtime | Cluster access mode |
|---|---|---|---|
| Setup 1 | CREATE CONNECTION on the metastore | 12.2 LTS | Dedicated |
| Setup 2 | CREATE CATALOG on the metastore | 15.4 LTS | Standard |
| Setup 3 | CREATE CONNECTION on the metastore | 14.3 LTS | Standard |
| Setup 4 | CREATE CONNECTION on the metastore | 15.4 LTS | No isolation shared |
Which setup meets the prerequisites for creating the connection?
Before a connection can be created, the user must hold the CREATE CONNECTION privilege on the metastore or be a metastore admin. The compute also has to be on Databricks Runtime 13.3 LTS or a later version, using either Standard or Dedicated access mode, and network rules must permit traffic on the database port, which the scenario already confirms. Only Setup 3 satisfies the privilege, runtime and access mode conditions together; each other setup fails exactly one of them.
- Not correct: Setup 4. The privilege and runtime are acceptable, but the cluster must use either Standard or Dedicated access mode, and No isolation shared is neither of those.
- Not correct: Setup 1. The privilege and access mode are acceptable, but the cluster must be on Runtime 13.3 LTS or a later version, and 12.2 LTS is older than that.
- Not correct: Setup 2. The runtime and access mode are acceptable, but registering a connection requires the CREATE CONNECTION privilege on the metastore or metastore admin rights, and the engineer is not a metastore admin.
- Correct: Setup 3. The engineer holds CREATE CONNECTION on the metastore, and the cluster runs a runtime newer than 13.3 LTS in Standard access mode, so every stated prerequisite is met.