1z0-888 Oracle MySQL 5.7 Database Administrator Free Practice Exam Questions (2025 Updated)
Prepare effectively for your Oracle 1z0-888 MySQL 5.7 Database Administrator certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.
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? (Choose two.)
The MySQL error log shows:
InnoDB: Warning: a long semaphore wait:
The relevant parts of the InnoDB monitor output shows:
Which two options would help avoid the long wait in the future?
Which two capabilities are granted with the SUPER privilege?
Which MySQL utility program should you use to process and sort the Slow Query Log based on query time or average query time?
You have a consistent InnoDB backup created with mysqldump, the largest table is 50 GB in size.
You start to restore your backup with this command;
shell> mysql –u root –p < backup.sql
After 30 minutes, you notice that the rate of restore seems to have slowed down. No other processes or external factors are affecting server performance.
Which is the most likely explanation for this slowdown?
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?
You are investigating the performance of a query which selects data from an InnoDB table.
Consider this Performance Schema diagnostics output for the query:
Which statement is true about the output?
The ‘applicationdb’ is using InnoDB and consuming a large amount of file system space. You have a /backup partition available on NFS where backups are stored.
You investigate and gather this information:
Three tables are stored in the InnoDB shared tablespace and the details are as follows:
The table data_current has 1,000,000 rows.
The table data_reports has 1,500,000 rows.
The table data_archive has 4,500,000 rows.
You attempt to free space from ibdata1 by taking a mysqldump of the data_archive table and storing it on your backup partition.
Unfortunately, this action does not free any actual disk space back to the file system and the server disk space is running out.
Which set of actions will allow you to free disk space back to the file system?
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?
SQL injection is a common security threat.
Which two methods would help protect against this risk?
This output is from a SHOW SLAVE STATUS:
What would cause the SQL_Delay variable to have a value of 360?
What does the possible_keys column in this output denote?
When you examine a new MySQL installation with default configuration, you find a file called ibdata1 in the database directory. Which two statements are true about this file? (Choose two.)
You back up by using mysqldump.
Which configuration is required on the MySQL Server to allow point-in-time recovery?
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?
You want to immediately stop access to a database server for remote user ‘mike’@’client.example.com’. This user is currently not connected to the server.
Which two actions can you take to stop any access from the user?
You want to dump only data from the userdata table.
Which mysqldump command argument is required to accomplish this?
While attempting to set up a new replication slave on host ‘192.168.0.25’ with the user ‘replication’, you encounter this error:
What should you do to resolve this error?
Consider the join_buffer_size parameter in MySQL Server.
Which two statements are true about the join buffer? (Choose two.)
Host slave1 has ip address 192.0.2.10.
Host slave2 has ip address 203.0.113.50
Examine these commands:
Why did this error occur?