Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Databricks Certified Data Analyst Associate Exam Databricks-Certified-Data-Analyst-Associate Exam Questions

Last updated: · 14 practice questions with answers and explanations

Page: 1 / 12 Total 118 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Understanding of Databricks Data + AI Platform

Skill tested: Find governed datasets in the workspace and interpret Unity Catalog access requirements.

A regional sales analyst needs a certified customer dataset for a dashboard. The organization uses Unity Catalog, and the analyst knows the business description but not the catalog or schema. The analyst can browse the workspace but should not receive broader permissions just to locate data. Which approach is most appropriate?

Correct Answer: B. Use the workspace data search or Catalog Explorer to find the dataset, then verify its catalog, schema, owner, and granted privileges.
Explanation:

Catalog Explorer and workspace search help users discover Unity Catalog objects, while the object hierarchy and grants indicate where access is governed. Discovery does not itself grant permission, so the analyst should verify the dataset's location and request only the necessary privileges if access is denied. Directly opening a storage path does not bypass Unity Catalog controls, catalog ownership is excessive for discovery, and an old query reference neither establishes dataset suitability nor grants access.

Question 2

New Single answer

Topic: Managing Data

Skill tested: Choose managed or external table ownership based on transient project-data lifecycle needs.

A BI team will prototype a report using a temporary, cleaned extract stored in a project schema. The data has no independent retention requirement, and the team wants Databricks to manage the table's storage lifecycle. At the end of the prototype, dropping the table should also remove its data. Which table design best meets these requirements?

Correct Answer: D. Create a managed table in the project schema and remove it with DROP TABLE when the prototype ends.
Explanation:

A managed table is appropriate when the table and its data share a lifecycle and the team wants the platform to manage storage. Dropping a managed table removes its metadata and, subject to the platform's deletion and retention behavior, its managed data. An external table leaves the underlying files under separate lifecycle control; dropping it does not serve as a dependable file-cleanup mechanism. A view does not own or manage its source data.

Question 3

New Single answer

Topic: Importing Data

Skill tested: Select Auto Loader for incremental discovery and ingestion of arriving cloud files.

A retailer receives new JSON order files throughout each day in cloud object storage. Files arrive under a designated source path, and the analyst team needs an ongoing, incremental ingestion pipeline that can track files already processed. They do not need to operate a separate storage-event notification integration. Which approach best fits the requirement?

Correct Answer: C. Use Auto Loader in a streaming ingestion pipeline with a durable checkpoint location.
Explanation:

Auto Loader is designed to incrementally discover and ingest files from cloud object storage, and its checkpoint records progress for a continuing stream. It can support file discovery without requiring the team to build a separate event-notification integration. COPY INTO is useful for repeatable batch file loading but does not remain active after execution. Re-reading and overwriting all files is inefficient and risks poor incremental behavior; a manual workspace upload is not an ongoing cloud intake design.

Question 4

New Single answer

Topic: Executing queries using Databricks SQL and Databricks SQL Warehouses

Skill tested: Use eligible query-result caching and warehouse sizing to meet dashboard latency goals.

A dashboard runs the same deterministic aggregation repeatedly against unchanged Delta data during business hours. Its first execution meets the service target, but subsequent viewers experience avoidable latency. The team also plans to resize the warehouse without changing the SQL. Which plan best addresses both requirements while respecting how result caching works?

Correct Answer: A. Rely on the SQL warehouse result cache for eligible repeated executions, and benchmark a larger warehouse only if uncached execution latency still misses the target.
Explanation:

Databricks SQL can reuse results for eligible repeated queries when the relevant query and data conditions permit; modifying data or changing the query can prevent reuse. The repeated unchanged workload is therefore a candidate for result caching. Warehouse sizing affects compute capacity and can help reduce execution latency, but a larger warehouse is not a substitute for an available cache hit and may add cost. A random expression undermines repeatability, and a view does not guarantee cached computation.

Question 5

New Multiple answers

Topic: Executing queries using Databricks SQL and Databricks SQL Warehouses

Skill tested: Select SQL warehouse capacity and scaling settings according to concurrency and latency demands.

A company is moving an executive dashboard from a lightly used development warehouse to a production SQL warehouse. At report publication time, many viewers query concurrently, and the business prioritizes short queue times. Outside that window, demand is low. The team can configure warehouse size and scaling, but it cannot reduce the number of dashboard viewers. Which TWO actions are most appropriate? Select TWO.

Correct Answer: B. Benchmark a larger warehouse size against representative dashboard queries to provide more compute for latency-sensitive execution.; D. Configure the warehouse to scale across an appropriate range of clusters so it can handle concurrent demand.
Explanation:

Warehouse size determines the compute capacity available to execute queries, so benchmarking a larger size is a sound way to evaluate latency under the actual workload. Scaling across clusters can add capacity for concurrent queries and help limit queueing during the publication peak. The right settings should be validated against workload and cost. A longer timeout does not add compute, disabling scaling conflicts with the concurrency requirement, and refresh frequency cannot eliminate viewer queries or guarantee their timing.

Question 6

New Single answer

Topic: Analyzing Queries

Skill tested: Use query history and execution details to diagnose slow SQL and identify its bottleneck.

A monthly revenue query recently began taking several minutes instead of seconds. The SQL text has not changed, but the source table has grown substantially and the slowdown is intermittent. The analyst needs evidence before proposing an optimization and wants to distinguish query execution time from time spent waiting for the warehouse. What should the analyst do FIRST?

Correct Answer: D. Inspect the query's history entry and execution details, comparing duration, queueing, and the query profile for expensive operators.
Explanation:

Query history and the execution profile provide evidence about elapsed time, queueing, and where execution work is concentrated. That evidence helps separate warehouse contention from expensive scans, joins, aggregations, or other operators before choosing an optimization. Increasing warehouse size may help some cases but cannot be justified from duration alone. Rewriting SQL without diagnosis risks changing semantics or adding complexity, and visualization formatting provides no execution-plan insight.

Question 7

New Multiple answers

Topic: Analyzing Queries

Skill tested: Interpret query profiles to target scan reduction and correct join behavior.

A query profile shows that a fact table scan reads far more data than the report needs, followed by a large shuffle during a join. The query returns correct results, but the dashboard is too slow. The report only covers the current fiscal year, and the join uses a customer key. Which TWO investigation or optimization actions are best supported by this evidence? Select TWO.

Correct Answer: A. Check join cardinality and key uniqueness, and verify that the join does not multiply rows unexpectedly.; B. Inspect whether the fiscal-year predicate can be applied to the fact scan so irrelevant data is not read.
Explanation:

A broad scan on a query limited to the current fiscal year makes predicate application and data pruning important avenues to investigate. A large join shuffle also warrants checking join keys, cardinality, and whether the intended relationship is one-to-one or one-to-many; unexpected multiplicity can increase work and distort results. Removing the filter increases the required data, and timeout settings do not reduce scan volume. Changing chart type does not alter the SQL join plan.

Question 8

New Single answer

Topic: Creating Dashboards and Visualizations in Databricks

Skill tested: Assemble dashboard visualizations from multiple SQL queries and schedule stakeholder refreshes.

A finance team has three independently maintained SQL queries for revenue, margin, and regional trends. Stakeholders need one dashboard containing all three existing visualizations and a scheduled refresh before the morning review. The team should preserve the separate query definitions so owners can update them independently. Which implementation best fits?

Correct Answer: A. Create a dashboard, add each query's visualization as a separate tile, and configure the dashboard's scheduled refresh.
Explanation:

A Databricks SQL dashboard can present visualizations from multiple queries as separate tiles, preserving the underlying query definitions. A dashboard refresh schedule can refresh its content for stakeholders without requiring them to run each query manually. Combining unrelated outputs into one visualization is unnecessary, and independent query schedules do not by themselves create a unified dashboard view. A notebook is not the best fit for this dashboard-sharing requirement.

Question 9

New Multiple answers

Topic: Creating Dashboards and Visualizations in Databricks

Skill tested: Configure dashboard sharing and refresh behavior for reliable stakeholder access.

A sales operations team publishes a dashboard to managers who need consistent access to the latest data each weekday. The author should retain responsibility for the dashboard, and managers should not be asked to run the SQL manually. Managers already have the required data permissions. Which TWO actions should the author take? Select TWO.

Correct Answer: B. Share the dashboard with the intended managers or group using appropriate viewing access.; C. Set a recurring dashboard refresh schedule aligned with the weekday reporting requirement.
Explanation:

Sharing the dashboard with the intended audience provides access while allowing the author to remain its owner. A recurring schedule meets the requirement for weekday updates without asking viewers to execute SQL. Transferring ownership is unnecessary and undermines the stated ownership model. Catalog ownership is broader than required, particularly because the managers already have data permissions. A one-time refresh does not satisfy a recurring weekday requirement.

Question 10

New Single answer

Topic: Developing, Sharing, and Maintaining AI/BI Genie spaces

Skill tested: Prepare a Genie space with curated data, business context, and audience-appropriate access.

A product analytics group wants business users to ask natural-language questions about subscription churn. The underlying tables have technical names, and the organization wants answers grounded in a curated set of data rather than arbitrary workspace tables. Analysts will maintain the definitions, while business users will explore results. What is the best initial setup?

Correct Answer: A. Create a Genie space using the relevant governed data, add business terminology and instructions, and grant business users appropriate access.
Explanation:

A useful Genie space is grounded in selected, governed data and can be maintained with business context that helps users interpret domain terms and ask meaningful questions. Appropriate access allows analysts to maintain the space and business users to explore within their authorized scope. Workspace administrator access is excessive, and exposing an entire metastore weakens both focus and governance. A dashboard may complement the space but does not replace its conversational exploration capability.

Question 11

New Multiple answers

Topic: Developing, Sharing, and Maintaining AI/BI Genie spaces

Skill tested: Maintain Genie space accuracy by curating sources, instructions, and verified examples.

After a business unit changes its definition of an active subscription, answers in its Genie space no longer match approved reports. Analysts have identified a replacement governed table and documented the revised definition. They need to improve future answers without widening users' data access. Which TWO maintenance actions are most appropriate? Select TWO.

Correct Answer: B. Update the space's selected data sources and business instructions to reflect the approved table and definition.; C. Add representative, verified example questions or SQL guidance where supported, then test common business questions.
Explanation:

The space should reflect the authoritative source and the current meaning of active subscription; updating its selected data and business instructions addresses the model of the domain. Verified examples or SQL guidance, where available, can help align common questions with expected interpretations, and testing validates the changes. Broad schema grants violate the access constraint and do not repair business semantics. Keeping stale definitions or removing the replacement source would preserve the problem rather than fix it.

Question 12

New Single answer

Topic: Data Modeling with Databricks SQL

Skill tested: Organize silver-level conformed entities and design a basic star-schema reporting model.

An analytics team is building a sales model in Databricks SQL. Raw transaction files are retained unchanged in bronze. The team has cleaned and standardized sales events and customer records, but has not yet produced business aggregates for reporting. Analysts will later use a central sales fact table with customer and date dimensions. Which design best describes the silver-level work?

Correct Answer: D. Keep cleaned, standardized sales and customer entities in silver, then build the reporting fact and dimensions from those conformed inputs.
Explanation:

Silver commonly holds cleaned, validated, and standardized data that is suitable for downstream modeling. Conformed sales and customer entities are appropriate inputs for a reporting star schema; the fact table captures business events or measures, while dimensions provide descriptive context such as customer and date. Bronze preserves raw ingested data, and gold is typically where curated reporting models and aggregates are presented. Visualization definitions are not the purpose of the silver layer.

Question 13

New Single answer

Topic: Securing Data

Skill tested: Apply least-privilege Unity Catalog grants to protect sensitive datasets.

A human resources team stores a sensitive compensation table in Unity Catalog. Only members of the payroll analyst group should query it, while other analysts may use nonsensitive workforce summaries. The security team wants access managed through a group and does not want to grant broad privileges at the catalog level. Which approach is most appropriate?

Correct Answer: A. Grant the payroll group the minimum required privileges on the compensation table, and keep other analysts on separately governed summary objects.
Explanation:

Unity Catalog privileges can be granted to groups on specific securable objects, supporting least privilege and centralized membership management. Grant only the permissions payroll analysts need on the sensitive table, while exposing appropriately controlled summaries for broader use. Catalog ownership would confer excessive authority, and dashboard filters are not an access-control boundary for the underlying table. Direct storage access also bypasses the preferred Unity Catalog governance model and is not a least-privilege solution.

Question 14

New Multiple answers

Topic: Securing Data

Skill tested: Separate sensitive access from broad reporting through governed objects and narrow grants.

A company must let all regional managers view aggregated headcount by region while restricting employee-level salary data to a compensation group. Both datasets are registered in Unity Catalog. Managers need dashboard access, and the company wants to avoid granting them access to the employee-level table. Which TWO measures best meet the security requirement? Select TWO.

Correct Answer: A. Grant the compensation group the minimum required privileges on the employee-level salary table, and withhold those privileges from managers.; E. Provide managers access to a governed aggregate object containing only the approved regional headcount measures.
Explanation:

A governed aggregate object can expose the approved regional measure without exposing employee-level salary records. Separately, granting only the compensation group the minimum needed privileges on the sensitive table preserves least privilege. Granting managers table access and hiding columns in a dashboard is not sufficient because they could query the underlying table. Schema ownership is overly broad, and dashboard filters alone do not replace data-layer access controls.