PROFESSIONAL-CLOUD-DEVELOPER · Question #371
PROFESSIONAL-CLOUD-DEVELOPER Question #371: Real Exam Question with Answer & Explanation
The correct answer is D: Configure Bigtable to host the database. Create a garbage collection policy in Bigtable that. Bigtable is a highly scalable, NoSQL database that supports efficient time-to-live (TTL) policies through garbage collection. By configuring a garbage collection policy, you can automatically delete data older than 30 days, ensuring compliance with the company’s data retention po
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
Explanation
Bigtable is a highly scalable, NoSQL database that supports efficient time-to-live (TTL) policies through garbage collection. By configuring a garbage collection policy, you can automatically delete data older than 30 days, ensuring compliance with the company’s data retention policy without additional management overhead. Using Spanner would be less efficient for this use case, as it is a relational database designed for strong consistency, not for simple TTL-based data expiry. Bigtable’s TTL feature with garbage collection is optimized for NoSQL data with automated, policy-driven deletions, making it the most efficient choice for your requirements.
Topics
Community Discussion
No community discussion yet for this question.