Unlock the power of your data in the cloud! Get hands-on with Google Cloud's core data services like BigQuery and Looker to validate your practical skills in data ingestion, analysis, and management, and earn your Associate Data Practitioner certification!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
A data team is operating an automated data processing pipeline deployed on Google Cloud. During a scheduled run, a task fails prematurely because custom transformation code encounters an unexpected schema variation and raises an unhandled exception.
Which type of log in Cloud Logging should the data engineer inspect to examine the stack trace and debugging messages generated by the code?
Application logs capture runtime events, diagnostics, status messages, and unhandled errors emitted directly by user code, container processes, or application software during execution. In Google Cloud services such as Cloud Run, Compute Engine, and Cloud Functions, standard output (stdout) and standard error (stderr) streams are automatically collected by Cloud Logging as application-level logs.
logger.error(), logger.info()) within data processing scripts, allowing engineers to trace the exact input data or schema anomaly that caused the job to abort.DEBUG, INFO, WARNING, ERROR, and CRITICAL.Application logs directly capture software behavior and code output. While platform audit logs or network logs show administrative API requests and network connections, only application logs contain the internal programmatic details and error stack traces necessary to fix data transformation failures.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.