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 organization must retain all Google Cloud audit logs for seven years to comply with regulatory standards. In addition, security analysts need the ability to run SQL queries across the historical log dataset for compliance reviews.
Which solution should you implement in Cloud Logging?
entries.list API method daily to query and append log records into BigQueryentries.list API Method DoesThe entries.list API method is an interactive REST endpoint in Cloud Logging designed to search, filter, and retrieve specific log entries on demand, primarily for troubleshooting or debugging through administrative scripts and tools like the Logs Explorer.
entries.list method is subject to strict request and read quotas and is explicitly not designed or recommended for high-volume, bulk data extraction.RESOURCE_EXHAUSTED errors during high-traffic periods.You needed to execute a one-time ad-hoc script to retrieve a small sample of recent diagnostic log entries for offline inspection.
_Required log bucket to seven years (2555 days)_Required Log Bucket IsThe _Required log bucket is an automatically provisioned, built-in storage container in Cloud Logging that stores Admin Activity audit logs, System Event audit logs, and Access Transparency logs without incurring ingestion or storage charges.
_Required log bucket is fixed at 400 days by Google Cloud and cannot be edited, extended, or shortened._Required bucket alone will result in logs older than 400 days being permanently purged.The organization only required default administrative audit log retention for up to 400 days without requiring custom retention policies or external data export.
The Google Cloud Ops Agent is a software agent installed directly on virtual machine (VM) operating systems to gather system metrics, application logs (such as nginx or syslog), and standard output streams (stdout/stderr), forwarding them to Cloud Observability.
The goal were to capture operating system log files (like /var/log/messages) or local web server access logs from specific Compute Engine instances and push them to Cloud Observability.
A Cloud Logging sink is a routing mechanism that continuously captures incoming log entries matching a defined filter query and streams them to an external or internal destination. Sinks support routing data in real time to destinations such as BigQuery, Cloud Storage, Pub/Sub, or other Cloud Logging buckets.

Creating a log sink with a BigQuery destination is Google's recommended architecture when log records require immediate SQL searchability, custom retention schedules beyond standard log bucket ceilings, and integration with enterprise analytics dashboards.
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