Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 298 of 375

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

Google Associate Cloud Engineer Question 298

Select 3Google Cloud Platform

You are a Google Cloud Engineer and your company wants to store and analyze logs from multiple projects in a centralized manner. They require that logs are retained for a longer period and are easily queryable using BigQuery. What steps should you take to configure this setup?

  1. A

    Create a new log bucket in the desired project and set it as the destination for the logs.

  2. B

    Configure log sinks in each project to route logs to the centralized log bucket.

  3. C

    Enable BigQuery Export for the log bucket to allow direct queries.

  4. D

    Set up a Cloud Storage bucket to store the logs and run BigQuery queries using Dataflow.

  5. E

    Use Cloud Functions to automatically archive logs to a custom database for analysis.

Show answer and explanation

Correct answers: A, B, C

Explanation

To centralize logs from multiple projects and ensure they are queryable using BigQuery, you should create a centralized log bucket, configure log sinks to route logs to this bucket, and enable BigQuery Export. This setup leverages GCP's native logging and analytics services, ensuring efficient log management and analysis.

  • A. Correct.

    Creating a new log bucket in the destination project allows centralized storage of logs from different sources.

  • B. Correct.

    Log sinks in each project are necessary to route logs to the centralized log bucket, ensuring all logs are collected in one place.

  • C. Correct.

    Enabling BigQuery Export for the log bucket makes the logs easily queryable using BigQuery, which fulfills the requirement for easy analysis.

  • D. Incorrect.

    While Cloud Storage can store logs, using it in conjunction with Dataflow for BigQuery queries is unnecessarily complex for this scenario.

  • E. Incorrect.

    Using Cloud Functions and a custom database adds complexity and does not leverage built-in GCP log management features like BigQuery Export.

Timed practice exam

Take a Google Associate Cloud 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