Snowflake MCQs
Snowflake MCQs
Snowflake MCQs
True
True or False: All virtual warehouses have access to all data?
True
True or False: Al interactions with data are initialized through the services layer?
True
True or False: Multi-Cluster Warehouses support high concurrency?
True
True or False: Warehouses can be dynamically expanded to adjust to workloads?
True
Which layer provides centralized services for the data warehouse?
Cloud Services
Which layer contains virtual warehouses for data access?
Query Processing
Which layer contains the data in compressed, columnar format?
Database Storage
True or False: Snowflake's security and authentication includes Multi-Factor
authentication?
True
True or False: Snowflake's security and authentication includes Snowflake Failures
alerts?
False
True or False: Snowflake's security and authentication includes data encryption
using Snowflake-managed keys?
False
True or False: Snowflake's security and authentication includes object-level access?
True
True or False: Snowflake's architecture includes advance capabilities in the cloud
services layer that delivers transaction management for consistent operations on the
same data at the same time?
True
True or False: Snowflake's architecture includes advance capabilities in the cloud
services layer that delivers metadata service?
True
True or False: Snowflake's architecture includes advance capabilities in the cloud
services layer that delivers security and authentication control?
True
True or False: Snowflake's architecture includes advance capabilities in the cloud
services layer that delivers query optimization?
True
True or False: Snowflake supports landing data into internal stage on the cloud
storage platform?
True
True or False: Snowflake supports landing data into external stage on the cloud
storage platform?
True
True or False: Snowflake supports landing data into bring your own device?
False
True or False: Compute resources used by Snowflake for data loading jobs can by
provide by user managed virtual warehouse?
True
True or False: Compute resources used by Snowflake for data loading jobs can by
provide by Snowflake managed service?
True
True or False: Compute resources used by Snowflake for data loading jobs can by
provide by hardware provisioned by user directly from cloud providers?
False
True or False: Stages are unique database objects in Snowflake?
True
True or False: Pipe are unique database objects in Snowflake?
True
True or False: Table are unique database objects in Snowflake?
False
Which approach would result in improved performance through linear scaling of data
ingestion workload:
A) Standard
B) Enterprise
C) Enterprise for Sensitive (ESD)
D) Virtual Private Snowflake (VPS)
C) Enterprise for Sensitive (ESD)
True or False: Caching techniques are supported by Snowflake's performance
optimizing query methods?
True
True or False: B-tree type indexes are supported by Snowflake's performance
optimizing query methods?
False
True or False: Retrieving results of previous query from cache is supported by
Snowflake's performance optimizing query methods?
True
True or False: Snowflake security supports user-based access control?
True
True or False: Federated authentication in Snowflake is complaint with SAML 2.0?
True
True or False: Tri-secret requires that customers manage their own keys?
True
All security information is stored in the ___________ layer in the Snowflake
architecture?
A) Storage
B) Compute
C) Service
D) All of the above
C) Service
True or False: One benefit of client-side encryption is that it provides a secure
system for managing data in cloud storage?
True
True or False: One benefit of client-side encryption is that the data is encrypted
before loading into storage layer?
False
True or False: One benefit of client-side encryption is the storage service layer only
contains encrypted version of the data?
True
True or False: One benefit of client-side encryption is that queries can be encrypted
on the client side?
False
True or False: MFA (Multi-factor Authentication) is automatically enabled for your
account and available for all users to self-enroll?
True
True or False: MFA (Multi-factor Authentication) is an integrated feature powered by
Duo Security service?
True
True or False: MFA (Multi-factor Authentication) can be used for connecting to
Snowflake via the Snowflake JDBC driver?
True
True or False: MFA (Multi-factor Authentication) login is desired only for connecting
to Snowflake through the web interface?
False
Snowflake includes Role-Based Access Control to enable administrators to:
A) Security
B) Compute
C) Memory
D) Storage
E) Query Optimization
F) Transaction Management
G) Cloud Services
H) Metadata Management
B, D, & G
Select all characteristics of Snowflake's Multi-Cluster environment:
A) Statically
B) Dynamically
C) Maximized
D) Auto-Scale
F) None of the above
C&D
To help control the usage of credits in Auto-scale mode, Snowflake provides a
property, _________________, that determines the scaling policy to use when
automatically starting or shutting down additional clusters. Select the property:
A) Auto_Scale
B) Scaling_policy
C) Maximum_number_of_server_clusters
D) Minimum_number of server clusters
E) None of the above
B) Scaling_Policy
Standard Scaling Policy
Definition:
Prevents/minimizes queuing by favoring starting additional clusters over conserving
credits.
Cluster Starts....
Immediately when either a query is queued or the system detects that there's one
more query than the currently-running clusters can execute.
Cluster Shuts down....
After 2 to 3 consecutive successful checks (performed at 1 minute intervals), which
determine whether the load on the least-loaded cluster could be redistributed to the
other clusters without spinning up the cluster again.
Economy Scaling Policy
Definition:
Conserves credits by favoring keeping running clusters fully-loaded rather than
starting additional clusters, which may result in queries being queued and taking
longer to complete. (default setting)
Cluster Starts....
Only if the system estimates there's enough query load to keep the cluster busy for
at least 6 minutes.
A) Object
B) Character
C) Varchar
D) Variant
E) None of the above
D) Variant
Not A) Object - key pair values like Hadoop
When sizing a Snowflake warehouse, which of the following factors should not be
considered:
A) Number of users
B) Number of concurrent queries
C) Number of tables being queried
D) Data size and composition
E) All of the above
A) Number of Users - if users are not querying the database, then they don't take
any resources
Snowflake utilizes per _______________ billing.
A) Millisecond
B) Second
C) Minute
D) Hour
E) None of the above
B) Second
True or False: Each server in a cluster has a position. Servers are always removed
from the warehouse in reverse order of when they were added (aka LIFO, "Last In,
First Out")
True
True or False: The size of the cache is determined by the number of servers in the
all of warehouses for an account
False - size of the cache is determined by the number of servers in a warehouse.
Snowflake has three types of caching to optimize performance. Select the three
types of caches from the list:
A) Server
B) Warehouse
C) Client
D) Results
E) Security
F) Metadata
G) Database
H) User
B, D, and F
This type of cache lives on the Compute instance?
A) Server
B) Results
C) Metadata
D) Warehouse
D) Warehouse cache
This type of cache lives on the Cloud Services layer?
A) Server
B) Results
C) Metadata
D) Warehouse
C) Metadata
True or False: Warehousing cache stores the results of the queries that have been
executed for 24 hours unless the underlying data changes, at which point the entry is
invalidated?
False - Results Cache
True or False: Metadata cache is used to optimize queries and improve query
compile time?
True
True or False: Warehouse cache may be reset or invalidated if the Virtual
Warehouse is suspended and resumed?
True
True or False: Semi-structured data can be queried using SQL while incorporating
JSON path notation?
True
True or False: In general, you should try to match the size of the warehouse to the
expected size and complexity of the queries to be processed by the warehouse?
True
SQL functionality can be extended via (select all of the appropriate answers):
A) Zero
B) One
C) Three
D) As many as the user specifies in the configuration
C) Three - Snowflake automatically does this for each account. It is built-in and fully
managed by Snowflake
True or False: Snowflake only replicates Storage layer to the other availability zones
within a region?
False - Storage and Cloud Services layers are replicated
True or False: Multi-region accounts are supported by Snowflake?
False - Each Snowflake accounts is located in a single region
Snowflake is currently available on the following Cloud Providers:
A) AWS
B) Google
C) Microsoft's Azure
G) All of the above
A & C - Google is not support, but is coming in the future
True or False: Snowflake automatically partitions the data so that the user does not
need to define partition scheme?
True
Which of the following is not a characteristic of "automatic micro-partitions" in
Snowflake?
A) Time Travel
B) Time Machine
C) Time Warp
D) Snapshot Cloning
E) Zero-Copy Cloning
F) Replication
A&E
Select the best description of Zero-Copy Cloning:
A) Metadata-only operation
B) No replication of data
C) Unmodified data stored once; modified data stored as new blocks
D) All of the above
D) All of the above
Which is not a characteristic of Time Travel?
A) One minute
B) Two minutes
C) Five minutes
D) Accounts are always billed by the second
E) None of the above
A) One minute
After the one minute - accounts are billed by the second
True or False: Virtual Warehouse in Snowflake is where the data is stored?
False - Virtual Warehouses is the Compute operation
Snowflake supports data in VARIANTs up to a maximum size of:
A) 4 MB uncompressed
B) 8 MB uncompressed
C) 16 MB compressed
D) 32 MB compressed
E) None of the above
C) 16 MB compressed
Non-native values such as dates and timestamps are stored as strings when loaded
into a VARIANT column so which statements are true:
A) Query
B) Databases
C) Warehouse
D) History
A) Query
Worksheet is the name of the query section
True or False: The PUT and GET commands can be executed via the Snowflake UI?
False - These commands can only be executed using SNOWSQL client. They are
not supported by ODBC driver.
The commands for loading data into Snowflake are:
A) Virtual Warehouse
B) Predefined target table
C) Staging location with data staged
D) File Format
A, B, C, and D
True or False: Snowpipe is a continuous data ingestion service that detects and
loads streaming data?
True
Which of the following is not a feature of Snowpipe:
A) The service can load data from any internal or external stage
B) Snowpipe has a server-less compute model
C) The service provides REST endpoints and uses Snowflake provided compute
resources to load the data and retrieve history reports
D) Snowpipe loads data after it is stage and the user executes the LOADDATA
command
D) Snowpipe loads data after it is stage and the user executes the LOADDATA
command
No LOADDATA command - and the data is automatically loaded within minutes after
the files are added to the stage
Name all of the file/data types that Snowflake support for data loading?
Text Delimited (CSV, TAB, etc.)
JSON
XML
Avro,
Parquet
ORC
Which layer does Snowflake store the various statistics for databases, tables,
columns, and files?
A) Storage
B) Compute
C) Cloud Services
D) Snowflake does not store statistics
C) Cloud Services - the metadata is stored in this layer
True or False: Can a query run against Result Cache with no Virtual Warehouse
running and retrieve results (assuming the query is cached)?
True
______________ is used to analyze the execution details of a query?
A) Statistics
B) Metadata
C) Query Plan
D) Query Profile
D) Query Profile
True or False: A query plan can only be used for completed queries?
False - it can be used for both in-progress and completed queries
Which feature does not come with the Query Profile?
A) Graphical representation of the main components of the processing plan for the
query
B) Details and statistics for the overall query
C) Hints for improving the query performance
D) Statistics for each component of the query
C) Hints for improving the query performance
Which proven data modeling techniques does Snowflake support (check all that
apply)?
A) Splitting large files into a greater number of smaller files distributes the load
among the servers in an active warehouse, thereby increasing performance.
B) Split files by line to avoid records that span chunks
C) Setting all of the load files to the optimal size of 10 to 100 MB in compressed size
D) The number of data files that are processed in parallel is determined by the
number and capacity of servers in a warehouse
E) All of the above
E) All of the above
True or False: users control the file split and size of data being load and the how the
data is divided into micro-partitions?
False - Snowflake determines how the data is divided into micro-partitions. Users
cannot create or configure these partitions.
True or False: Micro-partitions are immutable?
True - subsequent changes of any type to the data will be written to additional micro-
partitions
A Snowflake mechanism that is used to limit the number of micro-partitions scanned
by a query is called ________?
A) Governor
B) Regulator
C) Pruning
D) None of the above
C) Pruning
Database designer should consider using Clustering Keys when (check all that
apply):