CertKeen

Google Cloud Associate Cloud Engineer · Free practice question 10 of 12

Log Analytics SQL queries on logs

Site reliability engineers at Garnet Cloudworks want to run SQL queries, including joins and aggregations, over their Cloud Logging data without exporting it first. What should they use?

  1. A.Error Reporting on the project
  2. B.Log Analytics on a log bucket that has been upgraded to use it
  3. C.Cloud Trace analysis reports
  4. D.A log-based metric with a distribution type
Show answer and explanation

Correct answer: B. Log Analytics on a log bucket that has been upgraded to use it

Why: Log Analytics lets you query log entries stored in upgraded log buckets with SQL directly from Cloud Logging. Error Reporting groups exceptions, log-based metrics produce time series rather than ad hoc SQL results, and Cloud Trace reports cover request latency.

More free Google Cloud Associate Cloud Engineer questions