The customer table in the T1 database is accidentally dropped.
Which privileges are required to restore this table? {Select TWO).
SELECT privilege on the customer table
ownership privilege on the customer table
All privileges on the customer table
All privileges on the T1 database
CREATE TABIE privilege on the T1 database
Given the statement template below, which database objects can be added to a share?(Select TWO).
GRANT
Secure functions
Stored procedures
Streams
Tables
Tasks
In Snowflake, shares are used to share data across different Snowflake accounts securely. When you create a share, you can include various database objects that you want to share with consumers. According to Snowflake's documentation, the types of objects that can be shared include tables, secure views, secure materialized views, and streams. Secure functions and stored procedures are not shareable objects. Tasks also cannot be shared directly. Therefore, the correct answers are streams (C) and tables (D).
To share a stream or a table, you use theGRANTstatement to grant privileges on these objects to a share. The syntax for sharing a table or stream involves specifying the type of object, the object name, and the share to which you are granting access. For example:
GRANTSELECTONTABLEmy_tableTOSHARE my_share;GRANTSELECTONSTREAM my_streamTOSHARE my_share;
These commands grant the SELECT privilege on a table namedmy_tableand a stream namedmy_streamto a share namedmy_share. This enables the consumer of the share to access these objects according to the granted privileges.
What are valid values for the FIELD_OPTIONALLY_ENCLOSED_BYoption in the copy into
Single quote character (')
NULL
'NULL'
NONE
'NONE'
How can a Snowsight user change a Standard virtual warehouse to a Snowpark-optimized virtual warehouse?
Use the ALTER WAREHOUSE command on an active Standard virtual warehouse
Use the alter warehouse command on an active Snowpark-optimized warehouse.
Use the ALTER warehouse command on a suspended Standard virtual warehouse.
Use the ALTER WAREHOUSE command on a suspended Snowpark-optimized warehouse.
To change a Standard virtual warehouse to a Snowpark-optimized virtual warehouse, the warehouse must be in a suspended state. This ensures that no operations are disrupted during the modification process.
Suspend the Warehouse:Ensure that the warehouse is suspended.
ALTER WAREHOUSE my_warehouse SUSPEND;
Alter the Warehouse:Modify the warehouse to be Snowpark-optimized.
ALTER WAREHOUSE my_warehouse SET WAREHOUSE_TYPE = 'SNOWPARK-OPTIMIZED';
Resume the Warehouse:Resume the warehouse to make it operational.
ALTER WAREHOUSE my_warehouse RESUME;
When a schema is cloned, what will happen if the schema includes a table with a column that references a sequence that generates default values? (Select TWO).
If the table and sequence are in the same schema, the cloned table will reference the source sequence.
If the table and sequence are in the same schema, the cloned table will reference the cloned sequence.
If the table and sequence are in different schemas, the cloned table will reference the source sequence.
If the table and sequence are in different schemas, the cloned table will no longer have a default value for the column.
If the table and sequence are in the same schema, the cloned table will use the most-recently generated value from the source sequence.
Which privilege is needed for a SnowFlake user to see the definition of a secure view?
OWNERSHIP
MODIFY
CREATE
USAGE
To see the definition of a secure view in Snowflake, the minimum privilege required is OWNERSHIP of the view. Ownership grants the ability to view the definition as well as to modify or drop the view. Secure views are designed to protect sensitive data, and thusthe definition of these views is restricted to users with sufficient privileges to ensure data security.
Which object type is granted permissions for reading a table?
User
Role
Attribute
Schema
In Snowflake, permissions for accessing database objects, including tables, are not granted directly to users but rather to roles. A role encapsulates a collection of privileges on various Snowflake objects. Users are then granted roles, and through those roles, they inherit the permissions necessary to read a table or perform other actions. This approach adheres to the principle of least privilege, allowing for granular control over database access and simplifying the management of user permissions.
What is the MINIMUM Snowftake edition that supports database replication?
Standard
Enterprise
Business Critical
Virtual Private Snowflake (VPS)
The minimum Snowflake edition that supports database replication is the Enterprise edition. Database replication allows data to be replicated between different Snowflake accounts or regions, providing high availability and disaster recovery capabilities.
Snowflake Documentation: Database Replication
Which command will identify the names of files that are in a Snowflake stage?
DESCRIBE FILE FORMAT
SHOW FILE FORMAT
LIST
SELECT $1 FROM
How does Snowflake support the use of structured and semi-structured data? (Select TWO)
Structured data is supported through the use of traditional relational database tables, organized into rows and columns.
Structured and semi-structured data are stored in separate physical storage locations; users must choose which type of data to use when creating a table.
Semi-structured data is supported through the use of automatically indexed database tables.
All semi-structured data is automatically converted into structured data when it is loaded into Snowflake.
Users can load and query semi-structured data using SQL using the SQL semi-structured data handling functions.
Snowflake supports structured data in standard tables and semi-structured data in VARIANT, OBJECT, and ARRAY columns.
Users can load and query both using standard SQL functions, without schema constraints for semi-structured formats.
Which command will create an ARRAY output from inputs 'a' and 'b'?
ARRAY_CONSTRUCT('a', 'b');
TO_ARRAY('a', 'b');
AS_ARRAY('a', 'b');
LISTAGG('a', 'b');
What will happen to partitions if a table is cloned and the original table type is then changed from permanent to transient?
Old partitions will not be changed to transient, but any new partitions added to the clone will follow the transient lifecycle.
Old partitions will be changed to transient, and any new partitions added to the clone will follow the transient lifecycle.
Both old and new partitions will be changed to transient, but the original table will keep the original table type.
Both old and new partitions will be changed to transient, and the original table type will change to transient.
Which actions can be performed using a resource monitor in Snowflake? (Select TWO).
Monitor the performance of individual queries in real-time
Automatically allocate more storage space to a virtual warehouse
Modify the queries being executed within a virtual warehouse.
Suspend a virtual warehouse when its credit usage reaches a defined limit.
Trigger a notification to account administrators when credit usage reaches a specified threshold
Resource monitors in Snowflake can perform actions such as suspending a virtual warehouse when its credit usage reaches a defined limit and triggering a notification to account administrators when credit usage reaches a specified threshold. These actions help manage and control resource usage and costs within Snowflake.
Snowflake Documentation: Resource Monitors
What Snowflake features are recommended to restrict unauthorized users from accessing Personal Identifiable Information (PII)? (Select TWO).
Dynamic Data Masking
Transient tables
Secure views
Multi-Factor Authentication (MFA)
Data encryption
Which statement will execute a stored procedure?
CALL proc1(SELECT COUNT(*) FROM