Snowflake SnowPro Core (COF-C03) · 13% practice allocation

Snowflake COF-C03: Snowflake connectivity Practice Questions

5 free sample questions from the Snowflake connectivity domain, with answers and explanations. The full COF-C03 bank has 354 questions across 7 domains. Questions are scenario-based and written from the official Snowflake exam guide.

1.

A Java-based application needs to connect to Snowflake to run SQL queries as part of its backend. Which client interface should the developer integrate?

  • A. SnowSQL, embedded as a Java library
  • B. The Snowflake JDBC driver✓ Correct
  • C. The Snowflake Python connector
  • D. Snowsight, embedded via an iframe
Explanation

The Snowflake JDBC driver is the standard, supported way for Java applications to connect to Snowflake using the widely adopted JDBC API, letting the app issue SQL over a standard Java database connectivity interface. SnowSQL (option A) is a standalone command-line tool, not a Java library meant to be embedded into application code. The Python connector (option C) is specifically for Python applications, not Java. Embedding Snowsight via an iframe (option D) is not a supported or sensible programmatic database access pattern for backend application logic.

2.

An enterprise wants users to log into Snowflake using their existing corporate identity provider credentials (e.g., Okta or Azure AD), with centralized access control and the ability to enforce MFA at the identity provider level. Which authentication approach fits this requirement?

  • A. Key-pair authentication for every individual human user
  • B. Disabling all authentication and relying solely on network policies
  • C. SSO via SAML-based federated authentication with the corporate identity provider✓ Correct
  • D. Requiring each user to memorize a separate, Snowflake-specific password unrelated to their corporate credentials
Explanation

SSO (single sign-on) via SAML-based federated authentication lets users authenticate through their existing corporate identity provider, centralizing access control and letting the IdP enforce policies like MFA — exactly matching the described requirement. Key-pair authentication (option A) is a strong method but is typically used for service accounts/programmatic access rather than as the primary human-user SSO experience tied to a corporate IdP. Option D (a separate Snowflake-only password) directly contradicts the goal of using existing corporate identity. Option B (no authentication, relying only on network policies) is not a substitute for identity verification and network policies alone don't authenticate individual users.

3.

A SnowSQL script needs to substitute a value at runtime, such as a date parameter, into a SQL statement using SnowSQL variable syntax. Which syntax pattern is used to reference a SnowSQL variable inside the SQL text?

  • A. &variable_name (ampersand-prefixed variable substitution)✓ Correct
  • B. {{variable_name}} using Jinja-style templating
  • C. SnowSQL does not support variable substitution in scripts
  • D. $variable_name only, exactly like a shell environment variable with no other syntax option
Explanation

SnowSQL supports variable substitution using an ampersand prefix (e.g., &variable_name), letting values defined with !define, -D on the command line, or SET be substituted into SQL text at runtime. Option D incorrectly claims $ is the only valid form usable exactly like a shell variable — SnowSQL's substitution mechanism specifically uses the & syntax. Option B describes Jinja-style templating, which is a dbt/templating-tool convention, not native SnowSQL syntax. Option C is false; variable substitution is a documented, commonly used SnowSQL scripting feature.

4.

A data engineering team runs large-scale ETL transformations using Apache Spark and needs Spark DataFrames to read from and write to Snowflake tables efficiently. Which Snowflake integration is designed for this?

  • A. The Snowflake Connector for Spark✓ Correct
  • B. The Snowflake Connector for Kafka
  • C. SnowSQL invoked from within Spark jobs via shell commands
  • D. The Snowflake ODBC driver, loaded manually into Spark's JDBC layer
Explanation

The Snowflake Connector for Spark is purpose-built to let Spark DataFrames read from and write to Snowflake tables efficiently, using Snowflake-specific optimizations (like pushing down certain operations) rather than treating Snowflake as a generic JDBC source. The Kafka connector (option B) is designed for streaming ingestion from Kafka topics, not for general Spark DataFrame ETL. Shelling out to SnowSQL (option C) is a fragile, inefficient workaround compared to a native Spark data source integration. Manually wiring the ODBC driver into Spark's JDBC layer (option D) is unnecessary and not how Snowflake's Spark integration is designed to be used, when a dedicated Spark connector exists.

5.

A legacy Windows desktop application only supports connecting to data sources via ODBC. Which Snowflake component allows this application to query Snowflake?

  • A. The Spark connector
  • B. The Snowflake Node.js driver
  • C. SnowSQL
  • D. The Snowflake ODBC driver✓ Correct
Explanation

The Snowflake ODBC driver implements the ODBC standard specifically so applications that only support ODBC-based data source connections (common in many legacy desktop and BI tools) can connect to Snowflake. The Node.js driver (option B) is for JavaScript/Node.js applications, not a generic ODBC-compatible interface. SnowSQL (option C) is a separate command-line tool, not an ODBC driver an application can link against. The Spark connector (option A) is specifically for Apache Spark data processing jobs, unrelated to a desktop application's ODBC requirement.

Test yourself across every COF-C03 domain

The free COF-C03 practice test mixes about 20 questions weighted like the exam. The full 354-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Snowflake connectivity study guide (COF-C03) →

Other COF-C03 domains

← All Snowflake SnowPro Core study resources