Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

1z0-908 Exam Dumps - MySQL 8.0 Database Administrator

Go to page:
Question # 17

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'@'%'

Full Access
Question # 18

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.

Full Access
Question # 19

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 # 20

Which command enables rule-based MySQL Auditing capabilities?

A.

shell> mysql < audit_log_filter_linux_install.sql

B.

shell> mysqld --initialize --log-raw=audit.log

C.

mysql> INSTALL PLUGIN audit_log;

D.

mysql> INSTALL COMPONENT audit_log;

Full Access
Question # 21

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.

Full Access
Go to page: