Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to select the Snowflake edition that includes all features.
Snowflake
SELECT edition FROM snowflake_account WHERE edition = '[1]';
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing Standard or Enterprise which have fewer features.
Confusing Business Critical with the highest edition.
✗ Incorrect
The Virtual Private Snowflake edition includes all features and highest security.
2fill in blank
mediumComplete the code to find the pricing model based on compute usage.
Snowflake
SELECT pricing_model FROM snowflake_pricing WHERE model = '[1]';
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Selecting Subscription which is a fixed monthly fee.
Confusing Reserved with On-Demand pricing.
✗ Incorrect
The On-Demand pricing model charges based on actual compute usage.
3fill in blank
hardFix the error in the query to list editions that support HIPAA compliance.
Snowflake
SELECT edition FROM snowflake_account WHERE [1] = TRUE; Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect or incomplete column names.
Forgetting to check the exact column name in the schema.
✗ Incorrect
The correct column name for HIPAA compliance is hipaa_compliant.
4fill in blank
hardFill both blanks to calculate total cost based on credits used and price per credit.
Snowflake
SELECT [1] * [2] AS total_cost FROM usage_data;
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up the variable names for credits and price.
Using total_credits instead of credits_used.
✗ Incorrect
Multiplying credits_used by price_per_credit gives the total cost.
5fill in blank
hardFill all three blanks to filter editions by region and calculate monthly cost.
Snowflake
SELECT edition, region, [1] * [2] AS monthly_cost FROM pricing WHERE region = '[3]';
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect variable names for credits or price.
Choosing wrong region string.
✗ Incorrect
Multiply monthly_credits by credit_price to get monthly cost for the us_west region.