Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
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.
An organization ingests streaming telemetry data into a Google Cloud BigQuery dataset for real-time monitoring and reporting. The incoming records are stored in a table named telemetry_logs partitioned daily by ingestion timestamp.
The data architecture team establishes the following retention and operational requirements:
telemetry_logs table structure, schema, and current partition data must remain continuously available for analytical queries and streaming ingestion.Which statement should you execute to satisfy these requirements?
BigQuery partition expiration defines a time-to-live (TTL) for individual partitions within an ingestion-time or column-partitioned table. When partition expiration is configured, BigQuery automatically evaluates the age of each partition and deletes partitions whose age exceeds the specified threshold, without affecting the table schema or newer partitions.
partition_expiration_days = 60 ensures that any daily partition older than 60 days from its UTC date is automatically removed by BigQuery background processes.telemetry_logs table metadata, schema definition, permissions, and active partitions remain completely intact and available for ongoing streaming inserts and queries.ALTER TABLE ... SET OPTIONS applies the change directly to an existing table in standard GoogleSQL DDL without requiring scheduled queries, cloud functions, or pipeline orchestrators.DELETE operations.This approach natively achieves partition-level lifecycle management directly within BigQuery's storage engine, minimizing administrative overhead, avoiding query slot consumption for manual deletion queries, and preventing accidental destruction of the underlying table entity.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.