Free practice questions · Databricks
8 Databricks Platform Architect accreditation (AWS, Azure or GCP) practice questions, with answers
Exam-style questions from the CertLumen course, spread over the exam's sections by their weights. Each has its answer and why. They're written for practice: never questions from the real exam.
Question 1 · Account API and Automation
An engineer creates a personal access token in the production workspace. They use it as a bearer token to call POST /api/2.0/accounts/<account-id>/scim/v2/Groups on the account host, and the call is rejected. What should the engineer do?
- AGrant their user CAN MANAGE on personal access tokens in the workspace's Advanced settings, then retry
- BRecreate the token with a 730-day lifetime, because short-lived tokens are rejected by account APIs
- CSend the same token to the workspace-level SCIM endpoint and add
account_idas a query parameter - DAuthenticate with OAuth instead, for example an account-level token for a service principal that is an account admin
Show the answer
D. A personal access token authenticates to one workspace only, and you can't use PATs to automate account-level functionality. Account APIs such as account SCIM need OAuth: U2M for an account admin user, or M2M for a service principal with the account admin role. On Azure, an Entra ID token of an account admin also works, and on GCP a Google ID token does. Token permissions and lifetimes don't change what a PAT can reach.
Question 2 · Account API and Automation
A CI runner still has DATABRICKS_HOST and DATABRICKS_TOKEN set as environment variables from an older setup. An engineer adds a DEFAULT profile to ~/.databrickscfg with a service principal's client_id and client_secret. CLI commands still run as a former employee's user. What explains this, and what is the fix?
- AThe
.databrickscfgDEFAULT profile always overrides environment variables, so the service principal must be missing a workspace assignment - BEnvironment variables take precedence over the profile file, so the leftover
DATABRICKS_TOKENis used; remove it so the service principal's OAuth credentials apply - COAuth M2M is tried before PATs, so the CLI fell back to the token because the OAuth secret has expired
- DThe CLI picks the most recently created credential, so the PAT must be newer than the OAuth secret
Show the answer
B. Databricks unified authentication reads configuration from direct settings in code, then environment variables, then the .databrickscfg profile. It stops as soon as it finds a setting, so DATABRICKS_TOKEN in the environment wins over anything in the file. The default credential order is also PAT, then OAuth M2M, then OAuth U2M. Unset the stale variables, revoke the old token, and ideally use workload identity federation so no secret sits on the runner.
Question 3 · Network Configuration
A firewall team must allow classic clusters to reach the Databricks control plane and the secure cluster connectivity relay. They plan to copy the current relay IP addresses into their firewall rules once and leave them there. What does Databricks recommend instead?
- AAllowlist the published FQDNs (or Azure service tags), because the IPs behind them change
- BAllowlist 0.0.0.0/0 on port 443, because the relay rotates across all of the cloud provider's public IP space
- CPin the current relay IPs, and open a support case whenever clusters fail to start after an IP change
- DAllowlist the private IPs of the cluster nodes on the control plane side instead of the relay addresses
Show the answer
A. Databricks recommends allowlisting the FQDNs for the SCC relay and other control plane endpoints, rather than individual IPs, because the IPs behind them change with infrastructure updates. On Azure, service tags such as AzureDatabricks serve the same purpose. Customers who allowlist fixed IPs have outages when those addresses change.
Question 4 · Platform Access and Security
A company uses Microsoft Entra ID with deeply nested groups. It also wants the Entra ID service principals used by its CI/CD system to appear in Databricks without any scripting. The account uses SCIM provisioning today. Which approach meets both requirements?
- AKeep SCIM and assign only the top-level parent group to the SCIM application
- BEnable automatic identity management, which syncs nested groups and Entra service principals
- CTurn on JIT provisioning so nested groups are created at each user's first sign-in
- DConfigure workspace-level SCIM connectors so that each workspace reads the nested memberships itself
Show the answer
B. SCIM provisioning syncs users and groups with direct members only, and the Entra ID connector doesn't provision service principals. Automatic identity management reads Entra ID as the source of record, resolves transitive (nested) memberships and provisions Entra ID service principals on first use. It's available with Entra ID on all three clouds and requires identity-federated workspaces.
Question 5 · Platform Access and Security
A deployment pipeline authenticates as a service principal with an OAuth secret that expires next week. The team must rotate it without any failed deployments. What is the recommended sequence?
- AExtend the existing secret's lifetime to 730 days in the account console
- BGenerate a personal access token for the service principal and switch the pipeline to it permanently
- CRegenerate the account SCIM token, which also renews every service principal's OAuth secrets
- DCreate a second OAuth secret, update the pipeline to use it, then delete the old secret
Show the answer
D. A service principal can hold up to five OAuth secrets, each valid for up to two years (730 days), and each secret value is shown only once. Overlapping secrets allow zero-downtime rotation: add a new one, switch the client, then delete the old one. The client keeps exchanging whichever secret it holds for one-hour access tokens.
Question 6 · Customer-Managed Keys and Encryption
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?
- AThe managed services key, because serverless compute runs in the Databricks account instead of the customer's
- BThe workspace storage key, because serverless SQL results are kept only in the control plane
- CNone of them; serverless compute uses all three keys exactly as classic compute does
- 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.
Question 7 · External Storage and Cloud Integrations
An ingestion team must write raw files under the external location sales_raw from notebooks. A metastore admin runs GRANT WRITE FILES ON EXTERNAL LOCATION sales_raw TO ingest_team, but the team's writes still fail with PERMISSION_DENIED. What is the minimal fix?
- AGrant
CREATE EXTERNAL TABLEon the external location, which includes file write access - BAlso grant
WRITE FILESon the storage credential, because file privileges are checked on both objects - CAlso grant
READ FILESon the same external location - DMark the external location read-only and grant
MODIFYon it
Show the answer
C. WRITE FILES requires READ FILES on the same external location, because write operations involve metadata checks and path validation that need read access. The documented pattern grants both together (GRANT READ FILES, WRITE FILES ...). For most users, Databricks recommends volumes with WRITE VOLUME over direct file privileges.
Question 8 · External Storage and Cloud Integrations
A company creates a serverless workspace whose default catalog uses default storage. An admin later grants an older classic workspace access to that catalog, and a data scientist there queries it from a classic all-purpose cluster in dedicated access mode. The queries fail. Why?
- ACatalogs on default storage can never be made available to more than one workspace
- BDedicated access mode can't read managed tables; the cluster must use standard access mode
- CClassic compute can't interact with data in default storage; the query must run on serverless compute
- DThe classic workspace needs its own storage credential and external location for the default storage bucket
Show the answer
C. Default storage lives in Databricks' cloud account, and every interaction with it requires serverless, Unity Catalog-enabled compute. A catalog on default storage is bound to its workspace by default but can be granted to other workspaces, including classic ones, provided they query it with serverless compute such as serverless notebooks, jobs or SQL warehouses.
How ready are you?
Take ten more, weighted like the real exam, and see your score by section and a rough chance of passing. The course has 205 questions and 6 timed practice exams.
About the course · Free study guide · A question a day by email