Question 395 of 1,446
PCDE Migrate data solutions Practice Question
A team is migrating a MySQL database to Cloud SQL using DMS. They need to configure the source database for binary logging. Which TWO parameters must be set correctly?
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
✓
binlog_format = ROW
For MySQL binary logging to work with DMS, log_bin must be ON and binlog_format must be ROW (or MIXED). ROW-level logging ensures all changes are captured.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
expire_logs_days = 0
Why it's wrong here
Setting to 0 prevents log expiration, but not required for DMS; DMS needs logs for the duration of migration.
- ✗
binlog_format = STATEMENT
Why it's wrong here
Statement-based logging may not capture all changes correctly; ROW is recommended.
- ✗
server_id = 1
Why it's wrong here
server_id is required for replication, but not specifically for binary logging; it's a general replication parameter.
- ✓
binlog_format = ROW
Why this is correct
Row-based logging is required for DMS to capture all changes.
- ✓
log_bin = ON
Why this is correct
Enables binary logging.
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 →
Last reviewed: Jul 4, 2026
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.
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.
Sign in to join the discussion.