Bird
0
0

A Cloud Function is billed incorrectly because the developer forgot to multiply by memory in GB. Which part of the billing calculation is affected?

medium📝 Debug Q7 of 15
GCP - Cloud Functions
A Cloud Function is billed incorrectly because the developer forgot to multiply by memory in GB. Which part of the billing calculation is affected?
AInvocation count will be incorrect
BCPU GHz-seconds will be doubled
CExecution time will be overestimated
DGB-seconds calculation will be too low
Step-by-Step Solution
Solution:
  1. Step 1: Identify missing factor

    Memory in GB is needed to calculate GB-seconds. Missing it lowers the total.
  2. Step 2: Understand impact

    Invocation count and execution time remain correct; only GB-seconds are underestimated.
  3. Final Answer:

    GB-seconds calculation will be too low -> Option D
  4. Quick Check:

    Missing memory x time lowers GB-seconds [OK]
Quick Trick: Memory missing means GB-seconds too low [OK]
Common Mistakes:
  • Thinking invocation count changes
  • Assuming execution time is affected
  • Confusing CPU GHz-seconds with GB-seconds

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes