Courseiva
Securing Data →mediumMultiple Choice

Databricks-DA-Assoc Securing Data Practice Question

An organization stores sensitive financial records in a Unity Catalog managed Delta table stored in cloud object storage. To comply with corporate security mandates, all data at rest must be encrypted using a customer-managed encryption key rather than the default cloud provider-managed keys. Where must the administrator configure this encryption setting?

⚠ Common exam trap

Candidates often mistakenly believe encryption keys are configured at the individual table or schema level, failing to realize that Unity Catalog root storage encryption must be set at the metastore or storage credential level.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Within the Unity Catalog metastore root storage configuration using a cloud-provider storage credential linked to a customer-managed key.

Customer-managed keys (CMK) for managed storage in Unity Catalog are configured at the storage credential or metastore level when establishing the root storage location. This ensures that all managed tables and volumes created within that storage root automatically leverage the specified encryption key, enforcing enterprise compliance policies transparently across all downstream data assets and analytics workloads.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Inside the Databricks notebook before executing any SQL queries against the sensitive financial Delta table.

    Why it's wrong here

    Notebook code runs queries against the table but cannot set the storage-level key protecting data at rest; encryption is configured on the storage credential or external location. It tempts because notebook sessions feel like the control point, yet customer-managed keys belong to the cloud storage account configuration.

  • ✓

    Within the Unity Catalog metastore root storage configuration using a cloud-provider storage credential linked to a customer-managed key.

    Why this is correct

    Unity Catalog managed tables inherit encryption from the metastore root storage location, so the customer-managed key must be attached there via a storage credential. Table-level or workspace settings cannot override the root storage encryption for managed data at rest.

  • ✗

    By modifying the Spark session configuration spark.databricks.io.encryption.enabled to true in the cluster policy.

    Why it's wrong here

    That Spark setting does not exist for Unity Catalog managed tables; encryption at rest is applied by the cloud storage layer using the key configured on the storage credential or external location. It tempts administrators seeking a cluster-level toggle, but cluster policies govern compute, not the managed table's storage encryption.

  • ✗

    Through the Apache Spark dataframe write option by setting the encryption parameter to customer_managed prior to saving.

    Why it's wrong here

    DataFrame write options do not support overriding cloud storage encryption policies defined at the bucket or metastore level. Storage encryption must be provisioned securely via cloud infrastructure and metastore administration settings rather than DataFrame write commands.

About these practice questions

This Databricks-DA-Assoc question is part of Courseiva's 291-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Databricks exam blueprint

This Databricks-DA-Assoc practice question is part of Courseiva's free Databricks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Databricks-DA-Assoc exam.