Free Snowflake GES-C02 Exam Practice Questions & Explanations
Prepared & Reviewed by the ValidExamDumps Editorial Team
At ValidExamDumps, we consistently monitor updates to the Snowflake GES-C02 exam questions by Snowflake. Whenever our team identifies changes in the exam questions, objectives, focus areas or requirements, We immediately update our exam questions for both PDF and online practice exams. This commitment ensures our customers always have access to the most current and accurate questions. By preparing with these up to date and 100% exam domain coverage questions, our customers can successfully pass the Snowflake SnowPro Specialty: Gen AI Certification Exam exam on their first attempt without needing additional materials or study guides.
Other certification materials providers often include outdated or removed questions by Snowflake in their GES-C02 exam. These outdated questions lead to customers failing their Snowflake SnowPro Specialty: Gen AI Certification Exam exam. In contrast, we ensure our questions bank includes only precise and up-to-date questions. Our main priority is your success in the Snowflake GES-C02 exam, not profiting from selling obsolete exam questions in PDF or Online Practice Test.
A Gen AI Specialist is building a Gen AI application in Snowflake and needs to investigate one specific record that produced an incorrect response. The Specialist must be able to follow, one stage at a time, how the input prompt was handled, which context was fetched, which tools were invoked, and how the LLM replied.
Which Snowflake AI observability feature should the Specialist use?
Snowflake AI Observability brings together native telemetry capabilities, built on OpenTelemetry standards, to deliver complete runtime visibility across sophisticated Generative AI and agentic pipelines.
When troubleshooting multi-stage Gen AI workflows (such as multi-step agent execution, tool-calling sequences, or Retrieval-Augmented Generation retrieval flows), Tracing is the essential capability. Tracing captures the end-to-end execution path of a single request as a structured set of spans stored in an Event Table. Each trace span records detailed, step-by-step metadata, including:
The original input prompt and any intermediate prompt transformations.
The specific documents, chunks, and similarity scores returned by retrieval engines (for example, Cortex Search).
External functions or tools called by reasoning agents, including input arguments and returned payloads.
The raw completion, token counts, and latency produced by the underlying LLM.
By contrast, Logging records discrete, point-in-time diagnostic text messages emitted by application code; Metrics aggregate numeric operational counters over time (such as token rates or invocation throughput); and Monitoring provides dashboard-level health alerting rather than step-by-step contextual call graphs.
References & Study Guide Topics:
Snowflake Gen AI Governance: Cortex AI Observability & OpenTelemetry Telemetry Operational Debugging: Distributed Tracing and Span Analysis in Event Tables
Select three APIs or functions that allow you to run queries against the Snowflake Cortex Search Service.
Snowflake Cortex Search offers dedicated programmatic and SQL interfaces for querying the hybrid search index and fetching the top-k relevant context chunks used in RAG architectures:
1. **Snowflake Python APIs:** With the Snowflake Python SDK or Snowpark client (`snowflake.core. cortex.search_service`), developers can run search queries straight from Python applications, notebooks, or Streamlit interfaces.
2. **Snowflake REST APIs:** External applications, microservices, and web clients can obtain search chunks over standard HTTPS endpoints by sending authenticated REST calls to the Cortex Search service endpoint.
3. **The SEARCH_PREVIEW function:** Within SQL worksheets and stored procedures, developers can test, query, and preview retrieval results using the built-in system function `SNOWFLAKE.CORTEX. SEARCH_PREVIEW(...)`.
By comparison, `CORTEX.COMPLETE` performs text generation instead of searching an index;
`EMBED_TEXT_768` calculates vector embeddings from input strings; and `CORTEX.SUMMARIZE` generates a condensed textual summary. None of these functions query a Cortex Search Service.
References & Study Guide Topics:
* Snowflake Gen AI Functions: Cortex Search Service Retrieval Protocols
* Application Development: Querying Indexes via Python, REST, and `SEARCH_PREVIEW`
A Gen AI Specialist is developing a Python script that uses Snowflake Cortex to respond to user queries.
The script includes the following code:
Python
from snowflake.cortex import CompleteOptions, complete user_question = < 'Prompt that could generate an unsafe response' >
No matter what the user_question prompt contains when it is sent to snowflake.cortex.complete, the Specialist needs to make sure the function screens out potentially unsafe or harmful response language.
Which code will achieve this?
Python
To keep large language models from producing toxic, violent, sexually explicit, or otherwise dangerous content, Snowflake builds Cortex Guard directly into its LLM completion endpoints. In the Snowpark Python API, this feature is made available through the snowflake.cortex.CompleteOptions class.
Setting options=CompleteOptions(guardrails=True) tells the Cortex inference engine to send the generated output through an automated safety evaluation model before it is returned to the calling application. If an output breaks safety boundaries, Cortex swaps the payload for a standardized safety rejection response, protecting downstream consumers no matter what the user's input prompt says.
The other parameters shown have completely different purposes: temperature controls sampling randomness and response creativity, stream determines whether responses come back incrementally via Server-Sent Events (SSE), and response_format takes a structured JSON schema instead of safety flags.
References and Study Topics:
Snowflake Gen AI Governance: Cortex Guard Configuration in Snowpark Python Enterprise AI Safety: Filtering Harmful LLM Completions via CompleteOptions
What are the mandatory parameters needed to call log_model when recording a model in the Snowflake Model Registry? (Select two)
When handling machine learning models through the Snowpark ML API, the `Registry.log_model()` method saves model artifacts, dependencies, and operational metadata as first-class objects within the Snowflake Model Registry.
The method signature requires two primary arguments:* **`model`:** The supported in-memory model object or model reference to be serialized (for example, scikit-learn estimators, PyTorch models, Hugging Face pipelines, or custom Snowpark ML model classes).* **`model_name`:** A valid Snowflake database identifier string that defines the name under which the model will be registered in the active database and schema.
The other parameters are optional:* `version_name` is optional; if it is left out, Snowflake automatically creates a unique version identifier (such as a timestamp-based string).* `code_paths` and `python_version` are optional settings used to provide additional custom code dependencies and fix the execution environment runtime.References & Study Guide Topics:* Snowflake Gen AI Governance: Snowflake Model Registry API Specifications* ML Lifecycle Management: `Registry.log_model` Mandatory Parameters and Serialization
A organization is hosting an event and collected dietary limitations from its attendees. The answers are stored in a table called EVENT_REGISTRATIONS:
| ID | FOOD_RESTRICTIONS |
| :--- | :--- |
| 1 | allergic to nuts |
| 2 | no gluten |
| 3 | no milk or dairy products |
| 4 | no meat |
Which query will generate a list of foods that should be excluded from the menu?
```sql
Deducing specific food items to avoid from broad dietary limits (such as identifying wheat, barley, and rye from "no gluten") calls for domain reasoning and generative text creation.
`SNOWFLAKE.CORTEX.COMPLETE` supports dynamic string concatenation that merges instructive prompts with column values from a table. In Option A, the query asks an advanced foundation model (`llama3. 3-70b`) to review the restrictions supplied by each customer and produce an explicit list of forbidden foods.
The other functions are unable to do this:
* `SENTIMENT` produces a floating-point polarity score between -1 and 1.
* `CLASSIFY_TEXT` places the string into one of the supplied fixed labels (`'foods'` or `'diets'`) instead of creating a list.
* `SUMMARIZE` shortens existing source text; it cannot derive new domain knowledge that is not already stated in the source column.
Reference Materials and Study Guide Topics:
* Snowflake Gen AI Functions: Generative Reasoning with `COMPLETE`
* Prompt Engineering: Dynamic SQL Concatenation for In-Database Inference
Which metrics within Snowflake Cortex AI Observability are used to assess the quality of responses produced by LLMs? (Choose two)
Snowflake Cortex AI Observability offers dedicated, automated evaluation metrics built to methodically examine the quality, safety, and dependability of large language model outputs in production and evaluation pipelines.
Two central LLM evaluation metrics included natively in Snowflake Cortex are:
Correctness: Assesses how factually aligned and semantically faithful the LLM output is relative to an established ground-truth answer or reference context, detecting factual errors, missing information, or hallucinations.
Coherence: Judges the structural and logical soundness of the generated text, confirming that it is well arranged, fluent, logically consistent, and free from contradictions or sudden shifts in narrative.
Traditional statistical classification measures, including Accuracy, Precision, and F1 Score, are mathematical indicators applied to assess supervised classification models against strict true or false categorical labels; they are
not the qualitative, generative evaluation metrics implemented in Cortex AI Observability for assessing unstructured LLM response text.
Reference Material and Study Guide Topics:
Snowflake Gen AI Functions: Cortex AI Observability Evaluation Framework
LLM Quality Benchmarking: Qualitative Metrics (Correctness, Coherence, Hallucination Detection)
An engineering group built a machine learning model outside Snowflake using a third-party framework. The model must be deployed inside Snowflake to enable:
* Version control managed from one central location
* Tracking of the model's metadata
Which Snowflake capability should be selected to fulfill these needs?
The Snowflake Model Registry offers centralized governance and deployment of the machine learning lifecycle within the Snowflake Data Cloud. It is built to handle models regardless of where they were trained, and it natively accepts artifacts logged from third-party frameworks, including scikit-learn, PyTorch, TensorFlow, XGBoost, and Hugging Face.
The Model Registry meets both organizational requirements:
1. **Centralized Version Control:** Models are kept as schema-level objects that can hold several deployed versions under one parent object. Teams can handle versions (for instance v1, v2), set default versions, and control rollbacks using standard SQL or Python commands.
2. **Metadata Tracking:** When a model is logged, the Model Registry records operational metadata such as training dataset references, performance metrics, input and output schemas, target runtime dependencies, and custom tags. This metadata stays queryable and governed under Snowflake's RBAC framework.
ML Observability is concerned with monitoring production models for data drift and latency; Container Runtime supplies execution compute for training jobs; and the Snowflake Feature Store handles feature pipelines instead of versioning model artifacts.
References & Study Guide Topics:
* Snowflake Gen AI Governance: Snowflake Model Registry Governance and MLOps
* Enterprise Model Management: Artifact Versioning and Metadata Tracking
A user launched the Snowflake Cortex LLM Playground inside the AI & ML Studio in Snowsight, chose gemma-7b from the Standard models drop-down, and entered "What is Gen AI?" in the dialog box.
Which SQL statement would produce the identical result?
The Cortex LLM Playground in Snowsight provides a graphical workspace for testing foundation models hosted in Snowflake Cortex. After a user picks a model from the Standard models drop-down (for example `gemma-7b`) and submits an input prompt, the web interface sends a completion request in the background.
The SQL equivalent of this playground activity is `SNOWFLAKE.CORTEX.COMPLETE`. Its two-argument form takes:
1. The identifier of the target model as a string (`'gemma-7b'`).
2. The prompt supplied by the user (`'What is Gen AI?'`).
The function forwards the prompt to the chosen model and returns the generated text, mirroring what the Playground UI displays.
The remaining functions are built for other purposes:
* `CLASSIFY_TEXT` assigns text to predefined taxonomy labels.
* `EXTRACT_ANSWER` searches an input document to respond to a specific factual question.
* `SUMMARIZE` shortens long text passages into condensed summaries.
None of these alternatives offer open-ended prompt completion against a selected model. References & Study Guide Topics:
* Snowflake Gen AI Functions: `SNOWFLAKE.CORTEX.COMPLETE` Syntax and Invocation
* Snowsight Tooling: Cortex LLM Playground Mechanics and SQL Equivalents
