|Exam Name||:||MySQL 5.7 Database Administrator|
|Questions and Answers||:||84 Q & A|
|Updated On||:||Click to Check Update|
|PDF Download Mirror||:||1Z0-888 Brain Dump|
|Get Full Version||:||Pass4sure 1Z0-888 Full Version|
You back up by using mysqldump. Which configuration is required on the MySQL Server to allow point-in-time recovery?
Consider that local disk files are accessible via MySQL with commands such as: mysql> LOAD DATA LOCAL INFILE ‘/etc/passwd’ INTO TABLE mypasswords; What change could be made to stop any breach via this insecurity?
executing REVOKE LOAD FROM *.*
setting the --local-service=0 option when starting mysqld
executing REVOKE FILE FROM *_*
executing REVOKE FILE ON *_* FROM ‘ ‘@’%’
setting the --local-infile=0 option when starting mysqld
setting the --open-files-limit=0 option when starting mysqld
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?
CREATE USER ‘webdesign’@’192.0.2.10’ IDENTIFIED AS sha256_user WITH
CREATE USER ‘webdesign’@’192.0.2.10’ IDENTIFIED BY ‘iambatman’;
CREATE USER ‘webdesign’@’192.0.2.10’ IDENTIFIED WITH sha256_password BY ‘imbatman’;
CREATE USER WITH sha256_password ‘sha256_user’@’192.0.2.10’ IDENTIFIED AS ‘webdesign’ USING ‘imbatman’;
CREATE USER ‘webdesign’@’192.0.2.10’ WITH mysql_native_password USING SHA265 BY ‘imbatman’;
CREATE USER ‘webdesign’@’192.0.2.10’ IDENTIFIED BY SHA265 AS
One of your colleagues is trying to make a change using the mysql command-line client for his or her application session. The colleague instant messages you this command: mysql> SET SESSION max_connections = 200; Why does the command fail?
max_connections requires the GLOBAL scope.
Its current user does not have the SUPER privilege.
max_connections is not a dynamic variable. You need to change the config file and restart the database.
Users can control only the max_user_connections variable.
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?
Run the create_system_tables.sql file
Run the mysql_unpack.sql file
Invoke mysqld with the --initialize option.
Invoke mysql with the --initialize option.
What is the best method for monitoring Group Replication conflict resolution?
the PERFORMANCE_SCHEMA tables
the SHOW PROCESSLIST command
the INNODB Lock Monitor details
the SHOW STATUS command
the INFORMATION_SCHEMA tables
After analysis on the slow query log on a high-end OLTP service, the table identified in the slow queries is:
What are the two most likely reasons for the slowness given this output?
Date should be a TIMESTAMP field for better performance.
The User field is too long for most names.
The engine type is not appropriate to the application use.
Using default values for DATETIME causes table scans.
No indexes are defined.
Which two methods accurately monitor the size of your total database size over time?
monitoring the Innodb_rows_inserted status variable
monitoring the innodb_redo_log_size variable
monitoring the information_schemA.TABLES table
monitoring datadir size in the operating system
monitoring cumulative Innodb_page_size increase
monitoring the performance_schema_hosts_size variable
Which three tasks are handled by the optimizer?
Decide which indexes to use.
Rewrite the WHERE clause.
Parse the query.
Change the order in which the tables are joined.
Validate the query.
Execute the query.
Verify that the user is allowed to execute the query.
Is it true that binary backups always take less space than text backups?
Yes, because binary backups only contain data, and not statements required to insert data into the tables.
No, because text backups can have optimizations, which make them smaller, such as updating many rows at once.
No, because if InnoDB tables contain many empty pages, they could take more space than the INSERT statements.
Yes, because even if InnoDB tables contain many empty pages, text backups have empty INSERT statements for them.