You need to analyze Cloud Logging logs using SQL following Google-recommended practices. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable Log Analytics on the log bucket and create a linked BigQuery dataset..
Why this is the answer
Enabling Log Analytics on a log bucket and creating a linked BigQuery dataset is the Google-recommended practice for analyzing Cloud Logging logs with SQL. This feature transforms log data into a columnar format optimized for analytical queries directly within BigQuery, without needing to export logs. Gemini for Google Cloud can assist with query development but doesn't enable the SQL analysis itself. Creating a schema for logs in a Cloud Storage bucket and running SQL against it is inefficient and not the native solution for Cloud Logging. Exporting logs to Cloud Storage and creating an external table in BigQuery works but is a less integrated and often less performant approach than Log Analytics, which directly links the log bucket to BigQuery for optimized analysis.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed