CertLumen

Databricks Platform Architect · Section 5 · 10% of the exam

Explain how Databricks encrypts data at rest and in transit and what customer-managed keys add.

One of the objectives of the Databricks Platform Architect accreditation (AWS, Azure or GCP) exam, in the section “Customer-Managed Keys and Encryption”. Here is what it covers, the points to remember and a question to try.

What it covers

Databricks encrypts data at rest and in transit without any setup. A customer-managed key does not switch encryption on; it puts the key that protects one kind of data under your control in your cloud's key service. This lesson maps each kind of data to the key feature that covers it on AWS, Azure and Google Cloud, and lists what no key feature covers.

Points to remember

  • Encryption at rest is on by default; a customer-managed key adds ownership, auditing and the power to revoke, not encryption itself.
  • Managed services key = control plane data: notebook source, secrets, SQL queries and query history, AI/BI dashboards, Git folder credentials.
  • Workspace storage key (AWS, GCP) or DBFS root key (Azure) = the workspace bucket or storage account: DBFS root, job and SQL results, notebook revisions, MLflow models.
  • Compute disks: the storage key optionally covers EBS (AWS) and always covers GCE persistent disks (GCP); Azure has a separate managed disks feature for data disks.
  • No CMK feature covers DBFS mounts, serverless ephemeral disks or Unity Catalog storage in your own buckets; use the cloud's storage encryption there.

Try a question

A workspace already has customer-managed keys for managed services, workspace storage and compute disks. The team moves its dashboard queries from classic SQL warehouses to serverless SQL warehouses. Which of these keys does not apply to the new serverless workloads?

  1. AThe managed services key, because serverless compute runs in the Databricks account instead of the customer's
  2. BThe workspace storage key, because serverless SQL results are kept only in the control plane
  3. CNone of them; serverless compute uses all three keys exactly as classic compute does
  4. DThe compute disk key, because serverless disks are short-lived and destroyed with the compute
Show the answer

D. Serverless SQL supports managed services keys (queries and query history) and workspace storage keys (SQL results in root storage). Disk keys for EBS, Azure managed disks or GCE persistent disks do not apply to serverless compute, because its disks exist only for the lifetime of the workload.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Encryption at Rest and in Transit teaches this objective (about 35 minutes), and 10 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 19 objectives · Next objective →