Labour Day Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

1z0-888 Exam Dumps - MySQL 5.7 Database Administrator

Question # 4

You created a backup of the world database with this command:

shell> mysqldump --opt world > dump.sql

Which two will import the data from dump.sql? (Choose two.)

A.

shell> mysqladmin recover test dump.sql

B.

shell> mysql test < dump.sql

C.

shell> mysqlimport test dump.sql

D.

mysql> USE test;

mysql> LOAD DATA INFILE ‘dump.sql’;

E.

mysql>USE test;

mysql>SOURCE dump.sql;

Full Access
Question # 5

Which storage option for MySQL data directory typically offers the worst performance in a highly concurrent, OLTP-heavy, IO-bound workload?

A.

battery-backed locally-attached RAID 5 array

B.

iSCSI Lun

C.

SAN (Fibre Channel) Lun

D.

NFS (Networked File System) mount

Full Access
Question # 6

Which three allocate memory per thread in MySQL? (Choose three.)

A.

query cache

B.

thread cache

C.

read buffer

D.

internal temporary table

E.

sort buffer

F.

InnoDB buffer pool instance

Full Access
Question # 7

You are using GTIDS in replication. You need to skip a transaction with the GTID of aaa-bbb-ccc-ddd-eee:3 on a slave.

Which procedure would you execute from a MySQL prompt?

A.

B.

C.

D.

Full Access
Question # 8

A MySQL replication slave is set up as follows:

  • Uses all InnoDB tables
  • Receives ROW-based binary logs
  • Has the read-only option

The replication slave has been found in an error state.

You check the MySQL error log file and find these entries:

What are two possible causes for this error to occur? (Choose two.)

A.

The applications have the SUPER privilege, which allows them to update rows.

B.

The root user on the slave has executed FLUSH LOGS, causing the relay-log to doublewrite.

C.

For tables with UNIQUE keys, statement-based replication must be used to maintain integrity.

D.

The slave was created with mysqldump –u root –p --skip-lock-tables –all-databases > /data/data.sql

E.

The slave user does not have INSERT, UPDATE, or DELETE permission and cannot execute the Write_rows function.

Full Access
Question # 9

Is it true that binary backups always take less space than text backups?

A.

Yes, because binary backups only contain data, and not statements required to insert data into the tables.

B.

No, because text backups can have optimizations, which make them smaller, such as updating many rows at once.

C.

No, because if InnoDB tables contain many empty pages, they could take more space than the INSERT statements.

D.

Yes, because even if InnoDB tables contain many empty pages, text backups have empty INSERT statements for them.

Full Access
Question # 10

You have a MySQL replication setup and you intentionally stop the SQL thread on the slave.

What are two reasons that you may stop the SQL thread on the slave while keeping the I/O thread running? (Choose two.)

A.

to allow the remaining events to be processed on the slave while not receiving new events from the master

B.

to allow a backup to be created under reduced load

C.

to allow for point-in-time recovery on the slave

D.

to prevent schema changes from propagating to the slave before they are validated

E.

to prevent any transaction experiencing a deadlock

Full Access
Question # 11

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?

A.

using GRANT … REQUIRE X509 AND REQUIRE ISSUER ‘/C=…..’ AND REQUIRE SUBJECT ‘/C=…..’

B.

using GRANT USAGE, X509, …….ON *.* TO user@remotehost IDENTIFIED BY ‘secret_password’

C.

using GRANT … REQUIRE SSL for a secure connection

D.

using GRANT USAGE, SSL, …..ON *.* TO user@remotehost IDENTIFIED BY ‘secret_password’

Full Access
Question # 12

Which three tasks are handled by the optimizer? (Choose three.)

A.

Decide which indexes to use.

B.

Rewrite the WHERE clause.

C.

Parse the query.

D.

Change the order in which the tables are joined.

E.

Validate the query.

F.

Execute the query.

G.

Verify that the user is allowed to execute the query.

Full Access
Question # 13

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? (Choose two.)

A.

CREATE USER ‘webdesign’@’192.0.2.10’ IDENTIFIED AS sha256_user WITH sha256_password ‘imbatman’;

B.

CREATE USER ‘webdesign’@’192.0.2.10’ IDENTIFIED BY ‘iambatman’;

C.

CREATE USER ‘webdesign’@’192.0.2.10’ IDENTIFIED WITH sha256_password BY ‘imbatman’;

D.

CREATE USER WITH sha256_password ‘sha256_user’@’192.0.2.10’ IDENTIFIED AS ‘webdesign’ USING ‘imbatman’;

E.

CREATE USER ‘webdesign’@’192.0.2.10’ WITH mysql_native_password USING SHA265 BY ‘imbatman’;

F.

CREATE USER ‘webdesign’@’192.0.2.10’ IDENTIFIED BY SHA265 AS ‘imbatman’;

Full Access
Question # 14

A MySQL instance has this configuration values set:

A transaction involving a single InnoDB INSERT statement commits.

Which list of locations is in the sequence of disk writes for this transaction?

A.

binary log, redo log, doublewrite buffer, and tablespace

B.

redo log, binary log, doublewrite buffer, and tablespace

C.

doublewrite buffer, redo log, tablespace, and binary log

D.

redo log, doublewrite buffer, tablespace, and binary log

Full Access
Question # 15

You have just executed a manual backup by using this command:

mysqlbackup –u root –p –-socket=/tmp/my.sock –-backup-dir=/my/backup/ backup

The operation completed without error.

What is the state of this backup and operation required before it is ready to be restored?

A.

Backup State = Compressed Backup

Operation = copy-back

B.

Backup State = Raw Backup

Operation = apply-log

C.

Backup State = Prepared Backup

Operation = validate

D.

Backup State = Prepared Backup

Operation = apply-log

E.

Backup State = Raw Backup

Operation = backupdir-to-image

Full Access
Question # 16

The /myfolder/my.cnf file has option set:

[mysqld]

skip-log-bin

/myfolder2/my.cnf has this option set:

[mysqld]

log-bin = /valid/path/to/mysqlbinlog

All mentioned paths are accessible to the account that you are currently using. Assume that any other options mentioned in either file are valid and legal option definitions.

You start an instance by using this command line:

mysqld --defaults-file=/myfolder/my.cnf --defaults-extra-file=/myfolder2/my.cnf

What is the outcome?

A.

MySQL starts and Binary Logging is enabled.

B.

MySQL fails to start due to the conflicting options in the configuration files.

C.

MySQL fails to start due to conflicting options on the command line.

D.

MySQL starts but Binary Logging is disabled.

Full Access
Question # 17

You have installed MySQL Server for the first time on your system. However, the data directory along with the tables in the mysql system database are missing. Which step do you perform to create the contents of the data directory?

A.

Run the create_system_tables.sql file

B.

Run the mysql_unpack.sql file

C.

Invoke mysqld with the --initialize option.

D.

Invoke mysql with the --initialize option.

Full Access
Question # 18

What is the best method for monitoring Group Replication conflict resolution?

A.

the PERFORMANCE_SCHEMA tables

B.

the SHOW PROCESSLIST command

C.

the INNODB Lock Monitor details

D.

the SHOW STATUS command

E.

the INFORMATION_SCHEMA tables

Full Access