Skip to content

Reading logs and metrics to work out what a pipeline actually did

Cloud Logging and Cloud Monitoring are the primary tools for observing data pipeline health, letting you review execution logs, spot errors, and track performance metrics for services like Dataflow, Cloud Composer, and Dataproc. Logs Explorer lets you filter and query log entries, while Monitoring dashboards and alerting policies help you proactively detect issues before they impact downstream data consumers.

Must-know

  • Cloud Logging automatically ingests logs from most GCP data services (Dataflow, Dataproc, Cloud Composer/Airflow, BigQuery jobs) without extra configuration, viewable in the Logs Explorer.
  • Logs Explorer supports a structured query language for filtering by resource type, log severity (e.g., ERROR, WARNING), and text/label matches, which is essential for troubleshooting failed pipeline runs.
  • Cloud Composer/Airflow task logs are also written to Cloud Logging and are accessible both via the Airflow UI and Logs Explorer, useful when diagnosing DAG task failures.
  • Cloud Monitoring provides prebuilt and custom dashboards plus alerting policies based on metrics (e.g., Dataflow job status, worker CPU, pipeline latency) to notify teams of anomalies via channels like email or Pub/Sub.
  • Log-based metrics can be created in Cloud Logging to turn specific log patterns (e.g., a certain error message) into a Cloud Monitoring metric for alerting or dashboarding.
  • Logs are retained for a default period (typically 30 days for most log types) unless routed to a log sink for longer-term storage (e.g., BigQuery, Cloud Storage) for audit or historical analysis.
Check this objectiveFree · always available

A data engineer needs to investigate why a Dataflow batch job failed overnight. They want to see only the ERROR-severity log entries produced by that specific job within the last 24 hours. Which approach in Cloud Logging accomplishes this most directly?

Your objective map0 tried · 0 right · 41 untouched

What you have tried across GCP ADP's objectives, not a readiness score.

Coverage checked against the published exam guide on Aug 12, 2026.

These are independent practice questions, written against this certification's published exam guide. They are not the certification vendor's own questions, and not the real exam.