Google Professional Cloud DevOps Engineer exam dumps

Google Professional Cloud DevOps Engineer practice question 172 of 268

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

Google Professional Cloud DevOps Engineer Question 172

Select 3Google Cloud Platform

Your company has recently implemented a logging solution on Google Cloud to improve observability. However, the monthly logging costs have surged due to the increased volume of logs being ingested into Cloud Logging. As a DevOps engineer, you are tasked with optimizing observability costs without losing critical insights needed for troubleshooting. Which of the following actions should you take to reduce costs while maintaining effective observability?

  1. A

    Implement log exclusions to filter out unnecessary logs before they are ingested into Cloud Logging.

  2. B

    Increase the retention period for all logs to ensure more historical data is available for analysis.

  3. C

    Use Cloud Logging sinks to export logs to a lower-cost storage option, such as Cloud Storage or BigQuery, for long-term retention.

  4. D

    Set sampling rates for high-volume logs to only capture a percentage of the logs while preserving relevant information.

  5. E

    Enable detailed request logging for all services to ensure no data is missed.

Show answer and explanation

Correct answers: A, C, D

Explanation

Optimizing observability costs involves reducing the volume of logs ingested into Cloud Logging while retaining critical information for troubleshooting. Log exclusions, exporting logs to lower-cost storage, and setting sampling rates are effective strategies for managing costs. On the other hand, increasing retention periods or enabling detailed logging for all services would increase costs and are not aligned with cost optimization goals.

  • A. Correct.

    Log exclusions allow you to filter out logs that are not useful, reducing ingestion costs while still retaining valuable logs for observability.

  • B. Incorrect.

    Increasing the retention period for logs will increase costs further rather than optimizing them, making this an incorrect approach.

  • C. Correct.

    Exporting logs to a lower-cost storage solution like Cloud Storage or BigQuery provides long-term storage at a lower cost than Cloud Logging, making this an effective cost optimization strategy.

  • D. Correct.

    Setting sampling rates for high-volume logs helps reduce the volume of logs ingested and stored while still providing enough information for troubleshooting, making this a valid cost-saving approach.

  • E. Incorrect.

    Enabling detailed request logging for all services will significantly increase the volume of ingested logs, further driving up costs, which makes this an incorrect choice.

Timed practice exam

Take a Google Professional Cloud DevOps Engineer 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