Question 16
Binary log events for the ‘mydb1’ schema must be copied to a different schema name ‘mydb2’. Which command will do this?
- mysqlbinlog --rewrite-db=’mydb1->mydb2’ | mysql
- mysqlbinlog --datebase=mydb1 --database=mydb2 | mysql
- mysqlbinlog --rewrite-db=’mydb1’ --rewrite-db=’mydb2’ | mysql
- mysqlbinlog --read-from-remote-server --raw | sed ‘s/mydb1/mydb2/g’ | mysql
Question 17
Examine this MySQL Shell command: dba.rebootClusterFromCompleteOutage() Which two statements are true? (Choose two.)
- It reconfigures InnoDB Cluster if the cluster was stopped.
- It performs InnoDB Cluster instances rolling restart.
- It only starts all InnoDB Cluster instances.
- It is not mandatory that all instances are running and reachable before running the command.
- It stops and restarts all InnoDB Cluster instances and initializes the metadata.
- It only stops and restarts all InnoDB Cluster instances.
- It picks the minimum number of instances necessary to rebuild the quorum and reconfigures InnoDB Cluster.
Question 18
Which two statements are true about MySQL server multi-source replication? (Choose two.)
- It is not compatible with auto-positioning.
- It needs to be re-instanced after a crash to maintain consistency.
- It uses only time-based replication conflict resolution.
- It relies on relay_log_recovery for resilient operations.
- It does not attempt to detect or resolve replication conflicts.
- It must use GTID replication.
Question 19
Which command enables rule-based MySQL Auditing capabilities?
- shell> mysql < audit_log_filter_linux_install.sql
- shell> mysqld --initialize --log-raw=audit.log
- mysql> INSTALL PLUGIN audit_log;
- mysql> INSTALL COMPONENT audit_log;
Question 20
Examine this SQL statement: mysql> GRANT r_read@localhost TO mark WITH ADMIN OPTION; Which two are true? (Choose two.)
- Mark can grant the privileges assigned to the r_read@localhost role to another user.
- ADMIN OPTION causes the role to be activated by default.
- Mark can grant the r_read@localhost role to another user.
- Mark can revoke the r_read@localhost role from another role.
- ADMIN OPTION allows Mark to drop the role.
- Mark must connect from localhost to activate the r_read@localhost role.