Courseiva

CCNA Developing AI/BI Genie Spaces Questions

41 questions · Developing AI/BI Genie Spaces · All types, answers revealed

1
MCQhard

Refer to the exhibit. A developer is configuring a Genie Space. The model is still including discounts in its revenue calculations despite the instruction. What is the most likely cause?

A.The temperature is set too low.
B.The model lacks sufficient metadata or schema constraints on the 'discount' column.
C.The Genie Space requires a higher temperature setting to understand complex exclusions.
D.The 'data_sources' array is missing the 'discounts' table.
AnswerB

Genie models prioritize schema information and column names. If the 'discount' column is clearly labeled, the model might automatically include it because the instruction 'ignore discounts' is too vague. The developer should rename the column or add explicit logic in a view to ensure the model cannot reach that data.

Why this answer

The AI model is likely relying on the underlying schema metadata or the actual data distribution more heavily than the provided system instructions. When instructions are contradictory to standard SQL column names or common business logic, the model requires more explicit guidance. Improving the precision of the instructions, such as specifying columns to exclude, or modifying the view definition, is necessary to override the model's default behavior.

Exam trap

Candidates often assume the model has 'common sense' about business terms, failing to realize that without explicit instructions or schema constraints, the model defaults to standard SQL logic.

2
MCQmedium

A data analyst is building an AI/BI Genie space for the marketing team. The team needs to explore data from a Unity Catalog table named `campaign_metrics` and also wants Genie to understand that the column `roi` should always be calculated as `(revenue - cost) / cost`, regardless of how users phrase their questions. The analyst has already added the table to the Genie space. Which action should the analyst take to ensure Genie consistently applies this calculation?

A.Use the Genie space's 'Sample Questions' feature to add a question that asks for ROI, which will train the model to compute it correctly.
B.Enable the 'SQL Warehouse' setting in the Genie space to automatically infer calculated columns from the table schema.
C.Add a SQL expression in the Genie space's 'Instructions' section defining `roi` as `(revenue - cost) / cost`.
D.Create a view in Unity Catalog that calculates `roi` and add that view to the Genie space instead of the base table.
AnswerC

Instructions in a Genie space are used to provide business logic, definitions, and calculations that guide the model. By adding a SQL expression that defines `roi` as `(revenue - cost) / cost`, the analyst ensures Genie consistently applies this formula whenever users ask about ROI, even if they use different phrasing. This is the intended mechanism for enforcing such calculations.

Why this answer

The correct approach is to add a SQL expression in the Instructions section of the Genie space. Instructions allow analysts to define business terms, calculations, and logic that Genie should follow. By specifying `roi` as `(revenue - cost) / cost`, the analyst ensures consistent application across user queries.

Other options either do not enforce the calculation or misinterpret Genie features.

Exam trap

The trap here is assuming that adding a view or sample question will automatically enforce a calculation, when only the Instructions section provides prescriptive business logic.

3
MCQmedium

Refer to the exhibit. An analyst is reviewing the configuration JSON for a Genie Space. Why is the 'instructions' field critical in this scenario?

A.It automatically generates a visualization for the user whenever a query is run.
B.It ensures the AI correctly implements the required join logic between the two datasets.
C.It forces the user to provide a region ID every time they ask a question.
D.It caches the results of the query to improve performance for future users.
AnswerB

Explicitly stating the join requirements prevents the AI from making assumptions about column relationships. In complex schemas, the model might otherwise choose the wrong column to join on, leading to inaccurate results. This configuration enforces consistent, correct business logic across all user queries within the Genie Space.

Why this answer

The 'instructions' field serves as a critical bridge between natural language and technical SQL execution. Without this specific guidance, the Genie model might attempt to join tables incorrectly or ignore necessary filtering logic. By explicitly defining the join strategy, the analyst ensures that the AI consistently uses the standard business join keys, preventing the generation of incorrect, unoptimized, or cross-joined results that would compromise data accuracy.

Exam trap

Candidates often believe the instructions field is only for 'formatting' the output. They fail to realize it is a functional tool to define complex SQL join logic that the AI cannot infer.

4
Multi-Selecthard

Which THREE of the following are essential components of a well-architected AI/BI Genie Space setup?

Select 3 answers
A.Detailed documentation in the Unity Catalog table/column comments.
B.Providing the end-users with direct read access to all raw source tables.
C.Well-defined system instructions within the Genie Space configuration.
D.A dedicated SQL Warehouse with sufficient compute for the expected workload.
E.Granting all users 'owner' privileges on the Genie Space.
AnswersA, C, D

LLMs rely heavily on the metadata provided in the catalog. High-quality, descriptive comments for tables and columns are the primary mechanism by which the model understands the data structure, naming conventions, and business purpose of each field, directly influencing the quality and relevance of the generated SQL queries.

Why this answer

A robust Genie Space setup relies on clear semantic metadata, optimized data access, and controlled user permissions. By defining clear table descriptions in Unity Catalog, you provide the LLM with the context needed for accurate SQL generation. Combining this with granular permissions and well-crafted system instructions ensures the solution is both secure and reliable.

These three pillars create a scalable environment that allows users to self-serve insights while maintaining strict organizational data governance.

Exam trap

Candidates often select user-facing UI features as core architectural components, failing to recognize that backend metadata, system instructions, and compute resources are essential.

5
MCQhard

An analyst is configuring an AI/BI Genie Space and wants to ensure that the model correctly interprets the term 'revenue' as the sum of the 'sales_amount' column. Which action should the analyst take?

A.Create a view that renames 'sales_amount' to 'revenue' and add that view to the Genie Space.
B.Add a column comment to the 'sales_amount' column in Unity Catalog that says 'This is revenue'.
C.In the Genie Space instructions, write a note that says 'revenue means sales_amount'.
D.Add a synonym 'revenue' to the 'sales_amount' column in the Genie Space's semantic configuration.
AnswerD

Adding a synonym maps the business term 'revenue' to the specific column 'sales_amount'. This directly informs the Genie model that when users ask about revenue, it should use that column. The synonym feature is part of the semantic layer that helps translate natural language into accurate SQL, reducing ambiguity and improving answer correctness.

Why this answer

The correct approach is to add a synonym in the Genie Space's semantic configuration. This feature allows analysts to map business terms to specific columns, ensuring the model understands that 'revenue' refers to 'sales_amount'. Synonyms are part of the Space's semantic layer and are used during natural language to SQL translation, leading to more accurate and consistent results.

Exam trap

The trap here is confusing metadata comments or free-text instructions with the dedicated synonym feature that directly maps terms to columns.

6
MCQeasy

A business analyst is using an AI/BI Genie Space to explore customer data. They ask, 'What is the average customer age?' The Genie Space returns a result. Which underlying Databricks component does Genie use to execute the generated SQL query?

A.Databricks SQL warehouse
B.Apache Spark cluster
C.Delta Live Tables pipeline
D.Databricks notebook
AnswerA

Genie Spaces use Databricks SQL warehouses to execute the SQL queries generated from natural language. The SQL warehouse provides the compute resources and is optimized for BI workloads. When a user asks a question, Genie translates it into SQL and runs it on the attached SQL warehouse, returning results quickly and efficiently.

Why this answer

AI/BI Genie Spaces rely on Databricks SQL warehouses to execute the SQL queries generated from natural language. The SQL warehouse provides the necessary compute and is optimized for BI workloads, ensuring fast and reliable results. Other components like Spark clusters or notebooks are not used for this purpose.

Exam trap

The trap here is assuming that Genie uses a general-purpose Spark cluster or notebooks, when it specifically leverages SQL warehouses for query execution.

7
MCQmedium

An analyst notices that the AI/BI Genie Space is generating queries that take too long to execute. The underlying data is stored in partitioned tables. What is the most effective way to help the Genie generate more performant SQL?

A.Instruct the model to use 'SELECT *' to get all data at once.
B.Modify the system instructions to require filtering on partition keys.
C.Increase the SQL Warehouse cluster size to handle larger queries.
D.Use a different LLM model within the Genie settings.
AnswerB

Explicitly instructing the model to filter by partition keys (like date or region) ensures that every query generated by the AI is optimized for performance. By guiding the model to narrow the scope of the data scan, you prevent full table scans and reduce the load on the warehouse.

Why this answer

Genie models are highly responsive to context. By adding explicit instructions about filtering on partition columns, such as 'always filter by date or region,' the model learns to include these constraints in its generated SQL. This ensures that the generated queries prune data partitions effectively, significantly reducing query runtime and resource consumption on the SQL Warehouse, which directly improves the end-user experience for all business users.

Exam trap

Candidates frequently think that rebuilding the underlying physical tables or adding new indexes is required, ignoring the power of system instructions for guiding LLM query generation.

8
MCQmedium

An analytics team is building an AI/BI Genie space to allow business users to query sales data using natural language. After setting up the base tables, the initial user questions return inaccurate filter values because the LLM struggles to map colloquial region names to the exact string codes stored in the database. What is the most effective feature within AI/BI Genie to resolve this mapping issue without modifying the underlying physical tables?

A.Create a materialized view containing hardcoded string mappings for every possible regional variation queried by business users.
B.Enable automatic schema inference and let the Genie space rebuild its internal vector embeddings from scratch overnight.
C.Configure table and column descriptions, add explicit instructions, and provide verified queries demonstrating the correct region mappings.
D.Modify the source table column constraints to reject any query that does not use the exact database region code.
AnswerC

Detailed table documentation, clear spatial instructions, and few-shot examples via verified queries provide the LLM with exact patterns to follow. This improves translation accuracy for ambiguous colloquialisms and ensures reliable SQL generation for business users.

Why this answer

Adding instructions, descriptions, and verified queries to the Genie space gives the underlying model precise semantic context about colloquial terms, business definitions, and expected filters. This targeted guidance steers natural language translation toward the correct database columns and values without requiring costly data transformations or restructuring of source tables in the data lakehouse.

Exam trap

Candidates often assume they must perform complex ETL or data cleaning to fix mapping issues, failing to realize that Genie spaces can be guided using semantic metadata and verified query examples.

9
Multi-Selectmedium

Which TWO of the following are best practices for writing instructions in an AI/BI Genie space?

Select 2 answers
A.Provide clear, concise business logic definitions
B.Include examples of expected natural language questions
C.Include historical SQL queries for every possible outcome
D.Include sensitive security credentials for authentication
E.Use long-form essay style descriptions for all tables
AnswersA, B

Concise business logic helps the model understand precisely how metrics should be calculated. When rules are ambiguous, the model may guess, leading to inaccurate data. Providing clean definitions ensures consistency in reporting and reduces the need for users to verify the math behind the AI's answers.

Why this answer

Effective Genie instructions are concise, specific, and structured. They should prioritize clarity to prevent ambiguity and ensure the model consistently follows business rules. By focusing on explicit examples and avoiding irrelevant information, developers help the LLM maintain high accuracy and reduce the risk of hallucination, which is vital for building trust with business users who rely on the provided insights.

Exam trap

Candidates often assume writing vague, conversational prose or extremely lengthy descriptions works best, overlooking the need for concise logic and concrete examples.

10
MCQeasy

Who is the primary intended audience for an AI/BI Genie space in a Databricks environment?

A.Data engineers building ETL pipelines
B.Business analysts and non-technical stakeholders
C.Machine Learning engineers for model training
D.System administrators for managing clusters
AnswerB

Genie is built to empower non-technical users to query data using natural language. It removes the technical barrier to entry, allowing business users to get insights quickly and independently, which is the primary value proposition of the tool for the enterprise-wide democratization of data.

Why this answer

Genie spaces are specifically designed to bridge the gap between technical data infrastructure and business users. By providing a natural language interface, they allow non-technical stakeholders to ask questions and explore data without needing to write SQL or understand complex data schemas. This democratizes access to data and reduces dependency on data teams for basic reporting.

Exam trap

Candidates often think AI/BI Genie is built exclusively for data engineers to write complex ETL code, forgetting it targets business users.

11
MCQmedium

A Genie Space is producing inaccurate results when asked about 'Customer Lifetime Value'. The analyst realizes the AI model is misinterpreting the calculation logic. What is the most effective way to improve the AI's accuracy for this specific business term?

A.Modify the underlying Delta table data to include a pre-computed column for every possible metric.
B.Update the Genie Space instructions with clear, natural language definitions for the calculation.
C.Restrict access to the Genie Space so only the senior data architect can run queries.
D.Rename all columns in the Unity Catalog table to match the exact wording of the user's questions.
AnswerB

The instructions field acts as a system prompt, guiding the Genie model on how to correctly interpret domain-specific terminology. By providing clear definitions, you reduce ambiguity, ensuring the AI generates SQL that aligns with the organization's standardized business metrics, which significantly improves the reliability of the generated insights.

Why this answer

Providing clear instructions in the Genie Space instructions field allows developers to define business-specific logic that the AI might not inherently understand. By embedding these definitions directly into the Genie configuration, you constrain the AI's query generation process to adhere to pre-approved business formulas. This is essential for ensuring that multiple users get consistent answers for complex metrics, regardless of how they phrase their natural language questions.

Exam trap

Candidates often attempt to retrain or fine-tune the underlying LLM model. They overlook that Genie Spaces are designed to be guided by explicit instructions rather than requiring low-level model adjustments.

12
MCQmedium

When designing an AI/BI Genie Space, how can an analyst prevent the model from accessing PII (Personally Identifiable Information) columns in a sensitive table?

A.Add a disclaimer in the system instructions to 'not use PII'.
B.Use a specialized, private LLM that has no knowledge of PII.
C.Create a filtered view in Unity Catalog that excludes sensitive columns.
D.Set the temperature to 0 to minimize hallucinations involving PII.
AnswerC

This is the most secure approach. By creating a view that explicitly selects only the non-sensitive columns, you guarantee that the LLM cannot 'see' or include PII in its SQL generation. This fulfills data governance requirements and protects sensitive information regardless of what the user asks the model.

Why this answer

The best approach to prevent PII exposure is to create a secure view in Unity Catalog that excludes the PII columns and point the Genie Space to that view instead of the raw table. This effectively enforces data masking and access control at the data layer. By only exposing the non-sensitive data required for analysis, you maintain privacy compliance while still allowing the AI to generate useful insights for the business.

Exam trap

Candidates mistakenly believe they can hide PII columns using Genie system instructions, ignoring the fact that prompt instructions can be bypassed or fail at the data layer.

13
MCQmedium

A business user asks a Genie Space, 'Show me the revenue by product.' The model returns an error. What is the most common reason for this failure in a properly configured environment?

A.The user does not have access to the underlying SQL Warehouse.
B.The model cannot distinguish between multiple columns that could mean 'revenue'.
C.The Genie Space is currently set to 'read-only' mode.
D.The user is using the wrong language for the query.
AnswerB

When a schema contains multiple columns like 'net_revenue', 'gross_revenue', and 'total_amount', the model cannot guess which one the user intended without further instructions. This ambiguity is the leading cause of query generation failures. Clear, descriptive comments in the catalog are required to disambiguate these field definitions for the model.

Why this answer

The most common failure in Genie occurs when the model cannot uniquely identify the requested columns or the business logic for 'revenue' is ambiguous. If multiple columns could represent revenue or if the product identifier is unclear, the model will struggle. Clarifying the schema via table comments and standardizing the definition of key metrics in the data layer is the standard fix for this ambiguity issue.

Exam trap

Candidates often assume the model failed because it is 'not smart enough,' rather than identifying that ambiguous column names and lack of clear metadata are the actual culprits.

14
MCQeasy

Which primary resource must be granted to users for them to successfully interact with an AI/BI Genie Space to generate insights?

A.CAN_EDIT permission on the Genie Space.
B.CAN_USE permission on the Genie Space and SELECT access on underlying data.
C.Global admin access within the Databricks Workspace.
D.Access to the underlying SQL Warehouse only.
AnswerB

The CAN_USE permission is the standard requirement for end-users to interact with the interface. Combined with SELECT access on the Unity Catalog objects, this configuration ensures the model can retrieve data to answer questions while maintaining strict adherence to the organization's existing data security and governance framework.

Why this answer

Users require explicit access permissions to both the Genie Space itself and the underlying data assets (tables or views) it exposes. Without sufficient SELECT privileges on the underlying Unity Catalog assets, the Genie engine cannot execute the SQL generated to answer natural language questions. Managing these permissions centrally through Unity Catalog ensures that data governance and security policies are consistently applied, even when users are interacting via natural language interfaces.

Exam trap

Candidates often think that giving a user access to the Genie space is sufficient, forgetting that the user must also have direct SELECT permissions on the underlying data.

15
MCQmedium

A data analyst is preparing an AI/BI Genie Space for a sales team. The team often asks questions like 'Show me the top 10 customers by revenue' and 'What were the total sales last quarter?' The analyst wants to ensure that Genie understands that the 'revenue' column in the sales table is calculated as 'quantity * unit_price' and that 'last quarter' refers to the most recent completed fiscal quarter. Which feature should the analyst use to provide this business context?

A.Set up a scheduled job to refresh the data and update statistics
B.Configure the Genie Space with instructions and sample queries
C.Add table and column descriptions in the Unity Catalog
D.Create a view in Databricks SQL that pre-calculates revenue and filters for last quarter
AnswerB

Genie Spaces allow analysts to provide natural language instructions that define business terms and calculations, such as 'revenue = quantity * unit_price' and 'last quarter = most recent completed fiscal quarter'. Sample queries further guide the model by showing expected SQL patterns. This combination ensures Genie correctly interprets the team's questions.

Why this answer

Genie Spaces are configured with natural language instructions and sample queries to teach the model business-specific terminology and calculations. This allows Genie to correctly interpret terms like 'revenue' as a formula and 'last quarter' as a relative time period, enabling accurate responses to ad-hoc questions.

Exam trap

The trap here is assuming that metadata descriptions in Unity Catalog are sufficient to convey business logic, but they are static and cannot encode dynamic calculations or relative time definitions.

16
MCQmedium

You are auditing access to several AI/BI Genie Spaces. You discover that a group of users can ask questions but cannot see the underlying source tables in the Catalog Explorer. Is this a functional issue?

A.Yes, users must have direct access to source tables to use Genie.
B.No, this is a secure configuration that follows the principle of least privilege.
C.No, but it will prevent the Genie from generating any results.
D.Yes, the users will be unable to run any queries through Genie.
AnswerB

The current configuration is optimal. By granting access to the Genie Space but not the raw catalog objects, you ensure users can gain insights without exposing the underlying data architecture. This limits the attack surface and prevents users from running ad-hoc, potentially inefficient queries directly against the source tables.

Why this answer

This is expected behavior and a sound security practice. Genie acts as an intermediary; users do not need to be able to browse or query the source tables directly to use the Genie interface. By decoupling the interface from direct data access, you simplify the user experience and maintain stricter control over how data is accessed, preventing users from bypassing the Genie's curated, secure environment.

Exam trap

Candidates frequently assume that users must have direct SELECT permissions on underlying tables to successfully query them through a Genie space, confusing direct and indirect access.

17
MCQmedium

A data analyst is configuring an AI/BI Genie Space to allow business users to query sales data. The analyst needs to ensure the Space uses the most performant and governed data source available in the Unity Catalog. Which configuration should the analyst prioritize?

A.Link the Genie Space directly to a JSON file located in an external cloud storage bucket.
B.Upload a static CSV file containing sales history directly into the Genie Space interface.
C.Configure the Genie Space to use a certified, high-performance Delta table registered in Unity Catalog.
D.Point the Genie Space to a temporary View that contains no documented column descriptions or metadata.
AnswerC

Using a certified Delta table provides the necessary schema metadata and performance optimizations that the Genie AI engine requires to interpret natural language queries correctly. This approach ensures that data governance policies are consistently applied, and the AI produces reliable, audit-ready insights based on trusted organizational data assets.

Why this answer

Genie Spaces rely on Delta tables registered in Unity Catalog to provide natural language insights. By pointing the Genie Space to a curated, high-quality Delta table rather than a raw landing zone table, the analyst ensures that the AI model produces accurate, governed results. This setup is crucial for maintaining data integrity and performance while enabling self-service analytics for non-technical stakeholders who interact with the Genie interface.

Exam trap

Candidates mistakenly suggest creating new views or performing complex data engineering to fix AI inaccuracies, failing to realize that Genie's natural language instructions are specifically designed to handle business logic definitions.

18
Multi-Selecthard

A data analyst is tuning an AI/BI Genie space used by the finance department. Users report that Genie sometimes returns plausible but incorrect aggregations, and that questions referencing 'net revenue' produce inconsistent results. The analyst wants to improve grounding and reliability. Which TWO actions should the analyst take? (Choose two.)

Select 2 answers
A.Remove all tables except one from the Genie space so the model has fewer choices.
B.Add a general instruction in the Genie space that defines net revenue as gross revenue minus returns and discounts.
C.Add example SQL queries to the Genie space that demonstrate correct net revenue calculations against the finance tables.
D.Switch the Genie space to use a larger SQL warehouse so the model has more compute for reasoning.
E.Restrict the space to read-only access for all users so no one can modify the underlying data.
AnswersB, C

General instructions are the mechanism for encoding business definitions that apply across many questions. Defining net revenue explicitly removes ambiguity and steers the model toward a consistent formula. This directly addresses the inconsistent results users reported, because the model no longer has to guess which columns or operations constitute net revenue. It is a targeted, supported way to improve grounding.

Why this answer

Inconsistent results for a business term like net revenue are best resolved by encoding the definition explicitly and demonstrating it. General instructions provide the textual rule, while example SQL queries show the exact joins and arithmetic. Together they ground the model's interpretation and reduce plausible-but-incorrect outputs.

Compute scaling and access restrictions do not address semantic ambiguity.

Exam trap

The trap here is treating inconsistent business-term interpretation as a compute or permissions issue, when the real fix is supplying explicit definitions and worked examples.

19
Multi-Selectmedium

Which TWO actions should an analyst take to improve the accuracy of an AI/BI Genie Space when users report that it frequently hallucinates metric definitions?

Select 2 answers
A.Increase the number of tables available to the Genie Space.
B.Provide clear, concise system instructions that define key metrics.
C.Create standardized views in Unity Catalog and point Genie to those.
D.Enable 'auto-discovery' of all columns in the Unity Catalog tables.
E.Use a higher temperature setting to allow for more flexible interpretations.
AnswersB, C

Well-defined system instructions provide the necessary 'guardrails' for the LLM. By explicitly stating how metrics should be calculated, the developer forces the model to follow specific business logic. This drastically reduces the likelihood of the model creating its own interpretations or using incorrect formulas for standard business KPIs.

Why this answer

Improving AI/BI Genie accuracy involves a dual approach: tightening the instruction set and refining the data layer. By providing specific, clear instructions, the analyst reduces ambiguity. Simultaneously, creating curated views in Unity Catalog enforces a 'source of truth,' limiting the model's ability to interpret ambiguous raw columns.

These steps collectively ground the LLM, ensuring that it generates reliable SQL based on verified organizational definitions rather than probabilistic guesses.

Exam trap

Test-takers often select only one corrective action, forgetting that stopping hallucinations requires both clear natural language instructions and curated Unity Catalog views.

20
MCQmedium

An analyst is configuring an AI/BI Genie Space for a retail dataset. The analyst wants Genie to map the business term "top sellers" to a specific calculation that ranks products by total units sold. Where should the analyst define this mapping?

A.In the Genie Space's instructions, add a definition: "top sellers" means products ranked by total units sold.
B.Create a Unity Catalog function named top_sellers and reference it in the Genie Space.
C.Add a comment to the units_sold column stating that it is used for top sellers.
D.Create a metric view that pre-calculates top sellers and add it to the Genie Space.
AnswerA

Instructions are the correct place to teach Genie business terminology and calculations. By defining "top sellers" there, the analyst ensures Genie interprets that phrase consistently and generates SQL that ranks by units sold. This aligns with how Genie uses natural-language instructions to resolve ambiguous terms without changing the underlying data model.

Why this answer

Genie Space instructions are designed to capture business glossary definitions and calculation rules. Defining "top sellers" as products ranked by total units sold directly in the instructions gives Genie the semantic knowledge to generate correct SQL for that phrase, without altering the data model.

Exam trap

The trap here is thinking that a column comment or a separate function automatically teaches Genie the business term; only explicit instructions create that mapping.

21
MCQmedium

A Data Analyst is configuring an AI/BI Genie Space to allow business users to query sales data. The analyst needs to ensure the model understands specific business logic, such as how to calculate 'Net Revenue' from raw columns. Where should the analyst define this logic to ensure Genie consistently applies these business rules across all user queries?

A.Add the logic as a comment in the user's prompt history.
B.Hardcode the business logic into the Genie Space configuration UI.
C.Define the logic in the SQL view metadata or table comments within Unity Catalog.
D.Require users to provide the formula in every natural language query.
AnswerC

AI/BI Genie leverages metadata defined in Unity Catalog to understand data semantics. By properly commenting tables and views with detailed business descriptions, you provide the context needed for the model to generate accurate SQL. This approach ensures consistent interpretation of metrics across all users accessing the Genie Space.

Why this answer

Defining business logic in the underlying Databricks SQL Warehouse or Unity Catalog perspective is the most reliable way to guide Genie. By providing clear descriptions and semantic definitions within the catalog or view metadata, the LLM-driven engine can correctly interpret business terminology. This ensures that non-technical users receive consistent, accurate results without needing to write complex SQL, directly impacting the trust and adoption of the AI/BI solution within the organization.

Exam trap

Candidates often mistakenly believe business logic should be hardcoded directly into the Genie user interface prompt rather than structured within Unity Catalog metadata or table comments.

22
MCQeasy

Why should an analyst use the 'feedback' feature provided in an AI/BI Genie space interface?

A.To log a support ticket with Databricks Engineering
B.To improve the accuracy of future answers
C.To increase the SQL Warehouse query limit
D.To export the answer as a CSV file
AnswerB

Feedback serves as a direct input to enhance the model's reasoning capabilities within the context of the Genie space. By flagging errors, users help the system learn which interpretations were incorrect, allowing the model to adapt and provide more reliable, accurate answers to similar questions in the future.

Why this answer

The feedback mechanism is crucial for the iterative improvement of the Genie space. When users rate answers as 'helpful' or 'not helpful,' they provide signal that Databricks uses to refine the model's performance over time. This continuous learning process ensures that the assistant becomes more accurate, more relevant, and better aligned with the specific business context, ultimately providing higher value to the entire user organization.

Exam trap

Candidates often assume the feedback feature is only for contacting customer support, ignoring its role in improving AI response accuracy over time.

23
Multi-Selectmedium

Which THREE features are provided by AI/BI Genie spaces to help business users analyze data independently?

Select 3 answers
A.Conversational natural language querying
B.Automatic chart and visualization generation
C.Interactive model performance feedback
D.One-click deployment of production ETL pipelines
E.Automatic generation of unit tests for Python code
AnswersA, B, C

The core of Genie is the ability to interpret natural language questions and translate them into valid SQL. This removes the barrier of entry for non-technical users, allowing them to ask business questions directly without needing to understand the underlying table structures or complex query syntax.

Why this answer

Genie spaces empower business users by abstracting complex SQL development. They provide a natural language interface for asking questions, automatic visualization of results for immediate insight, and a feedback loop where users can rate answers to refine the model's future performance. These features collectively reduce the burden on data teams while fostering a self-service culture where users can safely interact with governed data assets.

Exam trap

Candidates often overlook the 'feedback' component, focusing only on the query generation aspect, and failing to realize that user ratings are critical for model improvement.

24
Multi-Selectmedium

A data analyst is setting up a new Genie space. Which TWO of the following are prerequisites for the successful creation and usage of a Genie space?

Select 2 answers
A.A Unity Catalog-enabled workspace
B.A running Serverless SQL Warehouse
C.A pre-trained custom Large Language Model
D.A local Python environment with Genie SDK
E.A Delta Live Table pipeline with high availability
AnswersA, B

Unity Catalog is mandatory because it provides the unified metadata and governance required for the LLM to discover and reason over tables. Without Unity Catalog, the Genie space cannot resolve table schemas, identify relationships, or enforce the data access controls necessary for safe natural language interactions.

Why this answer

Genie spaces require a foundational environment where data is discoverable and executable. Unity Catalog provides the necessary governance and metadata, while a SQL Warehouse provides the compute resources to execute the generated code. Without these, the Genie space lacks both the data access layer and the processing capability required to answer user questions, making these two components absolute necessities for the feature to function correctly.

Exam trap

Candidates often forget that serverless compute is a mandatory prerequisite, sometimes wrongly assuming that standard SQL warehouses or manual compute provisioning are sufficient for Genie space functionality.

25
MCQmedium

An analyst is setting up a Genie Space to handle financial reporting. They want the model to always group results by 'fiscal_quarter'. How should they enforce this requirement?

A.Update the default table sort order in the catalog.
B.Add a constraint to the system instructions.
C.Force users to type 'group by fiscal_quarter' in their prompts.
D.Create a view that excludes the 'date' column.
AnswerB

System instructions are the correct place for business rules. By clearly defining that 'all time-based queries must be aggregated by fiscal_quarter', the model is conditioned to prioritize this column. This ensures that the generated SQL respects the mandatory fiscal reporting standards of the organization without requiring user intervention.

Why this answer

Forcing specific groupings is best achieved through system instructions in the Genie Space configuration. By explicitly stating 'Always group by fiscal_quarter for all time-based queries,' the analyst provides a mandatory rule for the model. This guarantees that every time-series query generated by the AI aligns with the company's fiscal calendar, preventing the model from defaulting to calendar months and ensuring reporting consistency across the organization.

Exam trap

Candidates often look to modify the physical table structure or default database settings rather than using the Genie space configuration options to enforce grouping behavior.

26
MCQhard

Refer to the exhibit. The Genie Space output is consistently truncated. What is the most likely cause?

A.The temperature is too low, causing the model to finish early.
B.The 'max_tokens' limit is too low for the complexity of the output.
C.The model version is incompatible with the SQL Warehouse.
D.The SQL Warehouse is timing out during the query generation.
AnswerB

The 'max_tokens' parameter restricts the total length of the model's response. When this limit is reached, the model simply stops, leading to truncated output. For complex analytical queries that involve joins, aggregations, and explanations, 500 tokens is often insufficient, necessitating an increase in the limit to ensure complete outputs.

Why this answer

The 'max_tokens' parameter is set to 500, which is relatively small for complex SQL generation tasks. If the generated query is long, or if the model provides a detailed explanation along with the SQL, it will hit this limit and truncate the response. Increasing the 'max_tokens' limit will allow the model to provide complete responses, ensuring that the SQL is valid and the context provided is not cut off mid-sentence.

Exam trap

Candidates often blame network latency or database timeout settings when outputs are cut off, missing the token generation threshold constraint in the configuration.

27
MCQmedium

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?

A.Create a SQL warehouse that only returns rows where status is not cancelled.
B.Create a view in Unity Catalog that filters out cancelled orders, and point the Genie Space at that view.
C.Ask business users to include "excluding cancelled orders" in every question.
D.Add an instruction to the Genie Space telling it to filter out cancelled orders.
AnswerB

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.

Why this answer

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.

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.

28
MCQhard

An analyst notices that the Genie space is consistently ignoring a specific column during query generation. What is the most effective way to force the model to consider this column?

A.Rename the column to start with 'Required_'
B.Add a column comment in Unity Catalog and mention it in instructions
C.Hard-code the column in the SQL Warehouse settings
D.Delete and recreate the Genie space
AnswerB

Combining Unity Catalog table comments with explicit Genie instructions provides a two-pronged approach for grounding. The LLM prioritizes information found in metadata, and the instructions provide the necessary behavioral context to ensure the column is utilized effectively during query generation, solving the issue of it being ignored.

Why this answer

LLMs can sometimes overlook columns if they aren't described clearly in the metadata or instructions. Providing explicit, high-quality descriptions in the table metadata (within Unity Catalog) or adding a specific note in the Genie space instructions ensures the model recognizes the column's semantic value and usage context, forcing it to include the information in its reasoning process during user interactions.

Exam trap

Candidates frequently try to fix missing column issues by changing user prompts, ignoring that the model needs descriptive metadata (comments) to understand the semantic value of a column.

29
MCQmedium

What is the primary implication of granting a user 'Can Use' permission on a Genie space?

A.The user can modify the Genie space instructions
B.The user gains direct access to the SQL Warehouse
C.The user can ask natural language questions
D.The user becomes the owner of the space
AnswerC

The 'Can Use' permission is designed specifically for end-users who need to perform analysis. It enables them to send prompts to the model and see the generated results, providing a safe, read-only experience that maintains the security boundaries set by the space owner.

Why this answer

The 'Can Use' permission allows a user to interact with the Genie space via natural language. This provides them the ability to ask questions and view results without giving them the rights to modify the space's instructions or configuration. This permission model follows the principle of least privilege, ensuring that users can perform their analysis without the risk of accidentally altering the underlying configuration.

Exam trap

Candidates often assume that a user with 'Can Use' permission also has the ability to edit instructions or modify the underlying configuration of the Genie space, confusing it with administrative rights.

30
MCQeasy

What is the primary purpose of adding 'Instructions' to a Genie space in Databricks?

A.To automate the deployment of SQL Warehouses
B.To enable automatic updates for underlying tables
C.To provide context and guidance for query generation
D.To store user credentials for data access
AnswerC

Instructions act as the 'brain' of the Genie space by providing the AI with domain-specific knowledge. This context helps the LLM interpret ambiguous questions correctly, apply standard business metrics, and choose the right columns, which leads to more accurate and relevant responses for end-users.

Why this answer

Instructions serve as a system prompt that guides the AI's behavior, defining business logic, specific terminology, and preferred analytical approaches. By setting these instructions, developers improve the accuracy of query generation, ensuring the AI understands company-specific jargon and data relationships that aren't inherently obvious from table schemas alone. This significantly enhances the user experience and reliability of the natural language interface.

Exam trap

Candidates frequently mistake instructions for data governance or access control settings, rather than recognizing them as the primary mechanism for guiding LLM reasoning and domain-specific terminology mapping.

31
MCQmedium

A data analyst is creating a new AI/BI Genie Space for the sales team. They want to add a trusted table that contains curated sales data. Which of the following is the correct way to add a table to the Genie Space?

A.Use the Databricks SQL query editor to run a CREATE TABLE statement.
B.Use the Databricks CLI to run 'databricks genie add-table' with the table name.
C.In the Genie Space configuration, navigate to the Data tab and add the table from the Unity Catalog.
D.Create a Databricks notebook that reads the table and register it as a temporary view.
AnswerC

The Data tab in the Genie Space configuration is where you add tables and views that the Space can query. Selecting tables from Unity Catalog ensures the Genie model has the necessary metadata and permissions. This is the standard method to provide curated data sources for natural language queries, enabling accurate and secure responses.

Why this answer

To add a table to an AI/BI Genie Space, you must use the Genie Space configuration interface. The Data tab allows you to select tables and views from Unity Catalog, ensuring the Space has access to the correct data sources. This is the only supported method that integrates the table with the natural language query engine, providing accurate and secure responses.

Exam trap

The trap here is assuming that any method of creating or referencing a table, such as SQL DDL or temporary views, will automatically make it available to the Genie Space.

32
MCQhard

Which of the following is the best strategy for refining Genie space performance when the model consistently struggles with complex joins?

A.Flatten all tables into a single wide table
B.Increase the number of allowed tables
C.Add primary/foreign key definitions and clarify join logic in instructions
D.Switch to a larger, more expensive SQL Warehouse
AnswerC

Defining relationships in Unity Catalog and providing explicit join guidance in the instructions is the industry-standard way to assist LLMs. This provides the 'source of truth' that the AI needs to navigate the relationships between tables, ensuring it can perform complex joins reliably and consistently.

Why this answer

When a Genie space fails on multi-table joins, the underlying issue is often a lack of clear relationship definitions. By updating the table metadata in Unity Catalog (such as primary and foreign key constraints) and using the Genie instructions to explicitly define how tables should be joined, the developer provides the model with the necessary 'map' to build complex queries accurately.

Exam trap

Candidates often try to solve join issues by rewriting the user's natural language question rather than addressing the root cause: the lack of explicit metadata regarding table relationships.

33
MCQmedium

An analyst wants to ensure that a Genie space only uses the most recent data for all queries. How can this be achieved?

A.Set the SQL Warehouse to auto-terminate every hour
B.Use instructions to mandate filters on date columns
C.Delete old data from the Unity Catalog tables
D.Rename tables whenever new data arrives
AnswerB

Instructions are the correct place to enforce business rules, including data freshness. By explicitly telling the model to always filter by the most recent partition or date, you ensure that all results provided to users are current, preventing stale data from being reported in the Genie space.

Why this answer

To enforce data freshness, the analyst should instruct the Genie space to use views or filter conditions that point to the latest partitions or versioned tables. By incorporating this logic into the instructions, the developer ensures that the model always applies the necessary filter clauses (like 'WHERE date = CURRENT_DATE') to every generated query, maintaining data integrity without requiring manual input from the users.

Exam trap

Candidates often believe that creating manual data refresh schedules or modifying user query inputs is necessary to enforce data freshness across the board.

34
MCQhard

An analyst is building an AI/BI Genie space over a Unity Catalog schema containing both `orders` and `customers` tables. Business users often ask questions that require joining the two tables on `customer_id`. During testing, Genie frequently generates queries that join on the wrong column or omit the join entirely, producing inflated row counts. The analyst has already verified that both tables are selected and that column names are clear. Which action is most likely to correct Genie's join behavior?

A.Rename `customer_id` in both tables to `cust_key` so the join column is unique across the schema.
B.Add example SQL queries to the Genie space that explicitly join `orders` and `customers` on `customer_id`.
C.Add a general instruction stating that the `orders` and `customers` tables should always be joined when both are referenced.
D.Create a foreign key constraint between `orders.customer_id` and `customers.customer_id` in Unity Catalog.
AnswerB

Example SQL queries are the most direct way to teach Genie a specific join pattern. By showing the exact join condition and table aliases, the model can reproduce that pattern when similar questions arise. Since the analyst already confirmed tables and column names are clear, the missing element is a demonstration of the correct join, making this the targeted fix for inflated row counts.

Why this answer

When Genie produces incorrect joins despite clear table and column names, the most reliable correction is to supply example SQL that demonstrates the intended join condition. Examples give the model a concrete pattern to imitate, including the join key and aliases. General instructions help but lack the precision of a worked query, and metadata constraints are not automatically leveraged during generation.

Exam trap

The trap here is assuming that declarative metadata such as foreign keys or a prose instruction will override Genie's join choices, when explicit example SQL is what reliably anchors the pattern.

35
MCQmedium

What happens if a user submits a question that requires data from a table NOT explicitly defined in the Genie space configuration?

A.The model will try to guess the schema of the table
B.The model will deny the request due to lack of access
C.The model will use the table anyway if the user has access
D.The query will execute but return null results
AnswerB

Genie spaces operate under the constraint of 'allowed_tables.' If the required data is not in this list, the model is effectively blocked from 'seeing' or querying that data. This ensures that the AI's operational scope is strictly limited to the tables defined by the administrator or space owner.

Why this answer

Genie spaces are designed with a security-first approach. If a table is not listed in the space's configuration, the model is physically prevented from accessing it. This ensures that users cannot 'force' the AI to query unauthorized or sensitive data outside the intended analytical scope, protecting the organization from data leakage or unauthorized access to proprietary information stored in other parts of the Unity Catalog.

Exam trap

Candidates often assume the model will attempt to 'guess' or search for data in other tables, failing to recognize that Genie is strictly limited to the tables defined in its configuration.

36
Multi-Selecthard

A data analyst is configuring an AI/BI Genie Space for a marketing team. The team frequently asks questions that require joining multiple tables, such as 'Which campaigns generated the most leads?' and 'What is the conversion rate by channel?' The analyst notices that Genie sometimes produces incorrect joins, leading to inflated numbers. Which TWO actions should the analyst take to improve Genie's join accuracy? (Choose two.)

Select 2 answers
A.Define foreign key relationships in the Unity Catalog
B.Enable caching for the tables used in the Genie Space
C.Increase the compute cluster size for the Genie Space
D.Provide sample queries that demonstrate correct joins
E.Restrict the Genie Space to a single table to avoid joins
AnswersA, D

Defining foreign key relationships in Unity Catalog provides Genie with explicit join paths between tables. This helps Genie understand how tables relate, reducing the chance of incorrect joins. When Genie knows that 'campaign_id' in the leads table references 'campaign_id' in the campaigns table, it can generate the correct join condition, avoiding Cartesian products or mismatched keys.

Why this answer

To improve Genie's join accuracy, the analyst should define foreign key relationships in Unity Catalog and provide sample queries with correct joins. These actions give Genie the necessary metadata and examples to understand table relationships and generate accurate SQL, reducing errors like Cartesian products or mismatched keys.

Exam trap

The trap here is focusing on performance optimizations like cluster size or caching, which do not address the semantic gap causing incorrect joins.

37
MCQmedium

Which component of an AI/BI Genie space is responsible for defining the scope of data available to a user and ensuring that the natural language model only references authorized tables?

A.The Unity Catalog Data Explorer integration
B.The Genie space instructions and metadata definition
C.The Databricks SQL Warehouse access policy
D.The workspace-level workspace AI configuration
AnswerB

Instructions and table definitions act as the grounding layer for the Genie space. By specifying allowed tables and providing business context in the instructions, you restrict the LLM to a specific subset of Unity Catalog assets, effectively managing scope and preventing unauthorized query generation across the broader catalog.

Why this answer

Genie spaces rely on the definition of data instructions and schema mappings within the space configuration. By explicitly linking specific tables and columns, the system enforces access control and ensures the LLM does not hallucinate using external data. This metadata-driven approach is critical for maintaining data governance and security while enabling self-service analytics for business users within the Databricks ecosystem.

Exam trap

Candidates often look for a specific 'security tab' or 'access menu' instead of recognizing that the Genie space configuration itself acts as the boundary for data access and LLM scope.

38
MCQmedium

A data analyst is configuring an AI/BI Genie Space for a customer support dataset. The analyst notices that when users ask "how many open tickets per agent," Genie sometimes counts all tickets instead of only open ones. The analyst wants to fix this. What should the analyst do?

A.Add a comment to the status column listing all possible values.
B.Create a view that filters tickets to only those with status = 'Open' and add it to the Genie Space.
C.Add an instruction that defines "open tickets" as tickets where status = 'Open'.
D.Rename the status column to ticket_status.
AnswerC

Genie relies on instructions to resolve ambiguous business terms. By explicitly defining "open tickets" as tickets with status = 'Open', the analyst gives Genie the filter logic. This directly addresses the misinterpretation and ensures the generated SQL includes the correct WHERE clause for that term.

Why this answer

The most direct fix is to add an instruction defining "open tickets" as tickets where status = 'Open'. This teaches Genie the business term and ensures it applies the correct filter when generating SQL, without restricting the data for other questions.

Exam trap

The trap here is choosing a view that permanently filters the data, which would prevent answering questions about closed tickets, instead of using an instruction to define the term.

39
MCQmedium

An analyst is configuring an AI/BI Genie Space and wants to ensure that the model only uses a specific SQL warehouse for query execution. Where should the analyst configure this setting?

A.In the Databricks workspace admin console, under the Genie tab.
B.In the SQL query editor of the Genie Space, by adding a USE WAREHOUSE statement.
C.In the Genie Space settings, under the SQL warehouse section.
D.In the Unity Catalog metastore settings.
AnswerC

The Genie Space settings include a section to select the SQL warehouse that the Space will use for query execution. By specifying a warehouse here, the analyst ensures that all queries generated by Genie run on that warehouse. This is the correct place to configure the compute resource, providing control over performance and cost.

Why this answer

To specify the SQL warehouse for a Genie Space, the analyst must use the Genie Space settings. There, they can select the desired warehouse from available options. This configuration ensures that all natural language queries are executed on the chosen warehouse, providing control over performance, cost, and permissions.

Exam trap

The trap here is thinking that the SQL warehouse can be set via a SQL statement or in global admin settings, when it is actually configured per Genie Space.

40
MCQmedium

A financial analyst is building an AI/BI Genie Space to allow executives to query quarterly earnings data. The executives often ask for metrics like 'year-over-year growth' and 'profit margin'. The analyst wants to ensure that Genie correctly calculates these metrics regardless of how the question is phrased. Which approach should the analyst take?

A.Create a view that pre-calculates year-over-year growth and profit margin
B.Add instructions in the Genie Space that define the formulas for year-over-year growth and profit margin
C.Train a custom machine learning model to predict the metrics
D.Restrict the Genie Space to only answer questions that include the exact metric names
AnswerB

Adding natural language instructions that specify the exact formulas, such as 'year-over-year growth = (current quarter revenue - same quarter last year revenue) / same quarter last year revenue' and 'profit margin = net income / revenue', ensures Genie applies these calculations consistently. This approach handles various phrasings and combinations with other dimensions because Genie uses the definitions to generate SQL dynamically.

Why this answer

Providing instructions that define the formulas for year-over-year growth and profit margin allows Genie to understand and apply these calculations consistently. This method is flexible and handles various phrasings, ensuring accurate results for executives' ad-hoc questions without being limited to pre-defined views or exact terminology.

Exam trap

The trap here is assuming that a pre-calculated view is sufficient, but it cannot handle the diverse and dynamic questions executives might ask.

41
Multi-Selecthard

An analyst is preparing a Genie Space and wants to ensure users get the most accurate answers while maintaining security. Which TWO actions should the analyst take? (Choose two)

Select 2 answers
A.Exclude highly sensitive columns that are not needed for general analysis.
B.Enable 'auto-query' for all users to maximize data exploration.
C.Provide descriptive names and comments for all tables and columns in Unity Catalog.
D.Grant all users the 'Owner' role on the Genie Space to allow for maximum customization.
E.Remove all constraints and indexes to allow the AI to move faster.
AnswersA, C

Minimizing the schema surface area reduces the risk of the model inadvertently exposing sensitive PII or financial data. By strictly limiting the columns available to Genie, the analyst enforces the principle of least privilege, ensuring that users can only query the data they truly need for their business tasks.

Why this answer

Proper curation of the Genie Space is vital for performance and security. By including only the necessary columns and providing explicit instructions, the analyst reduces noise and ensures the AI model operates within the boundaries of the organization's data governance framework. These steps directly impact the quality of the SQL generated and the safety of the information exposed to end-users via the AI interface.

Exam trap

Candidates often focus only on technical performance (like indexing) while ignoring the importance of metadata curation. They forget that the AI model relies heavily on descriptive names to accurately map natural language.

Ready to test yourself?

Try a timed practice session using only Developing AI/BI Genie Spaces questions.