Courseiva

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

A company has a Cloud SQL for MySQL instance with point-in-time recovery (PITR) enabled. They need to restore the database to a specific time exactly 2 hours ago to recover from an accidental data deletion. What is the minimum requirement for this operation?

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

Binary logging must be enabled, and the transaction log retention period must cover the desired restore time

PITR in Cloud SQL relies on binary log (binlog) backups. To restore to a specific time, you need to have binary logging enabled and transaction log retention set appropriately. The binlog retention period determines how far back you can perform PITR. The default is 7 days, but you can configure it. The backup window and number of automatic backups are not directly related to PITR granularity.

Answer analysis

Option-by-option breakdown

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

  • The instance must have a backup window configured within the last 2 hours

    Why it's wrong here

    The backup window is for automatic backups, not directly for PITR. PITR uses transaction logs, not backups.

  • The instance must have at least one automatic backup taken after the desired restore time

    Why it's wrong here

    Automatic backups are not needed for PITR; PITR replays transaction logs from a backup, but you can restore from any point within the log retention period.

  • Binary logging must be enabled, and the transaction log retention period must cover the desired restore time

    Why this is correct

    PITR requires binary logging enabled and a transaction log retention period that includes the restore time (default 7 days).

  • The instance must be stopped before initiating the restore

    Why it's wrong here

    You do not need to stop the instance; you can restore to a new instance while the original continues running.

About these practice questions

This PCDE question is part of Courseiva's 1,446-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.