Google Professional Cloud Developer exam dumps

Google Professional Cloud Developer practice question 479 of 481

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

Google Professional Cloud Developer Question 479

Select 4Google Cloud Platform

Your team is developing a microservices-based application running on Google Kubernetes Engine (GKE). You want to integrate the application with Google Cloud’s operations suite to monitor metrics, logs, and traces. Which steps should you take to ensure proper integration?

  1. A

    Install the Cloud Operations for GKE add-on to enable monitoring and logging.

  2. B

    Ensure that all microservices are exporting traces using OpenTelemetry.

  3. C

    Configure IAM permissions to grant the GKE cluster service account access to Cloud Monitoring and Cloud Logging APIs.

  4. D

    Manually deploy the Stackdriver agents on each GKE node.

  5. E

    Use the Cloud Console to create custom dashboards for visualizing metrics.

Show answer and explanation

Correct answers: A, B, C, E

Explanation

To integrate a microservices-based application on GKE with Google Cloud’s operations suite, you need to ensure monitoring and logging are enabled via the Cloud Operations for GKE add-on. Traces must be exported using OpenTelemetry to ensure distributed trace collection. Additionally, the GKE cluster service account requires permissions to write to the Cloud Monitoring and Cloud Logging APIs. Custom dashboards can be created in the Cloud Console for detailed visualization. Manual deployment of Stackdriver agents is unnecessary, as the integration is automated.

  • A. Correct.

    Correct: The Cloud Operations for GKE add-on automatically integrates GKE with Cloud Monitoring and Cloud Logging, simplifying the setup process.

  • B. Correct.

    Correct: OpenTelemetry is a standard for exporting traces, and integrating it ensures that distributed traces are collected and sent to Cloud Trace.

  • C. Correct.

    Correct: The GKE cluster service account needs appropriate permissions to write logs and metrics to Cloud Logging and Cloud Monitoring.

  • D. Incorrect.

    Incorrect: Stackdriver agents are not required to be manually deployed on GKE clusters, as the integration is handled automatically by the Cloud Operations for GKE add-on.

  • E. Correct.

    Correct: Custom dashboards are essential for visualizing the specific metrics and logs that are critical to your application.

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