Courseiva
Question 350 of 1,446

PCDE Practice Question: Deploy scalable and highly available databases in Google Cloud

A company runs an e-commerce platform on Cloud SQL for MySQL. They need to comply with a policy that requires database backups to be retained for 365 days. They also need to restore to any point within the last 30 days. How should they configure their backup settings?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Enable automated backups with retention set to 30 days and create on-demand backups daily to cover the 365-day retention

Cloud SQL supports automated backups and point-in-time recovery (PITR) using binary logs. The maximum automated backup count is 365, and you can set the transaction log retention for PITR up to 35 days. For 365-day retention, you need to use on-demand backups (snapshots) which can be retained indefinitely. For PITR within 30 days, enable automated backups and binary logging with a log retention of 30 days.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use export to Cloud Storage daily and store exports for 365 days

    Why it's wrong here

    Exports are not backups for PITR and would not allow point-in-time recovery within 30 days.

  • Enable automated backups with retention set to 365 days and enable binary logging for PITR

    Why it's wrong here

    Automated backups can be retained up to 365 days, but PITR transaction log retention max is 35 days. 30 days is fine, but 365-day backup retention is possible with automated backups.

  • Enable automated backups with retention set to 365 days and set transaction log retention to 365 days

    Why it's wrong here

    Transaction log retention maximum is 35 days, not 365.

  • Enable automated backups with retention set to 30 days and create on-demand backups daily to cover the 365-day retention

    Why this is correct

    On-demand backups (snapshots) can be retained indefinitely. Automated backups for PITR can be set to 30 days to meet PITR requirement, while on-demand backups meet long-term retention.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jul 4, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PCDE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCDE exam.