Session 8 9 Questions
Session 8 9 Questions
8.0 commented
i A, C, E are true.
F: a password can be set on a role but because it is
locked it can't be seen as a protection, being protected
with a password is characteristic of users. Anyway users
and roles are both authorization identifiers and there is
an interchangeability between them.
Commented by MC, 27/06/2023
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;
-- image --
B buffer_pool_size=24G
C innodb_log_file_size=1G
D sync_binlog=0
E innodb_doublewrite=0
F max_connections=10000
G innodb_undo_directory=/dev/shm
i Reference: dev.mysql.com/doc/refman/8.0/en/
connection-control.html
Commented by MC, 27/06/2023
--image--
C This value shows only I/O latency and is not indicative of the
size of the transaction queue.
B VERIFY_CA
C REQUIRED
D VERIFY_IDENTITY
mysql 2076 3.5 24.6 1386852 372572 ? Ssl 1201 001 /usr/sbin/mysqld
B kill -15 and kill -9 are effectively the same forced shutdown
that risk committed transactions not written to disk
i Reference: dev.mysql.com/doc/refman/8.0/en/
replication-gtids-howto.html
E You can find the root password in the error log after the first
start.
mysqlbackup --defaults-file=/backups/server-my.cnf --
backup-dir=/backups/full copy-back
i Reference: dev.mysql.com/doc/mysql-enterprise-
backup/8.0/en/backup-commands-restore.html
Commented by MC, 27/06/2023
-- image --
i Reference: dev.mysql.com/doc/refman/8.0/en/
performance-schema-data-locks-table.html
Commented by MC, 27/06/2023
B Rename the error log file on disk, and then execute FLUSH
ERROR LOGS.
i Reference: dev.mysql.com/doc/refman/8.0/en/error-log-
rotation.html
Commented by MC, 27/06/2023
i Reference: dev.mysql.com/doc/refman/8.0/en/innodb-
data-encryption.html, dev.mysql.com/doc/refman/8.0/en/
innodb-table-import.html
Commented by MC, 27/06/2023
-- image --
What is the most likely cause for the high number of lock
waits?
A Your table accesses wait for the operating system level flush.
B You use the InnoDB storage engine and statements wait while
data is inserted.
D You use the MyISAM storage engine for most common tables.
20. You wish to store the username and password for a client
connection to MySQL server in a file on a local file
system.
i Reference: dev.mysql.com/doc/refman/8.0/en/grant.html
Commented by MC, 29/06/2023
i
Reference: dev.mysql.com/doc/refman/8.0/en/mysql-
config-editor.html
23. A user wants to connect without entering his or her
username and password on the Linux command prompt.
A /etc/my.cnf file
B $HOME/.mylogin.cnf file
C $HOME/.my.cnf file
D $HOME/.mysqlrc file
E $MYSQL_HOME/my.cnf file
F $HOME/.mysql/auth/login file
G DATADIR/mysqld-auto.cnf file
-- image --
i Reference: dev.mysql.com/doc/refman/8.0/en/
replication-threads.html
Commented by MC, 29/06/2023
i Reference: dev.mysql.com/doc/mysql-backup-excerpt/
8.0/en/backup-types.html, dev.mysql.com/doc/mysql-
backup-excerpt/8.0/en/backup-methods.html
Commented by MC, 29/06/2023
-- image --
29. You want to log only the changes made to the database
objects and data on the MySQL system.
B audit log
D error log
E binary log
30. Examine this MySQL client command to connect to a
remote database:
A VERIFY_IDENTITY
B VERIFY_CA
C PREFERRED
D REQUIRED
E DISABLED
B innodb_buffer_pool_size
C read_buffer_size
D sort_buffer_size
E table_open_cache
F tmp_table_size
F CPU utilization
-- image --
i Reference: dev.mysql.com/doc/mysql-security-excerpt/
8.0/en/proxy-users.html
Commented by MC, 29/06/2023
34. Examine these entries from the general query log:
-- image --
Generate Questions