
Answer-first summary for fast verification
Answer: Add 'google-python-cloud-debugger' to the requirements.txt file.
Option D is correct because adding 'google-python-cloud-debugger' to the requirements.txt file is necessary for installing the Cloud Debugger agent in Cloud Run, enabling real-time inspection of the application's state. Options A and C are incorrect as the application is deployed to Cloud Run, not Compute Engine. Option B is incorrect because it pertains to setting up the Debugger for App Engine, not Cloud Run. Reference: [Cloud Debugger Documentation](https://cloud.google.com/debugger/docs/setup/python#cloud-run).
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
Ensure the Compute Engine instance has the access scope option 'Allow full access to all Cloud APIs'.
B
Include 'runtime: python37' in your app.yaml file.
C
Verify that the Compute Engine instance has Python 3 installed.
D
Add 'google-python-cloud-debugger' to the requirements.txt file.
No comments yet.