Google Professional Cloud Developer exam dumps

Google Professional Cloud Developer practice question 476 of 481

Professional Cloud Developer. Professional level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud Developer Question 476

Select 3Google Cloud Platform

You are developing a web application hosted on Google Kubernetes Engine (GKE) and need to monitor its performance and troubleshoot issues. You decide to integrate the application with Google Cloud’s operations suite. Which steps should you take to enable appropriate monitoring and logging for the application?

  1. A

    Install the Cloud Operations agent on the GKE nodes to collect metrics and logs.

  2. B

    Ensure that the GKE cluster has Cloud Monitoring and Cloud Logging enabled.

  3. C

    Use the Google Cloud Console to query logs in the Logs Explorer.

  4. D

    Configure the application to use the Cloud Monitoring API for custom metrics.

  5. E

    Install Prometheus and Grafana to replace Cloud Monitoring for metrics collection.

Show answer and explanation

Correct answers: B, C, D

Explanation

To fully integrate with Google Cloud’s operations suite, you need to ensure GKE's native logging and monitoring capabilities are enabled (e.g., Cloud Monitoring and Cloud Logging). Logs can then be queried via the Logs Explorer, and custom metrics can be sent using the Cloud Monitoring API. Installing the Cloud Operations agent is unnecessary for GKE, and while Prometheus and Grafana are useful, they are not part of Google Cloud’s operations suite.

  • A. Incorrect.

    Installing the Cloud Operations agent is not required for GKE, as it natively integrates with Google Cloud's operations suite for metrics and logging.

  • B. Correct.

    Enabling Cloud Monitoring and Cloud Logging on the GKE cluster is essential to collect performance metrics and logs automatically.

  • C. Correct.

    Using the Logs Explorer in the Google Cloud Console is a standard practice for querying and troubleshooting logs.

  • D. Correct.

    Configuring the application to use the Cloud Monitoring API allows you to send custom metrics, which is part of integrating with the operations suite.

  • E. Incorrect.

    Prometheus and Grafana are third-party tools; while they can be used, they are not part of Google Cloud’s operations suite and do not replace its functionality.

Timed practice exam

Take a Google Professional Cloud Developer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam