Skip to content

Analyzing Queries Questions

Practice questions for Analyzing Queries topic in Databricks Certified Data Analyst Associate. 30 questions covering this domain.

30 questions7 easy15 medium8 hard
Q1
easy

Which Databricks SQL command shows a Delta table's full transaction history, including the version number, timestamp, and operation performed?

Q2
easy

Which Databricks SQL feature provides a visual representation of how a query is executed, showing operations like scans, joins, and filters?

Q3
hard

An analyst needs to enforce Liquid clustering on an existing unpartitioned Delta table named `transactions` using the `transaction_date` column. Which...

Q4
hard

A data analyst notices that a Databricks SQL query against a large Delta table ran much faster last week than it does today, even though the table sch...

Q5
medium

An analyst runs a query in Databricks SQL and wants to understand why it is slower than expected. She opens the Query Profile and sees that one node s...

Q6
medium

An analyst wants to review all queries run against a specific table in the last 7 days to understand access patterns. Which Databricks feature should ...

Q7
medium

An analyst wants to check whether a Databricks SQL query is benefiting from data skipping on a Delta table. Which information in the Query Profile wou...

Q8
medium

A team of analysts shares a SQL warehouse and occasionally experiences slow query startup times, with queries waiting in a queue before execution begi...

Q9
medium

An analyst runs a query and opens the Query Profile in Databricks SQL. They see that the scan node shows that 850 out of 1,000 total data files were p...

Q10
easy

In Delta Lake, what does the operation type "WRITE" recorded in DESCRIBE HISTORY indicate?

Q11
hard

A data team wants to monitor all queries run by a specific service principal on their production SQL warehouse over the last 30 days for a security au...

Q12
hard

An analyst is tasked with investigating slow query performance on a Delta table that stores clickstream events. The table has 800 billion rows, no par...

Q13
medium

An analyst wants to understand which version of a Delta table corresponds to a snapshot from exactly 48 hours ago. Which SQL command helps identify th...

Q14
medium

A data analyst notices a query running slowly and uses the Query Profile to investigate. She sees high "spill to disk" bytes on the join node. What do...

Q15
easy

What information is captured in the Databricks SQL Query History?

Q16
medium

Queries on a busy warehouse spend time waiting in the queue before compute is available. Which `system.query.history` column measures that delay?

Q17
medium

A security team wants a system table that records account and workspace audit events such as service name, action name, request parameters, and source...

Q18
hard

A region uses customer-managed keys for managed services, and an admin notices `statement_text` and `error_message` are empty in `system.query.history...

Q19
medium

Which `system.query.history` field directly indicates that a query result was served from the result cache?

Q20
easy

An analyst wants to know whether a statement came from a dashboard, notebook, job, or Genie Space. Which column in `system.query.history` provides tha...

Sign in to see all 30 questions

Create a free account to browse all questions — completely free during our launch phase.