Docsity

Snowflake SnowPro Certification Study Guide question &, Exams of Nursing

Toggle sidebar
bg1
Snowflake SnowPro Certification Study
Guide question & answers 2023 rated A+
What are the 3 Cloud Providers available for Snowflake - correct answer 1) AWS - a provider since
inception
2) Azure Cloud Platforms - generally available as of Sept. 2018
3) Google Cloud Platform - trialed late 2019
Snowflake is currently the only DW built for the cloud (T/F) - correct answer True
How does Snowflake describe their architecture?
A) Multi-Cluster, Shared Data
B) Single-Cluster, Shared Data - correct answer A) Multi-Cluster, Shared Data
What are the 3 components of Snowflake's architecture (both the name and descriptor) - correct answer
1) Storage - Databases
2) Compute - Virtual Warehouses
3) Cloud Services - Front End
What are the Cloud Object Storage options? - correct answer 1) AWS S3
2) Azure Blobs
3) GCP
How are storage costs calculated? - correct answer A daily average of all compressed data storage,
including data stored according to Time Travel retention policy and failsafe procedures
Which Microsoft and Amazon systems does Compute leverage? - correct answer 1) AWS EC2
2) Azure Compute
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12

Partial preview of the text

Download Snowflake SnowPro Certification Study Guide question & and more Exams Nursing in PDF only on Docsity!

Snowflake SnowPro Certification Study

Guide question & answers 2023 rated A+

What are the 3 Cloud Providers available for Snowflake - correct answer 1) AWS - a provider since inception

  1. Azure Cloud Platforms - generally available as of Sept. 2018
  2. Google Cloud Platform - trialed late 2019 Snowflake is currently the only DW built for the cloud (T/F) - correct answer True How does Snowflake describe their architecture? A) Multi-Cluster, Shared Data B) Single-Cluster, Shared Data - correct answer A) Multi-Cluster, Shared Data What are the 3 components of Snowflake's architecture (both the name and descriptor) - correct answer
  3. Storage - Databases
  4. Compute - Virtual Warehouses
  5. Cloud Services - Front End What are the Cloud Object Storage options? - correct answer 1) AWS S
  6. Azure Blobs
  7. GCP How are storage costs calculated? - correct answer A daily average of all compressed data storage, including data stored according to Time Travel retention policy and failsafe procedures Which Microsoft and Amazon systems does Compute leverage? - correct answer 1) AWS EC
  8. Azure Compute

Compute can't scale out as queries are running (T/F) - correct answer False Which services does Cloud Services provide? - correct answer 1) Security Management

  1. Infrastructure Management
  2. Metadata Management
  3. Query Optimization Are Snowflake's Storage (DB) and Compute (WH) layers A) Separate and Independent B) Together and Dependent - correct answer A) Separate and Independent In addition to multiple Virtual Warehouses, Multi-Cluster means individual Virtual Warehouses can... - correct answer Scale up or down automatically Multi-Cluster turn off clusters when activity slows down (T/F) - correct answer True Snowflake uses ANSI-SQL (T/F) - correct answer True What is Snowflake's semi-structured data type called? - correct answer VARIANT What are the three types of caching in Snowflake? - correct answer 1) Warehouse
  4. Metadata
  5. Results All cache data are cleared if the underlying data changes (T/F) - correct answer True What does Warehouse Caching do? When is the data invalidated? Where does it live? - correct answer Stores data that's been loaded into Virtual Warehouses during querying. The data is invalidated if it's suspended. Lives in Compute.

A user can't be assigned multiple roles (T/F) - correct answer False - A user can be assigned multiple roles If a user creates an object, what permissions do others have? - correct answer All users with the role that created the object will have access to it, as well as the users and roles that the role that created the object role up to. Which encryption method is used? - correct answer AES 256 Strong Encryption What are the three "higher editions" (stronger security) of Snowflake? - correct answer 1) Enterprise

  1. Enterprise for Sensitive Data
  2. Virtual Private Snowflake What security protections does Snowflake provide - correct answer - Single Sign On through federated authentication
  • Periodic Rekeying of encrypted data
  • HIPPA Compliance
  • PCI DSS Compliance What cost does the Provider incur in the Data Sharing process? - correct answer Data Storage costs, there's no upcharge for shared data What cost does the Consumer incur in the Data Sharing process? - correct answer Compute costs Data Sharing Consumers must use the ACCOUNTADMIN role to create a database based on the share (T/F) - correct answer True Data Sharing Consumers can consume data residing from any region (T/F) - correct answer False - Consumer accounts must reside in the same Cloud Provider Region as the Provider account

Providers can only share data with users who have accounts (T/F) - correct answer False - Providers can set up reader accounts for users who aren't snowflake customers What are schemas? Is there a limit to the objects contained in a schema? - correct answer Logical groupings of database objects, such as tables and views by concept or purpose. There's no limit to objects contained in a schema. You can have multiple databases in one schema (T/F) - correct answer False - Schemas exist within databases. You can have multiple schemas within one database though. What are sequences? - correct answer Sequences are used to generate unique numbers across sessions and statements, including concurrent statements Virtual Warehouses have to be manually turned off (T/F) - correct answer False - Auto-suspending can turn them off Auto-Suspension limits has to be determined when the Virtual Warehouse is configured (T/F) - correct answer False - it can be changed after initial configuration How is compute billing charged (units of time) - correct answer Compute is charged for a base 1 minute of start up and then each second following that What is the max size of VARIANT data in a column? - correct answer 16 MB compressed What is the difference in query impact between regular JSON types (strings and numbers) and non- native JSON types (timestamps) - correct answer Regular JSON types are easier and quicker to query than Non-Native types What are the 4 mains sections of the Snowflake UI - correct answer 1) Databases - Storage

  1. Warehouses - Compute
  2. Worksheets
  3. History

Which file formats does Snowflake data loading support? - correct answer 1) Text delimited

  1. JSON
  2. XML
  3. Avro
  4. Parquet
  5. ORC Data doesn't have to be staged prior to being loaded (T/F) - correct answer False - Data must be staged prior to loading Once data is loaded, it's compressed and converted automatically (T/F) - correct answer True Where does Snowflake store the various information/statistics regarding database, tables, columns, and files? - correct answer Metadata Manager in the Cloud Services Layer Can a cached query be run without a Virtual Warehouse running? - correct answer Yes - No compute is used in a query that's cached in the results cache What is the Query Profile used for? - correct answer Analyze the execution details of a query What are the most common kinds of technology partner? - correct answer Data Integration and Business Intelligence technology partners What advantages does Snowflake have over On-Premise EDWs? - correct answer 1) Instant Scalability
  6. Separation of compute and storage
  7. No need for data distribution What advantages does Snowflake have over other Cloud EDWs? - correct answer 1) Concurrency
  8. Automatic failover and disaster recovery
  9. Built for the cloud

What advantages does Snowflake have over Hadoop? - correct answer 1) No hardware to manage

  1. Automatic failover and disaster recovery
  2. Native SQL (include on semi-structured) What advantages does Snowflake have over Data Engines - correct answer 1) No need to manage data files
  3. Automated cluster management
  4. Native SQL What advantages does Snowflake have over Apache Spark? - correct answer 1) No need to manage data files
  5. Automated cluster management
  6. Full SQL Support What are the best practices for data modeling in Snowflake? - correct answer 1) 3NF
  7. Data Vault
  8. Star Schema / Snowflake Schema What is the only constraint that Snowflake enforces? - correct answer NOT NULL Which main constraints aren't enforced by Snowflake? - correct answer 1) Referential Integrity
  9. Uniqueness
  10. Primary Keys Should semi-structured data be parsed in a Table or a View? - correct answer View - This allows semi- structured data to remain in it's complete form in Snowflake while appearing to be in structured form when accessed

What can Resource Monitors do? - correct answer They can impose limits on the number of credits Warehouses consume in order to help control costs and avoid unexpected credit usage Resource Monitors can only send notifications. They can't suspend actions. (T/F) - correct answer False - They can send notifications and suspend Resource Monitors can only be created by ACCOUNTADMINs (T/F) - correct answer True Resource Monitors can only be viewed and modified by ACCOUNTADMINs (T/F) - correct answer False - Enabled users with other roles can view and modify Resource Monitors Which role has the highest permissions? - correct answer ACCOUNTADMIN What's the minimum recommended number of ACCOUNTADMINs? - correct answer 2 Which account level is recommended to own a majority of the objects? - correct answer SYSADMIN Snowflake can run within a customer's VPC (T/F) - correct answer False - Snowflake can't run in a VPC Which transformations are available during COPY or INSERT functions - correct answer 1) Column Reodering

  1. Column Omission
  2. Casts
  3. Truncating text strings that exceed the target length How is Snowflake's internal staging charged? - correct answer It incurs standard storage costs, but isn't subject to additional costs with Time Travel or Fail-Safe What extra transformation is available during a Snowpipe load? - correct answer Using snowpipes to load micro-batches into staging tables can allow for more transformations

What is a file format? - correct answer A standard set of procedures used to ingest files What options are available when creating a file format? - correct answer 1) Schema Name (the schema it belongs to)

  1. File Format Type
  2. Compression Method
  3. Column Separator (Delimiter) What's the default encoding for delimited files (CSV, TSV, etc...)? - correct answer UTF- What's the only supported character set for file formats such as JSON, Avro, and others? - correct answer UTF- What file compression methods can be automatically detected? - correct answer 1) GZIP
  4. BZIP
  5. Deflate
  6. Raw_Deflate What file compression methods can Snowflake not automatically detect? - correct answer 1) Brotli
  7. Zstandard When creating a Warehouse, what's the difference between size and clusters? - correct answer The size details the number of servers in each cluster The clusters is the max/min numbers the warehouse can scale up/down to What's the shortest amount of time that can pass before a Warehouse can auto-suspend? - correct answer 5 minutes What is the url naming convention for AWS? - correct answer https://account_name.region.snowflakecomputing.com
  1. They can't be altered or dropped
  2. You can't set a file format. It needs to be specified in the COPY command to table What things are important to know about Table Stages? - correct answer 1) They can be accessed by multiple users
  3. Can't be altered or dropped
  4. Can't set file format, need to specify in COPY command to table
  5. No transformation while loading What things are important to know about Internal Named Stages? - correct answer 1) They're database objects
  6. They can load data into any tables (needs user with privilege to do so)
  7. Ownership of stage can be transferred Snowpipes generally load newest files first (T/F) - correct answer False - Generally loads oldest first When unloading data, which formats are allowed for export? - correct answer 1) Delimited files
  8. JSON
  9. Parquet When unloading data, which compression methods are allowed? - correct answer 1) Gzip
  10. Bzip
  11. Brotoli
  12. Zstandard What's the max file size default when unloading data? - correct answer 16 MB What's the max # of server clusters in a virtual warehouse? - correct answer 10

What are the 4 types of tables? - correct answer 1) Temporary Tables

  1. Transient Tables
  2. Permanent Tables
  3. External Tables When is the data from a Temporary Table purged? - correct answer After the session ends Temporary Tables aren't visible to other users (T/F) - correct answer True Temporary Tables can't have the same names as other non-temp tables within a DB/Schema (T/F) - correct answer False - They can have the same name When is the data in a Transient Table purged? - correct answer It stays until it's dropped What's the difference between a Transient Table and a Permanent Table? - correct answer Transient Tables have no Fail-Safe mode What's the difference between Non-Materialized and Materialized views? - correct answer Results are stored in materialized views. This leads to faster performance and contributes towards storage costs. Which command displays all the files in a stage? - correct answer List What does the FORCE command do when using the COPY INTO statement? - correct answer It forces all files in a stage to load into snowflake, regardless of whether or not they've been loaded before. This can result in duplicate data What's the command to allow a share to have access to databases and views? - correct answer GRANT USAGE What's the command to allow a share to have access to additional databases that contain objects referenced by the view you wish to share using GRANT ? - correct answer GRANT REFERENCE_USAGE

Can ACCOUNTADMINS view results of other users queries? - correct answer No, they can only see the queries they ran When creating a stage, the URL doesn't need the "https://" in front of the name (T/F) - correct answer True Which objects can you clone? - correct answer 1) Database Objects

  1. Individual external named stages
  2. Snowpipes
  3. Sequences
  4. Streams
  5. Tasks Can you specify time travel requirements when cloning? - correct answer Yes, this is done by suing the AT and BEFORE commands Can Transient tables be cloned? - correct answer Yes Reclustering has to be done manually in Snowflake (T/F) - correct answer False - Reclustering is automatic, no maintenance is needed Which user types can see the account button? - correct answer 1) ACCOUNTADMIN
  6. SECURITYADMIN Data replication only needs to happen once per cloud/region (T/F) - correct answer True - Once it's been replicated to that cloud/region, it can be shared as many times as needed What is a maximized Virtual Warheouse? What is an auto-scale Virtual Warehouse? - correct answer Maximized is where the max and min amount of clusters is the same value. This ensures control over the used resources. Auto-scale is where the max and min amount of clusters is different.

Clustering Keys improve performance on all queries that filter or sort on that column (T/F) - correct answer True - This includes some joins A share can only contain one database (T/F) - correct answer False - A share can contain several databases, as long as they are in the same Snowflake account Can Snowpipes be configured to not automatically ingest data? - correct answer Yes, the auto_ingest parameter must be set to TRUE for data to automatically ingest What are Snowpipes referred to as in queries? - correct answer Pipes In which order do different Snowflake accounts get new releases/updates? - correct answer 1) Designated accounts opting for early access

  1. Standard & Premier Access
  2. Enterprise & Upward Which languages can UDFs be written in? - correct answer 1) Javascript
  3. SQL How long can Results Caches last? How does it persist for this long? - correct answer 31 days - this happens when the results cache is used in a query before it's purged, which restarts the 24 hr time Modifications to cloned databases/schemas/tables result in storage costs (T/F) - correct answer True - Any added, deleted, or updated rows in a cloned table add to storage costs Does changing the clustering key on a table incur cost? - correct answer Yes Snowflake doesn't know to skip headers when ingesting files (T/F) - correct answer True - This has to be specified in the file format Can you cluster on the combination of multiple columns? - correct answer Yes - CLUSTER BY (column1, column2)