005-002 Certified Mysql 5.0 Dba Part 1
005-002 Certified Mysql 5.0 Dba Part 1
005-002 Certified Mysql 5.0 Dba Part 1
Version 3.0
QUESTION NO: 1
Will the following SELECT query list all of the tables in the
INFORMATION_SCHEMA database?
A. Yes.
B. No; the INFORMATION_SCHEMA database does not contain information on itself.
C. No; the WHERE clause is incorrect. The correct field name is TABLE_SCHEMATA.
D. No; there is no table in the INFORMATION_SCHEMA database called TABLES.
Answer: A
QUESTION NO: 2
Which of the following are some general capabilities of the mysql client program?
Answer: A, C, E, F
QUESTION NO: 3
Suppose you have a server that has been started with the --myisam-recover option. When
does the server perform the check on the MyISAM tables?
Answer: C
QUESTION NO: 4
Consider the following query: DELETE FROM INFORMATION_SCHEMA.TABLES
WHERE table_schema = 'world' AND table_name = 'Country' What would be the result
of executing this query?
Answer: A
QUESTION NO: 5
A. --Shared-memory
B. --Memlock
C. --No-networking
D. --Skip-networking
Answer: D
QUESTION NO: 6
What are some advantages of using the SHOW command rather than using the
INFORMATION_SCHEMA?
Answer: A, C
QUESTION NO: 7
Index analysis and optimization using ANALYZE and OPTIMIZE statements should...
Answer: D, E
QUESTION NO: 8
Suppose you have a column in which most records are going to be between 30 and 32
characters. Which of the following column types would be most efficient?
A. VARCHAR
B. CHAR
C. TEXT
D. Either VARCHAR or CHAR
Answer: B
QUESTION NO: 9
A. Connector/J
B. Connector/ODBC
C. C API
D. Connector/NET
E. Connector/MJX
Answer: C
QUESTION NO: 10
Which of the following are some benefits of using MySQL built binaries over binaries
built by yourself?
Answer: A, C, E
QUESTION NO: 11
Assume you compile MySQL from source and invoke configure with the following
options. --withcharset= latin1 --with-extra-charsets=utf8,ucs2 Compared to a standard
binary installation that 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 when the server is started.
Answer: A, B
QUESTION NO: 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 operators such as = and <=>
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 operators such as = and <=>
Answer: A, B
QUESTION NO: 13
Which of the following are some general properties of the mysqlimport client program?
Answer: A, C, D
QUESTION NO: 14
Answer: A, C, E
QUESTION NO: 15
In a standard MySQL installation which of following files are stored below the data
directory?
Answer: A, B, C, D
QUESTION NO: 16
Answer: C
QUESTION NO: 17
Which of the following best describes the scope of explicitly and implicitly set locks?
Answer: A, B, C
QUESTION NO: 18
MySQL is a multi-threaded database server. Every connection to the database server is
handled by it's own thread.
A. True
B. False
Answer: A
QUESTION NO: 19
Answer: B, E, F
QUESTION NO: 20
A. When you need to find out why a query is taking a long time to execute.
B. To improve performance by updating index distribution statistics.
C. After large amounts of table data have changed.
D. To check a tables structure to see if it may have been damaged and needs repair.
Answer: B, C
QUESTION NO: 21
Which of the following statements are true regarding the InnoDB storage engine?
Answer: A, D
QUESTION NO: 22
What are some properties of using LOCK TABLE?
Answer: A, C, D
QUESTION NO: 23
mysqldump can be instructed to include commands to drop and recreate tables before
trying to create or load data.
A. True
B. False
Answer: A
QUESTION NO: 24
Answer: C, D
QUESTION NO: 25
Another user has issued the statement LOCK TABLE pets FOR WRITE You can...
Answer: D
QUESTION NO: 26
Which of the following actions are performed during an RPM installation of the MySQL
server package?
Answer: A, B, C
QUESTION NO: 27
Which of the following steps should be taken to restore an InnoDB table to a consistent
state without having to shutdown the server?
Answer: B
QUESTION NO: 28
Which of the following best describes why table locking is often not desirable compared
to page or row locking?
Answer: B, C
QUESTION NO: 29
Answer: A, C
QUESTION NO: 30
Which of the following correctly defines dirty reads, non-repeatable readsand phantom
row?
Answer: A, C, E
QUESTION NO: 31
A. By default, write requests (such as UPDATE and DELETE statements) take priority
over read requests (such as SELECT statements).
B. By default, read requests (such as SELECT statements) take priority over write
requests (such as UPDATE and DELETE statements) .
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 NO: 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 NO: 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
perform checks and repairs on a remote server.
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 NO: 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.
Answer: A, D
QUESTION NO: 35
A. InnoDB
B. MyISAM
C. FEDERATED
D. MEMORY
E. MERGE
Answer: B, D, E
QUESTION NO: 36
QUESTION NO: 37
Suppose you want queries that are not using indexes to be logged to the slow log. How
would you enable this?
Answer: C
QUESTION NO: 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 NO: 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.
B. The script is used to insert timezone files into MySQL.
C. Shell> mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
D. Shell> /usr/share/zoneinfo mysql_tzinfo_to_sql | mysql -u root mysql
Answer: A, C
QUESTION NO: 40
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 processes each query issued against it.
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 storage engine tier.
Answer: B
QUESTION NO: 41
Which one of the following statements can be used to start MySQL 5.0 manually from
the command line on windows?
Answer: B
QUESTION NO: 42
Which of the following steps should be performed in order to secure a MySQL server
freshly installed from a binary tarball.
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.
D. The server should be started with the mysqld_secure script.
Answer: A, B, C
QUESTION NO: 43
Which of the following are some trade-offs between binary and text backups?
Answer: A, C, D
QUESTION NO: 44
When running the MySQL server under Windows, the --console option is used to display
server errors in the console window.
A. True
B. False
Answer: A
QUESTION NO: 45
In which of the following locations can sample .cnf or .ini files be found in any
distribution?
Answer: B
QUESTION NO: 46
When working with MyISAM tables, which of the following statements are true
regarding deadlocks?
Answer: B
QUESTION NO: 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 automatically perform any conversions needed.
Answer: A, B
QUESTION NO: 48
Which of the following statements best describe the purpose of the general query log and
how you enable it?
A. The purpose is to record when a client connects or disconnects and record every SQL
statement issued to the server.
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 NO: 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 READ; Which tables are now locked?
A. Tables a, b and c
B. Table a only
C. Table c only
D. None of the tables are locked
Answer: C
QUESTION NO: 50
A. When you need a lock that does not allow other transactions to read, update or delete
the same data until released.
B. When you need a lock that allows other transactions to read the same data, but not
update or delete until released.
C. When you need a lock that allows other transactions to read, update and delete the
same locked data.
Answer: B
QUESTION NO: 51
Using mysqldump, which of the following commands are used to backup one database?
Answer: B
QUESTION NO: 52
Answer: C
QUESTION NO: 53
Some statements implicitly commit pending transactions and start a new one.
A. True
B. False
Answer: A
QUESTION NO: 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 NO: 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
B. 24 by 7 operations can be maintained but may be halted at backup time.
C. 24 by 7 operations can be maintained without interruptions.
D. 24 by 7 operations can be maintained with backups from a slave server.
E. 24 by 7 operations can be maintained with a slave being the "hot spare".
F. None of the above.
Answer: C, D, E
QUESTION NO: 56
When specifying options, which of the following are valid advantages of using options
files over parameters on a command line?
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 NO: 57
When starting the mysqld program, which of the following statements are true?
Answer: E
QUESTION NO: 58
Answer: D, E, F
QUESTION NO: 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 of the local server.
B. For each FEDERATED table, the content of the referenced table is stored in a .FED
file on the local server.
C. The FEDERATED storage engine does not support transactions.
D. The FEDERATED storage engine supports transaction if the storage engine of the
referenced table supports transactions.
E. The FEDERATED storage engine supports SELECT statements.
F. The FEDERATED storage engine supports DELETE, UPDATE, and INSERT
statements.
Answer: A, C, E, F
QUESTION NO: 60
When working with InnoDB, which of the following are true of a parent / child foreign
key relationship?
Answer: B
QUESTION NO: 61
You have created a dump using mysqldump with the --extended-insert option. Will you
be able to use this dump on any MySQL server instance?
A. Always
B. Yes, provided that --max-allowed-packet is set correctly
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 for everything to work
Answer: B
QUESTION NO: 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?
Answer: B
QUESTION NO: 63
When working with the InnoDB storage engine, which of the following correctly defines
the READ COMMITTED isolation level?
Answer: B
QUESTION NO: 64
Which of the following statements are true for locks established by the InnoDB storage
engine?
Answer: D
QUESTION NO: 65
Answer: C
QUESTION NO: 66
Answer: C, D, E, G
QUESTION NO: 67
Which of the following are effects of defining foreign keys in InnoDB tables without
specifying either ON UPDATE or ON DELETE?
Answer: C
QUESTION NO: 68
Which of the following steps describe how to do a proper binary backup of InnoDB data?
Answer: A, C, E, F
QUESTION NO: 69
Which of the following are characteristics of the MyISAM fixed-row storage format as
compared to the dynamic row format?
Answer: A, C, E
QUESTION NO: 70
Which of the following methods can be used to determine the storage engine of your
table named "Country"?
Answer: A, C, D
QUESTION NO: 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 undo information in its own tablespace.
C. It stores its data in .MYD files, in the respective database directory, and its index and
undo information in its own tablespace.
D. It stores its data, index and undo information all in its own tablespace.
Answer: D
QUESTION NO: 72
Which of the following statements regarding the SHOW command and the
INFORMATION_SCHEMA database are true?
A. The INFORMATION_SCHEMA database exceeds the domain of information that the
SHOW command can provide.
B. The SHOW command exceeds the domain of information that the
INFORMATION_SCHEMA database can provide.
C. Both the SHOW command and the INFORMATION_SCHEMA provide the same
domain of information.
Answer: B
QUESTION NO: 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 NO: 74
Besides specifying the column names and data types, which connection parameters may
be defined when defining a FEDERATED table?
Answer: A, B, C
QUESTION NO: 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 NO: 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 NO: 77
In which of the following files must the base directory be specified if MySQL is not
installed in the default directory for the platform?
A. Config.cnf
B. Config.ini
C. My.cnf
D. My.ini
E. Basedir.cnf
F. Basedir.ini
Answer: C, D
QUESTION NO: 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 efficient to use in terms of storage space?
A. CHAR
B. VARCHAR
C. The storage requirements for CHAR or VARCHAR would be the same
Answer: B
QUESTION NO: 79
Another user has issued LOCK TABLES pets READ You can...
Answer: B
QUESTION NO: 80
Answer: A, C, D
QUESTION NO: 81
Answer: B
QUESTION NO: 82
Which of the following variables specify the default storage engine to use if no storage
engine is specified when creating a table?
A. Default_engine
B. Storage_default
C. Storage_engine
D. Default_storage_engine
Answer: C
QUESTION NO: 83
Which of the following are some general capabilities of the mysqladmin client program?
Answer: A, B, D, F
QUESTION NO: 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 NO: 85
The myisamchk command-line program must not be run on a set of tables if...
Answer: B
QUESTION NO: 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 NO: 87
Answer: A
QUESTION NO: 88
Answer: E
QUESTION NO: 89
Which of the following steps describe how to do a proper binary backup of MyISAM
tables?
Answer: B, D
QUESTION NO: 90
When working with InnoDB, which of the following is true when trying to create foreign
key references?
Answer: C, E
QUESTION NO: 91
What are some advantages of using the INFORMATION_SCHEMA database rather than
using the SHOW command?
Answer: B, C, E
QUESTION NO: 92
Which of following list the default order in which option files are read on UNIX?
Answer: B
QUESTION NO: 93
Answer: C
QUESTION NO: 94
Answer: D
QUESTION NO: 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 NO: 96
Answer: B
QUESTION NO: 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 wrapper for mysqld_safe.
B. Mysqld is a shell script that starts mysql.server; mysqld_safe is a shell script that
invokes the server in safe mode; mysql.server is the server.
C. Mysqld is the server; mysqld_safe is a shell script that invokes mysqld in safe mode,
and mysql.server is a wrapper for mysqld_safe.
Answer: A
QUESTION NO: 98
Answer: C, D
QUESTION NO: 99
Answer: C, D
Answer: B, C, D, F
Answer: A, B, C
Answer: C
Answer: D
Which of the following statements correctly describes the way to enable and use shared
memory connections to the MySQL database server?
A. Shared memory connections are available by default on all platforms, but must have
TCP/IP networking disabled by using the --skip-networking option.
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 using the --shared-memory command line option.
D. Shared memory is not a supported communication method for the MySQL database
server.
Answer: C
A. --Start-position will read the binlog entries starting at the specified position
B. --End-position will read the binlog entries up to 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
When backing up a replication slave, which of the following replication files should also
be backed up?
Answer: A, B, C
Which of the following are some general characteristics of the MEMORY storage
engine?
Answer: A, D, E
A. BEGIN and ROLLBACK have an effect only for tables managed by transactional
storage engines, such asInnoDB.
B. Some index types are available only for particular storage engines. For example, only
the MyISAM engine supports full-text or spatial indexes.
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 locking, such as MyISAM.
Answer: A, B
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 the test database?
Answer: A, C
Which of the following statements are true with regard to savepoints in transactions?
Answer: A, B, C, E
Which of the following are true regarding the key buffer cache?
A. The key buffer is used for caching index blocks for MyISAM tables.
B. The key buffer is used for caching index blocks for all MySQL tables.
C. Setting the buffer to a larger size will generally increase performance.
D. Setting the buffer to a larger size will generally decrease performance.
Answer: A, C
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
validation checks and interpreting different forms of syntax.
B. The server SQL mode determines whether the server should be read-only or accept
commands such as INSERT, UPDATE, etc.
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
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
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 of the data until the lock is released.
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
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 release of the lock that the other holds.
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
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.
B. You intend to execute an UPDATE statement on any row.
C. You intend to SELECT a set of rows, then modify those rows.
Answer: C
Answer: A, C, D
Answer: B, C, D
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?
Answer: C
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 before the server host crashed?
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 that fails should backup copies be restored.
D. Once the backup files from 03:00 have been restored, there is nothing more that can be
done to restore the database files.
Answer: B
What will the following statement do in a Windows environment? Assume that there are
no conflicts in the pathname definitions. C: mysqld --install MySQL50 --defaults-
file=C:opts.cnf
Answer: B
Answer: B
Suppose your are adding rows to a MyISAM table and the server runs out of disk space.
What will happen?
Answer: C
A. Check the MySQL Reference Manual upgrading section and read the parts that
concern your upgrade
B. Backup your databases
C. Stop the MySQL server
D. Install the new version of MySQL on top of the existing version
E. Start the new server
F. None of the above
Answer: A, B, C, D, E
When you acquire an advisory lock using GET_LOCK(), the lock isreleased if
Answer: A, B, C
Which of the following statements are true for the MERGE storage engine?
Answer: A, C, F, G
A. /Var/lib/mysql
B. /Usr/mysql/data
C. /Var/mysql/data
D. /Usr/local/mysql/data
Answer: A
Which of the following are reasons to not just enable all logging?
A. Security risks.
B. More disk space is used.
C. More memory is used.
D. Slower performance.
Answer: B, D
Where is the data stored for a table that is defined as using the FEDERATED Storage
Engine?
Answer: C, F
A. The data files will be stored below the default data directory
B. There are two InnoDB data files
C. There are three InnoDB data files
D. The total minimum size of the InnoDB data files is 100MB
E. The total maximum size of the InnoDB data files is 100MB
F. The initial size of the InnoDB data files on server startup will be set to 50MB. If more
space is needed, another 50MB will be allocated.
Answer: B, D
Which of the following statements are true regarding the data directory on a Windows
binary installation?
Answer: B
Answer: A, B, D, E
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.
B. Both systems need to be either 32 Bit or 64 Bit platforms.
C. Both systems need to run the same operating system.
D. Both systems must be either little endian or big endian architecture.
Answer: A
A. Per transaction
B. Per user name
C. Per session
D. Globally
Answer: A, C, D
Answer: A, D
When working with the InnoDB engine, which of the following correctly defines the
READ UNCOMMITTED isolation level?
Answer: C
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 page level,
some on table level.
B. Transactions support: Some storage engines support transactions, some don't.
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
Which two of the following statements best describe the purpose of the slow query log
and how you enable it?
A. The slow log records the timestamps of when the server is performing slowly and
when it is low on resources.
B. The slow log records the text of all queries that exceed the long_query_time variable.
C. The slow log is enabled with the --log-slow-queries or --log-slow-queries=file_name
option.
D. The slow log is enabled with the --log-slow or --log-slow=file_name option.
Answer: B, C