D4: Optimizing Logs & Log Costs
Google Cloud Professional Cloud DevOps Engineer exam practice questions · 10 flashcards
Question
Exclusion filters?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Optimizing Logs & Log Costs practice questions and answers
- Exclusion filters?Drop matching logs from a sink so they aren't stored.
- Sampling logs?Exclude a percentage, e.g. sample(insertId, 0.9) exclusion.
- Can _Required logs be excluded?No.
- Reduce log cost?Exclusions, sampling, lower verbosity, shorter retention.
- Source considerations?Reduce noisy debug logs at the application.
- VPC Flow Logs cost control?Lower sampling rate and larger aggregation interval.
- Data Access logs cost?Enable only where needed.
- Retention cost?Longer custom retention costs more.
- Route cold logs cheaply?Sink to Cloud Storage.
- Why keep error logs?Needed for troubleshooting and alerting.