
Explanation:
Cloud Run is natively integrated with Error Reporting, which means it automatically captures and reports errors without requiring any additional setup. Options A, B, and D suggest unnecessary configurations or modifications that are not needed due to this native integration. For more details, refer to the Google Cloud documentation on Error Reporting with Cloud Run: https://cloud.google.com/error-reporting/docs/setup/cloud-run.
Ultimate access to all questions.
No comments yet.
Your team is working on a containerized Python application for a government project, utilizing a microservices architecture and planning to deploy it using Cloud Run. You've been tasked with creating a dashboard that captures the application's top or new errors in real-time. What is the best approach to achieve this?
A
Modify your application to log exceptions and their stack traces to Logging by installing the Logging agent.
B
Report errors directly to the API using either the REST API or a client library.
C
Cloud Run has native integration with Error Reporting, eliminating the need for any additional setup or configuration.
D
Install the Monitoring agent and adjust your application to send exceptions and their stack traces to Error Reporting.