
Answer-first summary for fast verification
Answer: Add the following line 'google-python-cloud-debugger' to the requirements.txt.
The correct answer is to add 'google-python-cloud-debugger' to the requirements.txt, as this is necessary for installing the Cloud Debugger agent in Cloud Run. The other options are incorrect because: the application is deployed to Cloud Run, not Compute Engine, making options A and D irrelevant. Option C is specific to App Engine, not Cloud Run. For more information, refer to the documentation on Cloud Run and Cloud Run for Anthos.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your team is deploying a Python application to Cloud Run, and the developers need to inspect the application's state in real time without affecting its performance. As the responsible engineer, what must you implement to meet this requirement?
A
Ensure the Compute Engine instance has the access scope option 'Allow full access to all Cloud APIs'.
B
Add the following line 'google-python-cloud-debugger' to the requirements.txt.
C
Make sure your app.yaml contains the following line 'runtime: python37'.
D
Make sure the Compute Engine has Python 3 installed.