0
0
GCPcloud~10 mins

GCP free tier and credits - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to specify the GCP free tier monthly usage limit for Cloud Functions invocations.

GCP
free_tier_limit = [1]  # Number of free invocations per month
Drag options to blanks, or click blank then click option'
A1000000
B500000
C2000000
D3000000
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing a number too high or too low compared to the actual free tier limit.
2fill in blank
medium

Complete the code to set the GCP free tier monthly storage limit for Cloud Storage in GB.

GCP
free_storage_gb = [1]  # Free storage in GB per month
Drag options to blanks, or click blank then click option'
A5
B20
C15
D10
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing the storage limit with other service limits.
3fill in blank
hard

Fix the error in the code to correctly apply the GCP free tier credit amount for new users.

GCP
free_tier_credit = [1]  # Amount of free credit for new GCP users
Drag options to blanks, or click blank then click option'
A300
B200
C100
D400
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect credit amounts like $100 or $200.
4fill in blank
hard

Fill both blanks to define the free tier limits for BigQuery storage and queries per month.

GCP
bigquery_free_tier = {'storage_gb': [1], 'queries_tb': [2]
Drag options to blanks, or click blank then click option'
A10
B1
D5
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up storage and query limits or units.
5fill in blank
hard

Fill all three blanks to configure the free tier limits for Compute Engine: vCPU hours, RAM GB hours, and persistent disk GB.

GCP
compute_engine_free_tier = {'vCPU_hours': [1], 'ram_gb_hours': [2], 'disk_gb': [3]
Drag options to blanks, or click blank then click option'
A720
B30
D5
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping the values for disk and vCPU hours.