
Answer-first summary for fast verification
Answer: Add the following line “google-python-cloud-debugger” to the requirement.txt
Option A is CORRECT. Adding 'google-python-cloud-debugger' to requirements.txt is necessary for installing the Cloud Debugger agent in Cloud Run, enabling real-time inspection without stopping or slowing down the application. Options B, C, and D are incorrect because they either pertain to Compute Engine or App Engine, not Cloud Run. References: [Cloud Debugger Setup for Python](https://cloud.google.com/debugger/docs/setup/python#cloud-run), [Cloud Debugger Documentation](https://cloud.google.com/debugger).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your team is deploying a Python application to Cloud Run and needs to inspect its state in real time without affecting its performance. As the responsible engineer, what must you implement to meet this requirement?
A
Add the following line “google-python-cloud-debugger” to the requirement.txt
B
Ensure the Compute Engine instance has the access scope option “Allow full access to all Cloud APIs”.
C
Make sure your app.yaml contains the following line “runtime: python37”.
D
Make sure the compute Engine has Python 3 installed.
No comments yet.