Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

MySQL 8.0 Database Administrator

Last Update 6 hours ago Total Questions : 141

The MySQL 8.0 Database Administrator content is now fully updated, with all current exam questions added 6 hours ago. Deciding to include 1z0-908 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our 1z0-908 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these 1z0-908 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any MySQL 8.0 Database Administrator practice test comfortably within the allotted time.

Question # 1

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

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.

Question # 2

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

Question # 3

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?

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

Question # 4

Examine this command, which executes successfully:

Which statement is true?

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.

Question # 5

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

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

Question # 6

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?

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;

Question # 7

Which two statements are true about the binary log encryption feature? (Choose two.)

A.

It encrypts any connecting slaves connection thread.

B.

It can be set at run time.

C.

It requires a keyring plugin.

D.

When enabled it encrypts existing binary logs.

E.

It can be activated per session.

Question # 8

You have a MySQL client installed on your Linux workstation with a default installation. You have your admin login credentials to connect to a MySQL server running Microsoft Windows on remote host 192.0.2.1:3306. You wish to connect directly to the world database.

Which four options need to be specified to complete this task with a single command? (Choose four.)

A.

--shared-memory-base-name=world

B.

--protocol=UDP

C.

--protocol=pipe

D.

--password

E.

--user=admin

F.

--host=192.0.2.1

G.

--socket=/tmp/mysql.sock

Question # 9

Examine Joe ' s account:

CREATE USER ' joe ' @ ' % ' IDENTIFIED BY ' *secret* '

GRANT ALL PRIVILEGES ON *.* TO ' joe ' @ ' % '

All existing connections for joe are killed.

Which two commands will stop joe establishing access to the MySQL instance? (Choose two.)

A.

ALTER USER ' joe ' @ ' % ' ACCOUNT LOCK

B.

ALTER USER ' joe ' @ ' % ' SET password= ' *invalid* '

C.

REVOKE ALL PRIVILEGES ON *.* FROM ' joe ' @ ' % '

D.

ALTER USER ' joe ' @ ' % ' PASSWORD HISTORY 0

E.

ALTER USER ' joe ' @ ' % ' IDENTIFIED BY ' *invalid* ' PASSWORD EXPIRE

F.

REVOKE USAGE ON *.* FROM ' joe ' @ ' % '

Question # 10

Which two statements are true about MySQL server multi-source replication? (Choose two.)

A.

It is not compatible with auto-positioning.

B.

It needs to be re-instanced after a crash to maintain consistency.

C.

It uses only time-based replication conflict resolution.

D.

It relies on relay_log_recovery for resilient operations.

E.

It does not attempt to detect or resolve replication conflicts.

F.

It must use GTID replication.

Go to page: