You will load-test a Cloud Run service and need second-by-second log analysis of traffic spikes with minimal effort. How should you analyze the logs?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a BigQuery log sink with an inclusion filter for the service and analyze logs in BigQuery..
Why this is the answer
Creating a BigQuery log sink with an inclusion filter for the specific Cloud Run service is the most efficient and scalable solution for second-by-second log analysis during a load test. BigQuery is designed for high-volume, real-time analytics and allows for complex SQL queries to quickly identify patterns and spikes in traffic. Estimating performance from summary monitoring charts is insufficient for detailed, second-by-second analysis. Cloud Monitoring's default log console is good for real-time viewing but lacks the analytical power and query capabilities of BigQuery for in-depth analysis. Exporting logs to Pub/Sub and then using Dataflow to push them into Cloud SQL introduces unnecessary complexity and latency, and Cloud SQL is not optimized for the same scale of analytical queries as BigQuery.
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