Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Associate Data Practitioner practice bank has 1,156 more like it. Try 10 free: instant score, no account.
A data engineer manages a nightly data processing pipeline that writes custom error messages into Cloud Logging whenever a data validation step fails. The team wants to track the frequency of these validation failures over time on a dashboard and trigger automated email notifications whenever the failure count exceeds a predefined threshold.
Which solution should the engineer implement to meet these requirements?
The Google Cloud Ops Agent is a software agent installed on Compute Engine virtual machines to collect system telemetry (such as CPU, memory, disk, and swap metrics) and application logs. Synthetic monitors (such as uptime checks and broken-link checkers) periodically probe HTTP, HTTPS, or TCP endpoints to verify service responsiveness.
The scenario required monitoring whether a public web application API endpoint is responding to incoming HTTP traffic or verifying that Compute Engine VM instances are not running out of system memory.
Uptime checks in Cloud Monitoring are proactive synthetic monitoring probes that test the availability and responsiveness of publicly or privately accessible network endpoints (such as HTTP, HTTPS, or TCP services) from various geographical locations.
The goal was to probe an external REST API endpoint used by the pipeline to ensure the service is reachable and returning HTTP 200 OK status codes within an acceptable latency window.
Log-based metrics are a feature of Cloud Logging that converts log data into quantifiable numeric time-series data. They allow you to define filters over incoming logs to extract numeric values or count how often specific text patterns or event types occur. Once created, these metrics seamlessly integrate into Cloud Monitoring as custom time series.
This approach uses built-in Google Cloud Observability capabilities to translate unstructured log entries into structured, actionable time-series metrics. It eliminates the need for custom scripts, separate database storage, or external polling mechanisms.
BigQuery is a serverless enterprise data warehouse designed for analytics and SQL querying over large datasets. BigQuery Data Transfer Service (DTS) is a fully managed service that automates scheduled data imports into BigQuery from Software-as-a-Service (SaaS) applications, Google services, or external cloud storage.
The requirement asked to store years of log history for ad-hoc SQL compliance auditing, complex historical joins, or long-term business intelligence reporting rather than real-time monitoring and alerting.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated