MySQL Community Edition uses operating system authentication.
Front
FALSE
Back
The MySQL Workbench is included in the MySQL Server Community Edition installation.
Front
FALSE
Back
Schema is the MySQL synonym for database.
Front
TRUE
Back
To run an SQL script, click the Execute button on the Query Toolbar.
Front
FALSE
Back
SQL statements can be run individually or as part of a related group of SQL statements known as a script.
Front
TRUE
Back
For use with this book, it is recommended that MySQL be configured as a Decision Support (DSS)/OLAP machine.
Front
TRUE
Back
MySQL is an open source DBMS that only runs on Unix and Linux operating systems.
Front
FALSE
Back
When MySQL Server Administration is opened in the MySQL Workbench, the Startup/Shutdown page is initially displayed.
Front
FALSE
Back
MySQL concurrency options include four scopes for the transaction isolation level: GLOBAL, LOCAL, SESSION and TRANSACTION.
Front
FALSE
Back
MySQL indexes can be created by using the GUI MySQL Table Editor or an SQL statement.
Front
TRUE
Back
In MySQL, surrogate keys that use a sequence maintained by MySQL should be given a data type of IDENTITY.
Front
FALSE
Back
The default transaction isolation level in MySQL is REPEATABLE READ.
Front
TRUE
Back
Database objects are displayed in the Object Explorer window in the MySQL Workbench.
Front
TRUE
Back
MySQL uses the "Safe Updates" — Forbid UPDATE and DELETE statements with no key in WHERE clause or no LIMIT clause — checkbox to control the behavior of UPDATE and DELETE statements run from the MySQL Workbench.
Front
TRUE
Back
MySQL uses the MySQL LAST_INSERT_ID() function to provide the value of the most recently created surrogate key.
Front
TRUE
Back
MySQL users are granted MySQL privileges for specific schemas only.
Front
FALSE
Back
MySQL users must be granted the right to have MySQL schema privileges before the specific privileges themselves are granted.
Front
TRUE
Back
Users log into MySQL Workbench using the Connect to Database and Connect to MySQL Server dialog boxes.
Front
TRUE
Back
The MySQL statement BEGIN is used to define a set of MySQL procedure statements.
Front
TRUE
Back
The MySQL LOOP statement is used to repeat a set of SQL statements as long as some condition is true.
Front
FALSE
Back
A new MySQL database is created using the New Database dialog box.
Front
FALSE
Back
MySQL concurrency options include four transaction isolation levels: READ UNCOMMITTED, READ COMMITTED, REPEATABLE READ, and SERIALIZABLE.
Front
TRUE
Back
MySQL Workbench is the MySQL GUI database administration utility.
Front
TRUE
Back
It is recommended that MySQL be used with the InnoDB storage engine.
Front
TRUE
Back
The MySQL IF statement is used to test for a condition and then direct when blocks of code should be run depending on the outcome of the test.
Front
TRUE
Back
MySQL users are created on the Users and Privileges page in the MySQL Workbench.
Front
TRUE
Back
The MySQL block structure defines variables with the BEGIN keyword.
Front
FALSE
Back
To run an SQL script, click the Execute SQL Script in Connected Server button on the MySQL Workbench.
Front
TRUE
Back
MySQL uses the MySQL CALL statement to run a stored procedure.
Front
TRUE
Back
To execute an SQL query, click the Execute Current SQL Statement in Connected Server button.
Front
TRUE
Back
MySQL supports INSTEAD OF triggers.
Front
FALSE
Back
The MySQL transaction isolation level can be manually set using a MySQL SET {SCOPE} TRANSACTION ISOLATION LEVEL {LEVEL OPTION} command.
Front
TRUE
Back
MySQL users should always be given the GRANT OPTION for each schema.
Front
FALSE
Back
MySQL uses the MySQL NEW transition variable with triggers to access new data inserted
into a table row.
Front
TRUE
Back
The MySQL END statement is used to complete the basic SQL block structure.
Front
TRUE
Back
MySQL users may be granted MySQL server administrative roles.
Front
TRUE
Back
MySQL Workbench is the MySQL GUI application development utility.
Front
TRUE
Back
The MySQL Workbench is the main utility used to implement MySQL security.
Front
TRUE
Back
The MySQL Schema Privileges Select "ALL" button marks all MySQL privileges for assignment to the user.
Front
FALSE
Back
MySQL uses the MySQL OLD transition variable with triggers to access old data updated or deleted from a table row.
Front
TRUE
Back
MySQL supports AFTER triggers.
Front
TRUE
Back
MySQL uses the MySQL TODAYS_DATE() function to provide the value of the current date.
Front
FALSE
Back
MySQL is configured using the MySQL Server Instance Configuration Wizard.
Front
TRUE
Back
The MySQL Table Editor is accessible from the MySQL Workbench.
Front
TRUE
Back
Microsoft Windows users should install MySQL Community Edition using the MySQL Installer for Windows.
Front
TRUE
Back
For use with this book, it is recommended that MySQL be configured as a developer machine.
Front
TRUE
Back
The MySQL Command Line Client is the MySQL command line utility.
Front
TRUE
Back
To start working with MySQL Community Edition, use the command Start | All Programs | MySQL | MySQL Workbench CE 5.2.
Front
TRUE
Back
Triggers that have been created in MySQL are displayed as objects in the Object Browser of the MySQL Workbench.
Front
FALSE
Back
MySQL supports BEFORE triggers.
Front
TRUE
Back
Section 2
(40 cards)
MySQL restores are run on the Restore from Disk tab of the Data Export and Restore page.
Front
FALSE
Back
The MySQL statement to delete a stored procedure already in the database is:
A) CREATE PROCEDURE.
B) ALTER PROCEDURE.
C) DROP PROCEDURE.
D) CLOSE PROCEDURE.
E) None of the above.
Front
C
Back
The MySQL delimiter that must be used with MySQL procedures as used in this text is:
A) /.
B) \.
C) //.
D) \\.
E) None of the above.
Front
C
Back
The MySQL Installer for Windows requires the ________ operating system.
A) Suse Linux
B) Red Hat Linux
C) FreeBSD
D) Microsoft Windows
E) Any of the above
Front
D
Back
The MySQL statement used to complete the basic SQL block structure is:
A) DECLARE.
B) BEGIN.
C) IF...THEN...ELSE...END IF.
D) LOOP.
E) END.
Front
E
Back
To insert non-sequential data into a MySQL table that uses AUTO_INCREMENT:
A) Disable AUTO_INCREMENT.
B) Temporarily remove AUTO_INCREMENT.
C) Use the AUTO_INCREMENT_INSERT command.
D) Disable AUTO_INCREMENT or Use the AUTO_INCREMENT_INSERT command.
E) Temporarily remove AUTO_INCREMENT or Use the AUTO_INCREMENT_INSERT command.
Front
B
Back
The MySQL keyword to close and exit a cursor is:
A) DECLARE CURSOR {CursorName}.
B) OPEN {CursorName}.
C) FETCH.
D) CLOSE {CursorName}.
E) None of the above.
Front
D
Back
The MySQL statement to change a stored procedure already stored in the database is:
A) CREATE PROCEDURE.
B) ALTER PROCEDURE.
C) DROP PROCEDURE.
D) CLOSE PROCEDURE.
E) None of the above.
Front
B
Back
The main MySQL GUI utility is:
A) MySQL Management Studio.
B) MySQL Developer.
C) My SQL Workbench.
D) A and B
E) A, B, and C
Front
C
Back
The MySQL command line utility is:
A) MySQL*Plus.
B) the MySQL Command-Line Client.
C) MySQL-Shell.
D) MySQL-CMD.
E) None of the above is correct.
Front
B
Back
MySQL indexes can be created by using:
A) the MySQL Table Editor.
B) the MySQL Index Editor.
C) an SQL statement.
D) A and C
E) B and C
Front
D
Back
SQL query results are displayed:
A) in a tabbed Resultset window.
B) in a tabbed Results window.
C) in a tabbed Document window.
D) in a tabbed Messages window.
E) in a tabbed results window named the same as the window with the SQL code.
Front
E
Back
MySQL backups are run on the Export to Disk tab of the Data Export and Restore page.
Front
TRUE
Back
The MySQL statement used to define a set of MySQL procedure statements is:
A) DECLARE.
B) BEGIN.
C) IF...THEN...ELSE...END IF.
D) REPEAT.
E) END.
Front
B
Back
Which trigger type(s) does MySQL support?
A) BEFORE
B) AFTER
C) INSTEAD OF
D) A and B
E) A, B, and C
Front
D
Back
The MySQL statement used to test for a condition and then direct when blocks of code should be run depending on the outcome of the test is:
A) DECLARE.
B) BEGIN.
C) IF...THEN...ELSE...END IF.
D) REPEAT.
E) END.
Front
C
Back
The MySQL keyword to actually start using a cursor is:
A) DECLARE CURSOR {CursorName}.
B) OPEN {CursorName}.
C) FETCH.
D) CLOSE {CursorName}.
E) None of the above.
Front
B
Back
MySQL uses the term data export dump as a synonym for backup.
Front
TRUE
Back
Which schema privilege should not be specifically assigned to a user account?
A) SELECT
B) CREATE
C) GRANT
D) A and B
E) A, B, and C
Front
C
Back
The active MySQL database is specified using:
A) the Set Schema command.
B) the Set Database command.
C) the Make Default Schema command.
D) the Set as Default Schema command.
E) the Set Schema dialog box.
Front
D
Back
Which transaction isolation level scope(s) is (are) available in MySQL?
A) GLOBAL
B) SESSION
C) TRANSACTION
D) A and B
E) A, B, and C
Front
E
Back
Which of the following MySQL configuration settings are recommend for use with this book?
A) Developer machine
B) Multifunction machine
C) Decision Support (DSS)/OLAP
D) A and B
E) A, B, and C
Front
E
Back
The MySQL block structure defines variables with the keyword:
A) DECLARE.
B) BEGIN.
C) IF...THEN...ELSE...END IF.
D) REPEAT.
E) END.
Front
A
Back
Which trigger type(s) does MySQL not support?
A) BEFORE
B) AFTER
C) INSTEAD OF
D) A and B
E) A, B, and C
Front
C
Back
The MySQL keyword to create a cursor is:
A) DECLARE CURSOR {CursorName}.
B) OPEN {CursorName}.
C) FETCH.
D) CLOSE {CursorName}.
E) None of the above.
Front
A
Back
To run a single SQL command in MySQL Community Edition:
A) click the Execute button in the MySQL Workbench.
B) click the Execute SQL in Connected Server button in the MySQL Workbench.
C) click the Execute SQL Script in Connected Server button in the MySQL Workbench.
D) click the Execute SQL Statement in Connected Server button in the MySQL Workbench.
E) click the Execute Current SQL Statement in Connected Server button in the MySQL Workbench.
Front
E
Back
Which of the following set of MySQL authorizations can be specifically assigned to a user account?
A) Administrative roles
B) Schema privileges
C) Root user equivalence
D) A and B
E) A, B, and C
Front
D
Back
Logging into the MySQL DBMS is done using:
A) the Connect to Server command.
B) the Connect to Server dialog box.
C) the Connect to MySQL Server Instance command.
D) the Connect to MySQL Server Instance dialog box.
E) None of the above is correct.
Front
D
Back
The MySQL statement used to repeat a set of SQL statements as long as some condition is true is:
A) DECLARE.
B) BEGIN.
C) IF...THEN.ELSE...END IF.
D) REPEAT.
E) END.
Front
D
Back
The MySQL GUI tool(s) used for database administration and management is (are):
A) MySQL Workbench.
B) MySQL*Plus.
C) MySQL Command Shell.
D) A and B
E) A, B, and C
Front
A
Back
DBMS objects are displayed:
A) in the Navigation Pane.
B) in the Object Browser.
C) in the tabbed database window.
D) in the tabbed document window.
E) in the command tab.
Front
B
Back
MySQL backups that contain the entire database are run using the Export to Self-Contained File option.
Front
TRUE
Back
Which transaction isolation level option(s) is (are) available in MySQL?
A) READ UNCOMMITTED
B) READ COMMITTED
C) REPEATABLE READ
D) A and B
E) A, B, and C
Front
E
Back
The MySQL keyword used to retrieve a row of data while the cursor is operating is:
A) DECLARE CURSOR {CursorName}.
B) OPEN {CursorName}.
C) FETCH.
D) CLOSE {CursorName}.
E) None of the above.
Front
C
Back
MySQL databases are backed up using the MySQL Backup System.
Front
FALSE
Back
What term does MySQL use as a synonym for backup ?
A) Replica
B) Export
C) Data export
D) Data export dump
E) None of the above.
Front
D
Back
A new MySQL database is created using:
A) the New Database dialog box.
B) the Create Database command.
C) the new_schema dialog box.
D) the Create Schema command.
E) the New Object dialog box.
Front
C
Back
The MySQL statement to store a stored procedure in the database is:
A) CREATE PROCEDURE.
B) ALTER PROCEDURE.
C) DROP PROCEDURE.
D) CLOSE PROCEDURE.
E) None of the above.
Front
A
Back
SQL statements can be run individually or as part of a related group of SQL statements known as a:
A) Result.
B) Resultset.
C) Script.
D) Scriptset.
E) command set.
Front
C
Back
To create a MySQL index using SQL, the correct SQL statement is:
A) ALTER TABLE {TableName} ADD INDEX {IndexName}.
B) ALTER TABLE {TableName} INSERT INDEX {IndexName}.
C) CREATE INDEX {IndexName} ON TABLE {TableName}.
D) A or C
E) B or C