Recall & Review
beginner
What are the main factors that affect the cost of Google Cloud Functions?
The main factors are the number of function invocations, the compute time (how long your function runs), and the amount of memory allocated to the function.
Click to reveal answer
beginner
How does Google Cloud Functions charge for compute time?
Compute time is charged based on the time your function runs, measured in 100-millisecond increments, multiplied by the memory size allocated to the function.
Click to reveal answer
beginner
What is a free tier in Cloud Functions pricing?
The free tier offers a monthly allowance of free invocations, compute time, and networking, so you can run small workloads without cost.
Click to reveal answer
intermediate
Why is memory allocation important in Cloud Functions pricing?
Because cost depends on memory size and execution time, choosing the right memory size helps balance performance and cost.
Click to reveal answer
intermediate
How does network egress affect Cloud Functions pricing?
Network egress (data sent out from the function) is charged separately based on the volume of data leaving Google Cloud, which can add to the total cost.
Click to reveal answer
Which of the following does NOT directly affect Cloud Functions pricing?
✗ Incorrect
Pricing depends on invocations, execution time, and memory, not on the number of users accessing a website.
How is compute time measured for billing in Cloud Functions?
✗ Incorrect
Compute time is billed in 100-millisecond increments.
What does the free tier for Cloud Functions include?
✗ Incorrect
The free tier includes a monthly limit of free invocations, compute time, and networking.
Why should you choose the right memory size for your Cloud Function?
✗ Incorrect
Memory size affects both performance and cost, so choosing the right size is important.
What is network egress in Cloud Functions pricing?
✗ Incorrect
Network egress is the data sent out from the function and is charged separately.
Explain how Google Cloud Functions pricing works including the main cost factors and the role of the free tier.
Think about what you pay for when your function runs and how Google offers some free usage.
You got /5 concepts.
Describe why memory size and execution time are important when estimating Cloud Functions cost.
Consider how longer running or bigger memory functions cost more.
You got /4 concepts.