
Explanation:
The correct answer is B because Cloud Run is natively integrated with Error Reporting, requiring no additional setup to capture and display the application's top or new errors in real-time. Errors and exceptions are automatically logged to Error Reporting, which can be viewed and analyzed in a dashboard.
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.
No comments yet.