How can an application outside Snowflake use Cortex Analyst?
- Exam domain
- Text to SQL with Cortex Analyst
- Difficulty
- Easy
- In this mock
- 5 questions on this domainPractise this domain
Why B is the answer
Through its REST API
Snowflake states that Cortex Analyst is available as a REST API so it can be integrated into applications.
Remember: Integrate through REST.
In detail
- REST API for apps.
- Semantic view behind it.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Through a JDBC driver that rewrites English into SQL before it reaches the accountWrong
Drivers do not translate natural language.
B. Through its REST APIRight
Integrate through REST.
C. Only through SnowsightWrong
Apps are not limited to Snowsight.
D. Only by exporting the semantic viewWrong
Exporting the view does not run Analyst.
Use case
An illustrative scenario, not a real incident.
Illustrative: an internal portal sends questions to the Analyst API and shows the returned table.
See it in different ways
sequenceDiagram participant P0 as App participant P1 as Analyst REST API P0->>P1: question + semantic view P1-->>P0: SQL and results
How to read this chart
- 1. App sends "question + semantic view" to Analyst REST API.
- 2. App gets a reply from Analyst REST API: "SQL and results".
flowchart LR S0["Pick the semantic view"] --> S1["Call the REST API"] --> S2["Render results"]
How to read this chart
- Read it in order: Pick the semantic view, then Call the REST API, then Render results.