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

1z0-908 MySQL 8.0 Database Administrator Questions and Answers

Questions 4

Examine these entries from the general query log:

All UPDATE statements reference existing rows.

Which describes the outcome of the sequence of statements?

Options:

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.

Buy Now
Questions 5

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

Which method would fail to do this?

Options:

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

Buy Now
Questions 6

Examine this MySQL client command to connect to a remote database:

mysql -h remote.example.org -u root -p --protocol=TCP --ssl-mode=

Which two --ssl-mode values will ensure that an X.509-compliant certificate will be used to establish the

SSL/TLS connection to MySQL?

Options:

A.

REQUIRED

B.

VERIFY_CA

C.

VERIFY_IDENTITY

D.

PREFERRED

E.

DISABLED

Buy Now
Questions 7

Which two are true about differences between logical and physical upgrades of MySQL databases? (Choose two.)

Options:

A.

Post-upgrade table storage requirements after logical upgrades are usually smaller than that after physical upgrades.

B.

Physical upgrades are performed for current instances on bare metal deployments, whereas logical upgrades are used for virtual machines or containerized instances.

C.

Logical upgrades are much faster because they do not require restarting the mysqld process.

D.

Post-upgrade table storage requirements after physical upgrades are usually smaller than that after logical upgrades.

E.

Physical upgrades are much faster because they do not require restarting the mysqld process.

F.

Physical upgrades leave data in place, whereas logical upgrades require data to be restored from mysqldump-type backups taken before the upgrades.

Buy Now
Questions 8

Examine this SQL statement:

Which set of privileges will allow Tom to execute this SQL statement?

Options:

A.

GRANT ALL PRIVILEGES ON ‘world’.‘city’ TO ‘tom’@’%’;

GRANT SELECT (‘code’) ON ‘world’.‘country’ TO ‘tom’@’%’;

B.

GRANT UPDATE ON ‘world’.* TO ‘tom’@’%’;

GRANT ALL PRIVILEGES ON ‘world’.‘country’ TO ‘tom’@’%’;

C.

GRANT UPDATE ON ‘world’.‘city’ TO ‘tom’@’%’; GRANT SELECT ON ‘world’.* TO ‘tom’@’%’;

D.

GRANT UPDATE ON ‘world’.‘city’ TO ‘tom’@’%’; GRANT SELECT ON ‘world’.‘country’ TO ‘tom’@’%’;

Buy Now
Questions 9

Examine this command, which executes successfully:

shell> mysqldump --master-data=2 --single-transaction --result-file=dump.sql mydb

Which two statements are true? (Choose two.)

Options:

A.

It executes flush tables with read lock.

B.

It enforces consistent backups for all storage engines.

C.

The backup created is a consistent data dump.

D.

This option uses the READ COMMITTED transaction isolation mode.

E.

It is a cold backup.

Buy Now
Questions 10

Which two are characteristics of snapshot-based backups? (Choose two.)

Options:

A.

Snapshot-based backups greatly reduce time during which the database and applications are unavailable.

B.

There is no need for InnoDB tables to perform its own recovery when restoring from the snapshot backup.

C.

The frozen file system can be cloned to another virtual machine immediately into active service.

D.

A separate physical copy must be made before releasing the snapshot backup.

E.

Snapshot backups can be used only in virtual machines.

Buy Now
Questions 11

User account baduser@hostname on your MySQL instance has been compromised.

Which two commands stop any new connections using the compromised account? (Choose two.)

Options:

A.

ALTER USER baduser@hostname PASSWORD DISABLED;

B.

ALTER USER baduser@hostname MAX_USER_CONNECTIONS 0;

C.

ALTER USER baduser@hostname ACCOUNT LOCK;

D.

ALTER USER baduser@hostname IDENTIFIED WITH mysql_no_login;

E.

ALTER USER baduser@hostname DEFAULT ROLE NONE;

Buy Now
Questions 12

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

Options:

A.

performance metrics

B.

table definitions

C.

access control lists

D.

view definitions

E.

server runtime configuration

F.

server configuration rollback

G.

stored procedure definitions

Buy Now
Questions 13

Which two are features of MySQL Enterprise Firewall? (Choose two.)

Options:

A.

recording incoming SQL statement to facilitate the creation of a whitelist of permitted commands

B.

blocking of potential threats by configuring pre-approved whitelists

C.

modifying SQL statement dynamically with substitutions

D.

automatic locking of user accounts who break your firewall

E.

provides stateless firewall access to TCP/3306

Buy Now
Questions 14

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

Options:

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.

Buy Now
Questions 15

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.)

Options:

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.

Buy Now
Questions 16

Examine this statement and output:

Which two SQL statements can jsmith execute? (Choose two.)

Options:

A.

UPDATE world.country SET Name='all';

B.

UPDATE world.country SET Name='one' LIMIT 1;

C.

UPDATE world.country SET Name='new' WHERE Name='old';

D.

UPDATE world.country SET Name=CONCAT('New ',Name);

E.

UPDATE world.country SET Name='first' ORDER BY Name LIMIT

Buy Now
Questions 17

You encountered an insufficient privilege error in the middle of a long transaction.

The database administrator is informed and immediately grants the required privilege:

GRANT UPDATE ON world.city TO ‘user1’;

How can you proceed with your transaction with the least interruption?

Options:

A.

Roll back the transaction and start the transaction again in the same session.

B.

Re-execute the failed statement in your transaction.

C.

Change the default database and re-execute the failed statement in your transaction.

D.

Close the connection, reconnect, and start the transaction again.

Buy Now
Questions 18

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

Examine this snapshot of the error log:

Which action would allow the server to start?

Options:

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.

Buy Now
Questions 19

Examine this list of MySQL data directory binary logs:

binlog.000001 binlog.000002

.....

binlog.000289

binlog.000300

binlog.000301

binlog.index

Now examine this command, which executes successfully:

mysqldump --delete-master-logs --all-databases > /backup/db_backup.sql

Which two are true? (Choose two.)

Options:

A.

All databases are backed up to the output file.

B.

All non-active binary logs are removed from the master.

C.

All binary logs are deleted from the master.

D.

All binary logs are backed up and then deleted.

E.

All databases, excluding master metadata, are backed up to the output file.

F.

All details regarding deleted logs and master metadata are captured in the output file.

Buy Now
Questions 20

Which two statements are true about the mysql_config_editor program? (Choose two.)

Options:

A.

It manages the configuration of the MySQL Firewall feature.

B.

It manages the configuration of client programs.

C.

It can move datadir to a new location.

D.

It manages the configuration of user privileges for accessing the server.

E.

It will use [client] options by default unless you provide --login-path.

F.

It can be used to create and edit SSL certificates and log locations.

G.

It provides an interface to change my.cnf files.

Buy Now
Questions 21

Which two MySQL Shell commands are excluded from the InnoDB Cluster creation procedure? (Choose two.)

Options:

A.

dba.configureInstance()

B.

cluster.setPrimaryInstance()

C.

dba.configureLocalInstance()

D.

cluster.forceQuorumUsingPartitionOf()

E.

cluster.addInstance()

F.

dba.createCluster()

G.

dba.checkInstanceConfiguration()

Buy Now
Exam Code: 1z0-908
Exam Name: MySQL 8.0 Database Administrator
Last Update: Jun 15, 2025
Questions: 140
1z0-908 pdf

1z0-908 PDF

$29.75  $84.99
1z0-908 Engine

1z0-908 Testing Engine

$35  $99.99
1z0-908 PDF + Engine

1z0-908 PDF + Testing Engine

$47.25  $134.99