Courseiva

Databricks-DA-Assoc Developing AI/BI Genie Spaces Practice Question

A data analyst builds an AI/BI Genie Space over a Unity Catalog table named sales.transactions. Business users report that when they ask questions such as "total revenue by region," Genie returns figures that include cancelled orders, which should be excluded. The analyst wants Genie to always apply this filter. What should the analyst do?

⚠ Common exam trap

The trap here is assuming that adding a natural-language instruction to the Genie Space will always cause Genie to append the desired filter to every generated query.

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

✓

Create a view in Unity Catalog that filters out cancelled orders, and point the Genie Space at that view.

The most reliable way to enforce a permanent business rule is to define it in the data layer. A Unity Catalog view that filters out cancelled orders ensures every Genie-generated query respects the rule. Instructions and user prompts are not guaranteed to add the filter, and compute resources do not apply data logic.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Create a SQL warehouse that only returns rows where status is not cancelled.

    Why it's wrong here

    A SQL warehouse is a compute resource; it does not filter data based on business rules. Configuring a warehouse cannot exclude cancelled orders from query results. While warehouses control performance and access, they cannot enforce row-level business logic, so this approach would not solve the problem.

  • ✓

    Create a view in Unity Catalog that filters out cancelled orders, and point the Genie Space at that view.

    Why this is correct

    Genie queries the tables and views configured for the space. By replacing the base table with a view that already excludes cancelled orders, every generated SQL statement inherits the filter, so business users get correct revenue without needing to phrase their questions differently. This is the cleanest way to enforce a permanent business rule.

  • ✗

    Ask business users to include "excluding cancelled orders" in every question.

    Why it's wrong here

    Relying on users to remember a filter is error-prone and defeats the purpose of a Genie Space. Different phrasings may be misinterpreted, and some users will forget, producing inconsistent results. The analyst should encode the rule in the data layer so it applies uniformly without user intervention.

  • ✗

    Add an instruction to the Genie Space telling it to filter out cancelled orders.

    Why it's wrong here

    Instructions influence how Genie interprets natural-language questions, but they do not guarantee that a WHERE clause is added to every generated query. Because instructions are advisory, Genie may still produce SQL that includes cancelled orders, so the filter is not reliably enforced. A view provides a deterministic, query-level guarantee instead.

About these practice questions

Courseiva writes every Databricks-DA-Assoc question from scratch — 291 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.