QuestionQ94

Building and testing applications

You have recently developed an application that will be hosted on Cloud Run. You need to perform a load test. You want to examine the load-test logs second by second to understand your Cloud Run service's response to rapid traffic spikes. You want to minimize effort. How should you analyze the logs?

  • A Use estimation to extrapolate performance from summary monitoring charts.
  • B Analyze the log data in BigQuery by configuring a BigQuery log sink with the appropriate inclusion filter for your application.
  • C Use Cloud Monitoring’s default log console for analysis.
  • D Analyze the log data in Cloud SQL for PostgreSQL by pushing logs to a Pub/Sub topic. Use Dataflow to process and ingest the logs.
Explanation

A Cloud Logging sink can route only the relevant application log entries, using an inclusion filter, to a BigQuery dataset. BigQuery supports querying the routed log records and their timestamps at the needed fine granularity, without building a Pub/Sub, Dataflow, and Cloud SQL ingestion pipeline.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!