PROFESSIONAL-CLOUD-DEVELOPER · Question #371
You work for an ecommerce company. You are developing a new application with the following requirements: - The application must have access to the most up-to-date data at all times. - Due to company p
The correct answer is D. Configure Bigtable to host the database. Create a garbage collection policy in Bigtable that. Cloud Bigtable is designed for high-throughput, low-latency workloads such as ecommerce with real-time data access requirements. Bigtable natively supports garbage collection policies at the column family level, which automatically delete data based on age (e.g., cells older than
Question
You work for an ecommerce company. You are developing a new application with the following requirements:
- The application must have access to the most up-to-date data at all
times.
- Due to company policy, data older than 30 days must be automatically
deleted. You need to determine which service should host the database, and how to configure the data deletion. You want to use the most efficient solution. What should you do?
Options
- AConfigure Spanner to host the database. Use Data Catalog to delete data older than 30 days.
- BConfigure Spanner to host the database. Create a time-to-live (TTL) policy that deletes data older
- CConfigure Bigtable to host the database. Create a time-to-live policy that deletes data older than
- DConfigure Bigtable to host the database. Create a garbage collection policy in Bigtable that
How the community answered
(27 responses)- A7% (2)
- B11% (3)
- C4% (1)
- D78% (21)
Explanation
Cloud Bigtable is designed for high-throughput, low-latency workloads such as ecommerce with real-time data access requirements. Bigtable natively supports garbage collection policies at the column family level, which automatically delete data based on age (e.g., cells older than 30 days) - this is the built-in, most efficient mechanism for time-based deletion. Option C is incorrect because Bigtable uses 'garbage collection policies,' not generic 'TTL policies' - the terminology matters on the exam and reflects the actual feature. Options A and B use Spanner, which is better suited for relational, transactional workloads; additionally, Data Catalog (A) is a metadata service that does not delete data.
Topics
Community Discussion
No community discussion yet for this question.