Oracle MySQL 5.7 Database Administrator - 1Z0-888 模擬練習

There are multiple instances of MySQL Server running on a single OS that is backed up using the mysqlbackup command.
The /etc/my/cnf contains default values, for example, datadir=/var/lib/mysql/, with extra instances having their own separate my.cnf file (for example /etc/mysql/instanceN.cnf) overriding the defaults. A restore of the second instance is attempted from the mysqlbackup archive using this command:
mysqlbackup --backup-dir=/opt/backup/mysql/instance2 copy-back
Upon starting the second MySQL instance, you notice that the data does not match the expected backup.
Which command-line option is required to successfully update the second instance?

正解: A
You have the following in your my.cnf configuration file:
[mysqld]
default_authentication_plugin=sha256_password
You want to create a new user who will be connecting from the IP address 192.0.2.10, and you want to use the authentication plug-in that implements SHA-256 hashing for user account passwords. Which two statements would create a user named webdesign for this IP address with the password of imbatman using a SHA_256 password hash?

正解: E,F
解説: (PassTest メンバーにのみ表示されます)
A general purpose MySQL instance is configured with the following options:
--slow-query-log
--long-query-time=.0001
--log-queries-not-using-indexes
--log-slow-admin-queries
--general-log
--log-bin
--binlog-format=STATEMENT
--innodb-flush-log-at-trx-commit=1
Which three statements are true for most workloads? (Choose three.)

正解: B,D,E
This output is from a SHOW SLAVE STATUS:

What would cause the SQL_Delay variable to have a value of 360?

正解: C
解説: (PassTest メンバーにのみ表示されます)
You have taken a Logical Volume Manager (LVM) snapshot backup of a volume that contains the MySQL data directory.
Why is it important to remove snapshots after completing a raw backup in this way?

正解: D
What is the order of tables shown in an EXPLAIN output?

正解: C
解説: (PassTest メンバーにのみ表示されます)
A MySQL server was initialized with separate UNDO tablespaces. Users complain that when they roll back large transactions, the time to process the request takes too long. The DBA would like to move the MySQL InnoDB UNDO tablespace to a solid-state drive (SSD) for better performance. Is this possible and how?

正解: D
You have a scheduled task on Linux that executes mysqldumpagainst the localhost server periodically.
When checking the logs of this event to ensure that things are working and that backups will restore, you notice an output that is concerning.
The command the scheduled task is executing as follows:
$ mysqldump -u backupuser -h 127.0.0.1 -pt100043va living --protocol=TCP
> /backups/latest.sql
Warning: Using a password on the command-line interface can be insecure.
Which two methods are available to avoid the warning? (Choose two.)

正解: A,D
解説: (PassTest メンバーにのみ表示されます)
You have forgotten the root user account password. You decide to reset the password and execute:

Which additional argument makes this operation safer?

正解: C
You are receiving complaints from your application administrators that they are seeing periodic stalls in database response (no queries to any table are returning results for several seconds or longer). You monitor your system and notice that the durations of those stalls correspond to peaks in disk I/O.
Which 2 things should you investigate?

正解: C,D
A particular government's security policy is to have very strict data encryption and safety settings. This is done by restricting access based on their own CA authority and limiting access to particular users within a department. Which method could be used to restrict access as required?

正解: C
Which two statements are true about MySQL when it has been started using the --skip-grant-tables option? (Choose two.)

正解: A,B
解説: (PassTest メンバーにのみ表示されます)