1Z0-873 Exam Questions
139 real 1Z0-873 exam questions with expert-verified answers and explanations. Page 2 of 3.
- Question #51MySQL Database Maintenance
The CHECK TABLE command should be used...
CHECK TABLEtable maintenancedata corruptionInnoDB index statistics - Question #52MySQL Database Maintenance
The REPAIR TABLE command should be used...
REPAIR TABLEMyISAMtable corruptionmaintenance commands - Question #53MySQL Database Maintenance
The ANALYZE TABLE command should be used...
ANALYZE TABLEindex statisticsquery optimizationtable maintenance - Question #54MySQL Database Maintenance
The OPTIMIZE TABLE command should be used...
OPTIMIZE TABLEdefragmentationindex sortingtable maintenance - Question #55MySQL Database Maintenance
The myisamchk command-line program must not be run on a set of tables if...
myisamchkMyISAM maintenancetable file accessserver concurrency - Question #56MySQL Database Maintenance
The CHECK TABLE command...
CHECK TABLEInnoDBMyISAMstorage engine compatibility - Question #57MySQL Backup and Recovery
Which of the following steps should be taken to restore an InnoDB table to a consistent state without having to shutdown the server?
InnoDB recoverymysqldumptable restorationonline repair - Question #58MySQL Backup and Recovery
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?
InnoDB crash recoveryinnodb_force_recoveryserver startup optionsdisaster recovery - Question #59Backup and Recovery
Which of the following is true of the mysqldump client program?
mysqldumpstorage enginesbackup compatibility - Question #60Backup and Recovery
Using mysqldump, which of the following commands are used to backup one database?
mysqldumpcommand syntaxdatabase backup - Question #61MySQL Configuration
Which of following list the default order in which option files are read on UNIX?
option filesmy.cnfconfiguration orderUNIX - Question #62MySQL Logging
Which of the following are reasons to not just enable all logging?
loggingperformance impactdisk usage - Question #63
In which of the following locations can sample .cnf or .ini files be found in any distribution?
- Question #64MySQL Logging
Which of the following statements best describe the purpose of the general query log and how you enable it?
general query loglogging optionsserver configuration - Question #65MySQL Logging
Which two of the following statements best describe the purpose of the slow query log and how you enable it?
slow query loglong_query_timelogging options - Question #66MySQL Logging
Suppose you want queries that are not using indexes to be logged to the slow log. How would you enable this?
slow query logindex loggingquery optimizationserver options - Question #67MySQL Configuration
Which of the following best describe what the mysql_tzinfo_to_sql script is needed for and how to use it?
mysql_tzinfo_to_sqltimezone configurationserver setup - Question #68MySQL Security
Which of the following steps should be performed in order to secure a MySQL server freshly installed from a binary tarball.
server securityinstallation hardeninguser permissionsdata directory - Question #69MySQL Configuration
Which of the following are true with regards to the server SQL mode?
SQL modedata validationsession variablesserver configuration - Question #70Installing and Upgrading MySQL
Which of the following should be done before upgrading the mysql server to a newer version?
MySQL upgradeversion migrationupgrade procedure - Question #71
When you upgrade from one version of MySQL to another which of these steps are considered necessary?
- Question #72Backup and Recovery
mysqldump can be instructed to include commands to drop and recreate tables before trying to create or load data.
mysqldump--add-drop-tablebackup options - Question #73MySQL Replication
Which of the following best describe a replication setup with regard to backup procedures?
replicationbackup strategyslave serverhigh availability - Question #74MySQL Replication
When backing up a replication slave, which of the following replication files should also be backed up?
replicationslave backupmaster.inforelay logs - Question #75Backup and Recovery
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 tes...
mysqldumprestoredatabase importmysql client - Question #76Backup and Recovery
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?
mysqldump--extended-insert--max-allowed-packetbackup compatibility - Question #77
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, tabl...
- Question #78Backup and Recovery
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 int...
mysqlbinlogbinary logspoint-in-time recoveryinter-file dependencies - Question #79Backup and Recovery
Consider the available command line options of mysqlbinlog. Which of the following statements are true?
mysqlbinlogbinary log optionspoint-in-time recoveryrestore - Question #80MySQL Architecture
Which of the following SQL constructs are not available with all storage engines, i.e. which are storage engine dependent?
storage enginestransactionsindex typesSQL constructs - Question #81MySQL Performance Optimization
Which of the following are true regarding the key buffer cache?
key bufferMyISAMindex cachingperformance tuning - Question #82MySQL Architecture
Which of the following are true regarding the table cache?
table cachefile descriptorstable_cache variablesession vs global - Question #83MySQL Installation and Configuration
In which of the following files must the base directory be specified if MySQL is not installed in the default directory for the platform?
configuration filesmy.cnfmy.inibasedir - Question #84
Which one of the following statements can be used to start MySQL 5.0 manually from the command line on windows?
- Question #85
Another user has issued LOCK TABLES pets READ You can...
- Question #86MySQL Storage Engines
Which of the following statements are true for locks established by the InnoDB storage engine?
InnoDB lockingrow-level lockslock escalationstorage engine - Question #87MySQL Storage Engines
Which of the following is true for how the InnoDB storage engine uses diskspace?
InnoDB tablespacedisk storageundo informationstorage engine files - Question #88MySQL Administration and Maintenance
Which of the following is true for the command-line programs mysqlcheck and myisamchk?
mysqlcheckmyisamchkremote servertable maintenance - Question #89MySQL Architecture
MySQL is a multi-threaded database server. Every connection to the database server is handled by it's own thread.
MySQL threadingconnectionsmulti-threaded server - Question #90MySQL Backup and Recovery
mysqldump can be instructed to dump...
mysqldumptable structure exportdata exportbackup tools - Question #91
Which of the following is true of a MySQL client and server?
- Question #92
Which of the following APIs/connectors are included in a MySQL distribution?
- Question #93
Of the following mechanisms available to connect a MySQL client to a MySQL database server, which types of connections are only available on Windows based systems?
- Question #94MySQL Storage Engines
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?
--myisam-recoverMyISAM auto-recoverytable openserver startup options - Question #95MySQL Information Schema
Will the following SELECT query list all of the tables in the INFORMATION_SCHEMA database? If not, why? SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'INFOR...
INFORMATION_SCHEMATABLES tableself-referential querymetadata SELECT - Question #96MySQL Information Schema
Complete the following sentence. The INFORMATION_SCHEMA.SCHEMATA table contains information about ...
INFORMATION_SCHEMASCHEMATA tabledatabase metadatacharacter set collation - Question #97MySQL Information Schema
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?
INFORMATION_SCHEMAread-only viewsDELETE restrictionmetadata immutability - Question #98MySQL Information Schema
What are some advantages of using the INFORMATION_SCHEMA database rather than using the SHOW command?
INFORMATION_SCHEMASHOW commandstandard SQLmetadata querying - Question #99MySQL Information Schema
What are some advantages of using the SHOW command rather than using the INFORMATION_SCHEMA?
SHOW commandINFORMATION_SCHEMAMySQL 5.0 compatibilityconcise output - Question #100
Which of the following statements regarding the SHOW command and the INFORMATION_SCHEMA database are true?