Home / SnowPro Core Certification (COF-C02) / Mock exam
SnowPro Core Certification (COF-C02) Exam-style mock test

SnowPro Core (COF-C02) Practice Exams|Practice test

Full explanations Exam format Pass line 75%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Snowflake AI Data Cloud Features and Architecture
A global retail analytics team runs a heavy nightly ETL job on one virtual warehouse while BI dashboards query the same tables all day on a separate virtual warehouse. The team reports that neither workload slows the other down. Which aspect of Snowflake's three-layer architecture explains this behavior?
・Both warehouses read the same shared cloud services metadata cache, so all of their query plans are automatically shared and reused across the two workloads
Incorrect. The cloud services layer handles metadata and optimization, but shared plan caching is not what isolates the two compute workloads from each other.
✓Each virtual warehouse is an independent compute cluster that reads shared storage, so the two workloads never contend for compute
Correct. Each virtual warehouse is a separate compute cluster that reads the shared storage layer, so the two workloads never contend for compute.
・The ETL warehouse is given a higher resource monitor priority, which pauses the BI warehouse whenever the nightly job runs
Incorrect. Resource monitors cap credit usage and can suspend a warehouse, but they do not grant one warehouse priority that pauses another.
・Snowflake replicates the tables so the ETL job and the dashboards each read a separate copy
Incorrect. Snowflake does not duplicate tables per warehouse; all warehouses read a single shared copy of the data in the storage layer.
Explanation
Snowflake separates storage, compute, and cloud services. Because virtual warehouses are independent compute clusters over shared storage, concurrent workloads run without competing for one another's compute resources.
Example2 · Account Access and Security
A global retail bank uses the default Snowflake system roles. The platform team wants all databases and warehouses that back the analytics platform to be owned by a role whose privileges then flow down to business roles, while keeping that role separate from the role that manages users and grants. Which system role should own these analytics objects?
・ACCOUNTADMIN, the top-level account-wide administration role reserved for configuration
Incorrect. ACCOUNTADMIN is the top-level role for account-wide configuration and should not be the routine owner of day-to-day objects such as databases and warehouses.
✓SYSADMIN, the recommended owner of databases and warehouses, here specifically
Correct. SYSADMIN is the recommended owner of databases and warehouses, and custom business roles are granted to it so its privileges propagate down the hierarchy.
・SECURITYADMIN, which manages object grants across the whole account globally
Incorrect. SECURITYADMIN manages object grants globally and user and role security, not the ownership of analytics databases and warehouses.
・USERADMIN, the role dedicated to creating and managing users and roles
Incorrect. USERADMIN is dedicated to creating and managing users and roles, not to owning analytics databases or warehouses.
Explanation
Snowflake's recommended practice is for SYSADMIN to own databases and warehouses and to have all custom roles granted to it, so privileges roll up to SYSADMIN. User and grant management is kept in SECURITYADMIN and USERADMIN, preserving separation of duties.
Example3 · Performance and Cost Optimization Concepts
A global retail analytics team runs a BI dashboard that fires many short, concurrent queries during each morning in the EMEA, Americas, and APAC regions. During peak hours queries sit in the warehouse queue, but the team does not want to leave a larger single warehouse running all day. Which virtual warehouse configuration best addresses the concurrency spikes while controlling cost?
・Increase the single-cluster warehouse size from Medium to 4X-Large so each individual query completes faster during peaks, in this described situation
Incorrect. A larger size adds compute per cluster for big scans but does not add clusters, so concurrent queries still queue, and a 4X-Large running during peaks is far more expensive than scaling clusters on demand.
✓Configure a multi-cluster warehouse in auto-scale mode, setting MIN_CLUSTER_COUNT to one and a higher MAX_CLUSTER_COUNT so clusters start on demand
Correct. A multi-cluster warehouse in auto-scale mode starts additional same-size clusters only when queries queue and shuts them down when demand falls, matching concurrency spikes while keeping the minimum at one cluster for cost control.
・Enable the query acceleration service and raise STATEMENT_TIMEOUT so queued dashboard statements eventually run
Incorrect. Query acceleration offloads portions of large scan-heavy queries and a longer timeout only lets statements wait longer; neither adds the concurrency capacity needed to clear the queue.
・Create several same-size warehouses and have the dashboard tool round-robin its concurrent queries across them
Incorrect. Manually round-robining across fixed warehouses pushes scaling logic into the client, wastes credits on idle warehouses, and is exactly the operational burden that multi-cluster auto-scale removes.
Explanation
Concurrency queuing is solved by adding clusters, not by increasing warehouse size. A multi-cluster warehouse in auto-scale mode (MIN below MAX) elastically starts and stops clusters based on queued load, giving peak concurrency with minimal idle cost.
Example4 · Data Loading and Unloading
A healthcare analytics team stages 50,000 compressed patient-encounter CSV files in an internal named stage. They run COPY INTO on the target table nightly, but notice that files already loaded in a prior run are being skipped automatically, which is the behavior they want. Which COPY INTO mechanism is responsible for preventing these previously loaded files from being reloaded?
・The MATCH_BY_COLUMN_NAME copy option, which aligns staged columns to the table by name
Incorrect. MATCH_BY_COLUMN_NAME maps source columns to table columns by name for semi-structured loads; it does not track which files were already loaded.
✓Per-table load metadata recording the path and ETag of loaded files
Correct. COPY INTO stores load metadata on the target table (file path and ETag) and uses it to skip files already loaded within the last 64 days, avoiding duplicate loads by default.
・A UNIQUE constraint defined on the target table that rejects duplicate rows during the load
Incorrect. Snowflake does not enforce UNIQUE constraints, so a constraint cannot cause files to be skipped.
・The PURGE copy option, which deletes each staged source file after it is read during the load
Incorrect. PURGE removes staged files after a successful load; it does not determine whether a file was previously loaded.
Explanation
COPY INTO maintains per-table load metadata (file name and ETag) for 64 days and skips files that match, which is why already-loaded files are ignored on later runs. FORCE = TRUE would override this and reload them.
Example5 · Data Transformations
A media analytics team must estimate the number of unique viewer IDs across a 40-billion-row streaming-events table. A fast approximate answer is acceptable, and query cost should be minimized. Which Snowflake function should they call?
✓APPROX_COUNT_DISTINCT(viewer_id)
Correct. APPROX_COUNT_DISTINCT uses the HyperLogLog algorithm to return an approximate distinct count quickly and cheaply over very large data sets.
・COUNT(DISTINCT viewer_id) wrapped inside a correlated subquery so the optimizer can decide whether to approximate the result at runtime
Incorrect. COUNT(DISTINCT) computes an exact count and is far more expensive; the optimizer does not silently switch it to an approximation.
・APPROX_PERCENTILE(viewer_id, 0.5)
Incorrect. APPROX_PERCENTILE estimates a percentile value, not a count of distinct values.
・APPROX_TOP_K(viewer_id, 10)
Incorrect. APPROX_TOP_K returns the most frequent values and their estimated frequencies, not a distinct-count estimate.
Explanation
Estimating distinct cardinality cheaply on huge tables is the use case for APPROX_COUNT_DISTINCT, which is backed by HyperLogLog. The other approximation functions answer different questions (percentiles or frequent values), and exact COUNT(DISTINCT) is not cost-minimized.
Example6 · Data Protection and Data Sharing
A hospital's analytics team runs a nightly batch that accidentally deleted every row from the PERMANENT table PATIENT_VISITS. The table was created with default settings on a Snowflake Enterprise Edition account, and the deletion happened two days ago. The team wants to recover the table's exact state from just before the DELETE statement ran. Which action lets them do this themselves without opening a Snowflake Support case?
✓Query the table using Time Travel with an AT clause set to a timestamp from before the DELETE, which is still inside the retention window
Correct. A permanent table on Enterprise Edition can use Time Travel up to 90 days, and the default retention is well above two days, so the pre-DELETE state is self-service recoverable via an AT clause.
・Submit a Fail-safe restore request, since Fail-safe is the only mechanism that keeps deleted rows available after a DELETE statement
Incorrect. Fail-safe is a non-configurable 7-day period accessible only by Snowflake Support, so it is not a self-service option.
・Reload the data from the account's automatic daily backup snapshots that Snowflake supposedly stores in a separate hidden recovery database created for every permanent table in the account
Incorrect. Snowflake does not keep automatic daily backups in a separate recovery database; data protection is provided by Time Travel and Fail-safe.
・Immediately set DATA_RETENTION_TIME_IN_DAYS to 10 days on the affected table, which would retroactively extend the recovery coverage backward in time to include the deletion that already happened two days ago
Incorrect. Changing DATA_RETENTION_TIME_IN_DAYS affects future retention, not already-elapsed periods, so it cannot retroactively recover the prior deletion.
Explanation
Time Travel lets users query or restore historical data within the retention window using AT or BEFORE clauses, and is fully self-service. Fail-safe is a separate, non-configurable 7-day period reachable only through Snowflake Support, and retention changes never apply retroactively.
Example7 · Snowflake AI Data Cloud Features and Architecture
A logistics company streams GPS telemetry from its delivery fleet into Snowflake. The data engineering team wants to scale up the compute that transforms this telemetry without affecting the compute that runs warehouse inventory dashboards, and both must read the same underlying tables. Which characteristic of Snowflake's architecture makes this possible?
✓Compute and storage are fully decoupled, so multiple independent virtual warehouses can process the very same shared data simultaneously without contending for one another's resources.
Correct. Snowflake fully separates compute from storage, letting multiple independent virtual warehouses operate on the same centralized shared data at the same time without any resource contention.
・Each virtual warehouse maintains its own private copy of the table data, so the two teams never contend for the same underlying files.
Incorrect. Warehouses do not hold private copies of table data; storage is centralized and shared, not duplicated per warehouse.
・The cloud services layer serializes all incoming queries into one execution queue to guarantee a consistent read for every team.
Incorrect. The cloud services layer coordinates metadata and optimization but does not funnel all queries into a single serialized queue.
・Storage must be replicated into a separate account before a second virtual warehouse can be granted read access to the shared tables.
Incorrect. A second warehouse in the same account reads shared storage directly; cross-account replication is unnecessary for concurrent reads.
Explanation
Snowflake's multi-cluster shared-data architecture decouples the compute layer (virtual warehouses) from the centralized storage layer. This allows different teams to run independent warehouses against the same tables concurrently without competing for resources.
Example8 · Snowflake AI Data Cloud Features and Architecture
A factory analytics team notices their nightly IoT aggregation job sometimes queues because concurrent sensor-ingest queries saturate a single-cluster warehouse. They want Snowflake to automatically add compute clusters during bursts and remove them when demand falls, without manual resizing. Which warehouse configuration should they use?
✓Configure a multi-cluster warehouse in auto-scale mode with a minimum and maximum cluster count.
Correct. A multi-cluster warehouse in auto-scale mode starts additional clusters when queries queue and shuts them down when demand drops, matching the burst pattern automatically.
・Convert the warehouse to a larger single-cluster size so that it can hold many more concurrent queries in its fixed compute pool.
Incorrect. A larger single cluster adds per-query power but does not add clusters to absorb concurrency bursts, so queuing can persist under load.
・Create several separate single-cluster warehouses and have the ingest application round-robin every query across all of them.
Incorrect. Manually round-robining across separate warehouses pushes scaling logic into the application instead of using Snowflake's automatic scaling.
・Set the warehouse to maximized mode so that it always runs every available cluster continuously for guaranteed throughput.
Incorrect. Maximized mode runs all clusters constantly regardless of demand, which wastes credits rather than scaling elastically with load.
Explanation
Multi-cluster warehouses in auto-scale mode handle concurrency by spinning clusters up and down between a configured minimum and maximum as the query queue grows and shrinks. This directly addresses bursty concurrent workloads without manual intervention.
Example9 · Snowflake AI Data Cloud Features and Architecture
A manufacturer loads a large SENSOR_READINGS table where rows arrive in timestamp order. Analysts almost always filter by a recent time window. Which property of Snowflake micro-partitions lets queries skip scanning data for readings outside the requested window?
✓Micro-partitions store per-column metadata such as min and max values, enabling the engine to prune partitions that cannot match the filter.
Correct. Snowflake stores min/max and other metadata per column for each micro-partition, so the optimizer can prune partitions whose value ranges cannot satisfy a filter.
・Micro-partitions physically sort every column globally during load, so the engine performs a binary search across the entire table for each query.
Incorrect. Snowflake does not globally sort all columns on load, and pruning uses metadata rather than a whole-table binary search.
・Micro-partitions must be manually indexed by an administrator before any range filter can benefit from partition skipping at query time.
Incorrect. Micro-partitioning and its metadata are automatic; there is no manual index step required to enable pruning.
・Micro-partitions are fixed at exactly one gigabyte of uncompressed data each, which is the property that allows the optimizer to skip ranges.
Incorrect. Micro-partitions are roughly 50-500 MB of uncompressed data, not a fixed one gigabyte, and size is not what drives pruning.
Explanation
Each micro-partition carries metadata including the range of values for every column it holds. The optimizer uses this metadata for partition pruning, skipping micro-partitions whose ranges cannot match a query's predicate.
Example10 · Snowflake AI Data Cloud Features and Architecture
A B2B SaaS analytics vendor runs hourly ETL that briefly spikes CPU, while a separate team runs ad hoc dashboards on the same tables all day. The ETL jobs keep slowing the dashboards. Which aspect of Snowflake's architecture should the team leverage to isolate these workloads from each other?
✓Give each workload its own virtual warehouse for independent compute over the shared data
Correct. Separate virtual warehouses provide independent compute while all warehouses access the same shared storage layer, isolating the ETL and dashboard workloads.
・Move the dashboard tables into a separate database so the ETL job can no longer read or lock them during its loads
Incorrect. Placing tables in a different database does not isolate compute; both workloads could still run on the same warehouse and contend for resources.
・Enable the automatic clustering service, which reserves dedicated background compute exclusively for interactive dashboard queries
Incorrect. Automatic clustering reorganizes micro-partitions in the background and does not reserve dedicated compute for interactive queries.
・Switch the account to the Business Critical edition because only that edition permits two workloads to run at the same time
Incorrect. All editions support concurrent workloads; concurrency is a property of the multi-cluster shared-data architecture, not of Business Critical specifically.
Explanation
Snowflake separates compute (virtual warehouses) from the shared storage layer, so distinct warehouses can read the same data without contending for CPU. Isolating the ETL and dashboard teams onto separate warehouses removes the resource contention.
Example11 · Snowflake AI Data Cloud Features and Architecture
A gaming company's leaderboard warehouse handles steady traffic most of the day but is overwhelmed during the weekly tournament when thousands of concurrent queries queue up. They want Snowflake to automatically add compute capacity for the surge and remove it afterward, without manually resizing. Which configuration meets this need?
✓Configure the warehouse as a multi-cluster warehouse in auto-scale mode with a higher maximum cluster count
Correct. A multi-cluster warehouse in auto-scale mode starts additional clusters when queries queue and shuts them down when load drops, matching compute to the tournament surge automatically.
・Set the warehouse to a much larger fixed size so it always has reserved capacity for the tournament surge
Incorrect. A larger fixed size reserves peak capacity continuously, wasting credits during normal traffic and not scaling elastically with concurrency.
・Enable the automatic clustering service, which reserves dedicated background compute for interactive dashboards
Incorrect. Query acceleration offloads parts of scan-heavy queries to shared compute; it does not add warehouse clusters to absorb high concurrency.
・Turn on auto-suspend with a very short timeout so idle credits are released and reallocated to busy queries
Incorrect. Auto-suspend only stops an idle warehouse to save credits; it does not add capacity for concurrent query surges.
Explanation
Multi-cluster warehouses in auto-scale mode handle fluctuating concurrency by starting and stopping clusters between the MIN and MAX bounds. This elastically absorbs the tournament concurrency spike and scales back down afterward.
Example12 · Snowflake AI Data Cloud Features and Architecture
A national energy regulator runs its smart-meter analytics on Snowflake. The data engineering team needs to understand which architectural layer is responsible for persisting the regulator's columnar table data in encrypted, compressed micro-partitions on cloud object storage. Which layer provides this capability?
✓The database storage layer, which persists table data as compressed and encrypted micro-partitions
Correct. The database storage layer persists table data as compressed, encrypted micro-partitions in the cloud provider's object storage.
・The query processing compute layer, which runs queries inside virtual warehouses
Incorrect. Virtual warehouses provide compute for queries; they do not persist the table data itself.
・The cloud services layer, which handles authentication, metadata, query parsing, and account access control
Incorrect. Cloud services manages metadata and security but does not store the table data files.
・The client connector layer, which brokers JDBC and ODBC sessions to the warehouse
Incorrect. Connectors and drivers transport requests; they neither compute nor persist data.
Explanation
Snowflake separates storage, compute, and cloud services. The storage layer is where table data physically lives as micro-partitions in object storage, independent of any warehouse.
Example13 · Snowflake AI Data Cloud Features and Architecture
A public-sector transit authority runs overnight ELT loads that frequently queue because a single warehouse is overwhelmed by concurrent transformation jobs. The platform team wants the warehouse to automatically spin up additional compute clusters when queries queue and spin them down when demand falls. Which warehouse configuration meets this need?
✓Configure a multi-cluster warehouse that runs in auto-scale mode between a min and max count
Correct. A multi-cluster warehouse in auto-scale mode starts and stops clusters based on query queuing between the minimum and maximum counts.
・Increase the warehouse size from Medium to 4X-Large for many more compute threads per each query
Incorrect. A larger size adds compute per cluster but does not address concurrency by adding clusters.
・Enable auto-suspend and auto-resume so the single warehouse restarts whenever a query arrives
Incorrect. Auto-suspend and auto-resume manage idle time and startup, not concurrent query scaling.
・Set the warehouse scaling policy to Maximized so every cluster stays continuously running
Incorrect. The Maximized policy keeps all clusters running and does not scale elastically with demand.
Explanation
Multi-cluster warehouses in auto-scale mode add clusters to absorb concurrency and remove them when load drops. Resizing addresses per-query performance, not concurrency.
Example14 · Snowflake AI Data Cloud Features and Architecture
A travel insurance company runs a nightly batch load into Snowflake while its claims analysts simultaneously run heavy ad hoc dashboards. The two workloads keep competing for resources and slowing each other down. Which property of Snowflake's architecture should the team use to isolate these workloads so that neither affects the other's performance?
✓Give each workload its own independently sized virtual warehouse running over the single shared copy of the stored data layer
Correct. In the multi-cluster shared-data architecture, compute is decoupled from storage, so separate virtual warehouses process the same data independently without resource contention.
・Enable the search optimization service on the claims tables so that both of these competing workloads can scan their rows faster during the periods of peak overlap at night
Incorrect. Search optimization speeds up selective point lookups but does not isolate the compute resources that the two competing workloads are fighting over.
・Place the batch load and the analyst tables into entirely separate databases that are stored on physically different disks
Incorrect. Separate databases do not map to separate disks; all data sits in the shared storage layer, so compute contention would persist.
・Increase the statement timeout on the batch load job so that the analyst dashboard queries are always granted higher scheduling priority during the nightly window
Incorrect. A longer statement timeout only changes how long a query may run, not how compute resources are shared between concurrent workloads.
Explanation
Snowflake separates storage and compute, letting multiple virtual warehouses operate on the same shared data at the same time. Giving each workload its own warehouse removes resource contention while keeping a single copy of the data.
Example15 · Snowflake AI Data Cloud Features and Architecture
An insurance data engineer notices that a frequently used policy-lookup query returned instantly the second time it ran, even though no virtual warehouse was active at that moment and the underlying table had not changed. Which Snowflake caching layer most likely served the identical result without any compute?
✓The query result cache located in the cloud services layer, which returned the unchanged still-valid result directly to the user with no virtual warehouse running at the time
Correct. The query result cache lives in cloud services and can return an identical, still-valid result for 24 hours with no warehouse needed.
・The local virtual warehouse disk cache, which had held the scanned table micro-partitions from the earlier run entirely in its own memory
Incorrect. The warehouse local disk cache requires a running warehouse and holds scanned data, not finished result sets, so it could not serve the query while compute was idle.
・The metadata cache that stores the table row counts and is consulted automatically whenever any virtual warehouse happens to be suspended for billing
Incorrect. The metadata cache holds object statistics for pruning and planning, not full query result sets to hand back to the user.
・The remote storage cache in the database layer, said to permanently retain every query output so later reruns can reuse it
Incorrect. Snowflake has no permanent remote storage cache of query outputs in the storage layer; the result cache is time-limited and lives in cloud services.
Explanation
Snowflake's three layers each cache different things, but only the cloud services result cache can return a complete, unchanged result without any compute. It is valid for 24 hours as long as the data and query are unchanged.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)