Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmaspas7

Easiest Solution 2 Pass Your Certification Exams

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.

Page: 2 / 2
Total 124 questions

You have created a backup of the ‘sales’ database with the command:

Which two procedures can be used to restore the ‘orders’ table from the backup?

A.

B.

C.

D.

You will configure a MySQL Server to act as a replication master. Which two options must be configured correctly to allow this? (Choose two.)

A.

log-master-updates

B.

rpl-recovery-rank

C.

server-id

D.

enable-master-start

E.

log-bin

F.

master-logging

You have created a new user with this statement:

CREATE USER ‘erika’@’localhost’ IDENTIFIED BY ‘first#1Pass’ PASSWORD EXPIRE;

What is the outcome?

A.

When ‘erika’@’localhost’ tries to log in with the MySQL command-line client, the user will have to change the password before seeing the mysql> prompt.

B.

When ‘erika’@’localhost’ tries to log in with the MySQL command-line client, the user will not be permitted to log in because the password is expired.

C.

When ‘erika’@’localhost’ tries to log in with the MySQL command-line client, the user will be permitted to log in but will not be able to issue ant statements until the user changes the password.

D.

You receive a syntax error that indicates that you cannot set a password and expire it at the same time.

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.

Consider the CHECK TABLE command.

In which two situations should this command be used? (Choose two.)

A.

to find out why a query takes a long time to execute on a given table

B.

to make sure a table has no structural problems

C.

to improve performance by updating index distributing statistics on InnoDB tables

D.

to repair table structure problem

E.

to make sure that no table indexes are corrupted

On a master server that is using statement-based replication, a table of log data has become very large.

You decide to delete 100,000 rows.

Which two methods can be independently invoked to ensure that the delete is properly propagated to the slave? (Choose two.)

A.

Change the replication mode to MIXED before issuing any delete statements when the LIMIT clause is used.

B.

If the data modification is non-deterministic, the query optimizer will resolve any potential issues.

C.

Use the LIMIT clause to limit the deletion to 100,000 rows.

D.

Use the LIMIT clause in conjunction with the ORDER BY clause.

Which two statements are true regarding MySQL security? (Choose two.)

A.

The mysql user needs to have sudo privileges.

B.

The mysqld process owner should own all files and directories to which the server writes.

C.

The root or administrator users should own all files and directories to which the server writes.

D.

The mysqld process should be run as root or administrator.

E.

The mysqld process should not be run as root or administrator.

You are setting up a new installation of MySQL Server 5.7 (a GA release.) You have used a ZIP or TAR package to ensure that the mysqld binary, along with its support files, such as plug-ins and error messages, now exist on the host. Assume that the default datadir exists on the host. You installed the binary in the default location (the default --basedir value) for your operating system.

Which step should you perform before defining your own databases and database tables?

A.

Execute a command with a minimal form of: mysql --initialize

B.

Register mysqld as a service that will start automatically on this host machine.

C.

Create a configuration file containing default-storage-engine=InnoDB.

D.

Set an exception in the host machine’s firewall to allow external users to talk to mysqld.

E.

Create additional login accounts (so that everyone does not need to log in as root) and assign them appropriate privileges.

You are receiving complaints from your application administrators that they are seeing periodic stalls in database response (no queries to any table are returning results for several seconds or longer). You monitor your system and notice that the durations of those stalls correspond to peaks in disk I/O.

Which 2 things should you investigate?

A.

Check the rate of change in the status value Aborted_connects and compare to the rate of change in Connections.

B.

Check the difference between the InnoDB status values “Log Sequence number” and “Last Checkpoint” positions then compare that to the total size of the redo log.

C.

Check the rate of change in the status value Select_scan and compare to the rate of change in Com_select.

D.

Check the difference between the InooDB status values “Trx id counter” and “Purge done for” and compare to the state substatus of the main “Main thread”

E.

Check the rate of change in the statis value Qcache_hits and compare that to the rate of change of Qcache_not_cached.

Which are three facts about backups with mysqldump? (Choose three.)

A.

will lock all storage engines for duration of backup

B.

can back up a remote database server

C.

allow a consistent backup to be taken

D.

are able to back up specific items within a database

E.

create automatically compressed backups

F.

are always faster to restore than binary backups

Which three statements correctly describe MySQL InnoDB Cluster? (Choose three.)

A.

The cluster can be operated in multimaster mode with conflict detection for DML statements.

B.

All MySQL client programs and connectors can be used for executing queries.

C.

It provides fully synchronous replication between the nodes.

D.

There is support for automatic failover when one node fails.

E.

The data is automatically shared between the nodes.

F.

Each query will be executed in parallel across the nodes.

A MySQL instance is running on a dedicated server. Developers access the server from the same network subnet. Users access the database through an application that is running on a separate server in a DMZ.

Which two will optimize the security of this setup? (Choose two.)

A.

enabling and using SSL for connections to the MySQL database

B.

running the server with –-skip-networking specified

C.

disabling connections from named pipes or socket files (depending on the operating system of the server)

D.

starting the server with –-bind-address=0.0.0.0 specified

E.

limiting logins to originate from the application server or the server’s subnet

F.

installing MySQL on the application server, and running the database and application on the same server

A MySQL Server has been running an existing application successfully for six months. The my.cnf is adjusted to contain this additional configuration:

The MySQL Server is restarted without error.

What effect will the new configuration have on existing account?

A.

They are not affected by this configuration change.

B.

They all connect via the secure sha256_password algorithm without any configuration change.

C.

They will have their passwords updated on start-up to sha256_password format.

D.

They will have to change their password the next time they login to the server.

Consider the index information for the dept_emp table in the employee’s schema:

Which two conclusions can be made based on the output of the query? (Choose two.)

A.

There are three indexes on the table.

B.

There is a redundant index on the dept_no column.

C.

The secondary indexes are optimized for unique key look-ups.

D.

The values on the emp_no column must be unique.

E.

The selectivity of the dept_no column is the best of the indexed columns.

F.

There is a redundant index on the emp_no column.

How does the InnoDB storage engine handle deadlocks when they are detected?

A.

Both the affected transactions will be rolled back.

B.

The affected transactions wait for innodb_lock_wait_timeout seconds, and then roll back.

C.

One of the affected transactions will be rolled back, the other is allowed to proceed.

D.

The transaction isolation level determines which transaction is rolled back.

E.

The innodb_locks_unsafe_for_binlog setting determines which transaction is rolled back.

Which two methods will provide the total number of partitions on a table? (Choose two.)

A.

Query the INFORMATION_SCHEMA.PARTITIONS table

B.

Use the command: SHOW TABLE STATUS

C.

Query the performance_schema.objects_summary_global_by_type table

D.

Query the INFORMATION_SCHEMA.TABLES table for the partition_count

E.

Use the command: SHOW CREATE TABLE

You have a config file for a running DB with this excerpt:

[mysqld]

tmp_table_size=16M

sort_buffer_size=256k

To address a query performance problem of connecting to the DB from an application on another host, you log in and make these changes to the DB:

mysql> SET GLOBAL tmp_table_size=32000000;

mysql> SET sort_buffer_size=2000000;

This solves the problem with your queries. However, later the DB instance is restarted and the performance problem returns.

Which three best describe this scenario?

A.

Global variables are not persistent across server restarts.

B.

Session variables are not persistent across server restarts.

C.

The query benefited from sort_buffer_size increase.

D.

sort_buffer_size should match tmp_table_size to be optimal.

E.

The query benefited from tmp_table_size increase.

F.

The query benefited from sort_buffer_size and tmp_table_size increases.

Page: 2 / 2
Total 124 questions
Copyright © 2014-2025 Solution2Pass. All Rights Reserved