You have been tasked with creating a QA MySQL instance on a DB host, which already has one large instance in /var/lib/mysql/ running as the mysql user. The MySQL configuration file for the existing instance includes:
The default instance was installed using the OS package manager. The latest binaries for both client and server are already in ENV PATH.
The new instance will run as a different user from the existing instance for security purposes. You create the new data directory successfully and move on to initialize the new DATADIR.
You verify the output to confirm the operation's success:
[mysqlQA@linux /var/lib/]$ mysqld --initialize --datadir=/var/lib/mysql_QA 2>and1 | tail -n3
2018-05-03T12:16:10.928809Z 0 [ERROR] Could not open file '/var/log/mysqld.log' for error logging:
Permission denied
2018-05-03T12:16:10.928841Z 0 [ERROR] Aborting
[mysqlQA@linux /var/lib/]$
The initialization of the instance has failed.
What would you do to enable the initialization to succeed?
A. Pass --log-error=/var/lib/mysql_QA/mysqld.log.
B. Use mysql_install_db.
C. Use --no-defaults to ignore the existing config file in the default PATH.
D. Change permissions on /var/log/mysqld.log to allow writes.
Which two statements can be used to adjust the sort_buffer_size variable on a running MySQL server? (Choose two.)
A. mysql> SET GLOBAL sort_buffer_size=256000;
B. mysql> SET SESSION sort_buffer_size=256000;
C. mysql> CONF T; do global sort_buffer_size=256000;
D. mysql> system sort_buffer_size=256000;
E. mysql> SET VARIABLE sort_buffer_size=256000;
The MySQL instance is a default RPM installation on a Linux server. Where are the errors written?
A. in the /var/lib/mysql/hostname.log file
B. no logging enabled by default
C. in the /var/log/mysqld.err file
D. in the syslog daemon on the server
You are looking at these details:
Why does the message "Waiting for an event from Coordinator" show up on the slave_worker threads?
A. The Event Schedular is not enabled on the slave host.
B. The slave is waiting for an event to come into the relay log.
C. The slave thread is waiting for another event to finish in another slave thread.
D. The binary log on the master is not being updated.
What does the Performance Schema provide?
A. insight into the internal working of MySQL
B. recommendations for schema changes
C. a text-based version of MySQL Enterprise Monitor
D. auto-tuning based on settings and ongoing workload
Recently, users on mostly-write MySQL database have been complaining of slowdowns or stalls in their applications.
Which option is most likely to have a positive effect on the server's health and performance?
A. Reduce the size of redo logs to improve storage efficiency.
B. Increase the size of redo logs.
C. Lower innodb_max_dirty_pages_pct to flush more often.
D. Move redo logs to /dev/shm to improve their speed.
Consider a replication setup where a snapshot of the replication status shows: Which statement is true?
A. The melbourne channel is resolving a GTID conflict.
B. The sydney channel is keeping up with the received events.
C. The melbourne channel is keeping up with the received events.
D. The last event received from the sydney channel was at 2018-05-08 14:55:01.
E. The replication slave uses multisource replication with eight sources.
What three are correct statements about MySQL backups? (Choose three.)
A. They are used to set up the initial binary log files.
B. They are used to prevent data corruption.
C. They are used to prevent data theft.
D. They are used to set up a replication slave.
E. They are used to recover data.
F. They are used to set up a test system.
You have set innodb_stats_auto_recalc to OFF.
For tables using persistent statistics, what is the outcome of this change?
A. InnoDB no longer automatically updates index statistics after a CREATE TABLE statement.
B. InnoDB no longer automatically updates index statistics after the table structure is altered.
C. InnoDB no longer automatically updates index statistics after 10% of the rows in a table change.
D. InnoDB no longer automatically updates index statistics after an ANALYZE TABLE statement.
To query two system variables, you execute this statement and get the results shown:
When you execute the following two statements, only the first one succeeds:
SET @@autocommit=0;
SET @@max_connections=200;
Why does the second statement fail?
A. max_connections is a read-only variable that cannot be set dynamically.
B. max_connections must be set globally instead of locally.
C. max_connections is a derived variable that can only be set indirectly.
D. max_connections must be set at server start in an options file.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-888 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.