Snowflake Virtual Warehouses ||Snowflake virtual warehouses || Snowflake storage and Protection Flashcards
how to choose the right size of the warehouse to achieve the best results based on the Query processing?
a) Execute a variety of queries in same warehouse to achieve the best result
b) execute relatively homogenous queries on the same warehouse
b) execute relatively homogenous queries on the same warehouse
increasing the size of a warehouse always improves data loading performance
TRUE or FALSE
FALSE
what is the maximum time-travel retention period standard edition?
a) 0 days
b) 90 days
c) 1 days
d) 7 days
c) 1 days
John has table T1 with the Time-Travel retention period set to 20 days. He increased the retention period from 10 days to make it 30 days. What impacts will happen on Table data? please select 2
a) no impact on any data that is 20 days older and has already moved into fail-safe
b) data that have moved to fail-safe after 20 days will now be available in time travel for additional 10 days
c) data that would have been removed after 20 days is now retained for an additional 10 days before moving into fail-safe
d) changes will ONLY effective for new data coming to time-travel
e) no impact on existing data which moved from table to time-travel before the increases of time-travel retention period
a) no impact on any data that is 20 days older and has already moved into fail-safe
c) data that would have been removed after 20 days is now retained for an additional 10 days before moving into fail-safe
john wants to create a warehouse which can auto spend in 10 minutes. how should he configure the warehouse?
AUTO_SUSPEND = 600
what is the best use of a multi-cluster warehouse?
a) best utilized for scaling resources to improve the performance of slow-running queries
b) best utilized for scaling resources to improve concurrency for users/queries
b) best utilized for scaling resources to improve concurrency for users/queries
which SQL command will give the list of all warehouses in an account?
a) DISPLAY WAREHOUSE;
b) LIST WAREHOUSES;
c) SHOW WAREHOUSE;
d) SHOW WAREHOUSES;
e) LIST WAREHOUSE;
d) SHOW WAREHOUSES;
which SQL statement will suspend a running warehouse MY_WAREHOUSE?
a) ALTER WAREHOUSE MY_WAREHOUSE SUSPEND;
b) DROP WAREHOUSE MY_WAREHOUSE;
c) SUSPEND WAREHOUSE MY_WAREHOUSE:
d) ALTER WAREHOUSE MY_WAREHOUSE SET AUTO_SUSPEND =’TRUE’;
a) ALTER WAREHOUSE MY_WAREHOUSE SUSPEND;
Monica mistakenly dropped a table T1 last week. The database has Time-travel retention period set to 90 days. How can Monica recover the table which she dropped last week?
a) Monica should contact Salesforce support to get it done
b) Monica can execute UNDROP TABLE T1 command after setting up the right context for Database and schema
c) Monica can use the UI> ACCOUNT menu to recover the table T1
d) Monica can not recover it from TIME-TRAVEL as the table T1 moved to fail-safe
b) Monica can execute UNDROP TABLE T1 command after setting up the right context for Database and schema
Which all actions can you perform in a defined period of time using Time Travel?
a) Restore tables, schemas but not databases that have been dropped
b) Query data in the past
c) restores tables, schemas and databases that have been dropped
d) create clones of tables, schema and databases
b) Query data in the past
c) restores tables, schemas and databases that have been dropped
d) create clones of tables, schema and databases
you want a list of all warehouses with name starting from DEMO. select the correct SQL statement.
a) SHOW WAREHOUSES LIKE ‘%DEMO’;
b) SHOW WAREHOUSES LIKE ‘DEMO%’;
c) LSIT WAREHOUSES LIKE ‘%DEMO’;
d) SHOW WAREHOUSE LIKE ‘%DEMO’;
b) SHOW WAREHOUSES LIKE ‘DEMO%’;
compute can be scaled up, down, out or in and there is no effect on storage used
TRUE or FALSE
TRUE
decreasing the size of a running warehouse removes servers from the warehouse. when the servers are removed, the cache associated with the servers is dropped
TRUE or FALSE
TRUE
who owns and manages the cloud storage layer hosted on cloud providers?
a) snowflake
b) customer
c) cloud provider
a) snowflake
how does snowflake provide continuous availability?
a) snowflake synchronizes data across availability zones
b) time travel storage
c) fail safe storage
d) customer has to back up the data locally out of the cloud
a) snowflake synchronizes data across availability zones
b) time travel storage
c) fail safe storage
John wants to create a warehouse which can AUTO_SUSPEND in 3 minutes. there is no option in UI where he can select 3 minutes. What will you suggest him to do?
a) he should contact snowflake support to get it created
b) he can create the warehouse using SQL command with AUTO_SUSPEND =180
c) he should select size as X-SMALL and then he will be able to set AUTO_SUSPEND to 3 minutes
d) it is not possible to create a warehouse with AUTO_SUSPEND less than 5 mintues
b) he can create the warehouse using SQL command with AUTO_SUSPEND =180
how much is the Time-Travel retention period of a temporary table?
a) 1 day
b) 7 days
c) 90 days
d) 0 days
a) 1 day
scaling a warehouse OUT will increase the number of clusters
TRUE or FALSE
TRUE
the compute resource used by snowflake for data loading jibs can be provided by:
a) snowflake managed services
b) user-managed virtual warehouse
c) hardware provisioned by user directly from cloud providers
a) snowflake managed services
b) user-managed virtual warehouse
you have a large sized warehouse ‘MY_WAREHOUSE’. you want to change the size to SMALL. which statement will help you to change the size of warehouse?
a) ALTER WAREHOUSE MY_WAREHOUSE SET SIZE = “SMALL”;
b) ALTER WAREHOUSE MY_WAREHOUSE SET WAREHOUSE_SIZE = “SMALL”;
c) UPDATE MY_WAREHOUSE SET SIZE = “SMALL”;
d) ALTER MY_WAREHOUSE SET SIXE = “SMALL”;
b) ALTER WAREHOUSE MY_WAREHOUSE SET WAREHOUSE_SIZE = “SMALL”;
the column in the query history include the QueryID, the SQL Text, the warehouse name, the Warehouse size, the session ID and other. which column is a good indicator of whether a warehouse was used (and compute cost incurred) by a query?
a) query ID
b) warehouse name
c) session ID
d) size
d) size
generally, what is the size of a micro-partition in compresses format?
a) 500 MB
b) 16 MB
c) 16 GB
d) 50 MB
b) 16 MB
what types of infrastruture security are avilable to ensure customer data is secured?
a) cloud provider’s redundancy
b) cloud provider’s physical security
c) customer admin takes the backup of the data into local data disk
d) regional data centers
a) cloud provider’s redundancy
b) cloud provider’s physical security
d) regional data centers
Which if the correct syntax to disable fail safe on a table?
a) by default, fail safe is disabled on a table
b) ALTER TABLE DROP FAIL SAFE;
c) ALTER TABLE SET ENABLE_FAILSAFE = FALSE;
d) ALTER TABLE SET FAILSAFE_DAYS = 0;
e) FAILSAFE can not be disabled on a tables;
e) FAILSAFE can not be disabled on a tables;