Summer Special - 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: c4sdisc65

1z0-908 PDF

$38.5

$109.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

1z0-908 PDF + Testing Engine

$61.6

$175.99

3 Months Free Update

  • Exam Name: MySQL 8.0 Database Administrator
  • Last Update: Sep 12, 2025
  • Questions and Answers: 141
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

1z0-908 Engine

$46.2

$131.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included

1z0-908 Practice Exam Questions with Answers MySQL 8.0 Database Administrator Certification

Question # 6

Examine this command, which executes successfully:

cluster.addInstance(‘@:’, {recoveryMethod: ‘clone’})

Which three statements are true? (Choose three.)

A.

The account used to perform this recovery needs the BACKUP_ADMIN privilege.

B.

A target instance must exist, then it will be provisioned with data from an instance already in the cluster and joined to the cluster.

C.

InnoDB tablespaces outside the datadir are able to be cloned.

D.

It is always slower than {recoveryMethod: ‘incremental’}.

E.

A new instance is installed, initialized, and provisioned with data from an instance already in the cluster and joined to the cluster.

F.

InnoDB redo logs must not rotate for the duration of the execution; otherwise, the recovery will fail.

Full Access
Question # 7

A valid raw backup of the shop.customers MyISAM table was taken.

You must restore the table. You begin with these steps:

1.Confirm that secure_file_priv=’/var/tmp’

2.mysql> DROP TABLE shop.customers;

3.shell> cp /backup/customers.MY* /var/lib/mysql/shop/

Which two actions are required to complete the restore? (Choose two.)

A.

shell> cp /backup/customers.sdi /var/tmp

B.

shell> cp /backup/customers.sdi /var/lib/mysql/shop/

C.

mysql> SOURCE ‘/var/tmp/customers.sdi’

D.

mysql> IMPORT TABLE FROM /var/tmp/customers.sdi

E.

shell> cp /backup/customers.frm /var/lib/mysql/shop/

F.

mysql> IMPORT TABLE FROM /var/lib/mysql/shop/customers.sdi

G.

mysql> ALTER TABLE shop.customers IMPORT TABLESPACE

Full Access
Question # 8

Examine these statements, which execute successfully:

TRUNCATE test; BEGIN;

INSERT INTO test(id, name) VALUES(1, “Hello”); ROLLBACK;

SELECT id FROM test;

Which three storage engines would return a nonempty recordset for the test table when executing the statements? (Choose three.)

A.

NDB

B.

ARCHIVE

C.

InnopB

D.

BLACKHOLE

E.

MEMORY

F.

MyISAM

Full Access
Question # 9

On examination, your MySQL installation datadir has become recursively world read/write/executable.

What are two major concerns of running an installation with incorrect file privileges? (Choose two.)

A.

Users could overwrite configuration files.

B.

Data files could be deleted.

C.

SQL injections could be used to insert bad data into the database.

D.

MySQL binaries could be damaged, deleted, or altered.

E.

Extra startup time would be required for the MySQL server to reset the privileges.

Full Access
Question # 10

Consider this shell output and executed commands:

[root@oel7 ~]# ps aux | grep mysqld

mysql 2076 3.5 24.6 1386852 372572 ? Ssl 12:01 0:01 /usr/sbin/mysqid

[root@oel7 ~]# kill -15 2076

Which statement is true about MySQL server shutdown?

A.

kill -15 should be avoided. Use other methods such as mysqladmin shutdown or systemctl stop mysqld.

B.

kill -15 and kill -9 are effectively the same forced shutdown that risk committed transactions not written to disk.

C.

kill -15 carries out a normal shutdown process, such as mysqladmin shutdown.

D.

mysqld_safe prohibits commands that would harm the operation of the server. An error would be returned by the kill command.

Full Access
Question # 11

A clean shutdown was performed with innodb_fast_shutdown=0.

While you were manipulating files, all files were accidentally deleted from the top-level data directory.

Which two files must be restored from backup to allow the DB to restart cleanly? (Choose two.)

A.

ibtmp1

B.

undo_001

C.

ib_buffer_pool

D.

ibdata1

E.

mysql.ibd

F.

ib_logfile0

Full Access
Question # 12

You are using an existing server with a new configuration. MySQL Server fails to start.

Examine this snapshot of the error log:

1z0-908 question answer

Which action would allow the server to start?

A.

Remove ib_logfile0 and ib_logfile1 files from the file system.

B.

Execute mysqladmin flush-logs.

C.

First run mysqld --initialize to refresh the Size of ib_logfile.

D.

Create a new ib_logfile0 file of size 26214400.

Full Access
Question # 13

Examine this statement, which executes successfully:

1z0-908 question answer

Now examine this query:

1z0-908 question answer

Which two statements can do this? (Choose two.)

A.

ALTER TABLE employees -

ADD INDEX (birth_date DESC);

B.

ALTER TABLE employees -

ADD INDEX ((MONTH(birth_date)));

C.

ALTER TABLE employees -

ADD COLUMN birth_month tinyint unsigned GENERATED ALWAYS AS (MONTH(birth_date)) VIRTUAL NOT NULL,

ADD INDEX (birth_month);

D.

ALTER TABLE employees -

ADD COLUMN birth_month tinyint unsigned GENERATED ALWAYS AS (birth_date->>'$.month') VIRTUAL NOT NULL,

ADD INDEX (birth_month);

E.

ALTER TABLE employees -

ADD INDEX ((CAST(birth_date->>'$.month' AS unsigned)));

F.

ALTER TABLE employees -

ADD INDEX (birth_date);

Full Access
Question # 14

Examine this query and output:

1z0-908 question answer

Which two statements are true? (Choose two.)

A.

The country table is accessed as the first table, and then joined to the city table.

B.

It takes more than 8 milliseconds to sort the rows.

C.

The optimizer estimates that 51 rows in the country table have Continent = ‘Asia’.

D.

35 rows from the city table are included in the result.

E.

The query returns exactly 125 rows.

Full Access
Question # 15

Where is the default data directory located after installing MySQL using RPM on Oracle Linux 7?

A.

/usr/mysql

B.

/usr/bin

C.

/etc/my.cnf

D.

/var/lib/mysql

E.

/usr

Full Access
Question # 16

You recently upgraded your MySQL installation to MySQL 8.0.

Examine this client error:

1z0-908 question answer

Which option will allow this client to connect to MySQL Server?

A.

[mysqld]

default_authentication_plugin=sha256_password

B.

ALTER USER user -

IDENTIFIED WITH mysql_native_password

BY 'password';

C.

[mysqld]

default_authentication_plugin=caching_sha2_password

D.

ALTER USER user -

IDENTIFIED WITH caching_sha2_password

BY 'password';

E.

ALTER USER user -

IDENTIFIED WITH sha256_password -

BY 'password';

F.

[mysqld]

default_authentication_plugin=mysql_native_password

Full Access
Question # 17

Which statement is true about displaying and retrieving data with MySQL Enterprise Monitor Query Analyzer?

A.

The Query Analyzer graph view range selector can extend to cover the same hour over multiple days.

B.

It is possible to filter a Query Analyzer view graph by database and by table.

C.

The Query Analyzer can plot a CPU utilization graph for remote hosts with a MySQL Enterprise Service Manager's built-in Agent installation.

D.

It is possible to export statements included in a graph selection in CSV format.

Full Access
Question # 18

Examine these InnoDB Cluster parameter settings:

1z0-908 question answer

Now examine the partial status:

1z0-908 question answer

A permanent network failure isolates host3.

Which two statements are true? (Choose two.)

A.

The instance deployed on host2 is elected as the new primary instance.

B.

The instance deployed on host3 is expelled from the cluster and must be rejoined using cluster.addInstance ('host3:3377')

C.

The instance deployed on host3 will automatically rejoin the cluster when connectivity is re-established.

D.

Failure of the instance deployed on host1 provokes an outage.

E.

The issuing command cluster.switchToMuitiPrimaryMode() will fail to enable multi-primary mode.

F.

The primary instance can be specified by using the command cluster.setPrimaryInstance(:).

Full Access
Question # 19

Examine this SQL statement:

mysql> GRANT r_read@localhost TO mark WITH ADMIN OPTION;

Which two are true? (Choose two.)

A.

Mark can grant the privileges assigned to the r_read@localhost role to another user.

B.

ADMIN OPTION causes the role to be activated by default.

C.

Mark can grant the r_read@localhost role to another user.

D.

Mark can revoke the r_read@localhost role from another role.

E.

ADMIN OPTION allows Mark to drop the role.

F.

Mark must connect from localhost to activate the r_read@localhost role.

Full Access
Question # 20

How can mysql_multi be configured to allow MySQL instances to use the same port number?

A.

The instances use different user accounts unique to each instance.

B.

The instances listen on different IP addresses.

C.

The instances use different socket names.

D.

The instances have appropriate net masks set.

Full Access
Question # 21

Your my.cnf file contains these settings:

1z0-908 question answer

You want to log queries that looked at a minimum of 5000 records and either took longer than 5 seconds to run or did not use indexes.

Which contains all the settings that you need to add to or modify the slow log configuration?

A.

min_examined_row_limit=5000

B.

long_query_time=5

log_throttle_queries_not_using_indexes=5

C.

log_throttle_queries_not_using_indexes=5

min_examined_ row_limit=5000

D.

long_query_time=5

E.

long_query_time=5

min_examined_row_limit=5000

F.

log_throttle_queries_not_using_indexes=5

G.

long_query_time=5

log_throttle_queries_not_using_indexes=5

min_examined_row_limit=5000

Full Access
Question # 22

Which three sets of item information are visible in the mysql system database? (Choose three.)

A.

help topics

B.

performance monitoring information

C.

plugins

D.

information about table structures

E.

audit log events

F.

rollback segments

G.

time zone information and definitions

Full Access
Question # 23

You issue this command:

SHOW SLAVE STATUS -

In the output, there is a value for Seconds_behind_master.

How is this time calculated?

A.

It is the time between the I/O thread receiving details of the master's last transaction and the time it was applied by the SQL thread.

B.

It is the time between the most recent transaction written to the relay logs and the time it was committed on the master.

C.

It is the time between the I/O thread receiving details of the master’s last transaction and the time it was written to the relay log on the slave.

D.

It is the time between the most recent transaction applied by a SQL thread and the time it was committed on the master.

Full Access
Question # 24

Which two statements are true about MySQL Enterprise Backup? (Choose two.)

A.

It supports backing up only table structures.

B.

It can perform hot or warm backups.

C.

It creates logical backups.

D.

It supports the creation of incremental backups.

E.

It supports backup of a remote MySQL system.

F.

It supports restoring to a remote MySQL system.

Full Access
Question # 25

Which two are valid uses for binary logs on a MySQL instance? (Choose two.)

A.

recording the order in which queries are issued

B.

audit of all queries

C.

point-in-time recovery

D.

replication

E.

logging the duration and locks for all queries

Full Access
Question # 26

Which three are types of InnoDB tablespaces? (Choose three.)

A.

redo tablespaces

B.

encryption tablespaces

C.

schema tablespaces

D.

data tablespaces

E.

undo tablespaces

F.

temporary table tablespaces

Full Access
Question # 27

Your MySQL server was upgraded from an earlier major version.

The sales database contains three tables, one of which is the transactions table, which has 4 million rows.

You are running low on disk space on the datadir partition and begin to investigate.

Examine these commands and output:

1z0-908 question answer

Which two statements are true? (Choose two.)

A.

Executing SET GLOBAL innodb_row_format=COMPRESSED and then ALTER TABLE transactions

will free up disk space.

B.

Executing ALTER TABLE transactions will enable you to free up disk space.

C.

Truncating the sales and leads table will free up disk space.

D.

Truncating the transactions table will free up the most disk space.

E.

The transactions table was created with innodb_file_per_table=OFF.

Full Access
Question # 28

You wish to protect your MySQL database against SQL injection attacks.

Which method would fail to do this?

A.

installing and configuring the Connection Control plugin

B.

avoiding concatenation of SQL statements and user-supplied values in an application

C.

using stored procedures for any database access

D.

using PREPARED STATEMENTS

Full Access
Question # 29

Which condition is true about the use of the hash join algorithm?

A.

No index can be used for the join.

B.

The query must access no more than two tables.

C.

The smallest of the tables in the join must fit in memory as set by join_buffer_size.

D.

At least one of the tables in the join must have a hash index.

Full Access
Question # 30

You want to dump all databases with names that start with "db".

Which command will achieve this?

A.

mysqlpump --include-tables=db.% --result-file=all_db_backup.sql

B.

mysqlpump > all_db_backup.sql

C.

mysqlpump --include-databases=db --result-file=all_db_backup.sql

D.

mysqlpump --include-databases=db% --result-file=all_db_backup.sql

Full Access
Question # 31

Which three are types of information stored in the MySQL data dictionary? (Choose three.)

A.

performance metrics

B.

InnoDB buffer pool LRU management data

C.

access control lists

D.

view definitions

E.

server runtime configuration

F.

server configuration rollback

G.

stored procedure definitions

Full Access
Question # 32

Examine this command, which executes successfully:

mysqlpump -–user=root --password > full_backup.sql

Which two databases will be excluded from this dump? (Choose two.)

A.

information_schema

B.

world

C.

employee

D.

sys

E.

mysql

Full Access
Question # 33

Examine this query and its output:

1z0-908 question answer

Which two statements are true? (Choose two.)

A.

The root user had the largest number of modified rows for a SELECT statement.

B.

User bob had the largest total time waiting for locks.

C.

The root user had the largest single wait time.

D.

The app user had the highest total number of rows read from storage engines.

E.

User bob had a significantly higher ratio of SELECT + INSERT statements to QUIT than both app and root users.

Full Access
Question # 34

Examine these entries from the general query log:

1z0-908 question answer

All UPDATE statements reference existing rows.

Which describes the outcome of the sequence of statements?

A.

Connection 24 experiences a lock wait timeout.

B.

Connection 25 experiences a lock wait timeout.

C.

A deadlock occurs immediately.

D.

All statements execute without error.

E.

A deadlock occurs after innodb_lock_wait_timeout seconds.

Full Access
Question # 35

Which three statements are true about MySQL replication? (Choose three.)

A.

Replication can use only TCP/IP connections.

B.

Any instance can have multiple slaves, but it can have only one master.

C.

Each instance in a replication topology must have a unique server ID.

D.

Binary logs contain only transactions originating from a single MySQL instance.

E.

Each slave must have its own MySQL user for replication.

F.

Binary logging must be enabled on the master in order to replicate to other instances.

G.

A replication user must have the SELECT privilege for all tables that need to be replicated.

Full Access
Question # 36

You reconfigure and start a slave that was not replicating for several days.

The configuration file and CHANGE MASTER command are correct. Examine the GTID information from both master and slave:

1z0-908 question answer

Which statement is true?

A.

Replication will fail because the slave has purged more aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa

transactions than the master.

B.

Replication will fail because the master does not have the required transaction with bbbbbbbb-bbbb- bbbb-bbbb-bbbbbbbbbbbb GTIDs in its binary logs.

C.

Replication will fail because the master has already purged transactions with cccccccc-cccc-cccc- cccc-cccccccccccc GTIDs.

D.

Replication will fail because of inconsistent numbers in cccccccc-cccc-cccc-cccc-cccccccccccc

GTIDs.

E.

Replication will work.

Full Access
Question # 37

Examine these commands and output:

1z0-908 question answer

Which connection ID is holding the metadata lock?

A.

20

B.

24

C.

21

D.

25

E.

22

F.

6

Full Access
Question # 38

Examine the modified output:

1z0-908 question answer

Seconds_Behind_ Master value is steadily growing. What are two possible causes? (Choose two.)

A.

The master is most probably too busy to transmit data and the slave needs to wait for more data.

B.

One or more large tables do not have primary keys.

C.

This value shows only I/O latency and is not indicative of the size of the transaction queue.

D.

The master is producing a large volume of events in parallel but the slave is processing them serially.

E.

The parallel slave threads are experiencing lock contention.

Full Access
Question # 39

A user wants to connect without entering his or her username and password on the Linux command prompt.

Which three locations can be used to store the user’s mysql credentials to satisfy this requirement? (Choose three.)

A.

$HOME/.my.cnf file

B.

$MYSQL_HOME/my.cnf file

C.

DATADIR/mysqld-auto.cnf file

D.

$HOME/.mylogin.cnf file

E.

$HOME/.mysql/auth/login file

F.

/etc/my.cnf file

G.

$HOME/.mysqlrc file

Full Access
Question # 40

You have upgraded the MySQL binaries from 5.7.28 to 8.0.18 by using an in-place upgrade.

Examine the message sequence generated during the first start of MySQL 8.0.18:

1z0-908 question answer

Which step or set of steps will resolve the errors?

A.

Remove the redo logs. Replace the MySQL binaries with the 5.7.28 binaries. Prepare the tables for upgrade. Upgrade to 8.0.18 again.

B.

Execute: mysqlcheck --check-upgrade mysql columns_priv event proc proxies_priv tables_priv.

C.

Start mysqld again using the --upgrade=FORCE option.

D.

Execute: mysqlcheck --repair mysql columns_priv event proc proxies_priv tables_priv.

E.

Go to the /mysql directory and execute: myisamchk --update-state columns_priv event proc proxies_priv tables_priv.

Full Access
Question # 41

Examine this command and output:

1z0-908 question answer

Which two statements are true? (Choose two.)

A.

The lock is at the metadata object level.

B.

The lock is a shared lock.

C.

The lock is an intentional lock.

D.

The lock is at the table object level.

E.

The lock is a row-level lock.

F.

The lock is an exclusive lock.

Full Access
Question # 42

Which two MySQL Server accounts are locked by default? (Choose two.)

A.

any user set as DEFINER for stored programs

B.

any internal system accounts

C.

any new ROLE accounts

D.

any user created without a password

E.

any user created with a username, but missing the host name

Full Access