
Ultimate access to all questions.
Your team is working on a containerized Python application for a government project, utilizing a microservices architecture to be deployed on Cloud Run. The requirement is to monitor and display the application's top or new errors in a real-time dashboard. What is the best approach to achieve this?
A
Install the Logging agent and adjust your application to log exceptions and their stack traces to Cloud Logging.
B
No additional setup or configuration is needed. Error reporting is automatically enabled for Cloud Run.
C
Report errors directly to the API using the REST API or a client library.
D
Install the Monitoring agent and modify your application to log exceptions and their stack traces to Error reporting.