Power Up Your Study Prep: Black Friday 75% Discount! Use coupon code below to save! - Ends in 0d 00h 00m 00s - Coupon code: big75certs

Free GES-C02 Snowflake Updates

Page: 5 / 6
Total 85 questions

SnowPro Specialty: Gen AI Exam Questions and Answers

Question 17

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.

Question 18

This use case retrieves auto-part details from two data systems:

Datasource A:

Table Name - Parts_A

Columns Name - Parts_description, part_id

Datasource B:

Table Name - Parts_B

Columns Name - Parts_description, part_id

Code snippet

Which query compares the part descriptions across the two data sources?

```sql

Options:

A.

SELECT

B.

*,

VECTOR_INNER_PRODUCT(a.parts_description, b.parts_description) AS score

FROM Parts_A a, Parts_B b

WHERE a.part_id = b.part_id;

C.

SELECT

D.

*,

VECTOR_L1_DISTANCE(a.parts_description, b.parts_description) AS score

FROM Parts_A a, Parts_B b

WHERE a.part_id = b.part_id;

E.

SELECT

F.

*,

VECTOR_COSINE_SIMILARITY(a.parts_description, b.parts_description) AS score

FROM Parts_A a, Parts_B b

WHERE a.part_id = b.part_id;

G.

SELECT

Question 19

When creating a Snowflake Document AI model, which object must have the CREATE SNOWFLAKE.ML.DOCUMENT_INTELLIGENCE privilege?

Options:

A.

Virtual warehouse

B.

Database

C.

Schema

D.

Stage

Question 20

A Gen AI Specialist is writing a Python script that leverages Snowflake Cortex to answer users' questions. The script contains this code:

Python

from snowflake.cortex import CompleteOptions, complete

user_question = < 'Prompt that could generate an unsafe response' >

Regardless of the content of the prompt (user_question) that is passed to snowflake.cortex.complete, the Specialist must ensure that the function filters potentially unsafe or harmful response language.

Which code will accomplish this?

Python

Options:

A.

response = complete(

'llama3.1-70b',

[dict(role='user', content=user_question)],

options=CompleteOptions(temperature=1),

)

B.

response = complete(

'llama3.1-70b',

[dict(role='user', content=user_question)],

stream=False,

)

C.

response = complete(

'llama3.1-70b',

[dict(role='user', content=user_question)],

options=CompleteOptions(guardrails=True),

)

D.

response = complete(

'llama3.1-70b',

[dict(role='user', content=user_question)],

options=CompleteOptions(response_format='safe'),

)

Page: 5 / 6
Total 85 questions