COF-C02 Practice Test Questions

498 Questions


Topic 1: Exam pool A

A company strongly encourages all Snowflake users to self-enroll in Snowflake's default Multi-Factor Authentication (MFA) service to provide increased login security for users connecting to Snowflake. Which application will the Snowflake users need to install on their devices in order to connect with MFA?


A.

Okta Verify


B.

Duo Mobile


C.

Microsoft Authenticator


D.

Google Authenticator





B.
  

Duo Mobile



When is the result set cache no longer available? (Select TWO)


A.

When another warehouse is used to execute the query


B.

When another user executes the query


C.

When the underlying data has changed


D.

When the warehouse used to execute the query is suspended


E.

When it has been 24 hours since the last query





C.
  

When the underlying data has changed



E.
  

When it has been 24 hours since the last query



A developer is granted ownership of a table that has a masking policy. The developer's role is not able to see the masked data. Will the developer be able to modify the table to read the masked data?


A.

Yes, because a table owner has full control and can unset masking policies.


B.

Yes, because masking policies only apply to cloned tables.


C.

No, because masking policies must always reference specific access roles.


D.

No, because ownership of a table does not include the ability to change masking policies





A.
  

Yes, because a table owner has full control and can unset masking policies.



A user reated a transient table and made several changes to it over the course of several days. Three days after the table was created, the user would like to go back to the first version of the table. How can this be accomplished?


A.

Use Time Travel, as long as DATA_RETENTION_TIME_IN_DAYS was set to at least 3 days.


B.

The transient table version cannot be retrieved after 24 hours.


C.

Contact Snowflake Support to have the data retrieved from Fail-safe storage.


D.

Use the FAIL_SAFE parameter for Time Travel to retrieve the data from Fail-safe
storage.





B.
  

The transient table version cannot be retrieved after 24 hours.



The Snowflake Cloud Data Platform is described as having which of the following
architectures?


A.

Shared-disk


B.

Shared-nothing


C.

Multi-cluster shared data


D.

Serverless query engine





C.
  

Multi-cluster shared data



Which statements are true concerning Snowflake's underlying cloud infrastructure? (Select THREE),


A.

Snowflake data and services are deployed in a single availability zone within a cloud provider's region.


B.

Snowflake data and services are available in a single cloud provider and a single region, the use of multiple cloud providers is not supported.


C.

Snowflake can be deployed in a customer's private cloud using the customer's own compute and storage resources for Snowflake compute and storage


D.

Snowflake uses the core compute and storage services of each cloud provider for its own compute and storage


E.

All three layers of Snowflake's architecture (storage, compute, and cloud services) are deployed and managed entirely on a selected cloud platform


F.

Snowflake data and services are deployed in at least three availability zones within a cloud provider's region





D.
  

Snowflake uses the core compute and storage services of each cloud provider for its own compute and storage



E.
  

All three layers of Snowflake's architecture (storage, compute, and cloud services) are deployed and managed entirely on a selected cloud platform



F.
  

Snowflake data and services are deployed in at least three availability zones within a cloud provider's region



How can a row access policy be applied to a table or a view? (Choose two.)


A.

Within the policy DDL


B.

Within the create table or create view DDL


C.

By future APPLY for all objects in a schema


D.

Within a control table


E.

Using the command ALTER <object> ADD ROW ACCESS POLICY <policy>;





B.
  

Within the create table or create view DDL



D.
  

Within a control table



When loading data into Snowflake via Snowpipe what is the compressed file size recommendation?


A.

10-50 MB


B.

100-250 MB


C.

300-500 MB


D.

1000-1500 MB





B.
  

100-250 MB



What is an advantage of using an explain plan instead of the query profiler to evaluate the performance of a query?


A.

The explain plan output is available graphically.


B.

An explain plan can be used to conduct performance analysis without executing a query.


C.

An explain plan will handle queries with temporary tables and the query profiler will not.


D.

An explain plan's output will display automatic data skew optimization information.





B.
  

An explain plan can be used to conduct performance analysis without executing a query.



What are the correct parameters for time travel and fail-safe in the Snowflake Enterprise Edition?


A.

Default Time Travel Retention is set to 0 days.
Maximum Time Travel Retention is 30 days.
Fail Safe retention time is 1 day.


B.

Default Time Travel Retention is set to 1 day.
Maximum Time Travel Retention is 365 days.
Fail Safe retention time is 7 days.


C.

Default Time Travel Retention is set to 0 days.
Maximum Time Travel Retention is 90 days.
Fail Safe retention time is 7 days.


D.

Default Time Travel Retention is set to 1 day.
Maximum Time Travel Retention is 90 days.
Fail Safe retention time is 7 days.


E.

Default Time Travel Retention is set to 7 days.
Maximum Time Travel Retention is 1 day.
Fail Safe retention time is 90 days.


F.

Default Time Travel Retention is set to 90 days.
Maximum Time Travel Retention is 7 days.
Fail Safe retention time is 356 days.





D.
  

Default Time Travel Retention is set to 1 day.
Maximum Time Travel Retention is 90 days.
Fail Safe retention time is 7 days.



In an auto-scaling multi-cluster virtual warehouse with the setting SCALING_POLICY = ECONOMY enabled, when is another cluster started?


A.

When the system has enough load for 2 minutes


B.

When the system has enough load for 6 minutes


C.

When the system has enough load for 8 minutes


D.

When the system has enough load for 10 minutes





D.
  

When the system has enough load for 10 minutes



Which SQL commands, when committed, will consume a stream and advance the stream offset? (Choose two.)


A.

UPDATE TABLE FROM STREAM


B.

SELECT FROM STREAM


C.

INSERT INTO TABLE SELECT FROM STREAM


D.

ALTER TABLE AS SELECT FROM STREAM


E.

BEGIN COMMIT





C.
  

INSERT INTO TABLE SELECT FROM STREAM



D.
  

ALTER TABLE AS SELECT FROM STREAM




Page 9 out of 42 Pages
Previous