Professional Documents
Culture Documents
Will the following SELECT query list all of the tables in the INFORMATION_SCHEMA database?
A. Yes.
C. No; the WHERE clause is incorrect. The correct field name is TABLE_SCHEMATA.
Answer: A
Question: 2
Which of the following are some general capabilites of the mysql client program?
E. Create users.
Answer: A, C, E, F
Question: 3
Suppose you have a server that has been started with the --myisam-recover option. When does
Answer: C
Question: 4
C. The row would be deleted from the INFORMATION_SCHEMA.TABLES table, and the table
D. The row would be deleted from the INFORMATION_SCHEMA, but the table Country in the
Answer: A
Question: 5
A. --Shared-memory
B. --Memlock
C. --No-networking
D. --Skip-networking
Answer: D
Question: 6
What are some advantages of using the SHOW command rather than using the
INFORMATION_SCHEMA?
command.
Answer: A, C
Question: 7
Index analysis and optimization using ANALYZE and OPTIMIZE statements should...
C. Be run when more than 5% of the rows are changed by a single statement
D. Be run when EXPLAIN SELECT shows that an inordinate amount of rows is expected to be
Answer: D, E
Question: 8
Suppose you have a column in which most records are going to be between 30 and 32
A. VARCHAR
B. CHAR
C. TEXT
Answer: B
Question: 9
A. Connector/J
B. Connector/ODBC
C. C API
D. Connector/NET
E. Connector/MJX
Answer: C
Question: 10
Which of the following are some benefits of using MySQL built binaries over binaries built by
yourself?
C. Many are built using commercial compilers that produce a better quality build than with freely
Стр. 5 | http://sertificat.org | Сертификат 100% | Ответы на сертификационные тестирования
available compilers.
D. They will work with tools such as MySQL Administrator and MySQL Query Browser.
E. They may include libraries not available in the standard operating system library.
Answer: A, C, E
Question: 11
Assume you compile MySQL from source and invoke configure with the following options. --with-
contains many more character sets, which of the following statements is/are true?
A. The compiled version will use less disk space, because only a few character sets will be
installed on disk.
B. The compiled version will use less memory, because only a few character sets will be loaded
by the server.
C. The compiled version will use less file handles, because only a few files need to be opened
Answer: A, B
Question: 12
Which of the following are true for how BTREE and HASH index types should be used for
MEMORY tables?
A. HASH index types are only for use with equality comparisions such as those using the = and
<=> operators.
B. BTREE index types are preferable for use with comparisons that do not just use equality
C. BTREE index types are only for use with equality comparisons such as those using the = and
<=> operators.
D. HASH index types are preferable for use with comparisons that do not just use equality
Answer: A, B
Question: 13
Which of the following are some general properties of the mysqlimport client program?
E. It bypasses the server and writes directly to the corresponding data files.
Answer: A, C, D
Question: 14
Answer: A, C, E
Question: 15
In a standard MySQL installation which of following files are stored below the data directory?
Answer: A, B, C, D
Question: 16
Answer: C
Question: 17
Which of the following best describes the scope of explicitly and implicitly set locks?
Answer: A, B, C
Question: 18
MySQL is a multi-threaded database server. Every connection to the database server is handled
A. True
B. False
Answer: A
Question: 19 Which of the following are true regarding the table cache?
D. Each connection has its own table cache. They are of equal size, set globally.
F. Increasing the size of the variable table_cache allows mysqld to keep more tables open
simultaneously
Answer: B, E, F
Question: 20
A. When you need to find out why a query is taking a long time to execute.
D. To check a tables structure to see if it may have been damaged and needs repair.
Answer: B, C
Question: 21
Which of the following statements are true regarding the InnoDB storage engine?
Answer: A, D
Question: 22
3. Using LOCK TABLE sometimes decreases the amount disk reads and writes needed for a
group of statements.
Answer: A, C, D
Question: 23
mysqldump can be instructed to include commands to drop and recreate tables before trying to
A. True
B. False
Answer: A
Question: 24
C. Both machines must use IEEE floating-point format or contain no floating-point columns.
Answer: C, D
Question: 25
Another user has issued the statement LOCK TABLE pets FOR WRITE You can...
Answer: D
Question: 26
Which of the following actions are performed during an RPM installation of the MySQL server
package?
Answer: A, B, C
Question: 27
Which of the following steps should be taken to restore an InnoDB table to a consistent state
B. Dump the table with mysqldump, drop the table then re-create from the dump file.
D. Dump the table with mysqlhotcopy, drop the table then re-create with the backup file.
Answer: B
Question: 28
Which of the following best describes why table locking is often not desirable compared to
or row locking?
C. Table locks prevent other clients from making any changes to the table until released.
D. Table locks can cause data corruption issues if more than one client tries to make changes
while locked.
Answer: B, C
Question: 29
B. They can be released by other connections than the client holding them.
Answer: A, C
Question: 30
Which of the following correctly defines dirty reads, non-repeatable readsand phantom row?
transaction.
C. A non-repeatable read occurs when a transaction performs the same retreival twice but gets
D. A non-repeatable read is a row that appears where it was not visible before.
transaction.
Answer: A, C, E
Question: 31
Стр. 11 | http://sertificat.org | Сертификат 100% | Ответы на сертификационные тестирования
Which of the following statements are true for MyISAM tables?
A. By default, write requests (such as UPDATE and DELETE statements) take priority over read
B. By default, read requests (such as SELECT statements) take priority over write requests
C. With the LOW_PRIORITY option, a write request will wait for any other read request to finish.
D. With the LOW_PRIORITY option, a read request will wait for any other write request to finish.
E. With the HIGH_PRIORITY option, a read request will be moved ahead of other requests
waiting to be executed.
Answer: A, C, E
Question: 32
Which of the following best describes how MySQL utilizes the grant table buffers?
A. The grant table buffer loads grant table information into memory for fast access.
B. The grant table buffer loads what users are currently logged in and performing queries.
C. The grant table buffer holds requests waiting to check the grant table to perform access-
control
Answer: A
Question: 33
Which of the following is true for the command-line programs mysqlcheck and myisamchk?
A. Mysqlcheck must run on the server to perform checks and repairs and myisamchk can
B. Mysqlcheck can perform checks and repairs on a remote server, and myisamchk must run on
the server.
C. Both mysqlcheck and myisamchk can perform checks and repairs on a remote server.
D. Neither mysqlcheck or myisamchk can perform checks and repairs on a remote server.
Answer: B
Question: 34
Which of the following correctly describes the differences between explicitly and implicitly set
locks?
A. Implicitly set locks are locks set and released on behalf of the client, by the server.
B. Explicitly set locks are locks set and released on behalf of the client, by the server.
C. Implicitly set locks are locks acquired and released by the client.
D. Explicitly set locks are locks acquired and released by the client.
Question: 35
A. InnoDB
B. MyISAM
C. FEDERATED
D. MEMORY
E. MERGE
Answer: B, D, E
Question: 36
B. To find out why a query takes a long time to execute on a given table.
Answer: A, C
Question: 37
Suppose you want queries that are not using indexes to be logged to the slow log. How would
Question: 38
On a Unix host with the host name "sakila", where will mysqld write errors to?
A. Stdin
B. Stdout
C. Sakila.out
Answer: B
Question: 39
Which of the following best describe what the mysql_tzinfo_to_sql script is needed for and how to
use it?
A. The script is used to convert Unix-type timezone files into SQL statements that can be loaded.
Answer: A, C
Which of the following best describes the processing model for how the MySQL server handles
queries?
A. The server uses a one-tier processing model in which each storage engine optimizes and
B. The server uses a two-tier processing model: a SQL/optimizer tier and a storage engine tier.
C. The server uses a three-tier processing model: a SQL/optimizer tier, a formatting tier and a
Answer: B
Question: 41
Which one of the following statements can be used to start MySQL 5.0 manually from the
Answer: B
Question: 42
Which of the following steps should be performed in order to secure a MySQL server freshly
A. All initial accounts should have passwords set and unused accounts should be removed.
B. The MySQL server should be set to run as it's own user, not as an administrative account.
C. The data directory and it's contents should be strictly accessible only to the user MySQL runs
as.
Answer: A, B, C
Question: 43
Which of the following are some trade-offs between binary and text backups?
Answer: A, C, D
Question: 44
When running the MySQL server under Windows, the --console option is used to display server
A. True
B. False
Answer: A
Question: 45
In which of the following locations can sample .cnf or .ini files be found in any distribution?
D. C:\MySQL
Answer: B
Question: 46
When working with MyISAM tables, which of the following statements are true regarding
deadlocks?
B. Deadlocks are not possible because of the MyISAM-specific method of table-level locking.
D. Deadlocks are not possible because of the MyISAM-specific method of row-level locking.
Answer: B
Question: 47
Which of the following should be done before upgrading the mysql server to a newer version?
A. Read and understand the appropriate "Upgrading MySQL" section of the online manual.
B. Read through the online change notes and understand the changes made between the
versions.
C. Prepare the datadir to be read in by a new version by running the mysqlupgrade –prepare
command on it.
D. Nothing; MySQL data files are binary compatible between all versions and the server will
Answer: A, B
Question: 48
Which of the following statements best describe the purpose of the general query log and how
A. The purpose is to record when a client connects or disconnects and record every SQL
B. The purpose is to record SQL statements that are issued to the server for use when restoring
backups.
C. The general query log is enabled with the --general-log or --general-log=file_name option.
D. The general query log is enabled with the --log or --log=file_name option.
Answer: A, D
Question: 49
You want to lock the three tables a, b and c, and issue the following statements:
mysql> LOCK TABLES a READ; mysql> LOCK TABLES b READ; mysql> LOCK TABLES c
A. Tables a, b and c
B. Table a only
C. Table c only
Answer: C
Question: 50
A. When you need a lock that does not allow other transactions to read, update or delete the
B. When you need a lock that allows other transactions to read the same data, but not update or
C. When you need a lock that allows other transactions to read, update and delete the same
locked data.
Answer: B
Question: 51
Using mysqldump, which of the following commands are used to backup one database?
Answer: B
Стр. 17 | http://sertificat.org | Сертификат 100% | Ответы на сертификационные тестирования
Question: 52
Answer: C
Question: 53
Some statements implicitly commit pending transactions and start a new one.
A. True
B. False
Answer: A
Question: 54
Suppose you install a server with a service name of "MySQL5" rather than the default. What
sections in the option files will the server use for configuration?
A. [Service]
B. [MySQL5]
C. [Service MySQL5]
D. [Mysqld]
E. [Mysqld MySQL5]
Answer: B, D
Question: 55
Which of the following best describe a replication setup with regard to backup procedures?
A. 24 by 7 operations can be maintained but backups may not consist of a full snapshot
Answer: C, D, E
Question: 56
When specifying options, which of the following are valid advantages of using options files over
A. Options will not need to be specified every time the server starts.
B. All options can be consolidated to one file and a single point of reference.
C. Certain options can be specified only in options files but not on the command line
Answer: A, B
Question: 57
When starting the mysqld program, which of the following statements are true?
C.Startup options can only be given on the command line except for Windows Services.
D.Startup options can be given either in option files, or as parameters on the command line.
E.Startup options can be given either in option files, or as parameters on the command line,
Answer: E
Question: 58
F. configuration files.
Answer: D, E, F
Стр. 19 | http://sertificat.org | Сертификат 100% | Ответы на сертификационные тестирования
Question: 59
Which of the following statements are true for tables using the FEDERATED storage engine?
A. Each FEDERATED table is represented on disk by a .frm format file in the database directory
B. For each FEDERATED table, the content of the referenced table is stored in a .FED file on
D. The FEDERATED storage engine supports transaction if the storage engine of the
F. The FEDERATED storage engine supports DELETE, UPDATE, and INSERT statements.
Answer: A, C, E, F
Question: 60
When working with InnoDB, which of the following are true of a parent / child foreign key
relationship?
B. The parent & child must have the same data type.
C. The parent & child may sometimes need the same data type, but not always.
Answer: B
Question: 61
You have created a dump using mysqldump with the --extended-insert option. Will you be able to
A. Always
C.Yes, provided that binary logging is turned off during the re-reading of the dump.
D.No, the new server instance must be the same version as the one which created the dump
Answer: B
Question: 62
Consider the three binary log files bin.00010, bin.00011 and bin.00012 which you want to restore
data from. How should you process these files when using mysqlbinlog to satisfy inter-file
dependencies?
C. You can use both of the above statements, i.e. process the files either in a group or
separately. All inter-file dependencies will be taken care of with both methods.
Answer: B
Question: 63
When working with the InnoDB storage engine, which of the following correctly defines the READ
Answer: B
Question: 64
Which of the following statements are true for locks established by the InnoDB storage engine?
Answer: D
Question: 65
Answer: C
Question: 66
B. Transactions
C. Auto_increment columns
D. Fulltext indexes
Answer: C, D, E, G
Question: 67
Which of the following are effects of defining foreign keys in InnoDB tables without specifying
A. InnoDB will disallow foreign keys without specifying either ON UPDATE or ON DELETE.
B. InnoDB will disallow any delete or update on the primary key regardless if there is a
C. InnoDB will disallow any delete or update on the primary key on a parent record that may
D. InnoDB will allow both deletes and updates on the primary key on a parent record even if
Answer: C
Question: 68
Which of the following steps describe how to do a proper binary backup of InnoDB data?
Answer: A, C, E, F
Question: 69
Which of the following are characteristics of the MyISAM fixed-row storage format as compared to
Answer: A, C, E
Question: 70
Which of the following methods can be used to determine the storage engine of your table named
"Country"?
D. SELECT ENGINE
Answer: A, C, D
Question: 71
Which of the following is true for how the InnoDB storage engine uses diskspace?
A. It stores its data, index and undo information in .MYD and .MYI files, in the respective
database directory.
B. It stores its data and index in .MYD and .MYI files, in the respective database directory, and
Стр. 23 | http://sertificat.org | Сертификат 100% | Ответы на сертификационные тестирования
undo information in its own tablespace.
C. It stores its data in .MYD files, in the respective database directory, and its index and undo
D. It stores its data, index and undo information all in its own tablespace.
Answer: D
Question: 72
Which of the following statements regarding the SHOW command and the
A. The INFORMATION_SCHEMA database exceeds the domain of information that the SHOW
B. The SHOW command exceeds the domain of information that the INFORMATION_SCHEMA
C. Both the SHOW command and the INFORMATION_SCHEMA provide the same domain of
information.
Answer: B
Question: 73
A. Must be created afresh; can be viewed by the world; and will reside on the server
B. Need not be created afresh; can be viewed by the world; and will reside on the server
C. Must be created afresh; can not be viewed by the world; and will reside on the client or the
server
D. Need not be created afresh; can not be viewed by the world; and will reside on the server
Answer: A
Question: 74
Besides specifying the column names and data types, which connection parameters may be
B. The host name of the server where the referenced table is located
C. The user name and password to be used to connect the remote server
Answer: A, B, C
Question: 75
Which of the following commands can be used to stop a MySQL server on a UNIX system?
A. Mysqladmin shutdown
B. Mysqld_multi stop
C. Mysql shutdown
D. Mysql.server stop
E. Mysqld shutdown
Answer: A, B, D
Question: 76
Which of the following storage engines will ignore foreign keys if they are specified?
A. MyISAM
B. InnoDB
C. HEAP
D. MERGE
E. FEDERATED
Answer: A, C, D, E
Question: 77
In which of the following files must the base directory be specified if MySQL is not installed in the
A. Config.cnf
B. Config.ini
C. My.cnf
D. My.ini
E. Basedir.cnf
Стр. 25 | http://sertificat.org | Сертификат 100% | Ответы на сертификационные тестирования
F. Basedir.ini
Answer: C, D
Question: 78
You are using a multi-byte character set with variable-length encoding. You need to store records
whose values are always 20 characters. Which of the following column types would be the most
A. CHAR
B. VARCHAR
Answer: B
Question: 79
Another user has issued LOCK TABLES pets READ You can...
Answer: B
Question: 80
D. Memory usage.
Answer: A, C, D
Question: 81
When making connections to a MySQL server on a Unix platform, which of the following is true?
Answer: B
Question: 82
Which of the following variables specify the default storage engine to use if no storage engine is
A. Default_engine
B. Storage_default
C. Storage_engine
D. Default_storage_engine
Answer: C
Question: 83
Which of the following are some general capabilities of the mysqladmin client program?
C. Create users.
F. Set passwords
Answer: A, B, D, F
Question: 84
Another user has gotten a lock using GET_LOCK. You inquire on the status of the lock by using
A. RELEASE_LOCK
B. IS_FREE_LOCK
C. IS_USED_LOCK
D. Another GET_LOCK
E. LOCK TABLES
Answer: B, C
Question: 85
Стр. 27 | http://sertificat.org | Сертификат 100% | Ответы на сертификационные тестирования
The myisamchk command-line program must not be run on a set of tables if...
Answer: B
Question: 86
Which of the following package types are provided specifically for UNIX-style OS installations?
A. Essentials
B. RPM
C. Source
D. Tar-packaged binary
Answer: B, C, D
Question: 87
B. It can put complete dump files on both the client and server host.
D. It bypasses the server and reads the corresponding data files directly.
Answer: A
Question: 88
Answer: E
Question: 89
Which of the following steps describe how to do a proper binary backup of MyISAM tables?
Answer: B, D
Question: 90
When working with InnoDB, which of the following is true when trying to create foreign key
references?
Answer: C, E
Question: 91
What are some advantages of using the INFORMATION_SCHEMA database rather than using
command.
C. The information returned from the INFORMATION_SCHEMA can be stored in other tables.
Answer: B, C, E
Question: 92
Which of following list the default order in which option files are read on UNIX?
Стр. 29 | http://sertificat.org | Сертификат 100% | Ответы на сертификационные тестирования
A. ~/.My.cnf, $MYSQL_HOME/my.cnf, and /etc/my.cnf
Answer: B
Question: 93
B. Only data
Answer: C
Question: 94
Answer: D
Question: 95
After a server crash, some InnoDB tables need to be repaired. However, when the server is
restarted, auto-recover failed. How would you repair the InnoDB tables?
Answer: A
Question: 96
A windows binary installation includes several servers in the MySQL installation directory. What is
the purpose of the mysqld-nt server?
It is the standard server with additional support for named pipes and extra storage engines
It is a debug-version of the server with named pipes and error reporting facilities to help track
E. It is the standard server, compiled to be optimized for Windows NT 4.0 (but not other
Windows versions).
Answer: B
Question: 97
Which of the following list the difference between mysqld, mysqld_safe and mysql.server
respectively?
A. Mysqld is the server; mysqld_safe is a shell script that invokes mysqld; mysql.server is a
B. Mysqld is a shell script that starts mysql.server; mysqld_safe is a shell script that invokes the
C. Mysqld is the server; mysqld_safe is a shell script that invokes mysqld in safe mode, and
Answer: A
Question: 98
Of the following mechanisms available to connect a MySQL client to a MySQL database server,
A. TCP/IP
B. Sockets
C. Shared Memory
D. Named Pipes
Answer: C, D
Question: 99
Стр. 31 | http://sertificat.org | Сертификат 100% | Ответы на сертификационные тестирования
Which of the following is true of a MySQL client and server?
Answer: C, D
Question: 100
F. Store your data directory and backup files on separate physical drives or locations.
Answer: B, C, D, F
Question: 101
E. To check a tables structure to see if it may have been damaged and needs repair.
Answer: A, B, C
Question: 102
B. ... All of the tables, triggers and views for every database.
C. ... All of the databases on the server, such as name, character set and collation.
D. ... Every database's structure including tables, triggers, stored routines, views, etc.
Answer: C
Question: 103
B. If a table is locked with a read lock and a write lock, the write lock is set before the read lock
C. Tables are locked one table at a time until the thread gets all the locks
Answer: D
Question: 104
Which of the following statements correctly describes the way to enable and use shared memory
A. Shared memory connections are available by default on all platforms, but must have TCP/IP
B. Shared memory connections are supported on all windows binaries, and is enabled by
default.
C. Shared memory connections are supported on all windows binaries, and must be enabled by
D. Shared memory is not a supported communication method for the MySQL database server.
Answer: C
Question: 105
D. To check a tables structure to see if it may have been damaged and needs repair.
Answer: C
Стр. 33 | http://sertificat.org | Сертификат 100% | Ответы на сертификационные тестирования
Question: 106
A. --Start-position will read the binlog entries starting at the specified position
C. --Start-datetime will read the binlog entries starting at the specified date and time
D. --End-datetime will read the binlog entries up to the specified date and time
E. --Start-file will read the binlog entries starting with the specified filename
F. --End-file will read the binlog entries ending after the specified filename
Answer: A, B, C, D
Question: 107
When backing up a replication slave, which of the following replication files should also be backed
up?
Answer: A, B, C
Question: 108
Which of the following are some general characteristics of the MEMORY storage engine?
Answer: A, D, E
Question: 109
Which of the following SQL constructs are not available with all storage engines, i.e. which are
A. BEGIN and ROLLBACK have an effect only for tables managed by transactional storage
B. Some index types are available only for particular storage engines. For example, only the
C. LOAD DATA INFILE only works for tables managed by disk based storage engines, such as
InnoDB or MyISAM.
D. OPTIMIZE TABLE only works for tables managed by storage engines that perform table level
Answer: A, B
Question: 110
Assume you created a backup of the world database by the following statement.
shell> mysqldump --opt world > dump.sql How can you import the data from this dumped file into
Answer: A, C
Question: 111
Which of the following statements are true with regard to savepoints in transactions?
E. If you rollback to a previous savepoint, all statements after this savepoint are rolled back and
cannot be reissued.
Стр. 35 | http://sertificat.org | Сертификат 100% | Ответы на сертификационные тестирования
F. If you rollback to a previous savepoint, you still can replay the statements after this savepoint.
Answer: A, B, C, E
Question: 112
Which of the following are true regarding the key buffer cache?
A. The key buffer is used for caching index blocks for MyISAM tables.
Answer: A, C
Question: 113
Which of the following are true with regards to the server SQL mode? Select all that apply.
A. The server SQL mode determines how the server should behave when performing data
B. The server SQL mode determines whether the server should be read-only or accept
C. The default SQL mode can be set by adding a mode="" to the [mysqld] section of a server
option file.
D. The SQL mode can be changed at the session level with a SET SESSION sql_mode=""
command.
Answer: A, D
Question: 114
Which of the following would be the effect of setting REFERENCES with ON UPDATE
CASCADE?
A. Changes to the parent record would be disallowed if there were any corresponding child
records.
B. Records could only be updated and not deleted regardless if they have any corresponding
child records.
C. Changes made to the parent record are passed down to the corresponding child records.
Answer: C
Question: 115
D. Tablespace and log files will be created even if not configured explicitly.
Answer: A, D
Question: 116
Which of the following correctly defines the general difference between a read lock and a write
lock?
A. A read lock allows other clients to read the same data, however will prevent any modification
B. A read lock prevents any other client from reading the same data, until the lock is released.
C. A write lock only prevents any other client from modifying the locked data until the lock is
released.
D. A write lock prevents any other client from reading or writing the locked data until the lock is
released.
Answer: A, D
Question: 117
Which of the following describes how deadlocks may occur and how InnoDB resolves them?
A. Deadlocks happen anytime when more than one lock is placed in a table.
B. Deadlocks happen when two transactions both have locks that the other is waiting for the
C. InnoDB resolves deadlocks by terminating and rolling back one of the deadlocking
transactions.
D. InnoDB resolves deadlocks by terminating and rolling back both of the deadlocking
transactions.
Answer: B, C
Стр. 37 | http://sertificat.org | Сертификат 100% | Ответы на сертификационные тестирования
Question: 118
When working with InnoDB, for which of the following reasons should you use the FOR UPDATE
locking modifier?
A. You intend to run more than ten UPDATE statements in one transaction.
Answer: C
Question: 119
Which of the following are characteristics of the MyISAM compressed-row storage format?
Answer: A, C, D
Question: 120
D. Both machines must use IEEE floating-point format or contain no floating-point columns.
Answer: B, C, D
Question: 121
Which of the following (series of) statements will leave the three tables A, B and C locked for
reading, writing and reading respectively once all statements have been executed?
B. Mysql> LOCK TABLES A READ; mysql> LOCK TABLES B WRITE; mysql> LOCK TABLES
C READ;
C. Mysql> LOCK TABLES A READ, B WRITE, C READ;
Answer: C
Question: 122
The MySQL server host crashes at 10:00 in the morning, and is brought back online at 10:30. In
order to ensure that all data are consistent, a copy is first made of the table, tablespace and log
files currently on the server host, and these files are then restored from a backup made at 03:00
the same morning. What should be done in order to bring the database to the state it was at just
A. The mysql_restore utility should be used to update the server to its last known state.
B. The binary logs recorded after the backup at 03:00 should be re-applied to make the
database file consistent with the state just before the crash.
C. The procedure described is wrong; instead, the mysqlcheck utility should be used and only if
D. Once the backup files from 03:00 have been restored, there is nothing more that can be done
Answer: B
Question: 123
What will the following statement do in a Windows environment? Assume that there are no
B. MySQL will be installed as Windows service name MySQL50 and will use C:\my-opts.cnf as
configuration file
C. An error message will be issued as --install is not a valid option for mysqld
Answer: B
Question: 124
Answer: B
Question: 125
Suppose your are adding rows to a MyISAM table and the server runs out of disk space. What
will happen?
C. The server suspends that INSERT operation until space becomes available.
D. The server suspends operations on all MyISAM tables until space becomes available.
Answer: C
Question: 126
When you upgrade from one version of MySQL to another which of these steps are considered
necessary?
A. Check the MySQL Reference Manual upgrading section and read the parts that concern your
upgrade
Answer: A, B, C, D, E
Question: 127
When you acquire an advisory lock using GET_LOCK(), the lock isreleased if
Question: 128
Which of the following statements are true for the MERGE storage engine?
C. Underlying MyISAM tables are read-locked when you issue a SELECT statement on a
MERGE table.
D. Underlying MyISAM tables are write-locked when you issue a SELECT statement on a
MERGE table.
E. Underlying MyISAM tables are read-locked when you issue a statement that modifies a
MERGE table.
F. Underlying MyISAM tables are write-locked when you issue a statement that modifies a
MERGE table.
H. To LOCK a MERGE table, you need to lock all underlying MyISAM tables as well.
Answer: A, C, F, G
Question: 129
When installing a RPM based distribution, the data directory will be set to which of the following
locations?
A. /Var/lib/mysql
B. /Usr/mysql/data
C. /Var/mysql/data
D. /Usr/local/mysql/data
Answer: A
Question: 130
Which of the following are reasons to not just enable all logging?
A. Security risks.
D. Slower performance.
Answer: B, D
Question: 131
Where is the data stored for a table that is defined as using the FEDERATED Storage Engine?
C. The data can be stored on any host depending on the definition of the table.
F. The data will be stored according to the storage engine of the referenced table.
Answer: C, F
Question: 132
A. The data files will be stored below the default data directory
F. The initial size of the InnoDB data files on server startup will be set to 50MB. If more
Answer: B, D
Question: 133
Which of the following statements are true regarding the data directory on a Windows binary
installation?
B. It comes pre-initialized.
C. You can choose to pre-initialize it or initialize it manually during the installation.
Answer: B
Question: 134
B. Logging settings
C. Backup intervals
Answer: A, B, D, E
Question: 135
When will you be able to copy InnoDB table space files to other systems and use the data there?
A. You can always use them, because InnoDB files are platform independent.
Answer: A
Question: 136
A. Per transaction
C. Per session
D. Globally
Answer: A, C, D
Question: 137
C. InnoDB tables will be recovered after a crash if the innodb-recover option is configured.
D. MyISAM tables will be recovered after a crash if the myisam-recover option is configured.
E. InnoDB tables cannot be recovered after a crash, you have to restore data from backup.
F. MyISAM tables cannot be recovered after a crash, you have to restore data from backup.
Answer: A, D
Question: 138
When working with the InnoDB engine, which of the following correctly defines the READ
transactions.
Answer: C
Question: 139
When choosing a storage engine for each of your tables, which things are to consider?
A. Locking Characteristics: Some storage engines lock on row level, some on level, some
on table level.
C. Storage media: Some storage engines store data on disk, some in memory.
D. Licenses: Some storage engines cannot be used in commercial environments, others can.
E. Backup methods: Some storage engines support online backup and point in time recovery,
some don't.
Answer: A, B, C, E
Question: 140
Which two of the following statements best describe the purpose of the slow query log and how
low on resources.
B. The slow log records the text of all queries that exceed the long_query_time variable.
Answer: B, C