Practice Tests COF-C02 - Mock Exam 4 Flashcards
True or False
External tables are read-only.
True
Since external tables point to an external storage location, data manipulation language (DML) operations cannot be done on them. An external table can only be created against an external stage, which points to a cloud object storage location.
https://docs.snowflake.com/en/user-guide/tables-external-intro
Views can be shared?
No
Standard and Materialized views cannot be shared.
Direct data sharing enables sharing of the following types of objects: Tables, External tables, Secure views, Secure materialized views, Secure UDFs.
https://docs.snowflake.com/en/user-guide/data-sharing-intro
Is it possible to share data with a Snowflake customer whose Snowflake instance exists in a different region than the data provider?
Yes, but you must enable replication first to enable cross-region data sharing.
https://docs.snowflake.com/en/user-guide/secure-data-sharing-across-regions-plaforms
True or False
The search optimization service requires an active virtual warehouse.
False
The search optimization service is a Snowflake-managed service; it executes in the background and doesn’t require a virtual warehouse. However, note that credit and storage costs are associated with Search optimization.
When the data in the table is changed (for example, by loading new data sets or performing their DML operations), the maintenance service updates the search access path to reflect the changes. The search optimization configuration on a table and the maintenance service are transparent to the users.
https://docs.snowflake.com/en/user-guide/search-optimization-service
True or False
External Tables can be cloned
False
Cloning for an external table is not supported. The data for external tables sits outside Snowflake; therefore, cloning an external table does not work.
Named Internal Stages cannot be cloned.
When a database or schema is cloned, any Snowpipe that points to a Named Internal Stage is not cloned.
https://docs.snowflake.com/en/user-guide/object-clone
True or False
A share object has information about the consumer(s)
True
A share acts as a container for objects that need to be shared. A share object encapsulates the database & the schema to be shared, the tables and secure views which will be shared, and the consumer account(s) to which the Share will be available. Sharing and consequently share objects are available to all Snowflake editions
The expiry duration can be configured for Pre-signed or Scoped URL?
A file URL is a permanent Snowflake-hosted URL to a staged file. File URLs don’t expire.
A scoped URL is a temporary and encoded URL that allows temporary access to a staged file without requiring any privileges on the stage. A scoped URL expires after 24 hours.
A pre-signed URL is a simple HTTPS URL for accessing a file using a web browser. The expiry duration of a pre-signed URL is configurable and can be set to the required duration.
https://docs.snowflake.com/en/user-guide/unstructured-intro#types-of-urls-available-to-access-files
True or False
Temporary and Transient tables allows Fail-safe
False
Transient and temporary tables don’t have fail-safe functionality; therefore, data in such tables goes through zero days of fail-safe storage. However, Transient and Temporary tables do have a maximum of 1 day of Time Travel.
Permanent tables also have time travel capability and can go up to 90 days of time travel depending on the configuration.
https://docs.snowflake.com/en/user-guide/tables-temp-transient
True or False
External tables allows Time Travel
False
Transient and temporary tables don’t have fail-safe functionality; therefore, data in such tables goes through zero days of fail-safe storage. However, Transient and Temporary tables do have a maximum of 1 day of Time Travel.
Permanent tables also have time travel capability and can go up to 90 days of time travel depending on the configuration.
https://docs.snowflake.com/en/user-guide/tables-temp-transient
Which view will give you the credit used by each virtual warehouse for the last 12 months?
METERING_HISTORY or WAREHOUSE_METERING_HISTORY ?
The WAREHOUSE_METERING_HISTORY view in the ACCOUNT_USAGE schema provides credit usage for each virtual warehouse in your system, broken down by hour. The view provides information from the last 365 days.
https://docs.snowflake.com/en/sql-reference/account-usage/warehouse_metering_history
True or False
Multi-factor authentication, or MFA, is enabled by default for all Snowflake accounts.
True
MFA is enabled by default for all Snowflake accounts and is available in all Snowflake editions. https://docs.snowflake.com/en/user-guide/security-mfa
True/False
As the size of the virtual warehouse increases, the amount of Snowflake credit consumed per second increases.
True
The number of Snowflake credits consumed depends on the size of the virtual warehouse, the duration while it is in a running state, and how many virtual warehouses you have created.
As the size of a virtual warehouse increases, the number of credits consumed per hour or second also increases.
https://docs.snowflake.com/en/user-guide/warehouses-considerations#how-are-credits-charged-for-warehouses
What is the minimum Snowflake built-in role that can be used to enforce a network policy on a Snowflake account?
The SECURITYADMIN role is the minimum Snowflake built-in role allowed to enforce a network policy at an account level.
https://docs.snowflake.com/en/sql-reference/sql/desc-user#usage-notes
What objects are created when a new trial account is created for a partner using Partner Connect?
While connecting to a Partner application, Snowflake automatically creates several objects, such as an empty database, virtual warehouse, default user, and custom role. When the partner app reads or writes to your account, it uses these objects.
https://docs.snowflake.com/en/user-guide/ecosystem-partner-connect#connecting-with-a-snowflake-partner
True/False
Snowflake automatically clusters data as it is inserted into a table.
True
Snowflake automatically clusters the data as it is inserted into a table.
https://docs.snowflake.com/en/user-guide/tables-clustering-micropartitions#what-is-data-clustering