A Genie space author has added several example SQL queries to the space's instruction context. Under what precise condition does Genie label a response as 'Trusted' when using an example SQL query?
Show answer & explanation
Correct answer: A
WHY A: Per Databricks documentation, a response is labeled Trusted only when the exact text of a parameterized example SQL query is used OR when a Unity Catalog SQL function is invoked. Static (non-parameterized) example queries guide Genie in generating SQL but are explicitly NOT labeled as Trusted even when referenced. WHY NOT B: Static example queries do not trigger the Trusted label even if they run without errors; the parameterization requirement is essential — it ensures the query logic is deterministic and the output is verified. WHY NOT C: There is no 'Request trusted answer' button; the Trusted designation is automatic and is determined by whether a parameterized example query or SQL function was used — not by user request. WHY NOT D: The Monitoring tab allows authors to review and correct responses, but manually approving a response there does not retroactively apply a Trusted label to it. WHY NOT E: Sample questions in settings are navigational hints shown in the chat UI for user discovery; an exact match against a sample question does not independently trigger the Trusted label — the trusted asset mechanism is SQL-level, not question-title-level.