You have already completed the Test before. Hence you can not start it again.
Test is loading...
You must sign in or sign up to start the Test.
You have to finish following quiz, to start this Test:
Your results are here!! for" MySQL 8.0 Database Administrator Practice Test 8 "
0 of 60 questions answered correctly
Your time:
Time has elapsed
Your Final Score is : 0
You have attempted : 0
Number of Correct Questions : 0 and scored 0
Number of Incorrect Questions : 0 and Negative marks 0
Average score
Your score
MySQL 8.0 Database Administrator
You have attempted: 0
Number of Correct Questions: 0 and scored 0
Number of Incorrect Questions: 0 and Negative marks 0
You can review your answers by clicking on “View Answers” option. Important Note : Open Reference Documentation Links in New Tab (Right Click and Open in New Tab).
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Answered
Review
Question 1 of 60
1. Question
Which type of MySQL replication requires that the change is certified by the majority of the replicas before performing the commit in the source?
Correct
Semisynchronous replication only requires that 1 replica acknowledges that the change has been recorded in its relay log, and it doesn‘t require certification of the change.
Incorrect
Semisynchronous replication only requires that 1 replica acknowledges that the change has been recorded in its relay log, and it doesn‘t require certification of the change.
Unattempted
Semisynchronous replication only requires that 1 replica acknowledges that the change has been recorded in its relay log, and it doesn‘t require certification of the change.
Question 2 of 60
2. Question
What will happen under MySQL 8.0 if we execute the following in an empty schema?
mysql> CREATE TABLE t1 (c1 INT); mysql> DROP TABLE t1, t2; ERROR 1051 (42S02): Unknown table ‘test.t2‘ mysql> SHOW TABLES; Empty set (0.00 sec)
Correct
In MySQL 8.0, DDL operations are atomic. This means that if a multi-table DDL statement fails on any object, the entire statement is rolled back, leaving the database unchanged.
In this case:
DROP TABLE t1, t2; fails because t2 does not exist.
Since both tables are part of the same DROP statement, the operation is rolled back completely.
Therefore, t1 is not dropped, and the schema remains unchanged (no tables dropped).
In contrast, under MySQL 5.7, DDL was not atomic t1 would have been dropped while t2 would only produce a warning/error.
Incorrect
In MySQL 8.0, DDL operations are atomic. This means that if a multi-table DDL statement fails on any object, the entire statement is rolled back, leaving the database unchanged.
In this case:
DROP TABLE t1, t2; fails because t2 does not exist.
Since both tables are part of the same DROP statement, the operation is rolled back completely.
Therefore, t1 is not dropped, and the schema remains unchanged (no tables dropped).
In contrast, under MySQL 5.7, DDL was not atomic t1 would have been dropped while t2 would only produce a warning/error.
Unattempted
In MySQL 8.0, DDL operations are atomic. This means that if a multi-table DDL statement fails on any object, the entire statement is rolled back, leaving the database unchanged.
In this case:
DROP TABLE t1, t2; fails because t2 does not exist.
Since both tables are part of the same DROP statement, the operation is rolled back completely.
Therefore, t1 is not dropped, and the schema remains unchanged (no tables dropped).
In contrast, under MySQL 5.7, DDL was not atomic t1 would have been dropped while t2 would only produce a warning/error.
Question 3 of 60
3. Question
What happens in the InnoDB buffer pool when a FULL TABLE SCAN is performed?
Correct
Only the content of the Old sublist is replaced by pages read. This avoids that the pages in the New sublist and most frequently used are removed from memory.
Incorrect
Only the content of the Old sublist is replaced by pages read. This avoids that the pages in the New sublist and most frequently used are removed from memory.
Unattempted
Only the content of the Old sublist is replaced by pages read. This avoids that the pages in the New sublist and most frequently used are removed from memory.
Question 4 of 60
4. Question
How much storage does MySQL 8.0 requires for a DATETIME column?
Correct
As of MySQL 5.6.4 TIME, DATETIME and TIMESTAMP require additional storage for the fractional part
Incorrect
As of MySQL 5.6.4 TIME, DATETIME and TIMESTAMP require additional storage for the fractional part
Unattempted
As of MySQL 5.6.4 TIME, DATETIME and TIMESTAMP require additional storage for the fractional part
Question 5 of 60
5. Question
What tables are contained in the MYSQL schema?
Correct
Correct:
A. Data dictionary tables
In MySQL 8.0, the data dictionary tables are stored within the mysql schema. These tables are fundamental, storing metadata about all objects in the MySQL instance, such as databases, tables, columns, indexes, and stored procedures. Having this core metadata within the mysql schema is essential for the operation of the server. This includes internal tables that were migrated from the older performance_schema or hidden system tables.
D. Grant system tables
The grant system tables (often referred to as the privilege or user accounts tables) are also stored within the mysql schema. These tables store all information related to user accounts, roles, and their associated privileges (the GRANT statements). Examples include tables like user, db, tables_priv, and columns_priv. Controlling access and security is a core administrative function, and the data for this is necessarily housed in the administrative mysql schema.
Incorrect:
B. Your application data tables
Application data tables (the tables created by users to store their actual business data) are typically stored in user-defined schemas (databases) like inventory, cms, or mydb. They are not stored in the special-purpose mysql schema, which is reserved exclusively for the server‘s internal administrative and metadata functions.
C. Your application help data tables
Tables containing application-specific help data, while sometimes separate, are still considered part of the user‘s application content and would be placed in the user‘s application schema (database), just like the main application data tables (Option B). They are not part of the critical, internal administrative tables that constitute the mysql schema.
Incorrect
Correct:
A. Data dictionary tables
In MySQL 8.0, the data dictionary tables are stored within the mysql schema. These tables are fundamental, storing metadata about all objects in the MySQL instance, such as databases, tables, columns, indexes, and stored procedures. Having this core metadata within the mysql schema is essential for the operation of the server. This includes internal tables that were migrated from the older performance_schema or hidden system tables.
D. Grant system tables
The grant system tables (often referred to as the privilege or user accounts tables) are also stored within the mysql schema. These tables store all information related to user accounts, roles, and their associated privileges (the GRANT statements). Examples include tables like user, db, tables_priv, and columns_priv. Controlling access and security is a core administrative function, and the data for this is necessarily housed in the administrative mysql schema.
Incorrect:
B. Your application data tables
Application data tables (the tables created by users to store their actual business data) are typically stored in user-defined schemas (databases) like inventory, cms, or mydb. They are not stored in the special-purpose mysql schema, which is reserved exclusively for the server‘s internal administrative and metadata functions.
C. Your application help data tables
Tables containing application-specific help data, while sometimes separate, are still considered part of the user‘s application content and would be placed in the user‘s application schema (database), just like the main application data tables (Option B). They are not part of the critical, internal administrative tables that constitute the mysql schema.
Unattempted
Correct:
A. Data dictionary tables
In MySQL 8.0, the data dictionary tables are stored within the mysql schema. These tables are fundamental, storing metadata about all objects in the MySQL instance, such as databases, tables, columns, indexes, and stored procedures. Having this core metadata within the mysql schema is essential for the operation of the server. This includes internal tables that were migrated from the older performance_schema or hidden system tables.
D. Grant system tables
The grant system tables (often referred to as the privilege or user accounts tables) are also stored within the mysql schema. These tables store all information related to user accounts, roles, and their associated privileges (the GRANT statements). Examples include tables like user, db, tables_priv, and columns_priv. Controlling access and security is a core administrative function, and the data for this is necessarily housed in the administrative mysql schema.
Incorrect:
B. Your application data tables
Application data tables (the tables created by users to store their actual business data) are typically stored in user-defined schemas (databases) like inventory, cms, or mydb. They are not stored in the special-purpose mysql schema, which is reserved exclusively for the server‘s internal administrative and metadata functions.
C. Your application help data tables
Tables containing application-specific help data, while sometimes separate, are still considered part of the user‘s application content and would be placed in the user‘s application schema (database), just like the main application data tables (Option B). They are not part of the critical, internal administrative tables that constitute the mysql schema.
Question 6 of 60
6. Question
You have configured multi-source replication in MySQL 8.0, where primary_A and primary_B are sources for replica_A. The replica is frequently lagging, and after investigation, you decide to enable multi-threaded replication. If you enable on replica_A:
slave_parallel_workers = 4
What will happen?
Correct
Multi-thread replication settings affect to each defined source.
Incorrect
Multi-thread replication settings affect to each defined source.
Unattempted
Multi-thread replication settings affect to each defined source.
Question 7 of 60
7. Question
What can be stored in the InnoDB system tablespace?
Correct
In MySQL 8.0 InnoDB stores metadata in the MySQL data dictionary and not in the InnoDB system tablespace
Incorrect
In MySQL 8.0 InnoDB stores metadata in the MySQL data dictionary and not in the InnoDB system tablespace
Unattempted
In MySQL 8.0 InnoDB stores metadata in the MySQL data dictionary and not in the InnoDB system tablespace
Question 8 of 60
8. Question
Which storage engine is used for Grant System tables in MySQL 8.0?
Correct
In MySQL 8.0 the Grant System tables use InnoDB, whereas in previous versions they used MyISAM
Incorrect
In MySQL 8.0 the Grant System tables use InnoDB, whereas in previous versions they used MyISAM
Unattempted
In MySQL 8.0 the Grant System tables use InnoDB, whereas in previous versions they used MyISAM
Question 9 of 60
9. Question
After upgrading your MySQL server to 8.0.16 you find some problems and Oracle Support recommends you to force the upgrade of the data dictionary to fix the issues. You execute:
Correct
MySQL 8.0.16 deprecates mysql_upgrade tool and introduces the –upgrade option for mysqld From this version on, mysqld will perform the upgrade operations.
Incorrect
MySQL 8.0.16 deprecates mysql_upgrade tool and introduces the –upgrade option for mysqld From this version on, mysqld will perform the upgrade operations.
Unattempted
MySQL 8.0.16 deprecates mysql_upgrade tool and introduces the –upgrade option for mysqld From this version on, mysqld will perform the upgrade operations.
Question 10 of 60
10. Question
What is the storage engine for on-disk internal temporary tables in MySQL 8.0.16?
Correct
Beginning with MySQL 8.0.16 the storage engine used for on-disk internal temporary tables is always InnoDB
Incorrect
Beginning with MySQL 8.0.16 the storage engine used for on-disk internal temporary tables is always InnoDB
Unattempted
Beginning with MySQL 8.0.16 the storage engine used for on-disk internal temporary tables is always InnoDB
Question 11 of 60
11. Question
What is a difference between MySQL Group Replication working in Single-Primary vs Multi-Primary mode?
Correct
Single/Multi references the number of servers that accept writes in Group Replication setups.
Incorrect
Single/Multi references the number of servers that accept writes in Group Replication setups.
Unattempted
Single/Multi references the number of servers that accept writes in Group Replication setups.
Question 12 of 60
12. Question
You are performing a full backup with MySQL Enterprise Backup 8.0. Where would the backup files will be stored after running
Correct
Correct:
D. /home/mysqlbackup/backups/my.mbi
When using the backup-to-image option with MySQL Enterprise Backup (MEB) 8.0, the command is instructed to create a single, compressed, and encrypted file known as a backup image.
The destination for this final backup file is specified by the –backup-image option in the command line.
In this specific command, –backup-image=/home/mysqlbackup/backups/my.mbi, the backup files will be consolidated and stored as the single file named my.mbi in the specified directory.
Incorrect:
A. mysqlbackup –user=mysqlbackup –password –host=127.0.0.1 –backup-image=/home/mysqlbackup/backups/my.mbi –backup-dir=/home/mysqlbackup/backup-tmp backup-to-image
This option is the entire command used to create the backup. It is not the location where the backup files are stored. The location is the result of running this command.
B. /var/lib/mysql
/var/lib/mysql is the standard, default directory where the live MySQL data files (data dictionary, table spaces, logs) are stored by the server. It is the source of the backup, not the destination for the backup files created by MEB.
C. /home/mysqlbackup/backup-tmp
This directory is specified by the –backup-dir option. When creating a full backup image using backup-to-image, MEB uses this location as a temporary directory for internal files during the backup process (like metadata files or temporary storage for the data dictionary). The final, single backup file (the image) is created from this temporary space and placed in the location specified by –backup-image. Thus, it is a temporary working location, not the final storage location for the backup image.
Incorrect
Correct:
D. /home/mysqlbackup/backups/my.mbi
When using the backup-to-image option with MySQL Enterprise Backup (MEB) 8.0, the command is instructed to create a single, compressed, and encrypted file known as a backup image.
The destination for this final backup file is specified by the –backup-image option in the command line.
In this specific command, –backup-image=/home/mysqlbackup/backups/my.mbi, the backup files will be consolidated and stored as the single file named my.mbi in the specified directory.
Incorrect:
A. mysqlbackup –user=mysqlbackup –password –host=127.0.0.1 –backup-image=/home/mysqlbackup/backups/my.mbi –backup-dir=/home/mysqlbackup/backup-tmp backup-to-image
This option is the entire command used to create the backup. It is not the location where the backup files are stored. The location is the result of running this command.
B. /var/lib/mysql
/var/lib/mysql is the standard, default directory where the live MySQL data files (data dictionary, table spaces, logs) are stored by the server. It is the source of the backup, not the destination for the backup files created by MEB.
C. /home/mysqlbackup/backup-tmp
This directory is specified by the –backup-dir option. When creating a full backup image using backup-to-image, MEB uses this location as a temporary directory for internal files during the backup process (like metadata files or temporary storage for the data dictionary). The final, single backup file (the image) is created from this temporary space and placed in the location specified by –backup-image. Thus, it is a temporary working location, not the final storage location for the backup image.
Unattempted
Correct:
D. /home/mysqlbackup/backups/my.mbi
When using the backup-to-image option with MySQL Enterprise Backup (MEB) 8.0, the command is instructed to create a single, compressed, and encrypted file known as a backup image.
The destination for this final backup file is specified by the –backup-image option in the command line.
In this specific command, –backup-image=/home/mysqlbackup/backups/my.mbi, the backup files will be consolidated and stored as the single file named my.mbi in the specified directory.
Incorrect:
A. mysqlbackup –user=mysqlbackup –password –host=127.0.0.1 –backup-image=/home/mysqlbackup/backups/my.mbi –backup-dir=/home/mysqlbackup/backup-tmp backup-to-image
This option is the entire command used to create the backup. It is not the location where the backup files are stored. The location is the result of running this command.
B. /var/lib/mysql
/var/lib/mysql is the standard, default directory where the live MySQL data files (data dictionary, table spaces, logs) are stored by the server. It is the source of the backup, not the destination for the backup files created by MEB.
C. /home/mysqlbackup/backup-tmp
This directory is specified by the –backup-dir option. When creating a full backup image using backup-to-image, MEB uses this location as a temporary directory for internal files during the backup process (like metadata files or temporary storage for the data dictionary). The final, single backup file (the image) is created from this temporary space and placed in the location specified by –backup-image. Thus, it is a temporary working location, not the final storage location for the backup image.
Question 13 of 60
13. Question
What is the default value for innodb_page_size?
Correct
Correct:
C. 16KB
In MySQL 8.0, the default value for the innodb_page_size system variable is 16KB. The InnoDB storage engine uses this page size as its fundamental unit for all I/O operations, including reading and writing data and indexes to and from disk. This setting is typically configured when the server instance is initialized and cannot be changed afterward without rebuilding the instance.
Incorrect:
A. 8KB
8KB is a valid non-default value that can be set for the innodb_page_size. Choosing a smaller page size can be beneficial for specific workloads, such as those with highly random I/O access patterns and smaller row sizes, but it is not the standard default for MySQL 8.0.
B. 64KB
64KB is a valid non-default value for the innodb_page_size. A larger page size is typically chosen for workloads with large rows (e.g., those containing many text/blob columns) or sequential access patterns, as it reduces the I/O overhead per record, but it is not the default.
D. 4KB
4KB is a valid non-default value for the innodb_page_size. This is the smallest page size allowed by InnoDB. While it can be useful in specific scenarios, particularly where storage blocks are smaller, it is generally considered an atypical setting and is not the default.
Incorrect
Correct:
C. 16KB
In MySQL 8.0, the default value for the innodb_page_size system variable is 16KB. The InnoDB storage engine uses this page size as its fundamental unit for all I/O operations, including reading and writing data and indexes to and from disk. This setting is typically configured when the server instance is initialized and cannot be changed afterward without rebuilding the instance.
Incorrect:
A. 8KB
8KB is a valid non-default value that can be set for the innodb_page_size. Choosing a smaller page size can be beneficial for specific workloads, such as those with highly random I/O access patterns and smaller row sizes, but it is not the standard default for MySQL 8.0.
B. 64KB
64KB is a valid non-default value for the innodb_page_size. A larger page size is typically chosen for workloads with large rows (e.g., those containing many text/blob columns) or sequential access patterns, as it reduces the I/O overhead per record, but it is not the default.
D. 4KB
4KB is a valid non-default value for the innodb_page_size. This is the smallest page size allowed by InnoDB. While it can be useful in specific scenarios, particularly where storage blocks are smaller, it is generally considered an atypical setting and is not the default.
Unattempted
Correct:
C. 16KB
In MySQL 8.0, the default value for the innodb_page_size system variable is 16KB. The InnoDB storage engine uses this page size as its fundamental unit for all I/O operations, including reading and writing data and indexes to and from disk. This setting is typically configured when the server instance is initialized and cannot be changed afterward without rebuilding the instance.
Incorrect:
A. 8KB
8KB is a valid non-default value that can be set for the innodb_page_size. Choosing a smaller page size can be beneficial for specific workloads, such as those with highly random I/O access patterns and smaller row sizes, but it is not the standard default for MySQL 8.0.
B. 64KB
64KB is a valid non-default value for the innodb_page_size. A larger page size is typically chosen for workloads with large rows (e.g., those containing many text/blob columns) or sequential access patterns, as it reduces the I/O overhead per record, but it is not the default.
D. 4KB
4KB is a valid non-default value for the innodb_page_size. This is the smallest page size allowed by InnoDB. While it can be useful in specific scenarios, particularly where storage blocks are smaller, it is generally considered an atypical setting and is not the default.
Question 14 of 60
14. Question
In a MySQL 8.0 GTID replication setup, the replica has lagged behind. Would replication be able to resume without manual intervention given the following?
The @@gtid_purged value on the primary shows that it has already deleted binary logs containing GTIDs that the replica has not executed yet. Specifically:
Replica has executed GTID up to: :256
Primary has purged GTIDs up to: :1-325
Since the replica still needs GTIDs 257325, but the primary has already purged those transactions, the missing events are no longer available for automatic retrieval via replication.
Because of this, replication cannot resume automatically. You must manually intervene, either by:
Restoring the purged binary logs to the primary, or
Rebuilding / resyncing the replica from a fresh backup
Incorrect
The @@gtid_purged value on the primary shows that it has already deleted binary logs containing GTIDs that the replica has not executed yet. Specifically:
Replica has executed GTID up to: :256
Primary has purged GTIDs up to: :1-325
Since the replica still needs GTIDs 257325, but the primary has already purged those transactions, the missing events are no longer available for automatic retrieval via replication.
Because of this, replication cannot resume automatically. You must manually intervene, either by:
Restoring the purged binary logs to the primary, or
Rebuilding / resyncing the replica from a fresh backup
Unattempted
The @@gtid_purged value on the primary shows that it has already deleted binary logs containing GTIDs that the replica has not executed yet. Specifically:
Replica has executed GTID up to: :256
Primary has purged GTIDs up to: :1-325
Since the replica still needs GTIDs 257325, but the primary has already purged those transactions, the missing events are no longer available for automatic retrieval via replication.
Because of this, replication cannot resume automatically. You must manually intervene, either by:
Restoring the purged binary logs to the primary, or
Rebuilding / resyncing the replica from a fresh backup
Question 15 of 60
15. Question
Where was stored the data dictionary information prior to MySQL 8.0
Correct
Correct:
A. Metadata files
Prior to MySQL 8.0, some essential parts of the data dictionary were stored outside of the database itself, in metadata files scattered across the file system. For instance, table definitions were often stored in .frm files within the database directory.
B. Storage engine specific data dictionaries
In older versions, the data dictionary information was fragmented. While the server maintained a general data dictionary (like the .frm files), each storage engine (most notably InnoDB) also maintained its own, separate data dictionary. This duplication and lack of a single, authoritative source was a major architectural issue, as it led to inconsistencies between the server‘s view and the storage engine‘s view of the schema.
C. Non-Transactional tables
The main tables that held information on user privileges, server configuration, and other essential system data were stored in the mysql schema using the MyISAM storage engine. MyISAM tables are non-transactional, meaning that operations on these system tables could not be guaranteed to be atomic or rolled back, which posed significant consistency and recovery challenges.
Incorrect:
D. Transactional tables
The system tables that held the data dictionary information (specifically those in the mysql schema) were primarily MyISAM, which is non-transactional. The move to MySQL 8.0 was a major architectural shift specifically to consolidate the data dictionary into a single, reliable set of transactional (InnoDB) tables, which greatly improved crash recovery and consistency. Therefore, prior to 8.0, the core data dictionary was not stored in transactional tables.
Incorrect
Correct:
A. Metadata files
Prior to MySQL 8.0, some essential parts of the data dictionary were stored outside of the database itself, in metadata files scattered across the file system. For instance, table definitions were often stored in .frm files within the database directory.
B. Storage engine specific data dictionaries
In older versions, the data dictionary information was fragmented. While the server maintained a general data dictionary (like the .frm files), each storage engine (most notably InnoDB) also maintained its own, separate data dictionary. This duplication and lack of a single, authoritative source was a major architectural issue, as it led to inconsistencies between the server‘s view and the storage engine‘s view of the schema.
C. Non-Transactional tables
The main tables that held information on user privileges, server configuration, and other essential system data were stored in the mysql schema using the MyISAM storage engine. MyISAM tables are non-transactional, meaning that operations on these system tables could not be guaranteed to be atomic or rolled back, which posed significant consistency and recovery challenges.
Incorrect:
D. Transactional tables
The system tables that held the data dictionary information (specifically those in the mysql schema) were primarily MyISAM, which is non-transactional. The move to MySQL 8.0 was a major architectural shift specifically to consolidate the data dictionary into a single, reliable set of transactional (InnoDB) tables, which greatly improved crash recovery and consistency. Therefore, prior to 8.0, the core data dictionary was not stored in transactional tables.
Unattempted
Correct:
A. Metadata files
Prior to MySQL 8.0, some essential parts of the data dictionary were stored outside of the database itself, in metadata files scattered across the file system. For instance, table definitions were often stored in .frm files within the database directory.
B. Storage engine specific data dictionaries
In older versions, the data dictionary information was fragmented. While the server maintained a general data dictionary (like the .frm files), each storage engine (most notably InnoDB) also maintained its own, separate data dictionary. This duplication and lack of a single, authoritative source was a major architectural issue, as it led to inconsistencies between the server‘s view and the storage engine‘s view of the schema.
C. Non-Transactional tables
The main tables that held information on user privileges, server configuration, and other essential system data were stored in the mysql schema using the MyISAM storage engine. MyISAM tables are non-transactional, meaning that operations on these system tables could not be guaranteed to be atomic or rolled back, which posed significant consistency and recovery challenges.
Incorrect:
D. Transactional tables
The system tables that held the data dictionary information (specifically those in the mysql schema) were primarily MyISAM, which is non-transactional. The move to MySQL 8.0 was a major architectural shift specifically to consolidate the data dictionary into a single, reliable set of transactional (InnoDB) tables, which greatly improved crash recovery and consistency. Therefore, prior to 8.0, the core data dictionary was not stored in transactional tables.
Question 16 of 60
16. Question
User bob@% has the following roles granted: app_read and app_write. How would you show the privileges for bob@% when it uses app_write?
Correct
Roles can be not enabled by default, you will need to usie the SHOW GRANTS FOR USING syntax to show privileges for non-default roles.
Incorrect
Roles can be not enabled by default, you will need to usie the SHOW GRANTS FOR USING syntax to show privileges for non-default roles.
Unattempted
Roles can be not enabled by default, you will need to usie the SHOW GRANTS FOR USING syntax to show privileges for non-default roles.
Question 17 of 60
17. Question
What is MySQL Enterprise Audit 8.0?
Correct
MySQL Enterprise Audit is a server plugin; it runs as part of the MySQL process.
Incorrect
MySQL Enterprise Audit is a server plugin; it runs as part of the MySQL process.
Unattempted
MySQL Enterprise Audit is a server plugin; it runs as part of the MySQL process.
Question 18 of 60
18. Question
InnoDB buffer pool is managed as a list using a variation of what algorithm?
Correct
InnoDB buffer pool implements a variation of Least Recently Used (LRU) to evict pages
Incorrect
InnoDB buffer pool implements a variation of Least Recently Used (LRU) to evict pages
Unattempted
InnoDB buffer pool implements a variation of Least Recently Used (LRU) to evict pages
Question 19 of 60
19. Question
Which MySQL defined privilege allows the user to monitor sessions in execution?
Correct
PROCESS allow a user to monitor other sessions in execution
Incorrect
PROCESS allow a user to monitor other sessions in execution
Unattempted
PROCESS allow a user to monitor other sessions in execution
Question 20 of 60
20. Question
You are storing JSON objects inside MySQL 8.0. What would be the most performant way of updating the attribute of an existing JSON object?
Correct
Prior to MySQL 8.0 partial in-place updates for JSON objects was not possible, now this is the most efficient method to modify a single attribute.
Incorrect
Prior to MySQL 8.0 partial in-place updates for JSON objects was not possible, now this is the most efficient method to modify a single attribute.
Unattempted
Prior to MySQL 8.0 partial in-place updates for JSON objects was not possible, now this is the most efficient method to modify a single attribute.
Question 21 of 60
21. Question
What is the proportion of memory assigned to the New and Old sublist in the InnoDB buffer pool?
Correct
3/8 of the buffer pool is devoted to the old sublist
Incorrect
3/8 of the buffer pool is devoted to the old sublist
Unattempted
3/8 of the buffer pool is devoted to the old sublist
Question 22 of 60
22. Question
in MySQL 8.0, what is the maximum size for a JSON object stored in a JSON data type column?
Correct
A JSON object can use approximately the same space as a LONGBLOB or LONGTEXT column, but it will include some metadata and internal structures overhead. MySQL 8.0 imposes an additional condition to the size as it cannot exceed max_allowed_packet
Incorrect
A JSON object can use approximately the same space as a LONGBLOB or LONGTEXT column, but it will include some metadata and internal structures overhead. MySQL 8.0 imposes an additional condition to the size as it cannot exceed max_allowed_packet
Unattempted
A JSON object can use approximately the same space as a LONGBLOB or LONGTEXT column, but it will include some metadata and internal structures overhead. MySQL 8.0 imposes an additional condition to the size as it cannot exceed max_allowed_packet
Question 23 of 60
23. Question
What is the default admin_address value?
Correct
By default admin_address is not defined, this keep disabled the new administrative interface for MySQL 8.0
Incorrect
By default admin_address is not defined, this keep disabled the new administrative interface for MySQL 8.0
Unattempted
By default admin_address is not defined, this keep disabled the new administrative interface for MySQL 8.0
Question 24 of 60
24. Question
Where are stored fast changing values such as auto-increment counter values in MySQL 8.0?
Correct
AUTO_INCREMENT values are stored in the mysql.innodb_dynamic_metadata table using InnoDB. They are not stored anymore in the buffers of the InnoDB system tablespace
Incorrect
AUTO_INCREMENT values are stored in the mysql.innodb_dynamic_metadata table using InnoDB. They are not stored anymore in the buffers of the InnoDB system tablespace
Unattempted
AUTO_INCREMENT values are stored in the mysql.innodb_dynamic_metadata table using InnoDB. They are not stored anymore in the buffers of the InnoDB system tablespace
Question 25 of 60
25. Question
Which metadata files are not created with MySQL 8.0 anymore?
Correct
All those metadata files are not created in MySQL 8.0
Incorrect
All those metadata files are not created in MySQL 8.0
Unattempted
All those metadata files are not created in MySQL 8.0
Question 26 of 60
26. Question
In MySQL 8.0 how many GTIDs are assigned to this operation mysql> CREATE TABLE t_copy AS SELECT * FROM t_orig; If binlog_format = ROW
Correct
One operation can be recorded using multiple GTIDs. In this example, the creation of the table is recorded with one GTID and the copy of the data is recorded with other.
Incorrect
One operation can be recorded using multiple GTIDs. In this example, the creation of the table is recorded with one GTID and the copy of the data is recorded with other.
Unattempted
One operation can be recorded using multiple GTIDs. In this example, the creation of the table is recorded with one GTID and the copy of the data is recorded with other.
Question 27 of 60
27. Question
ACME & Co is using MySQL Enterprise Firewall 8.0 to protect a critical MySQL 8.0 database. MySQL Enterprise Firewall is running in Detect mode. What will happen if a query not present in the whitelist is executed?
Correct
MySQL Enterprise Firewall can run in 3 different modes: Recording: the whitelist is populated with the new queries and those are executed Detecting: queries not present in the whitelist are executed but logged in the Firewall log Protecting: queries not present in the whitelist are blocked and logged in the Firewall log
Incorrect
MySQL Enterprise Firewall can run in 3 different modes: Recording: the whitelist is populated with the new queries and those are executed Detecting: queries not present in the whitelist are executed but logged in the Firewall log Protecting: queries not present in the whitelist are blocked and logged in the Firewall log
Unattempted
MySQL Enterprise Firewall can run in 3 different modes: Recording: the whitelist is populated with the new queries and those are executed Detecting: queries not present in the whitelist are executed but logged in the Firewall log Protecting: queries not present in the whitelist are blocked and logged in the Firewall log
Question 28 of 60
28. Question
Which of those are valid methods for creating a new user in MySQL 8.0?
Correct
In MySQL 8.0 auto creation of users granting privileges was removed. Creating a user with “IDENTIFIED BY PASSWORD ‘password‘“ is also removed
Incorrect
In MySQL 8.0 auto creation of users granting privileges was removed. Creating a user with “IDENTIFIED BY PASSWORD ‘password‘“ is also removed
Unattempted
In MySQL 8.0 auto creation of users granting privileges was removed. Creating a user with “IDENTIFIED BY PASSWORD ‘password‘“ is also removed
Question 29 of 60
29. Question
In MySQL 8.0 where are InnoDB default UNDO tablespaces created?
Correct
MySQL 8.0 InnoDB uses by default 2 UNDO tablespaces in their own datafiles
Incorrect
MySQL 8.0 InnoDB uses by default 2 UNDO tablespaces in their own datafiles
Unattempted
MySQL 8.0 InnoDB uses by default 2 UNDO tablespaces in their own datafiles
Question 30 of 60
30. Question
Which type of replication is represented by the following diagram?
Correct
The source doesn’t perform the commit until at least 1 replica has acknowledged that the event is stored in its relay log.
Incorrect
The source doesn’t perform the commit until at least 1 replica has acknowledged that the event is stored in its relay log.
Unattempted
The source doesn’t perform the commit until at least 1 replica has acknowledged that the event is stored in its relay log.
Question 31 of 60
31. Question
What is the purpose of the EXPLAIN statement in MySQL query optimization?
Correct
The EXPLAIN statement provides a detailed query execution plan, helping identify potential bottlenecks like table scans or inefficient joins. It does not just show result sets or syntax issues.
Incorrect
The EXPLAIN statement provides a detailed query execution plan, helping identify potential bottlenecks like table scans or inefficient joins. It does not just show result sets or syntax issues.
Unattempted
The EXPLAIN statement provides a detailed query execution plan, helping identify potential bottlenecks like table scans or inefficient joins. It does not just show result sets or syntax issues.
Question 32 of 60
32. Question
Which MySQL variable enforces password complexity requirements for all user accounts?
Correct
The validate_password_policy variable enforces password complexity rules in MySQL 8.0, ensuring users create stronger passwords. The other options do not exist as valid MySQL settings.
Incorrect
The validate_password_policy variable enforces password complexity rules in MySQL 8.0, ensuring users create stronger passwords. The other options do not exist as valid MySQL settings.
Unattempted
The validate_password_policy variable enforces password complexity rules in MySQL 8.0, ensuring users create stronger passwords. The other options do not exist as valid MySQL settings.
Question 33 of 60
33. Question
Which MySQL thread is responsible for fetching binary log events from the primary server?
Correct
In MySQL replication, the I/O thread runs on the replica server and requests binary log events from the primary server, storing them in the relay log. The SQL thread executes them, while the Coordinator thread is used for parallel replication. The Receiver thread does not exist in MySQL replication.
Incorrect
In MySQL replication, the I/O thread runs on the replica server and requests binary log events from the primary server, storing them in the relay log. The SQL thread executes them, while the Coordinator thread is used for parallel replication. The Receiver thread does not exist in MySQL replication.
Unattempted
In MySQL replication, the I/O thread runs on the replica server and requests binary log events from the primary server, storing them in the relay log. The SQL thread executes them, while the Coordinator thread is used for parallel replication. The Receiver thread does not exist in MySQL replication.
Question 34 of 60
34. Question
Which dashboard in MySQL Enterprise Monitor provides real-time server performance metrics?
Correct
The MySQL Instances Dashboard provides real-time insights into server workload, CPU usage, connection activity, and query execution rates. Other dashboards focus on specific areas such as query performance, system health, or replication.
Incorrect
The MySQL Instances Dashboard provides real-time insights into server workload, CPU usage, connection activity, and query execution rates. Other dashboards focus on specific areas such as query performance, system health, or replication.
Unattempted
The MySQL Instances Dashboard provides real-time insights into server workload, CPU usage, connection activity, and query execution rates. Other dashboards focus on specific areas such as query performance, system health, or replication.
Question 35 of 60
35. Question
Which MySQL plug-in is required when integrating authentication with LDAP services?
Correct
The auth_pam plug-in allows MySQL to integrate with LDAP and other external authentication methods via Pluggable Authentication Modules (PAM). auth_ldap is not a valid MySQL authentication plug-in. auth_socket is used for Unix socket authentication, and auth_sasl is not available in MySQL.
Incorrect
The auth_pam plug-in allows MySQL to integrate with LDAP and other external authentication methods via Pluggable Authentication Modules (PAM). auth_ldap is not a valid MySQL authentication plug-in. auth_socket is used for Unix socket authentication, and auth_sasl is not available in MySQL.
Unattempted
The auth_pam plug-in allows MySQL to integrate with LDAP and other external authentication methods via Pluggable Authentication Modules (PAM). auth_ldap is not a valid MySQL authentication plug-in. auth_socket is used for Unix socket authentication, and auth_sasl is not available in MySQL.
Question 36 of 60
36. Question
What is the default behavior of MySQL regarding option file precedence when multiple files are used?
Correct
In MySQL, if multiple option files are loaded, the last file processed takes priority, overriding settings from earlier files. MySQL does not merge settings from different files.
Incorrect
In MySQL, if multiple option files are loaded, the last file processed takes priority, overriding settings from earlier files. MySQL does not merge settings from different files.
Unattempted
In MySQL, if multiple option files are loaded, the last file processed takes priority, overriding settings from earlier files. MySQL does not merge settings from different files.
Question 37 of 60
37. Question
Which MySQL 8.0 configuration file parameter is required to set up multiple MySQL instances on the same host?
Correct
To run multiple MySQL instances on a single host, each instance must listen on a unique port. The port parameter specifies the TCP/IP port number for MySQL. While datadir is also important to separate data files, it does not handle network communication. basedir defines the MySQL installation directory, and socket is used for local Unix connections but does not affect network-based access.
Incorrect
To run multiple MySQL instances on a single host, each instance must listen on a unique port. The port parameter specifies the TCP/IP port number for MySQL. While datadir is also important to separate data files, it does not handle network communication. basedir defines the MySQL installation directory, and socket is used for local Unix connections but does not affect network-based access.
Unattempted
To run multiple MySQL instances on a single host, each instance must listen on a unique port. The port parameter specifies the TCP/IP port number for MySQL. While datadir is also important to separate data files, it does not handle network communication. basedir defines the MySQL installation directory, and socket is used for local Unix connections but does not affect network-based access.
Question 38 of 60
38. Question
Which MySQL configuration setting defines how long binary logs are retained?
Correct
expire_logs_days controls automatic binary log purging. log_bin_index tracks binary log files but does not remove them. relay_log_recovery is used for replication. innodb_log_group_home_dir is for InnoDB redo logs.
Incorrect
expire_logs_days controls automatic binary log purging. log_bin_index tracks binary log files but does not remove them. relay_log_recovery is used for replication. innodb_log_group_home_dir is for InnoDB redo logs.
Unattempted
expire_logs_days controls automatic binary log purging. log_bin_index tracks binary log files but does not remove them. relay_log_recovery is used for replication. innodb_log_group_home_dir is for InnoDB redo logs.
Question 39 of 60
39. Question
Which MySQL cache is primarily used by MyISAM tables for index blocks?
Correct
The MySQL Key Buffer Cache improves performance for MyISAM tables by storing index blocks in memory. The other options are not related to MyISAM.
Incorrect
The MySQL Key Buffer Cache improves performance for MyISAM tables by storing index blocks in memory. The other options are not related to MyISAM.
Unattempted
The MySQL Key Buffer Cache improves performance for MyISAM tables by storing index blocks in memory. The other options are not related to MyISAM.
Question 40 of 60
40. Question
Which configuration parameter must be enabled for InnoDB Cluster nodes?
Correct
The group_replication_group_seeds parameter ensures cluster nodes can discover each other. Other settings (flush logs, binlog sync, or log_slave_updates) affect performance or durability but are not mandatory for InnoDB Cluster configuration.
Incorrect
The group_replication_group_seeds parameter ensures cluster nodes can discover each other. Other settings (flush logs, binlog sync, or log_slave_updates) affect performance or durability but are not mandatory for InnoDB Cluster configuration.
Unattempted
The group_replication_group_seeds parameter ensures cluster nodes can discover each other. Other settings (flush logs, binlog sync, or log_slave_updates) affect performance or durability but are not mandatory for InnoDB Cluster configuration.
Question 41 of 60
41. Question
Which client utility is used to interact with the MySQL server from the command line?
Correct
The mysql command-line client connects to the MySQL server, allowing interactive SQL execution. The other options do not exist as MySQL client utilities.
Incorrect
The mysql command-line client connects to the MySQL server, allowing interactive SQL execution. The other options do not exist as MySQL client utilities.
Unattempted
The mysql command-line client connects to the MySQL server, allowing interactive SQL execution. The other options do not exist as MySQL client utilities.
Question 42 of 60
42. Question
Which replication type in MySQL 8.0 provides multi-primary replication with automatic conflict resolution?
Correct
Group Replication in multi-primary mode enables multiple servers to act as primary nodes while using a Paxos-based consensus algorithm to resolve conflicts automatically. Traditional statement-based replication and circular replication do not provide built-in conflict resolution. Delayed replication is for disaster recovery, not multi-primary setups.
Incorrect
Group Replication in multi-primary mode enables multiple servers to act as primary nodes while using a Paxos-based consensus algorithm to resolve conflicts automatically. Traditional statement-based replication and circular replication do not provide built-in conflict resolution. Delayed replication is for disaster recovery, not multi-primary setups.
Unattempted
Group Replication in multi-primary mode enables multiple servers to act as primary nodes while using a Paxos-based consensus algorithm to resolve conflicts automatically. Traditional statement-based replication and circular replication do not provide built-in conflict resolution. Delayed replication is for disaster recovery, not multi-primary setups.
Question 43 of 60
43. Question
Which approach prevents split-brain scenarios in an InnoDB Cluster?
Correct
Majority quorum rules ensure transaction commits require most nodes to agree, preventing split-brain scenarios. Disabling failover, asynchronous replication, or binlog retention does not prevent split-brain issues.
Incorrect
Majority quorum rules ensure transaction commits require most nodes to agree, preventing split-brain scenarios. Disabling failover, asynchronous replication, or binlog retention does not prevent split-brain issues.
Unattempted
Majority quorum rules ensure transaction commits require most nodes to agree, preventing split-brain scenarios. Disabling failover, asynchronous replication, or binlog retention does not prevent split-brain issues.
Question 44 of 60
44. Question
Which system variable controls how long an idle session remains active before termination?
Correct
The wait_timeout variable determines how long an idle session remains connected before MySQL automatically disconnects it. Other options do not exist or serve different purposes.
Incorrect
The wait_timeout variable determines how long an idle session remains connected before MySQL automatically disconnects it. Other options do not exist or serve different purposes.
Unattempted
The wait_timeout variable determines how long an idle session remains connected before MySQL automatically disconnects it. Other options do not exist or serve different purposes.
Question 45 of 60
45. Question
What is the primary role of the max_connections system variable in MySQL 8.0?
Correct
The max_connections variable determines the maximum number of simultaneous client connections allowed to the MySQL server. If all available connections are used, additional connection requests are denied unless a privileged user like SUPER is connecting. The variable does not control session timeouts, query limits, or memory directly, although high connections may increase memory usage.
Incorrect
The max_connections variable determines the maximum number of simultaneous client connections allowed to the MySQL server. If all available connections are used, additional connection requests are denied unless a privileged user like SUPER is connecting. The variable does not control session timeouts, query limits, or memory directly, although high connections may increase memory usage.
Unattempted
The max_connections variable determines the maximum number of simultaneous client connections allowed to the MySQL server. If all available connections are used, additional connection requests are denied unless a privileged user like SUPER is connecting. The variable does not control session timeouts, query limits, or memory directly, although high connections may increase memory usage.
Question 46 of 60
46. Question
What is the purpose of binary logs in MySQL 8.0?
Correct
Binary logs record all changes to the database that modify data, such as INSERT, UPDATE, and DELETE statements. They are primarily used for replication, where changes can be applied to a replica server, and for point-in-time recovery, allowing administrators to restore a database to a specific state. Unlike redo logs, which are used for crash recovery in InnoDB, binary logs help in data replication and auditing. They do not store user privilege information or backups directly.
Incorrect
Binary logs record all changes to the database that modify data, such as INSERT, UPDATE, and DELETE statements. They are primarily used for replication, where changes can be applied to a replica server, and for point-in-time recovery, allowing administrators to restore a database to a specific state. Unlike redo logs, which are used for crash recovery in InnoDB, binary logs help in data replication and auditing. They do not store user privilege information or backups directly.
Unattempted
Binary logs record all changes to the database that modify data, such as INSERT, UPDATE, and DELETE statements. They are primarily used for replication, where changes can be applied to a replica server, and for point-in-time recovery, allowing administrators to restore a database to a specific state. Unlike redo logs, which are used for crash recovery in InnoDB, binary logs help in data replication and auditing. They do not store user privilege information or backups directly.
Question 47 of 60
47. Question
Which MySQL system variable enables GTID-based multisource replication?
Correct
To enable GTID-based multisource replication, MySQL requires GTID consistency enforcement via enforce_gtid_consistency. This ensures transactions are logged deterministically. The other options relate to functions, startup behavior, and commit order but do not directly enable GTID-based multisource replication.
Incorrect
To enable GTID-based multisource replication, MySQL requires GTID consistency enforcement via enforce_gtid_consistency. This ensures transactions are logged deterministically. The other options relate to functions, startup behavior, and commit order but do not directly enable GTID-based multisource replication.
Unattempted
To enable GTID-based multisource replication, MySQL requires GTID consistency enforcement via enforce_gtid_consistency. This ensures transactions are logged deterministically. The other options relate to functions, startup behavior, and commit order but do not directly enable GTID-based multisource replication.
Question 48 of 60
48. Question
How does MySQL asynchronous replication improve high availability in a multi-server setup?
Correct
In asynchronous replication, the primary server does not wait for replicas to acknowledge transactions before committing. This improves performance and availability but does not guarantee immediate consistency or prevent transaction loss.
Incorrect
In asynchronous replication, the primary server does not wait for replicas to acknowledge transactions before committing. This improves performance and availability but does not guarantee immediate consistency or prevent transaction loss.
Unattempted
In asynchronous replication, the primary server does not wait for replicas to acknowledge transactions before committing. This improves performance and availability but does not guarantee immediate consistency or prevent transaction loss.
Question 49 of 60
49. Question
How many connections are allowed in MySQL before a user without the SUPER privilege receives a connection error in a MySQL 8.0 with max_connections = 500
Correct
MySQL allows max_connections connections and 1 additional connection for users with SUPER or CONNECTION_ADMIN privilege.
Incorrect
MySQL allows max_connections connections and 1 additional connection for users with SUPER or CONNECTION_ADMIN privilege.
Unattempted
MySQL allows max_connections connections and 1 additional connection for users with SUPER or CONNECTION_ADMIN privilege.
Question 50 of 60
50. Question
You want to use MySQL Enterprise Backup 8.0 to perform backups in your database. What type of backups are supported by this tool?
Correct
Hot backup is performed while the database is running. InnoDB tables are backed like this. Warm backup is performed while the database is running but in read-only mode. MyISAM tables are backed like this. Cold backup is performed while the database is stopped. MySQL Enterprise Backup 8.0 doesn‘t support this mode.
Incorrect
Hot backup is performed while the database is running. InnoDB tables are backed like this. Warm backup is performed while the database is running but in read-only mode. MyISAM tables are backed like this. Cold backup is performed while the database is stopped. MySQL Enterprise Backup 8.0 doesn‘t support this mode.
Unattempted
Hot backup is performed while the database is running. InnoDB tables are backed like this. Warm backup is performed while the database is running but in read-only mode. MyISAM tables are backed like this. Cold backup is performed while the database is stopped. MySQL Enterprise Backup 8.0 doesn‘t support this mode.
Question 51 of 60
51. Question
In MySQL replication which thread is started in the primary server
Correct
Binary log dump thread is created in the primary server and will send the binary log information to the replica servers
Incorrect
Binary log dump thread is created in the primary server and will send the binary log information to the replica servers
Unattempted
Binary log dump thread is created in the primary server and will send the binary log information to the replica servers
Question 52 of 60
52. Question
ACME & Co. uses MySQL Enterprise Monitor 8.0 to monitor and troubleshoot query executions in MySQL 8.0 What is the source of the data shown by MySQL Enterprise Monitor Query Analyzer?
Correct
Query Analyzer retrieves the data from performance_schema This feature is enabled by default and its impact is minimum.
Incorrect
Query Analyzer retrieves the data from performance_schema This feature is enabled by default and its impact is minimum.
Unattempted
Query Analyzer retrieves the data from performance_schema This feature is enabled by default and its impact is minimum.
Question 53 of 60
53. Question
Which dynamic privilege would you grant to a user that will manage the roles used by other database users?
Correct
ROLE_ADMIN enables a user to grant/revoke roles to other users
Incorrect
ROLE_ADMIN enables a user to grant/revoke roles to other users
Unattempted
ROLE_ADMIN enables a user to grant/revoke roles to other users
Question 54 of 60
54. Question
Using MySQL Enterprise Audit 8.0, you have defined the following filters:
What would be logged for the user user1@localhost?
Correct
That filter disables unconditionally the logging for ‘user1@localhost‘
Incorrect
That filter disables unconditionally the logging for ‘user1@localhost‘
Unattempted
That filter disables unconditionally the logging for ‘user1@localhost‘
Question 55 of 60
55. Question
You are a MySQL Database Administrator in ACME & Co, using MySQL Enterprise Backup 8.0 to perform backups in your critical database. As part of your recovery plan you are charged with the validation of the backups. How would you validate backups created with MySQL Enterprise Backup 8.0?
Correct
Running validate and restoring the backup are methods to confirm that the backup is valid. Starting a MySQL 8.0 server process directly in a backup directory will not work and will corrupt the backup.
Incorrect
Running validate and restoring the backup are methods to confirm that the backup is valid. Starting a MySQL 8.0 server process directly in a backup directory will not work and will corrupt the backup.
Unattempted
Running validate and restoring the backup are methods to confirm that the backup is valid. Starting a MySQL 8.0 server process directly in a backup directory will not work and will corrupt the backup.
Question 56 of 60
56. Question
Which is the engine used for in-memory temporary tables in MySQL 8.0?
Correct
MySQL 8.0 introduces a new default engine for in-memory temporary tables; TempTable. This engine is more efficient for VARCHAR and VARBINARY columns
Incorrect
MySQL 8.0 introduces a new default engine for in-memory temporary tables; TempTable. This engine is more efficient for VARCHAR and VARBINARY columns
Unattempted
MySQL 8.0 introduces a new default engine for in-memory temporary tables; TempTable. This engine is more efficient for VARCHAR and VARBINARY columns
Question 57 of 60
57. Question
Where are stored index records in a index tree for InnoDB?
Correct
Index records are stored in leaf pages, in the intermediate or root pages only point information is kept
Incorrect
Index records are stored in leaf pages, in the intermediate or root pages only point information is kept
Unattempted
Index records are stored in leaf pages, in the intermediate or root pages only point information is kept
Question 58 of 60
58. Question
What is one difference between MySQL system tables and data dictionary tables?
Correct
The data dictionary contains metadata that cannot be read using SELECT and its tables are hidden in release builds. System tables contain auxiliar data such as time zone or help information and are visible and SELECTABLE. Metadata files have been removed in 8.0 and the data dictionary is transactional
Incorrect
The data dictionary contains metadata that cannot be read using SELECT and its tables are hidden in release builds. System tables contain auxiliar data such as time zone or help information and are visible and SELECTABLE. Metadata files have been removed in 8.0 and the data dictionary is transactional
Unattempted
The data dictionary contains metadata that cannot be read using SELECT and its tables are hidden in release builds. System tables contain auxiliar data such as time zone or help information and are visible and SELECTABLE. Metadata files have been removed in 8.0 and the data dictionary is transactional
Question 59 of 60
59. Question
You want to grant full access over the application schema “app_db“ to developers in your company. To achieve this you have created a role “app_developer“ and granted it to all your developers account. What privileges would you grant to “app_db“?
Correct
Always follow the minimum privilege required to solve the scenario. In this case GRANT ALL on the schema will be enough.
Incorrect
Always follow the minimum privilege required to solve the scenario. In this case GRANT ALL on the schema will be enough.
Unattempted
Always follow the minimum privilege required to solve the scenario. In this case GRANT ALL on the schema will be enough.
Question 60 of 60
60. Question
In MySQL 8.0 the optimizer can use column histograms to generate more accurate plans. How can you generate those histograms?
Correct
ANALYZE TABLE will calculate key distribution on the indexes but it will not generate histograms by default. We can use the ANALYZE TABLE… UPDATE HISTOGRAM ON… syntax to create them.
Incorrect
ANALYZE TABLE will calculate key distribution on the indexes but it will not generate histograms by default. We can use the ANALYZE TABLE… UPDATE HISTOGRAM ON… syntax to create them.
Unattempted
ANALYZE TABLE will calculate key distribution on the indexes but it will not generate histograms by default. We can use the ANALYZE TABLE… UPDATE HISTOGRAM ON… syntax to create them.
X
Use Page numbers below to navigate to other practice tests