MySQL Master-Slave Replication Quiz
MySQL Master-Slave Replication Quiz contain set of 10 MCQ questions for MySQL Master-Slave Replication MCQ which will help you to clear beginner level quiz.
1. Which parameter will ignore the current event and continue with the next event in replication?
-
- Ignore_event
- sql_slave_skip_counter
- skip_slave_event
- sql_skip_counter
2. What is the privilege required for the slave user?
-
- REPLICATION SLAVE
- REPLICATION CLIENT
- SELECT
- ALL
3. What is the default Port used in MySQL replication?
-
- 22
- Random
- 3307
- 3306
4. What should be the value of server-id for master and slave
-
- 1
- 2
- Unique
- 0
5. Which option in mysqldump writes the binlog co-ordinates required for replication configuration?
-
- binlog
- dump-binlog
- master-data
- debug
6. Which backups can be used for configuring replication?
-
- mysqldump
- Mysql Enterprise Backup
- Percona Xtra backup.
- All of the above
7. What is the command used for starting SQL Thread?
-
- start sql_thread
- start slave
- start slave sql_thread
- None of the Above
8. Master-Slave replication, binlog should be enabled in.
-
- Master
- Slave
- Both Master & Slave
- None
9. Which option disables the slave to start automatically whenever mysql is restarted.
-
- skip-slave
- disable-slave
- skip-slave-start
- None of the above
10. Which command displays the status of the slave.
-
- show slave status
- show slave
- print slave status
- show status