Oracle 1Z0-888 MySQL 5.7 Database Administrator QUESTION & ANSWERS https://www.genuinedumps.com/1Z0-888-exam-questions.html QUESTION 1 An employee cannot access the company database. You check the connection variables: A look at the user privileges shows: What is a valid explanation for why one of the users is unable to connect to the database? A. Bob has max_user_connections set to zero, which blocks all his connections. B. All users are blocked because max_user_connections is accumulated over the host account information. C. connect_timeout is too small to allow a connection to occur. D. Joe has exceeded the max_user_connections global limit. E. Kay is already connected elsewhere and attempting to log in again. Correct Answer: D QUESTION 2 You have installed the validate_password plug-in and set the validate_password_policy variable. Which validation is affected by the validate_password_policy setting? A. B. C. D. whether a new password is rejected if it contains a word found in a dictionary file. whether a new password is rejected if it contains the current user's username. the amount of delay after an incorrect password is entered the length of time before a newly created password expires https://www.genuinedumps.com/1Z0-888-exam-questions.html Correct Answer: A QUESTION 3 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? A. Yes. Shut down the mysqld process, enable the transportable_tablespace option, and move the UNDO directory to the SSD. B. Yes. Shut down, copy the UNDO tablespaces to the new location, and change the innodb_undo_directory value in your my.cnf. C. No. The UNDO tablespaces must remain on the same file system as the system tablespaces. D. No. The sequential write pattern of the UNDO tablespaces is not supported on modern SSD block devices. Correct Answer: C QUESTION 4 A MySQL database uses all InnoDB tables and is configured as follows; You will be setting up a replication slave by using mysqldump. You will need a consistent backup taken from your running production server. The process should have minimal impact to active database connections. Which two arguments will you pass to mysqldump to achieve this? (Choose two.) A. B. C. D. E. --skip-opt --lock-all-tables --create-apply-log --single-transaction --master-data https://www.genuinedumps.com/1Z0-888-exam-questions.html Correct Answer: A,B QUESTION 5 Which are three facts about backups with mysqldump? (Choose three.) A. B. C. D. E. F. will lock all storage engines for duration of backup can back up a remote database server allow a consistent backup to be taken are able to back up specific items within a database create automatically compressed backups are always faster to restore than binary backups Correct Answer: B,C,D QUESTION 6 You want to create a temporary table named OLD_INVENTORY in the OLD_INVENTORY database on the master server. This table is not to be replicated to the slave server. Which two changes would ensure that the temporary table does not propagate to the slave? (Choose two.) A. Set binlog_format=MIXED with the --replicate-ignore-temp-table option. B. Use the --replicate-do-db, --replicate-do-table, or --replicate-wild-do-table option with the value equal to OLD_INVENTORY. C. Change the binlog_format option to ROW and restart mysqld before you create the OLD_INVENTORY table. D. Stop SQL_THREAD on the slave until you have finished using the OLD_INVENTORY temporary table. E. Use the --replicate-ignore-table option with the value equal to OLD_INVENTORY.OLD_INVENTORY and restart mysqld before creating the temporary table. Correct Answer: B,E QUESTION 7 Which statement is correct about how InnoDB storage engine uses disk space? A. It stores data in .MYD files and its index and undo information in the common tablespace. B. It stores data in .MYD files, index information in .MYI files, and undo information the common tablespace. https://www.genuinedumps.com/1Z0-888-exam-questions.html C. It stores its data in tablespace file(s). Index and data dictionary details are stored in .FRM files. D. It stores its data, index and undo information in .MYD and .MYI files. E. It stores data, index and undo information in tablespace file(s). Correct Answer: E QUESTION 8 old_alter_table is disabled as shown. mysql> SELECT @@old_alter_table; Consider this statement on a RANGE-partitioned table: mysql> ALTER TABLE orders DROP PARTITION p1, p3; What is the outcome of executing this statement? A. B. C. D. All data in p1 and p3 partitions is removed and the table definition is changed. All data in p1 and p3 partitions is removed, but the table definition remains unchanged. Only the first partition (p1) will be dropped because only one partition can be dropped at any time. It results in a syntax error because you cannot specify more than one partition in the same statement. Correct Answer: B QUESTION 9 A crucial database, 'db_prod', just disappeared from your production MySQL instance. In reviewing the available MySQL logs (General, Audit, or Slow) and your own application-level logs, you identified this command from a customer facing application: SELECT id FROM users WHERE login='payback!';DROP DATABASE db_prod;' Which three methods could have been used to prevent this SQL injection attack from happening? https://www.genuinedumps.com/1Z0-888-exam-questions.html (Choose three.) A. writing your client code to properly escape all user input B. giving limited privileges to accounts used by application servers to interact with their backing databases C. using SSL/TLS on your outward facing web servers (https://) to encrypt all user sessions D. using a hashing or encryption method to secure all user passwords in your MySQL tables E. removing any remaining anonymous accounts from your MySQL instance F. validating all user input before sending it to the database server G. changing all passwords for the MySQL account 'root'@'%' immediately after losing an employee who knew the current password Correct Answer: D,E,G QUESTION 10 The MySQL installation includes the mysql_config_editor utility for managing login paths stored in a .mylogin.cnf file. Which two are true about the login path feature? (Choose two.) A. mysql_config_editor is the only MySQL-provided utility that can print the values stored in .mylogin.cnf. B. A .mylogin.cnf file can store at most one login path. C. It provides a FIPS-compliant keyring for storing MySQL login details. D. A .mylogin.cnf file can be edited using a text editor, such as vim or Notepad++. E. It is an alternative to storing the MySQL login details in a my.cnf file. F. It provides means to help avoid accidentally exposing the MySQL login details. Correct Answer: E,F QUESTION 11 What is the order of tables shown in an EXPLAIN output? A. B. C. D. It lists tables from the smallest to the largest. It lists tables in the order in which their data will be read. It lists tables from the most optimized to the least optimized. It lists tables in the order in which they are specified in the statement that is being explained. Correct Answer: D https://www.genuinedumps.com/1Z0-888-exam-questions.html QUESTION 12 Consider the ANALYZE TABLE command. In which two situations should this command be used? A. B. C. D. when you want to check a tables structure to see if it may have been damaged and needs repair when you need to find out why a query is taking a long time to execute when you want to update index distribution statistics after large amounts of table data have changed Correct Answer: C,D https://www.genuinedumps.com/1Z0-888-exam-questions.html