Black Friday Reward - Upto 75% off - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

Pass the Snowflake SnowPro Specialty GES-C02 Questions and answers with CertsForce

Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions
Questions # 11:

A Gen AI Specialist is developing an internal company chatbot that uses Streamlit and Snowflake Cortex Analyst to interpret and answer user queries against Snowflake data.

Team members need to be able to ask a question such as:

*Can you provide the sales trend for the last 6 months?*

The tool must also be able to answer follow-up questions such as:

*Can you break that down by region?*

*What factors contributed to the dip in February?*

To ensure the tool correctly interprets follow-up questions, what must be included in the API request to Cortex Analyst?

Options:

A.

The most recent user message


B.

A session token to maintain session state across API requests


C.

The entire conversation history in the messages field of the API request


D.

A Snowflake session parameter to maintain conversation context among the previous API requests


Expert Solution
Questions # 12:

A Gen AI Specialist used the ACCOUNTADMIN role to invoke the ` < model_build_name > !PREDICT` method on a Document AI model build and received this error:

`{ "processingErrors": [ "File extension does not match actual mime type. Mime-Type: application/octet-stream" ] }`

What is the MOST LIKELY cause?

Options:

A.

The file URL has expired and must be regenerated.


B.

The documents that the query tried to process do not meet the Document AI requirements.


C.

The SNOWFLAKE_SSE encryption type was not specified when creating the internal stage that will be used to store the documents.


D.

The CREATE SNOWFLAKE.ML.DOCUMENT_INTELLIGENCE privilege was not granted to the ACCOUNTADMIN role.


Expert Solution
Questions # 13:

A Gen AI Specialist is using Snowflake Cortex Analyst to generate natural language responses from product sales data. Occasionally, the LLM makes up metrics that do not exist in the data set.

How should this be addressed?

Options:

A.

Use a WHERE clause in the SQL prompt


B.

Ensure the model has been verified_at within the last 30 days.


C.

Add a VERIFIED_QUERIES section to the semantic model.


D.

Train the Cortex LLM model with additional sample outputs using fine-tuning commands.


Expert Solution
Questions # 14:

A Generative AI Specialist builds a model using Python libraries. After training the model, they log it into a Snowflake Model Registry.

Where is the Model Registry stored within Snowflake?

Options:

A.

In a Snowflake stage as a scoped XML file


B.

In the image repository of a container compute pool


C.

In the model monitoring area of the model details page


D.

In a database and schema as a first-class Snowflake object


Expert Solution
Questions # 15:

For which Snowflake Cortex LLM functions is usage calculated from both input and output tokens? (Choose three)

Options:

A.

SUMMARIZE


B.

SENTIMENT


C.

TRANSLATE


D.

EMBED_TEXT_768


E.

EMBED_TEXT_1024


F.

CLASSIFY_TEXT


Expert Solution
Questions # 16:

The following error is received while attempting to extract details from a document with Snowflake Document AI:

`Request failed for external function DOCUMENT_EXTRACT_FEATURES$V1 with remote service error: 422`

How should this error be resolved?

Options:

A.

Publish the model build.


B.

Reduce the number of documents in the query or extend the query expiration time.


C.

Recreate the internal stage specifying the SNOWFLAKE_SSE encryption type.


D.

Grant the CREATE SNOWFLAKE.ML.DOCUMENT_INTELLIGENCE privilege to the role running the extraction query.


Expert Solution
Questions # 17:

A table in a pipeline has a VARCHAR column that contains free-form text responses. A Gen AI Specialist must generate three new columns from those text responses.

How should this requirement be fulfilled? (Choose two)

Options:

A.

Use the SNOWFLAKE.CORTEX.COMPLETE function specifying a RESPONSE_FORMAT in the options argument, and use dot notation to extract the data to put into the three new columns.


B.

Use the SNOWFLAKE.CORTEX.COMPLETE function specifying a TOP_P in the options argument, and parse the value of the CHOICES response key.


C.

Use the SNOWFLAKE.CORTEX.ENTITY_SENTIMENT function in a SELECT statement once for each of the three new columns.


D.

Call the SNOWFLAKE.CORTEX.EXTRACT_ANSWER function in a SELECT statement, and use dot notation to extract data to put into the three new columns.


E.

Call the SNOWFLAKE.CORTEX.EXTRACT_ANSWER function in a SELECT statement once for each of the three new columns.


Expert Solution
Questions # 18:

How does Snowflake Cortex Analyst generate suggested questions? (Choose two)

Options:

A.

Cortex Analyst only returns questions that are guaranteed to return results.


B.

Onboarding questions flagged in the Verified Query Repository (VQR) are only shown if the user provides no input.


C.

When no Verified Query Repository (VQR) is present, Cortex Analyst uses the underlying LLMs to generate up to three suggested questions.


D.

When a Verified Query Repository (VQR) is defined, Cortex Analyst suggests up to five questions based on semantic similarity to the user's input.


E.

Cortex Analyst prioritizes queries in the Verified Query Repository (VQR) as suggestions based on the queries that reference the most-frequently used logical columns.


Expert Solution
Questions # 19:

Which action is supported when using Snowflake Document AI?

Options:

A.

Extracting an entire table in a single query


B.

Processing up to 1000 documents in a single query


C.

Altering a database or a schema where the model build is located


D.

Supporting multiple users working on the same model build at the same time


Expert Solution
Questions # 20:

A Gen AI Specialist is developing a Streamlit chatbot that uses `snowflake.cortex.complete` to answer user questions with this script:

```python

import streamlit as st

import snowflake.cortex

from snowflake.cortex import CompleteOptions

if prompt := st.chat_input("How can I help you?"):

with st.chat_message(name="User"):

st.write(prompt)

with st.chat_message("assistant"):

response = snowflake.cortex.complete(

"claude-3-5-sonnet",

[dict(role="user", content=prompt)],

)

```

Which parameter should be added to the script so responses display incrementally in small chunks as they are generated?

Options:

A.

deadline=5


B.

stream=True


C.

options=CompleteOptions(max_tokens=5)


D.

options=CompleteOptions(response_format="incremental")


Expert Solution
Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions