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 1 hour ago Total Questions : 141

The MySQL 8.0 Database Administrator content is now fully updated, with all current exam questions added 1 hour 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 # 31

You wish to store the username and password for a client connection to MySQL server in a file on a local file system.

Which is the best way to encrypt the file?

A.

Use the AES_ENCRYPT() MySQL function on the option file.

B.

Use mysql_secure_installation to encrypt stored login credentials.

C.

Use a text editor to create a new defaults file and encrypt it from Linux prompt.

D.

Use mysql_config_editor to create an encrypted file.

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

Question # 33

You must run multiple instances of MySQL Server on a single host.

Which three methods are supported? (Choose three.)

A.

Run MySQL Server docker containers.

B.

Use systemd with different settings for each instance.

C.

Use system tools to lock each instance to its own CPU.

D.

Start mysqld or mysqld_safe using different option files for each instance.

E.

Run mysqld with --datadir defined for each instance.

F.

Use resource groups to lock different instances on separate CPUs.

Question # 34

Examine this snippet from the binary log file named binlog.000036:

The rental table was accidentally dropped, and you must recover the table.

You have restored the last backup, which corresponds to the start of the binlog.000036 binary log.

Which command will complete the recovery?

A.

mysqlbinlog --stop-position=500324 binlog.000036 | mysql

B.

mysqlbinlog --stop-datetime= ' 2019-ll-20 14:55:18 ' binlog.000036 | mysql

C.

mysqlbinlog --stop-position=5004S3 binlog.000036 | mysql

D.

mysqlbinlog --stop-datetime= ' 2019-ll-20 14:55:16 ' binlog.000036 | mysql

Question # 35

t is a non-empty InnoDB table.

Examine these statements, which are executed in one session:

BEGIN;

SELECT * FROM t FOR UPDATE;

Which is true?

A.

If OPTIMIZE TABLE; is invoked, it will create a table lock on t and force a transaction rollback.

B.

If OPTIMIZE LOCAL TABLE t; is invoked from another session, it executes normally and returns the status.

C.

mysqlcheck --analyze --all-databases will execute normally on all tables and return a report.

D.

If ANALYZE TABLE; is invoked from the same session, it hangs until the transaction is committed or rolled back.

Question # 36

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

Question # 37

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?

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.

Question # 38

Which two statements are true about using backups of the binary log? (Choose two.)

A.

Multiple binary logs can be used to restore data.

B.

Multiple binary logs can be applied in parallel for faster data restoration.

C.

Binary logs are relatively small, and therefore, excellent for long-term storage and disaster recovery.

D.

Binary logs can always be used to unapply unwanted schema changes.

E.

They allow for point-in-time recovery of the data.

Question # 39

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?

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.

Question # 40

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.

Go to page: