Courseiva
Question 345 of 1,446

PCDE Practice Question: Manage a solution that can span multiple database technologies

A company is running a production Cloud SQL for PostgreSQL instance and wants to implement point-in-time recovery (PITR) with a 7-day retention window. They also need to ensure that automated backups are taken daily. Which two configurations must be enabled? (Choose TWO.)

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

Set the database flag 'archive_mode' to 'on' for WAL archiving

PITR requires WAL archiving, which is enabled by setting the 'archive_mode' to 'on' (or 'always') in the database flags. Automated backups are scheduled via the backup configuration in Cloud SQL. The retention period for PITR is set separately under backup settings.

Answer analysis

Option-by-option breakdown

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

  • Set the database flag 'archive_mode' to 'on' for WAL archiving

    Why this is correct

    WAL archiving is required for PITR in PostgreSQL.

  • Enable binary logging by setting 'log_bin' flag

    Why it's wrong here

    Binary logging is for MySQL PITR, not PostgreSQL.

  • Configure automated backups via Cloud SQL backup settings

    Why this is correct

    Automated backups are needed for PITR, as they provide the base backup for recovery.

  • Create a cross-region backup replica

    Why it's wrong here

    Cross-region replicas are for DR, not required for PITR.

  • Set the backup retention to 7 days using gcloud sql instances patch --backup-start-time

    Why it's wrong here

    Backup retention is set in the backup configuration, not via --backup-start-time.

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.