Snowflake COF-C02 Practice Test - Questions Answers, Page 71
List of questions
Related questions
When working with table MY_TABLE that contains 10 rows, which sampling query will always return exactly 5 rows?
SELECT * FROM MY_TABLE SAMPLE SYSTEM (5);
SELECT * FROM MY_TABLE SAMPLE BERNOULLI (5);
SELECT * FROM MY_TABLE SAMPLE (5 ROWS);
SELECT * FROM MY_TABLE SAMPLE SYSTEM (1) SEED (5);
What does the Remote Disk I/O statistic in the Query Profile indicate?
Time spent reading from the result cache.
Time spent reading from the virtual warehouse cache.
Time when the query processing was blocked by remote disk access.
The level of network activity between the Cloud Services layer and the virtual warehouse.
Which type of Snowflake virtual warehouse provides 16 times the memory for each node and is recommended for larger workloads like Machine Learning (ML) training?
A size 6XL warehouse
A standard warehouse
A multi-cluster warehouse
A Snowpark-optimized warehouse
Which Query Profile metrics will provide information that can be used to improve query performance? (Select TWO).
Synchronization
Remote disk IO
Local disk IO
Pruning
Spillage
While preparing to unload data in Snowflake, the file format option can be specified in which commands? (Select TWO).
GET
CREATE STAGE
PUT
COPY INTO <location>
CREATE PIPE
What objects can be cloned within Snowflake? (Select TWO).
Schemas
Users
External tables
Internal named stages
External named stages
A Snowflake table that is loaded using a Kafka connector has a schema consisting of which two variant columns? (Select TWO).
RECORD_TIMESTAMP
RECORD_CONTENT
RECORDKEY
RECORD_SESSION
RECORD_METADATA
Which table function will identify data that was loaded using COPY INTO <table> statements and also identify data loaded using Snowpipe?
DATA_TRANSFER_HISTORY
PIPE_USAGE_HISTORY
VALIDATE_PIPE_LOAD
COPY_HISTORY
How can the outer array structure of a semi-structured file be removed?
Use the parameter strip_outer_array = true in a COPY INTO <table> command.
Set the file format to eliminate any outer array structure before initiating the COPY INTO <table> command.
Filter the outer array structure using a PUT command with the include_outer_array = false parameter.
Use the FLATTEN command with the outer_array = false parameter.
Which command should be used to load data incrementally based on column values that are specified in the source table or subquery?
MERGE
COPY INTO
GET
INSERT INTO
Question