Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

Free Snowflake GES-C02 Exam Dumps and Practice Questions

12 original practice questions for the SnowPro Specialty: Gen AI Certification Exam, each with an answer and explanation.

Exam topics: Cortex Analyst, Cortex LLM Functions And Prompt Engineering, Cortex Search, Cortex Search Configuration and 8 more.

Formats: single answer, dropdown, multiple answers, drag and drop and order list. A new question is added every 15 days.

12 questions

Snowflake GES-C02 Practice Questions

Question 1

Topic: Snowflake Cortex LLMs And Model Selection

Single Answer

A global support organization needs to classify 8 million short customer messages each month into a fixed taxonomy. The pipeline must run in Snowflake, avoid sending data to an external service, and keep inference cost low; latency of several minutes per batch is acceptable. Most messages are in English, and the team does not need generated prose or long-context reasoning. Which approach best meets the requirements?

Correct answer: C

A Cortex classification function is designed for assigning inputs to supplied categories and executes within Snowflake, avoiding a per-row generative prompt when generation is unnecessary. A large general-purpose LLM adds cost and variability. Cortex Search retrieves relevant indexed content rather than directly performing the requested closed-set classification. An external endpoint violates the data-boundary requirement and adds infrastructure.

Question 2

Topic: Cortex LLM Functions And Prompt Engineering

Multiple Answers

A product team uses AI_COMPLETE to produce concise summaries of incident reports stored in a Snowflake table. Each report can include adversarial text that says to ignore prior instructions, and the summary must be valid JSON with a short summary and an incident identifier copied from a separate trusted column. The team wants to keep the request deterministic where supported and avoid treating report text as instructions. Which two design choices best address these requirements? (Choose two.)

Correct answer: C, E

Separating and delimiting untrusted content, with explicit instructions about its role, reduces the chance that embedded text is interpreted as control instructions. Structured output through AI_COMPLETE helps enforce the requested JSON shape, while supplying the identifier as a separate trusted value avoids asking the model to recover it from untrusted content. Cortex Search is retrieval, not a prompt sanitizer. Maximum temperature increases variability. Combining trusted metadata with adversarial text weakens the trust boundary.

Question 3

Topic: Cortex Search

Single Answer

A compliance team has a governed collection of policy documents in Snowflake and needs an internal assistant to answer questions with citations to relevant passages. Documents are updated daily, and users must only retrieve material they are authorized to see. The team already has a retrieval-augmented generation pipeline and wants the Snowflake service that provides managed semantic retrieval over the documents; it will enforce user authorization in the application layer. Which design is the best fit?

Correct answer: C

Cortex Search provides managed semantic and hybrid retrieval that can supply relevant document chunks and metadata to a separate generation step. It is a suitable retrieval component for this RAG design, while the application remains responsible for restricting what each user can access. Sending the whole corpus to AI_COMPLETE is inefficient and does not provide reliable retrieval. Cortex Analyst is for natural-language analytics over structured data. Cortex Search does not independently infer user entitlements.

Question 4

Topic: Cortex Analyst

Single Answer

A finance team wants business users to ask questions in natural language about quarterly revenue. The source is a governed Snowflake semantic model with approved metric definitions, joins, and synonyms. Analysts must be able to inspect the generated SQL and the answer must reflect those approved definitions rather than an LLM's interpretation of raw table names. Which solution should the team use?

Correct answer: B

Cortex Analyst is designed for natural-language questions over structured data using a semantic model that captures business measures, relationships, and terminology. Reviewing and executing its SQL under controlled privileges preserves the requested governance. Cortex Search retrieves text but is not the semantic SQL-generation interface. A free-form AI_COMPLETE prompt over schema text lacks the semantic model's governed definitions and should not be trusted as executable SQL. Classification only selects labels and does not generate analytical queries.

Question 5

Topic: Snowflake AI Security And Governance

Order List

A data platform team is preparing a new role to use Snowflake Cortex functions on sensitive production data. The account already has the required Cortex functionality enabled, but the role must be granted only the necessary database access and model-use entitlement. Arrange the setup steps in the order they must be performed, ending with a controlled verification of access.

Drag the steps into the correct order, or use the arrows.

  1. Activate the role and run a least-privilege test query against approved data.
  2. Grant the role SELECT on the approved source objects.
  3. Grant the role the required Cortex model-use privilege.
  4. Grant the role USAGE on the database and schema containing the governed data.
Correct answer:
  1. Grant the role the required Cortex model-use privilege.
  2. Grant the role USAGE on the database and schema containing the governed data.
  3. Grant the role SELECT on the approved source objects.
  4. Activate the role and run a least-privilege test query against approved data.

The role first needs the model-use entitlement, along with the ordinary namespace and object privileges required to resolve and read its input data. After those grants are in place, activating the role and running a controlled query verifies that the combined privileges work without relying on an administrator's broader access. Testing before the object grants can fail for unrelated authorization reasons, while granting SELECT before namespace access does not create a usable access path.

Question 6

Topic: Snowflake Cortex AI Services

Drag And Drop

A data science group is choosing Snowflake capabilities for a prototype. Each requirement is distinct, and the team wants the service whose primary role directly matches each requirement rather than a workaround. Match each requirement to the appropriate capability.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Generate or transform text using a hosted language model
Answer questions by retrieving relevant passages from an indexed document collection
Generate SQL for natural-language questions over a governed semantic model
Cortex LLM functions
Cortex Search
Cortex Analyst
Correct answer:
  • Answer questions by retrieving relevant passages from an indexed document collection → Cortex Search
  • Generate SQL for natural-language questions over a governed semantic model → Cortex Analyst
  • Generate or transform text using a hosted language model → Cortex LLM functions

Cortex Search is the managed retrieval capability for finding relevant content in indexed collections. Cortex Analyst translates natural-language analytical questions using a semantic model and produces SQL-oriented answers. Cortex LLM functions expose hosted language-model operations for tasks such as generation and transformation. Substituting Analyst for document retrieval or Search for governed SQL generation uses a real capability outside its primary role.

Question 7

Topic: Cortex Search Configuration

Dropdown

A team is creating a Cortex Search service from a table containing a stable document identifier, searchable text, and a last-modified timestamp. Queries should search the text, return the identifier and timestamp as metadata, and refresh based on changes to the source table. Complete the service definition with the correct column roles.

Choose the correct value for each blank.

CREATE CORTEX SEARCH SERVICE policy_search ON ATTRIBUTES WAREHOUSE = refresh_wh AS SELECT document_id, body, modified_at FROM policy_docs;
Correct answer:

CREATE CORTEX SEARCH SERVICE policy_search ON body ATTRIBUTES document_id, modified_at WAREHOUSE = refresh_wh AS SELECT document_id, body, modified_at FROM policy_docs;

The ON expression identifies the text column to index for search, so body is the appropriate value. ATTRIBUTES specifies metadata columns that can be returned and used as filters; the stable identifier and modification timestamp are useful attributes, whereas duplicating the search text as an attribute is not needed for this purpose. Using document_id or modified_at as the searchable text would index the wrong content. The choices that omit either identifier or timestamp fail the stated metadata requirement.

Question 8

Topic: Snowflake Cortex Cost And Performance Optimization

Single Answer

A nightly pipeline summarizes a fixed set of short records with a Cortex LLM function. The team currently sends one request per row, and warehouse monitoring shows substantial overhead from orchestration, while model usage is the main variable cost. Results are not interactive, and the output can be processed in batches. The team must not move the data outside Snowflake or change the model's task. What is the best next optimization?

Correct answer: C

Batching suitable noninteractive inference reduces per-request and orchestration overhead while retaining a mapping between each input and output. The team should tune batch size and preserve identifiers and boundaries so summaries remain attributable to their source records. Increasing warehouse size does not directly remove model-call overhead and may increase compute cost. Search retrieves content rather than summarizing it. Unlabeled aggregation risks mixing records and producing outputs that cannot be reliably mapped back.

Question 9

Topic: Snowflake Cortex Model Availability And Deployment

Single Answer

A regulated application must use a Cortex-hosted model available in its Snowflake region. The team plans to call the model from a stored procedure, but deployment fails in a newly created account; the same procedure works in the team's development account. The data and code are present, and the procedure's owner role has ordinary database privileges. The production account's administrators have not yet reviewed account-level controls for Cortex. What should the team do first?

Correct answer: D

Cortex model availability and account-level access configuration can differ by region and account, so those are the first controls to verify when identical code behaves differently across accounts. If the requested model is unavailable in the production region, grants cannot make it available. ACCOUNTADMIN is not a substitute for regional support and violates least privilege. Copying role grants will not resolve an account-level control. Changing databases does not change the Snowflake account's region.

Question 10

Topic: Cortex Search Operations

Multiple Answers

A support organization operates a Cortex Search service over a large, frequently updated knowledge base. Search quality has declined after a content refresh, while latency and resource consumption have also increased. The service uses an incremental refresh configuration and a warehouse for refresh work. The team needs to diagnose whether the new source content, refresh processing, or query behavior caused the regression before changing production settings. Which two actions provide the most useful evidence with the least disruption? (Choose two.)

Correct answer: A, E

Service status and refresh history show whether refreshes failed, lagged, or changed in cost, while controlled comparisons of representative queries and source records help isolate a relevance or content problem from a latency regression. Increasing a warehouse before establishing a compute bottleneck may spend more without improving serving behavior. An immediate full rebuild destroys useful diagnostic context and may cause unnecessary work. Cortex Analyst is intended for structured-data analytics, not document retrieval.

Question 11

Topic: Snowflake AI Data Access Controls

Dropdown

A security engineer is reviewing a role that can invoke Cortex functions and read sensitive source data. The role should see only rows authorized by the existing row access policy, and the team wants to avoid giving it direct ownership or broad account privileges. Complete the access design statement.

Choose the correct value for each blank.

The role should query the governed object through , while the row access policy remains attached to ; the role should receive only the necessary privileges.
Correct answer:

The role should query the governed object through the protected table or secure view, while the row access policy remains attached to the protected source table; the role should receive only the necessary object and model-use privileges.

Cortex invocation does not bypass normal Snowflake data authorization. Querying the governed object keeps its row access policy in the data path, and the role needs appropriate object access plus the required model-use privilege. A copied unprotected table or exported stage can evade the intended row filtering. A policy is attached to data objects, not to a model or warehouse. ACCOUNTADMIN and ownership are unnecessary and conflict with least privilege; monitoring-only privileges do not permit the required operation.

Question 12

Topic: RAG Evaluation And Responsible AI

Single Answer

A legal research assistant uses Cortex Search to retrieve policy passages and a Cortex LLM function to draft answers. A release candidate achieves high relevance on a small set of common questions, but legal reviewers found two unsupported statements in answers to rare questions. The service must cite source passages and avoid presenting unsupported claims as fact; a broad rewrite of the architecture is not approved before the next release. What is the best next step?

Correct answer: C

A representative evaluation set that includes rare and adversarial questions can distinguish retrieval failures from generation failures and measure whether claims are supported by cited passages. The team can then improve retrieval settings or grounding instructions based on observed errors without replacing the architecture. Higher temperature increases variability rather than ensuring faithfulness. Removing citations fails the explicit evidence requirement. Sending the entire corpus into every prompt is costly, may exceed practical context constraints, and does not guarantee grounded answers.

More Snowflake practice questions

Unlock all Snowflake GES-C02 questions

Full exam access, validated answers, and unlimited practice with no download limits.