Labour Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: netbudy65

1z0-908 MySQL 8.0 Database Administrator Questions and Answers

Questions 4

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

Options:

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

Buy Now
Questions 5

MySQL is installed on a Linux server with this configuration:

Which method sets the default authentication to SHA-256 hashing for authenticating user account passwords?

Options:

A.

Set validate-user-plugins=caching_sha2_password in the configuration file.

B.

Define CREATE USER ''@'%' IDENTIFIED WITH sha256_password in the MySQL instance.

C.

Add default_authentication_plugin=mysql_native_password in the configuration file.

D.

Add default_authentication_plugin=sha256_password in the configuration file.

Buy Now
Questions 6

Examine this command, which executes successfully:

Which statement is true?

Options:

A.

Only files for MySQL or Its built-in storage engines are backed

B.

Only non-encrypted files are backed up.

C.

The backup includes only data files and their metadata.

D.

Only InnoDB data and log files are backed up.

E.

Only tables stored in their own tablespaces are backed up.

Buy Now
Questions 7

What is the correct syntax for using transparent data encryption with an existing InnoDB table?

Options:

A.

ALTER TABLE t1 ADD ENCRYPTED_TABLESPACE = 'Y';

B.

ALTER TABLE t1 ENCRYPTION='Y';

C.

ALTER TABLE t1 WITH ENCRYPTION USING MASTER KEY;

D.

ALTER TABLE t1 SET TDE = 'ON';

Buy Now
Questions 8

Your MySQL environment has asynchronous position based-replication with one master and one slave.

The slave instance had a disk I/O problem, so it was stopped.

You determined that the slave relay log files were corrupted and unusable, but no other files are damaged.

You restart MySQL Server.

How can replication be restored?

Options:

A.

The slave relay logs should be deleted; then execute START SLAVE;

B.

The relay logs from the master should be used to replace the corrupted relay logs.

C.

The slave relay logs should be deleted; execute CHANGE MASTER to adjust the replication relay log file name, then issue start SLAVE;

D.

The slave needs to be restored from backup.

Buy Now
Questions 9

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 10

Which step or set of steps can be used to rotate the error log?

Options:

A.

Execute SET GLOBAL log_error = ‘’.

B.

Execute SET GLOBAL max_error_count = .

C.

Execute SET GLOBAL expire_logs_days=0 to enforce a log rotation.

D.

Rename the error log file on disk, and then execute FLUSH ERROR LOGS.

Buy Now
Questions 11

There are five MySQL instances configured with a working group replication.

Examine the output of the group members:

Which two statements are true about network partitioning in the cluster? (Choose two.)

Options:

A.

The cluster will shut down to preserve data consistency.

B.

The cluster has built-in high availability and updates group_replication_ip_whitelist to remove the unreachable nodes.

C.

The group replication will buffer the transactions on the online nodes until the unreachable nodes return online.

D.

There could be both a 2 node and 3 node group replication still running, so shutting down group replication and diagnosing the issue is recommended.

E.

A manual intervention to force group members to be only the working two instances is required.

Buy Now
Questions 12

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 13

Which three requirements must be enabled for group replication? (Choose three.)

Options:

A.

slave updates logging

B.

semi-sync replication plugin

C.

primary key or primary key equivalent on every table

D.

binary log checksum

E.

binary log ROW format

F.

binary log MIXED format

G.

replication filters

Buy Now
Questions 14

Examine these statements, which execute successfully:

CREATE ROLE r_world_rd;

GRANT SELECT ON world.* TO r_world_rd;

CREATE USER john IDENTIFIED BY ‘P@ssw0rd’;

GRANT r_world_rd TO john;

Examine these statements issued by user John:

What is the reason for the error?

Options:

A.

The statement was blocked by MySQL Firewall.

B.

John has not activated the role.

C.

John needs to reconnect to the database.

D.

The DBA needs to execute FLUSH PRIVILEGES.

Buy Now
Questions 15

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 16

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:

Which statement is true?

Options:

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.

Buy Now
Questions 17

Examine this statement, which executes successfully:

You want to improve the performance of this query:

Which change enables the query to succeed while accessing fewer rows?

Options:

A.

ALTER TABLE world.city ADD SPATIAL INDEX (Name);

B.

ALTER TABLE world.city ADD SPATIAL INDEX (Population);

C.

ALTER TABLE world.city ADD INDEX (Population);

D.

ALTER TABLE world.city ADD INDEX (Name);

E.

ALTER TABLE world.city ADD FULLTEXT INDEX (Name);

F.

ALTER TABLE world.city ADD FULLTEXT INDEX (Population);

Buy Now
Questions 18

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

Options:

A.

It installs most Oracle MySQL products.

B.

It performs product upgrades.

C.

It provides only GUI-driven, interactive installations.

D.

Manual download of separate product packages is required before installing them through MySQL Installer.

E.

It provides a uniform installation wizard across multiple platforms.

Buy Now
Questions 19

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 20

You have configured GTID-based asynchronous replication with one master and one slave.

A user accidentally updated some data on the slave.

To fix this, you stopped replication and successfully reverted the accidental changes. Examine the current GTID information:

You must fix GTID sets on the slave to avoid replicating unwanted transactions in case of failover. Which set of actions would allow the slave to continue replicating without erroneous transactions?

Options:

A.

RESET MASTER;

SET GLOBAL gtid_purged=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-10167;

B.

SET GLOBAL gtid_purged=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-2312,bbbbbbbb- bbbb-bbbb-bbbb-bbbbbbbbbbbb:1-9;

SET GLOBAL gtid_executed=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-10167;

C.

RESET SLAVE;

SET GLOBAL gtid_purged=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-3820;

SET GLOBAL gtid_executed=aaaaaaaa-aaaa-aaaa-aaaa—aaaaaaaaaaaa:1-10300;

D.

RESET MASTER;

SET GLOBAL gtid_purged-aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-2312;

SET GLOBAL gtid_executed=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-10167;

E.

RESET SLAVE;

SET GLOBAL gtid_purged=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-10167;

Buy Now
Questions 21

Examine this partial output for InnoDB Cluster status:

Which statement explains the state of the instance deployed on host2?

Options:

A.

It can be recovered from a donor instance on host3 by cloning using the command cluster.rejoinInstance ('@host3:3377')

B.

It can rejoin the cluster by using the command cluster.addInstance('@host3:3377')

C.

It has been removed from the cluster by using the command STOP GROUP_REPLICATION;

D.

It can rejoin the cluster by using the command dba.rebootClusterFromCompleteOutage()

E.

It has been expelled from the cluster because of a transaction error.

Buy Now
Exam Code: 1z0-908
Exam Name: MySQL 8.0 Database Administrator
Last Update: Apr 26, 2024
Questions: 140

PDF + Testing Engine

$140

Testing Engine

$105

PDF (Q&A)

$90