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!
Object Lifecycle Management (OLM) is an automation tool that manages data stored in Cloud Storage buckets based on rules configured by administrators. These rules help reduce manual tasks and prevent human error when handling millions of files across an organization's storage environment. Administrators configure these rules using specific conditions like the age of an object, its versioning state, or prefix matches that group specific folders or files together. When an object meets these conditions, OLM automatically triggers a defined action, such as permanently deleting the object or transitioning it to a different storage class.
To optimize ongoing costs, OLM can transition objects to cheaper Storage Classes like Nearline, Coldline, or Archive as the data ages. For example, moving files that have not been accessed in 30 days to a lower tier saves money while keeping the data accessible for unexpected requests. Alternatively, you can enable Autoclass, which automatically shifts objects between storage classes based on active access patterns, reducing the need for manual configuration.
When performing a Bulk Deletion of over 100,000 objects, manual command-line deletion is slow and inefficient. Administrators can choose to use OLM for this task by setting a rule with an age of zero days. This triggers Cloud Storage to perform the deletion asynchronously in the background, which is faster, more reliable, and avoids overloading API limits.
For enhanced data protection and compliance, Cloud Storage provides safety features to prevent accidental loss. The Soft Delete feature keeps deleted objects in an internal staging state, allowing administrators to recover them within a set retention window. Additionally, Object Lock applies a retention configuration to individual objects to prevent them from being deleted or overwritten, ensuring they meet strict legal requirements.
Sensitive Data Protection (formerly known as the DLP API) is a service that scans and identifies private information, such as personal names or phone numbers, across Google Cloud. To manage data governance, security teams create a DLP Job to inspect specific files in Cloud Storage buckets. Because scanning massive amounts of data can be expensive and slow, these jobs can use sampling to inspect only a subset of the files to estimate findings.
During an inspection, the service looks for specific InfoTypes, which are categories of sensitive data like person names or credit card numbers. Once the scan is complete, the job performs predefined actions, such as publishing findings to Pub/Sub to trigger automated security workflows. This workflow ensures that sensitive data is flagged and managed according to regulatory compliance standards without manual intervention.
To improve data access speeds in specific geographic regions, architects can deploy an Anywhere Cache. This cache uses an admission policy to decide when data should be cached based on access frequency, and administrators can update, pause, or disable the cache as requirements change. For transferring data securely into these environments, the Storage Transfer Service is used. This service relies on federated identity to authenticate without managing long-term credentials, and it integrates with Secret Manager to protect sensitive access keys and tokens.
Finally, specialized enterprise workloads like SAP HANA require regular updates to their storage manager to remain reliable and compliant. Administrators typically run scripts that automatically replace old files in shared drives to maintain operational efficiency. This combination of scanning, caching, secure transfer, and database maintenance forms a unified compliance strategy.
Managing data lifecycles in databases and analytical engines requires balancing storage costs with data availability. In BigQuery, administrators use partition expiration to automatically delete old data on a set schedule to keep storage costs predictable. If a table remains unmodified for 90 days, BigQuery automatically moves it to long-term storage, which lowers storage costs by 50% while preserving query performance. For historical preservation, Table Snapshots can be used to create read-only copies that preserve the exact state of the data indefinitely.
For transactional databases like Cloud SQL, establishing backup retention windows is essential for disaster recovery planning. These windows define how long automated daily backups and transaction logs are retained, which allows for precise point-in-time recovery (PITR). To prevent accidental or malicious data loss, administrators can enable a Retention Lock on these backups, ensuring they are kept even if the database instance itself is deleted.
NoSQL and globally distributed databases like Bigtable and Spanner optimize storage using incremental backups that save space by only storing changes made since the last copy. Spanner uses commit timestamps to track exactly when rows were updated, allowing for point-in-time recovery for up to seven days to fix corruption. These managed backups can be kept for up to one year, and setting an expiration date on them ensures that old, unneeded backups are automatically cleaned up to save costs.
When data is deleted across GCP database services, it moves through distinct lifecycle states before being permanently erased. First, it enters a soft deletion phase, which gives administrators a temporary staging period to recover accidentally deleted data. Next, the system performs a logical deletion, marking the storage blocks as available for new data, which are later overwritten. In highly secure environments, cryptographic erasure is used to destroy the encryption keys, rendering the underlying data instantly unreadable.
Prepare and test your skills
Prepare and test your skills
Object Lifecycle Management (OLM) is an automation tool that manages data stored in Cloud Storage buckets based on rules configured by administrators using conditions like object age, versioning state, or prefix matches. When an object meets these conditions, OLM automatically triggers actions such as permanently deleting the object or transitioning it to a different storage class like Nearline, Coldline, or Archive to reduce costs.
Soft Delete is a safety feature in Cloud Storage that keeps deleted objects in an internal staging state, allowing administrators to recover them within a set retention window. This provides protection against accidental data loss.
BigQuery uses partition expiration to automatically delete old data on a set schedule, keeping storage costs predictable. If a table remains unmodified for 90 days, BigQuery automatically moves it to long-term storage, which lowers storage costs by 50% while preserving query performance.
When data is deleted across GCP database services, it first enters a soft deletion phase providing a temporary staging period for recovery. Next, the system performs a logical deletion, marking storage blocks as available for new data. In highly secure environments, cryptographic erasure destroys encryption keys to render underlying data instantly unreadable.
A financial enterprise stores regulated transaction records in Cloud Storage. Compliance mandates require that:
Which storage configuration strategy should the cloud architect implement to meet these requirements?