Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Associate Cloud Engineer practice bank has an additional 2,014 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your team is troubleshooting an unexpected application failure on a fleet of Compute Engine virtual machines (VMs). You open Logs Explorer in the Google Cloud console and need to quickly locate high-priority system failures recorded in the Linux system logs.
You want to use the standard drop-down filtering menus in the Logs Explorer interface to isolate only the relevant critical log entries with minimal configuration.
Which combination of filter drop-downs should you configure in the Logs Explorer query builder?
This option attempts to filter logs by top-level Project resource attributes, treats syslog as a storage container (Log bucket), and attempts to filter by an Audit severity level.
Project does not narrow logs down to VM instances, mixing VM logs with all project-level telemetry.syslog is a specific log stream name generated by Linux operating systems, whereas a Log bucket is a storage container in Cloud Logging (such as _Default or _Required).Audit is a category of log, not a valid severity level. Standard Cloud Logging severity levels are Default, Debug, Info, Notice, Warning, Error, Critical, Alert, and Emergency.syslog.You needed to configure storage retention policies on a dedicated custom Log Bucket named syslog across an entire project.
Cloud Logging organizes logs hierarchically: log entries are stored inside Log Buckets, associated with a Monitored Resource, tagged with a Log Name, and assigned a standardized Severity level.
This option sets the resource filter to broad multi-resource logging, selects the Cloud Audit activity log stream, and attempts to use a sink name as a query scope parameter.
activity log captures Google Cloud administrative and control plane actions (such as starting, stopping, or creating a VM through the API), not guest OS Linux system failures (syslog).Default Sink refers to a Log Router configuration for routing logs to destinations, not a basic query filter menu in the query builder.You needed to find which IAM user or service account initiated a configuration change or stopped a VM via the Google Cloud API across the entire project.
To view in-guest system logs like syslog, the Cloud Logging agent or Ops Agent must stream logs from within the instance, and those are cataloged under the specific Compute Engine resource type rather than broad Audit Activity logs.
This configuration attempts to combine global resource logging, log routing rules, and log-based metric definitions.
VM Instance (gce_instance), not Global resources.You were building a Cloud Monitoring chart to visualize the rate of error log generation over time rather than reading specific log event entries in the Logs Explorer.
To read specific logs, engineers use the Logs Explorer query builder fields (Resource, Log name, Severity), whereas Logs-based Metrics is a separate management interface within Cloud Logging.
The Logs Explorer in Google Cloud Logging provides primary drop-down menus (Resource, Log name, and Severity) directly in the query interface. These allow administrators and engineers to rapidly drill down into log entries generated by specific cloud assets without needing to manually author structured Logging query language statements.
gce_instance) restricts the stream of log data strictly to Compute Engine virtual machine instances, eliminating noise from other services such as Cloud Run, Kubernetes, or Cloud Functions.ERROR severity level or higher (such as CRITICAL, ALERT, and EMERGENCY), allowing immediate visibility into serious failures and critical operational events.Error returns all entries with that severity and any higher severities.Using the primary drop-down filters (Resource, Log name, and Severity) directly targets the exact compute resources, log files, and failure levels required for the investigation without needing custom Log Router sinks, custom metrics, or SQL queries.
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