1.
Consider the following GRANT statement: GRANT USAGE ON *.* TO 'kofi'@'localhost' IDENTIFIED BY 'password' What is the implications of executing that statement?
2.
Should all queries in the slow query log be optimized?
3.
Assuming that the user account 'joe'@'example.com' exists, executing DROP USER 'joe'@'example.com' has the following consequences:
4.
Which of the following describe the correct single-statement syntax for allowing the existing user 'kofi'@'%' to perform SELECT, INSERT, DELETE and UPDATE actions on all tables in the world database?
5.
Which of the following statements are required to create a key cache of 4 MB, assign the MyISAM table world.City to it and preload the index?
6.
Consider the following two partial outputs of the SHOW VARIABLES command on a master and slave server: Master: +--------------------------+---------------------------+ | Variable_name | Value | +--------------------------+---------------------------+ | connect_timeout | 5 | | log_bin | ON | | max_connections | 100 | | shared_memory_base_name | MYSQL | | server_id | 2 | | tmp_table_size | 5242880 | | version | 5.0.13-rc-nt | Slave: +--------------------------+---------------------------+ | Variable_name | Value | ---------------------------+---------------------------+ | connect_timeout | 5 | | log_bin | ON | | max_connections | 10 | | shared_memory_base_name | MYSQL | | server_id | 2 | | tmp_table_size | 4266336 | | version | 5.0.16-rc-nt | There is apparently a problem with the slave replicating from the master. Which of the following best describes the most likely problem?
7.
Which of the following best describes why InnoDB tables should always have primary keys and why they should be short?
8.
Which of the following best describes the order in which MySQL considers host names and user names when a client attempts connection?
9.
Is it possible to tell the MySQL server to throw an error on illegal dates rather than converting it to zero-date or legal dates?
10.
You have two databases, db1 and db2 and you have a table test in both of the databases. Your current default database is db1. Which of the following tables will be affected by the following command? mysql> GRANT SELECT, INSERT, UPDATE, DELETE ON test TO 'joe'@'%' IDENTIFIED BY 'sakila'