B. It is stored in the mysql.role table., D. It can be renamed using the RENAME ROLE statement.
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?
C
Explanation:
Reference: https://dev.mysql.com/doc/refman/5.7/en/creating-spatial-indexes.html
Which three are characteristics of a newly created role? (Choose three.)
AEF
Explanation:
https://dev.mysql.com/doc/refman/8.0/en/roles.html
https://www.mysqltutorial.org/mysql-roles/
B. It is stored in the mysql.role table., D. It can be renamed using the RENAME ROLE statement.
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?
D
A. RESET MASTER; SET GLOBAL gtid_purged=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-10167;
The data in this instance is transient; no backup or replication will be required. It is currently under
performing.
The database size is static and including indexes is 19G.
Total system memory is 32G.
After profiling the system, you highlight these MySQL status and global variables:
The OS metrics indicate that disk is a bottleneck. Other variables retain their default values.
Which three changes will provide the most benefit to the instance? (Choose three.)
ACF
Explanation:
Reference: https://aws.amazon.com/blogs/database/best-practices-for-configuring-parameters-for-
amazon- rds-for-mysql-part-1-parameters-related-to-performance/
B. buffer_pool_size=24G, D. sync_binlog=0, E. innodb_doublewrite=0
Which statement is true about InnoDB persistent index statistics?
D
Explanation:
Reference: https://mariadb.com/kb/en/innodb-persistent-statistics/
E. Increasing innodb_stats_persistent_sample_pages determines higher pages scanning speed, at the cost of increased memory usage.
Which two are features of MySQL Enterprise Firewall? (Choose two.)
AB
A. recording incoming SQL statement to facilitate the creation of a whitelist of permitted commands , D. automatic locking of user accounts who break your firewall, E. provides stateless firewall access to TCP/3306
Examine the modified output:
Seconds_Behind_ Master value is steadily growing. What are two possible causes? (Choose two.)
CD
D. The master is producing a large volume of events in parallel but the slave is processing them serially.
E. The parallel slave threads are experiencing lock contention.
You must configure the MySQL command-line client to provide the highest level of trust and security
when connecting to a remote MySQL Server.
Which value of --ssl-mode will do this?
C
Explanation:
Reference:
https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-0/install-configure-upgrade/enable-ssl-connections-for-mysql.html
D. VERIFY_IDENTITY
D. VERIFY_IDENTITY
Consider this shell output and executed commands:
[root@oel7 ~]# ps aux | grep mysqld
mysql 2076 3.5 24.6 1386852 372572 ? Ssl 12:01 0:01 /usr/sbin/mysqid
[root@oel7 ~]# kill -15 2076
Which statement is true about MySQL server shutdown?
C
C. kill -15 carries out a normal shutdown process, such as mysqladmin shutdown.
You wish to protect your MySQL database against SQL injection attacks.
Which method would fail to do this?
C
Explanation:
Reference:
https://www.ptsecurity.com/ww-en/analytics/knowledge-base/how-to-prevent-sql-
injection-attacks/
A. installing and configuring the Connection Control plugin
A. installing and configuring the Connection Control plugin
You have just installed MySQL on Oracle Linux and adjusted your /etc/my.cnf parameters to suit your
installation.
Examine the output:
What statement is true about the start attempt?
E
E. systemd attempted to start mysqld, found another systemd mysqld process running, and shut it down.
Examine these entries from the general query log:
All UPDATE statements reference existing rows.
Which describes the outcome of the sequence of statements?
E
E. A deadlock occurs after innodb_lock_wait_timeout seconds.
Examine this command, which executes successfully:
$ mysqlrouter --bootstrap user@hostname:port --directory=directory_path
Which activity is performed?
B
Explanation:
Reference: https://dev.mysql.com/doc/mysql-router/8.0/en/mysqlrouter.html
B. MySQL Router configures itself based on the information retrieved from the InnoDB cluster metadata server.
You encountered an insufficient privilege error in the middle of a long transaction.
The database administrator is informed and immediately grants the required privilege:
GRANT UPDATE ON world.city TO ‘user1’;
How can you proceed with your transaction with the least interruption?
B
B. Re-execute the failed statement in your transaction.
B. Re-execute the failed statement in your transaction.
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?
B
B. John has not activated the role.
C. ALTER TABLE world.city ADD INDEX (Population);