All Snowflake exams
Free COF-C03 practice test: 30 questions with answers
30 original questions for SnowPro Core Certification, drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.
- Free questions
- 30
- Full bank
- 100 questions
All 30 COF-C03 questions with answers
The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.
Snowflake Architecture and Key Features (5 questions)
Question 1
Snowflake separates storage from compute. Which layer provides the virtual warehouses that execute queries?
- AStorage layer
- BCloud services layer
- CCompute layer
- DMetadata catalog layer
Show answer and explanationHide answer
Correct answer: CVirtual warehouses form the compute layer, and they can scale independently of stored data. The cloud services layer handles authentication, metadata and query compilation, and the storage layer holds the micro-partitions.
Question 2
A team stores JSON documents and needs them queryable with path notation without defining a fixed schema. Which data type should be used?
- AXMLTYPE
- BBLOB
- CRAW
- DVARIANT
Show answer and explanationHide answer
Correct answer: DVARIANT stores semi-structured data such as JSON, Avro and Parquet, and it can be queried with path notation. BLOB and RAW store binary data, and XMLTYPE is an Oracle type that Snowflake does not provide.
Question 3
Which object groups tables, views, stages and other objects under one namespace inside a database?
- AWarehouse
- BRole
- CResource monitor
- DSchema
Show answer and explanationHide answer
Correct answer: DA schema is the second level of the database object hierarchy and holds tables, views, stages and similar objects. Warehouses provide compute, roles govern privileges, and resource monitors track credit usage.
Question 4
On the Standard edition, what is the default Time Travel retention period for a permanent table?
- A1 day
- B90 days
- C7 days
- D0 days
Show answer and explanationHide answer
Correct answer: AStandard edition supports one day of Time Travel, which is the default for permanent tables. Enterprise and higher editions can extend retention up to 90 days, and a zero-day setting disables Time Travel.
Question 5
Which Snowflake layer handles query parsing, optimization, transaction management and metadata?
- AStorage layer
- BClient driver layer
- CCloud services layer
- DCompute layer
Show answer and explanationHide answer
Correct answer: CThe cloud services layer coordinates authentication, metadata, query optimization and transactions across the platform. The compute layer runs the query work in warehouses, the storage layer holds data, and client drivers only connect to the service.
Account Access and Security (5 questions)
Question 6
A security administrator needs a role that creates users and roles but does not own databases or warehouses. Which system role fits this?
- AACCOUNTADMIN
- BUSERADMIN
- CPUBLIC
- DSYSADMIN
Show answer and explanationHide answer
Correct answer: BUSERADMIN manages users and roles and is designed for identity administration without owning data objects. ACCOUNTADMIN has the broadest account rights, SYSADMIN owns databases and warehouses, and PUBLIC is granted to everyone by default.
Question 7
A service account must authenticate to Snowflake without a password, using a credential that can be rotated. Which method should be configured?
- AOAuth token issued to a person's laptop
- BA shared password stored in a configuration file
- CSingle sign-on through a browser only
- DRSA key pair with the public key assigned to the user
Show answer and explanationHide answer
Correct answer: DKey-pair authentication lets a service sign with a private key while Snowflake stores only the public key, and keys can be rotated. Shared passwords and personal tokens are weaker, and browser SSO needs an interactive user.
Question 8
An administrator must restrict account access so that only sign-ins from the corporate office IP ranges are allowed. Which object should be created?
- ASecurity integration
- BMasking policy
- CNetwork policy
- DResource monitor
Show answer and explanationHide answer
Correct answer: CA network policy allows or blocks connections based on IP address ranges and can be applied at account or user level. Masking policies hide column values, resource monitors control credit usage, and security integrations configure external authentication.
Question 9
Users in a regional sales role should see only the rows for their own region when they query a sales table. Which feature enforces this at the row level?
- ARow access policy
- BNetwork policy
- CObject tag
- DDynamic data masking policy
Show answer and explanationHide answer
Correct answer: AA row access policy evaluates each row against the querying role or user and returns only the rows allowed. Masking changes column values rather than filtering rows, tags only label objects, and network policies control connection sources.
Question 10
Which system role has the highest level of privilege in an account and should be granted sparingly?
- ASYSADMIN
- BACCOUNTADMIN
- CUSERADMIN
- DSECURITYADMIN
Show answer and explanationHide answer
Correct answer: BACCOUNTADMIN is the top system role and controls account-level settings and billing, so it should be limited to a few people. SYSADMIN manages objects, SECURITYADMIN manages grants, and USERADMIN manages users and roles.
Performance Concepts (5 questions)
Question 11
An identical query is run again within 24 hours, and the underlying data has not changed. Which cache returns the result without using a running warehouse?
- AResult cache
- BLocal disk cache
- CMetadata cache
- DRemote storage cache
Show answer and explanationHide answer
Correct answer: AThe result cache stores query results for up to 24 hours and returns them without a warehouse when the data is unchanged. The local disk cache lives on the warehouse, and the metadata cache helps compilation rather than returning results.
Question 12
Which two statements about virtual warehouses are correct? (Choose two.)
- AA suspended warehouse stops consuming credits
- BA warehouse can be resized without moving any table data
- CEach warehouse keeps its own permanent copy of every table
- DWarehouses are billed per row scanned by a query
- EA warehouse must be in the same cloud region as the account's metadata store
Show answer and explanationHide answer
Correct answer: A, BSuspended warehouses do not consume credits, and resizing changes compute without relocating stored data. Warehouses do not keep permanent copies of tables, and billing is based on warehouse size and running time, not rows scanned.
Question 13
A large table is slow for queries that filter by event_date, and most micro-partitions are being scanned. Which action improves pruning for these queries?
- AIncrease the warehouse to 6XL for every query
- BDisable the result cache
- CCreate a materialized view of all columns
- DDefine a clustering key on event_date
Show answer and explanationHide answer
Correct answer: DA clustering key on the filter column helps Snowflake co-locate similar values, so more micro-partitions can be pruned. Bigger warehouses add cost without fixing scan volume, disabling the cache removes a benefit, and a full materialized view duplicates the data.
Question 14
An analyst needs to see where time is spent in a slow query, including the operators and bytes scanned. Which tool should be used?
- AResource monitor
- BInformation schema tasks view
- CQuery Profile
- DNetwork policy
Show answer and explanationHide answer
Correct answer: CQuery Profile shows the execution plan with per-operator timings, row counts and data scanned. Resource monitors track credits, network policies control access, and the tasks view lists scheduled task history.
Question 15
Point lookups on a very large table with a high-cardinality column are slow. Which feature is designed to speed up these selective queries?
- ASearch optimization service
- BMulti-cluster warehouse
- CMaterialized view on the full table
- DClustering on every column
Show answer and explanationHide answer
Correct answer: AThe search optimization service builds access paths that speed up selective point lookups and some substring searches. Multi-cluster warehouses address concurrency, and full materialized views or clustering every column add cost without targeting this access pattern.
Data Loading and Unloading (5 questions)
Question 16
Which command loads data from files in a stage into a table?
- APUT
- BLIST
- CCOPY INTO table
- DGET
Show answer and explanationHide answer
Correct answer: CCOPY INTO table reads staged files and loads them into the target table. PUT uploads local files to a stage, GET downloads files from a stage, and LIST shows the files present.
Question 17
A CSV file has one header line that must not be loaded as data. Which file format option handles this?
- AFIRST_ROW = 1
- BHEADER = TRUE
- CIGNORE_HEADER = YES
- DSKIP_HEADER = 1
Show answer and explanationHide answer
Correct answer: DSKIP_HEADER with a value of 1 skips the first line of each file during COPY INTO. The other option names are not valid Snowflake file format parameters for this purpose.
Question 18
Which two stage types are internal stages? (Choose two.)
- AExternal stage on Azure Blob Storage
- BPipe
- CUser stage
- DTable stage
- EExternal stage on Amazon S3
Show answer and explanationHide answer
Correct answer: C, DUser and table stages are internal stages that Snowflake manages automatically with each user or table. External stages point to storage outside Snowflake, and a pipe is a loading object rather than a stage.
Question 19
Snowpipe must load new files as they land in a cloud storage location, without a scheduled job. What triggers the load?
- AA manual COPY INTO run by each user
- BCloud storage event notifications
- CA scheduled cron job on a warehouse
- DEvery query that reads the target table
Show answer and explanationHide answer
Correct answer: BSnowpipe uses cloud event notifications to detect new files and loads them automatically. Schedules, manual commands and queries do not drive Snowpipe's continuous loading model.
Question 20
A team wants to export query results to a stage as Parquet files for another system. Which statement should be used?
- ACOPY INTO a stage location with FILE_FORMAT TYPE = PARQUET
- BPUT with the table name as the source
- CCREATE STREAM on the result set
- DGET to download a table into a local folder
Show answer and explanationHide answer
Correct answer: ACOPY INTO a stage location unloads query results, and the file format sets Parquet as the output type. GET downloads from a stage, PUT uploads to one, and a stream tracks changes rather than exporting data.
Data Transformations (5 questions)
Question 21
A pipeline must capture inserts, updates and deletes made to a table so that a downstream process can consume only the changes. Which object provides this change tracking?
- ASequence
- BStream
- CTask
- DPipe
Show answer and explanationHide answer
Correct answer: BA stream records changes to a table since its last offset, which enables change data capture. A task runs SQL on a schedule, a pipe loads files, and a sequence generates numbers.
Question 22
A developer needs a reusable SQL object that accepts inputs and returns a table of rows for use in a FROM clause. Which object should be created?
- APipe
- BUser-defined table function
- CScalar user-defined function
- DExternal stage
Show answer and explanationHide answer
Correct answer: BA user-defined table function returns a set of rows that can be selected from like a table. Scalar functions return one value per call, pipes load data, and stages hold files.
Question 23
Which two statements about dynamic tables are true? (Choose two.)
- AThey cannot be used as sources for joins
- BThey store their data only in external stages
- CThey refresh automatically to meet a target lag
- DThey are defined by a query whose results Snowflake maintains
- EThey must be refreshed manually by an administrator each time
Show answer and explanationHide answer
Correct answer: C, DDynamic tables are defined by a query and refresh automatically to meet the configured target lag. They require no manual refresh, can be joined like other tables, and store data in Snowflake rather than external stages.
Question 24
A transformation must update existing rows that match a key and insert rows that do not match, in one statement. Which statement fits?
- ACREATE SEQUENCE
- BEXPORT
- CTRUNCATE
- DMERGE
Show answer and explanationHide answer
Correct answer: DMERGE performs conditional updates and inserts in a single statement, which is an upsert pattern. TRUNCATE empties a table, EXPORT is not a Snowflake statement for this, and CREATE SEQUENCE generates numbers.
Question 25
Which two statements about tasks in Snowflake are correct? (Choose two.)
- AA task runs a SQL statement on a schedule or after a predecessor task
- BA task can run only when a stream has data to process
- CTasks run only in the cloud services layer and never use a warehouse
- DTasks require the Enterprise edition to be created
- ETasks cannot reference streams
Show answer and explanationHide answer
Correct answer: A, BTasks run on a schedule or after a predecessor, and they can be triggered when a stream has change data. Tasks use a warehouse for their SQL, they are available on standard editions, and they can reference streams.
Data Protection and Data Sharing (5 questions)
Question 26
Which statement about zero-copy cloning is correct?
- AClones can only be created inside the same schema
- BA clone shares the source's micro-partitions until either object changes
- CDatabases cannot be cloned, only tables
- DA clone copies all data immediately and doubles storage
Show answer and explanationHide answer
Correct answer: BA clone is a metadata copy that shares underlying micro-partitions, so storage grows only as the clone or source changes. Databases can be cloned as well as tables, and clones can be created in other schemas and databases.
Question 27
A provider wants consumers in other Snowflake accounts to query live data without any copy being made or moved. Which feature should be used?
- ACOPY INTO export to Amazon S3
- BScheduled CSV email attachments
- CSecure data sharing
- DReplication refreshed monthly
Show answer and explanationHide answer
Correct answer: CSecure data sharing lets consumers query the provider's live data without copying it. Exports and emails create copies, and replication creates a separate copy refreshed on a schedule.
Question 28
Which two statements about Time Travel and Fail-safe are correct? (Choose two.)
- AFail-safe can be disabled by the ACCOUNTADMIN role
- BTransient tables provide up to 90 days of Time Travel
- CFail-safe is accessed through the UNDROP command
- DTime Travel allows querying historical data within the retention period
- EFail-safe is not configurable by customers
Show answer and explanationHide answer
Correct answer: D, ETime Travel lets users query and restore historical data within the retention period. Fail-safe is a fixed recovery period managed by Snowflake, and customers cannot configure or disable it. Transient tables are limited to one day of Time Travel, and UNDROP restores dropped objects during Time Travel rather than Fail-safe.
Question 29
A company wants to label columns that contain personal data so that governance reports can find them across the account. Which feature should be used?
- AObject tags
- BResource monitors
- CClustering keys
- DDedicated virtual warehouses
Show answer and explanationHide answer
Correct answer: AObject tags attach classification labels to tables and columns, which supports centralized governance and reporting. Resource monitors track credits, clustering keys affect pruning, and dedicated warehouses isolate compute rather than label data.
Question 30
A table was accidentally updated with wrong values, and the team wants to query the table as it looked five minutes earlier. Which feature provides this?
- AFail-safe retrieval requested from support
- BTime Travel with AT or BEFORE clauses
- CZero-copy clone deletion
- DReplication to another region only
Show answer and explanationHide answer
Correct answer: BTime Travel with AT or BEFORE lets users query a table as of a past time within the retention period. Fail-safe is a last-resort recovery that needs Snowflake support, and replication and clone deletion do not query historical state.
Want more COF-C03 questions?
The full bank has 100 questions with answers and explanations, as a PDF, an online practice exam, or both.
Both formats together. The best value.
Instant access after payment, with 90 days of updates. Checkout is on our store, AIExamCerts.