Bird
0
0

If you deploy a function with runtime set to python39, which Python version will the function use at runtime?

medium📝 Predict Output Q5 of 15
GCP - Cloud Functions
If you deploy a function with runtime set to python39, which Python version will the function use at runtime?
APython 3.10
BPython 3.8
CPython 3.9
DPython 2.7
Step-by-Step Solution
Solution:
  1. Step 1: Interpret the runtime string python39

    It indicates Python version 3.9.
  2. Step 2: Confirm no ambiguity in version

    Python 3.9 is distinct from 3.8, 3.10, or 2.7.
  3. Final Answer:

    Python 3.9 -> Option C
  4. Quick Check:

    Runtime python39 means Python 3.9 [OK]
Quick Trick: Runtime names include language and version numbers [OK]
Common Mistakes:
  • Confusing python39 with python310
  • Assuming older Python versions by default

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes