Bird
0
0

Which of the following is a correct way to collect logs in Google Cloud for observability?

easy📝 Configuration Q12 of 15
GCP - Cloud Monitoring and Logging
Which of the following is a correct way to collect logs in Google Cloud for observability?
ADisable logging to improve performance.
BManually download logs from each server every hour.
CUse Cloud Logging to gather and store logs from your services.
DSend logs only to local files without cloud integration.
Step-by-Step Solution
Solution:
  1. Step 1: Identify Google Cloud's logging tool

    Cloud Logging is the managed service for collecting and storing logs.
  2. Step 2: Evaluate options for best practice

    Manual downloads and local-only logs are inefficient; disabling logs harms observability.
  3. Final Answer:

    Use Cloud Logging to gather and store logs from your services. -> Option C
  4. Quick Check:

    Cloud Logging = Correct log collection method [OK]
Quick Trick: Use Cloud Logging for automatic, centralized log collection [OK]
Common Mistakes:
  • Thinking manual log downloads are practical
  • Disabling logs to improve speed
  • Ignoring cloud-based log storage

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes