COF-C02 Exam Questions

Total 498 Questions

Last Updated Exam : 27-Dec-2024

Topic 2: Exam pool B

Which methods can be used to delete staged files from a Snowflake stage? (Choose two.)


A.

Use the DROP <file> command after the load completes.


B.

Specify the TEMPORARY option when creating the file format.


C.

Specify the PURGE copy option in the COPY INTO <table> command


D.

Use the REMOVE command after the load completes


E.

Use the DELETE LOAD HISTORY command after the load completes





C.
  

Specify the PURGE copy option in the COPY INTO <table> command



D.
  

Use the REMOVE command after the load completes



The Snowflake Search Optimization Services supports improved performance of which kind of query?


A.

Queries against large tables where frequent DML occurs


B.

Queries against tables larger than 1 TB


C.

Selective point lookup queries


D.

Queries against a subset of columns in a table





C.
  

Selective point lookup queries



https://docs.snowflake.com/en/user-guide/search-optimizationservice.
html#:~:text=The-search-optimization-service-can-improve-the-performance-of-point,OBJECT%2C-and-ARRAY-columns)

Which of the following is an example of an operation that can be completed without requiring compute, assuming no queries have been executed previously?


A.

SELECT SUM (ORDER_AMT) FROM SALES;


B.

SELECT AVG(ORDER_QTY) FROM SALES;


C.

SELECT MIN(ORDER_AMT) FROM SALES;


D.

SELECT ORDER_AMT * ORDER_QTY FROM SALES;





B.
  

SELECT AVG(ORDER_QTY) FROM SALES;



A single user of a virtual warehouse has set the warehouse to auto-resume and autosuspend after 10 minutes. The warehouse is currently suspended and the user performs the following actions:

  1. Runs a query that takes 3 minutes to complete
  2. Leaves for 15 minutes
  3. Returns and runs a query that takes 10 seconds to complete
  4. Manually suspends the warehouse as soon as the last query was completed

When the user returns, how much billable compute time will have been consumed?


A.

4 minutes


B.

10 minutes


C.

14 minutes


D.

24 minutes





C.
  

14 minutes



What is true about sharing data in Snowflake? (Choose two.)


A.

The Data Consumer pays for data storage as well as for data computing.


B.

The shared data is copied into the Data Consumer account, so the Consumer can modify it without impacting the base data of the Provider.


C.

A Snowflake account can both provide and consume shared data.


D.

The Provider is charged for compute resources used by the Data Consumer to query the shared data.


E.

The Data Consumer pays only for compute resources to query the shared data.





B.
  

The shared data is copied into the Data Consumer account, so the Consumer can modify it without impacting the base data of the Provider.



C.
  

A Snowflake account can both provide and consume shared data.



What occurs when a pipe is recreated using the CREATE OR REPLACE PIPE command?


A.

The Pipe load history is reset to empty.


B.

The REFRESH command is executed


C.

The stage will be purged


D.

The destination table is truncated





B.
  

The REFRESH command is executed



What do the terms scale up and scale out refer to in Snowflake? (Choose two.)


A.

Scaling out adds clusters of the same size to a virtual warehouse to handle more concurrent queries.


B.

Scaling out adds clusters of varying sizes to a virtual warehouse.


C.

Scaling out adds additional database servers to an existing running cluster to handle more concurrent queries.


D.

Snowflake recommends using both scaling up and scaling out to handle more
concurrent queries.


E.

Scaling up resizes a virtual warehouse so it can handle more complex workloads.


F.

Scaling up adds additional database servers to an existing running cluster to handle larger workloads.





A.
  

Scaling out adds clusters of the same size to a virtual warehouse to handle more concurrent queries.



E.
  

Scaling up resizes a virtual warehouse so it can handle more complex workloads.



Which of the following are best practices for loading data into Snowflake? (Choose three.)


A.

Aim to produce data files that are between 100 MB and 250 MB in size, compressed.


B.

Load data from files in a cloud storage service in a different region or cloud platform from the service or region containing the Snowflake account, to save on cost.


C.

Enclose fields that contain delimiter characters in single or double quotes.


D.

Split large files into a greater number of smaller files to distribute the load among the compute resources in an active warehouse.


E.

When planning which warehouse(s) to use for data loading, start with the largest
warehouse possible.


F.

Partition the staged data into large folders with random paths, allowing Snowflake to determine the best way to load each file.





B.
  

Load data from files in a cloud storage service in a different region or cloud platform from the service or region containing the Snowflake account, to save on cost.



C.
  

Enclose fields that contain delimiter characters in single or double quotes.



E.
  

When planning which warehouse(s) to use for data loading, start with the largest
warehouse possible.



True or False: Snowpipe via REST API can only reference External Stages as source.


A.

True


B.

False





B.
  

False



Reference: https://community.snowflake.com/s/article/Making-Transient-table-by-Default

When publishing a Snowflake Data Marketplace listing into a remote region what should be taken into consideration? (Choose two.)


A.

There is no need to have a Snowflake account in the target region, a share will be
created for each user.


B.

The listing is replicated into all selected regions automatically, the data is not.


C.

The user must have the ORGADMIN role available in at least one account to link
accounts for replication.


D.

Shares attached to listings in remote regions can be viewed from any account in an organization.


E.

For a standard listing the user can wait until the first customer requests the data before replicating it to the target region.





A.
  

There is no need to have a Snowflake account in the target region, a share will be
created for each user.



C.
  

The user must have the ORGADMIN role available in at least one account to link
accounts for replication.




Page 13 out of 50 Pages
Previous