Google Professional Cloud DevOps Engineer Question 168
Single answerGoogle Cloud PlatformYour team has deployed a Node.js application on Google Kubernetes Engine (GKE). Recently, users have reported increased application crashes. You want to identify and categorize application errors efficiently to prioritize fixes. Which solution should you implement to achieve this?
- A
Use Google Cloud Error Reporting to automatically aggregate and classify error messages from the application logs.
- B
Manually review application logs in Cloud Logging to identify and categorize errors.
- C
Set up custom error notifications in Cloud Monitoring to track error rates and manually categorize logs.
- D
Use BigQuery to query and analyze application logs for error patterns.
Show answer and explanation
Correct answer: A
Explanation
Google Cloud Error Reporting is specifically designed to aggregate, deduplicate, and categorize application error messages, making it the most efficient and reliable choice for quickly identifying and prioritizing problems in a deployed application. Other options, while potentially useful, lack the automation and streamlined functionality provided by Error Reporting.
- A. Correct.
This is the correct answer. Google Cloud Error Reporting automatically aggregates, deduplicates, and categorizes error messages captured from application logs, providing a streamlined way to identify and prioritize issues.
- B. Incorrect.
While reviewing logs manually in Cloud Logging could potentially help, it is a time-intensive and inefficient process that does not offer the automated error aggregation and categorization provided by Google Cloud Error Reporting.
- C. Incorrect.
Custom error notifications in Cloud Monitoring can help track error rates but do not provide automatic categorization or aggregation of errors, which is essential for prioritizing fixes efficiently.
- D. Incorrect.
BigQuery is a powerful tool for querying and analyzing data, but it requires custom queries and does not inherently provide error aggregation or categorization, making it less efficient in this scenario.