SnowPro Core Practice Test

SnowPro Core Practice Test practice questions, page 35 of 54, with answer review and explanations.

Question 171

Which of the following objects are contained within a schema? (Choose two.)

  1. Role
  2. Stream
  3. Warehouse
  4. External table
  5. User
  6. Share

Question 172

Which of the following statements describe features of Snowflake data caching? (Choose two.)

  1. When a virtual warehouse is suspended, the data cache is saved on the remote storage layer.
  2. When the data cache is full, the least-recently used data will be cleared to make room.
  3. A user can only access their own queries from the query result cache.
  4. A user must set USE_METADATA_CACHE to TRUE to use the metadata cache in queries.
  5. The RESULT_SCAN table function can access and filter the contents of the query result cache.

Question 173

A table needs to be loaded. The input data is in JSON format and is a concatenation of multiple JSON documents. The file size is 3 GB. A warehouse size S is being used. The following COPY INTO command was executed: COPY INTO SAMPLE FROM @~/SAMPLE.JSON (TYPE=JSON) The load failed with this error: Max LOB size (16777216) exceeded, actual size of parsed column is 17894470. How can this issue be resolved?

  1. Compress the file and load the compressed file.
  2. Split the file into multiple files in the recommended size range (100 MB - 250 MB).
  3. Use a larger-sized warehouse.
  4. Set STRIP_OUTER_ARRAY=TRUE in the COPY INTO command.

Question 174

What is a feature of a stored procedure in Snowflake?

  1. They can be created as secure and hide the underlying metadata from all users.
  2. They can access tables from a single database.
  3. They can only contain a single SQL statement.
  4. They can be created to run with a caller's rights or an owner's rights.

Question 175

Which columns are part of the result set of the Snowflake LATERAL FLATTEN command? (Choose two.)

  1. CONTENT
  2. PATH
  3. BYTE_SIZE
  4. INDEX
  5. DATATYPE