Bird
Raised Fist0
Snowflakecloud~10 mins

What is Snowflake - Interactive Quiz & Practice

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a Snowflake database named 'sales_db'.

Snowflake
CREATE DATABASE [1];
Drag options to blanks, or click blank then click option'
Asales_db
Bmy_table
Cwarehouse1
Duser_account
Attempts:
3 left
💡 Hint
Common Mistakes
Using a table name instead of a database name.
Using a warehouse or user name instead of a database name.
2fill in blank
medium

Complete the code to create a Snowflake warehouse named 'compute_wh'.

Snowflake
CREATE WAREHOUSE [1] WITH WAREHOUSE_SIZE = 'SMALL';
Drag options to blanks, or click blank then click option'
Acompute_wh
Bsales_db
Cuser_role
Ddata_schema
Attempts:
3 left
💡 Hint
Common Mistakes
Using a database name instead of a warehouse name.
Using a role or schema name instead of a warehouse name.
3fill in blank
hard

Fix the error in the code to select all data from the table 'customers' in the 'sales_db' database.

Snowflake
SELECT * FROM [1].customers;
Drag options to blanks, or click blank then click option'
Acompute_wh
Buser_role
Csales_db
Dwarehouse1
Attempts:
3 left
💡 Hint
Common Mistakes
Using warehouse or role names instead of the database name.
Omitting the database name when required.
4fill in blank
hard

Fill both blanks to grant the role 'analyst' the ability to read data from the 'sales_db' database.

Snowflake
GRANT [1] ON DATABASE sales_db TO ROLE [2];
Drag options to blanks, or click blank then click option'
AUSAGE
BSELECT
Canalyst
DCREATE
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'SELECT' privilege instead of 'USAGE' for database access.
Confusing role names with privilege types.
5fill in blank
hard

Fill all three blanks to create a table named 'orders' with columns 'id' (integer) and 'amount' (float) in the 'sales_db' database and 'public' schema.

Snowflake
CREATE TABLE [1].[2].orders (id [3], amount FLOAT);
Drag options to blanks, or click blank then click option'
Asales_db
Bpublic
CINT
Dwarehouse1
Attempts:
3 left
💡 Hint
Common Mistakes
Using warehouse name instead of database or schema.
Using wrong data type for 'id' column.

Practice

(1/5)
1. What is Snowflake primarily used for?
easy
A. Managing network security
B. Creating mobile applications
C. Storing and analyzing data in the cloud
D. Designing websites

Solution

  1. Step 1: Understand Snowflake's main purpose

    Snowflake is a cloud service designed to store and analyze data easily.
  2. Step 2: Compare options with Snowflake's use

    Options B, C, and D relate to other fields like app development, security, and web design, not Snowflake.
  3. Final Answer:

    Storing and analyzing data in the cloud -> Option C
  4. Quick Check:

    Snowflake = Data storage and analysis [OK]
Hint: Snowflake = cloud data storage and analysis [OK]
Common Mistakes:
  • Confusing Snowflake with app or web development tools
  • Thinking Snowflake manages network security
  • Assuming Snowflake is for designing websites
2. Which of the following is the correct way to describe Snowflake's architecture?
easy
A. Snowflake uses databases to hold data and warehouses to run queries
B. Snowflake uses virtual machines to host websites
C. Snowflake is a peer-to-peer file sharing system
D. Snowflake is a blockchain platform

Solution

  1. Step 1: Identify Snowflake's architecture components

    Snowflake separates storage (databases) and compute (warehouses) for queries.
  2. Step 2: Eliminate unrelated options

    Options B, C, and D describe unrelated technologies like web hosting, file sharing, and blockchain.
  3. Final Answer:

    Snowflake uses databases to hold data and warehouses to run queries -> Option A
  4. Quick Check:

    Architecture = Databases + Warehouses [OK]
Hint: Snowflake splits storage and compute: databases and warehouses [OK]
Common Mistakes:
  • Mixing Snowflake with web hosting or blockchain
  • Confusing compute with storage roles
  • Thinking Snowflake is a file sharing system
3. Consider this Snowflake feature: You can increase or decrease resources anytime and pay only for what you use. What is this feature called?
medium
A. Fixed provisioning
B. Static allocation
C. Manual backup
D. Auto-scaling

Solution

  1. Step 1: Understand resource scaling in Snowflake

    Snowflake allows dynamic adjustment of compute resources based on demand.
  2. Step 2: Match feature to correct term

    Auto-scaling means resources adjust automatically; fixed provisioning and static allocation do not allow this flexibility.
  3. Final Answer:

    Auto-scaling -> Option D
  4. Quick Check:

    Dynamic resource adjustment = Auto-scaling [OK]
Hint: Dynamic resource changes = Auto-scaling [OK]
Common Mistakes:
  • Confusing auto-scaling with manual backup
  • Thinking fixed provisioning allows dynamic scaling
  • Mixing static allocation with pay-as-you-go
4. You wrote a query in Snowflake but it runs very slowly. Which of these is a likely cause?
medium
A. The warehouse size is too small for the query workload
B. Snowflake does not support SQL queries
C. Data is stored on your local computer
D. Snowflake requires manual server restarts before queries

Solution

  1. Step 1: Analyze query performance factors

    Warehouse size controls compute power; too small means slower queries.
  2. Step 2: Check incorrect statements

    Snowflake supports SQL, stores data in cloud, and does not need manual restarts.
  3. Final Answer:

    The warehouse size is too small for the query workload -> Option A
  4. Quick Check:

    Small warehouse = slow queries [OK]
Hint: Small warehouse slows queries; increase size [OK]
Common Mistakes:
  • Believing Snowflake lacks SQL support
  • Thinking data is stored locally
  • Assuming manual restarts are needed
5. You want to analyze a large dataset quickly but only pay for the time you use. How should you configure Snowflake to achieve this?
hard
A. Store data locally and run queries on your computer
B. Use a large warehouse and pause it when not running queries
C. Use a small warehouse and keep it running 24/7
D. Manually copy data to multiple warehouses

Solution

  1. Step 1: Choose warehouse size for fast analysis

    A large warehouse provides more compute power for quick queries.
  2. Step 2: Manage cost by pausing warehouse

    Pausing warehouse when idle stops billing, so you pay only for usage time.
  3. Final Answer:

    Use a large warehouse and pause it when not running queries -> Option B
  4. Quick Check:

    Large + pause = fast and cost-efficient [OK]
Hint: Big warehouse + pause = speed and pay only when used [OK]
Common Mistakes:
  • Keeping small warehouse always running wastes time
  • Storing data locally defeats cloud benefits
  • Copying data manually is inefficient and costly