|Exam Name||:||MySQL 5 Database Administrator Certified(R) Professional Part I|
|Questions and Answers||:||139 Q & A|
|Updated On||:||August 16, 2017|
|PDF Download Mirror||:||1Z0-873 Brain Dump|
|Get Full Version||:||Pass4sure 1Z0-873 Full Version|
Use the --log-queries-indexes option.
Use the --log-slow-queries-indexes option.
Use the --log-queries-not-using-indexes option.
Use the --log-slow-queries-not-using-indexes option.
Which of the following best describe what the mysql_tzinfo_to_sql script is needed for and how to use it?
The script is used to convert Unix-type timezone files into SQL statements that can be loaded.
The script is used to insert timezone files into MySQL.
shell> mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
shell> /usr/share/zoneinfo mysql_tzinfo_to_sql | mysql -u root mysql
Which of the following steps should be performed in order to secure a MySQL server freshly installed from a binary tarball.
All initial accounts should have passwords set and unused accounts should be removed.
The MySQL server should be set to run as it's own user, not as an administrative account.
The data directory and it's contents should be strictly accessible only to the user MySQL runs as.
The server should be started with the mysqld_secure script.
Which of the following are true with regards to the server SQL mode?
The server SQL mode determines how the server should behave when performing data validation checks and interpreting different forms of syntax.
The server SQL mode determines whether the server should be read-only or accept commands such as INSERT, UPDATE, etc.
The default SQL mode can be set by adding a mode="" to the [mysqld] section of a server option file.
The SQL mode can be changed at the session level with a SET SESSION sql_mode="" command.
Which of the following should be done before upgrading the mysql server to a newer version?
Read and understand the appropriate "Upgrading MySQL" section of the online manual.
Read through the online change notes and understand the changes made between the versions.
Prepare the datadir to be read in by a new version by running the mysqlupgrade -- prepare command on it.
Nothing; MySQL data files are binary compatible between all versions and the server will automatically perform any conversions needed.
When you upgrade from one version of MySQL to another which of these steps are considered necessary?
Check the MySQL Reference Manual upgrading section and read the parts that concern your upgrade
Backup your databases
Stop the MySQL server
Install the new version of MySQL on top of the existing version
Start the new server
None of the above
mysqldump can be instructed to include commands to drop and recreate tables before trying to create or load data.
Which of the following best describe a replication setup with regard to backup procedures?
24 by 7 operations can be maintained but backups may not consist of a full snapshot
24 by 7 operations can be maintained but may be halted at backup time.
24 by 7 operations can be maintained without interruptions.
24 by 7 operations can be maintained with backups from a slave server.
24 by 7 operations can be maintained with a slave being the "hot spare".
none of the above.
When backing up a replication slave, which of the following replication files should also be backed up?
The master.info file
Any relay logs
The relay index
The world db file
The replication world file
None of the above
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?
shell> mysql test < dump.sql
shell> mysqladmin recover test dump.sql
mysql> USE test;mysql> SOURCE dump.sql;
mysql> RECOVER test dump.sql;
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?
Yes, provided that --max-allowed-packet is set correctly
Yes, provided that binary logging is turned off during the re-reading of the dump.
No, the new server instance must be the same version as the one which created the dump for everything to work
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?
The mysql_restore utility should be used to update the server to its last known state.
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.
The procedure described is wrong; instead, the mysqlcheck utility should be used and only if that fails should backup copies be restored.
Once the backup files from 03:00 have been restored, there is nothing more that can be done to restore the database files.
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?
shell> mysqlbinlog bin.00010 | mysqlshell> mysqlbinlog bin.00011 | mysqlshell> mysqlbinlog bin.00012 |mysql
shell> mysqlbinlog bin.00010 bin.00011 bin.00012 | mysql
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.
Consider the available command line options of mysqlbinlog. Which of the following statements are true?
--start-position will read the binlog entries starting at the specified position
--end-position will read the binlog entries up to the specified position
--start-datetime will read the binlog entries starting at the specified date and time
--end-datetime will read the binlog entries up to the specified date and time
--start-file will read the binlog entries starting with the specified filename
--end-file will read the binlog entries ending after the specified filename
Which of the following SQL constructs are not available with all storage engines, i.e. which are storage engine dependent?
BEGIN and ROLLBACK have an effect only for tables managed by transactional storage engines, such as InnoDB.
Some index types are available only for particular storage engines. For example, only the MyISAM engine supports full-text or spatial indexes.
LOAD DATA INFILE only works for tables managed by disk based storage engines, such as InnoDB or MyISAM.
OPTIMIZE TABLE only works for tables managed by storage engines that perform table level locking, such as MyISAM.
Which of the following are true regarding the key buffer cache?
The key buffer is used for caching index blocks for MyISAM tables.
The key buffer is used for caching index blocks for all MySQL tables.
Setting the buffer to a larger size will generally increase performance.
Setting the buffer to a larger size will generally decrease performance.
Which of the following are true regarding the table cache?
It is used to cache row data in open tables.
It holds file descriptors for open tables.
The size of the table cache may be set per-session
Each connection has its own table cache. They are of equal size, set globally.
There is one table cache, shared among all sessions.
Increasing the size of the variable table_cache allows mysqld to keep more tables open simultaneously.
In which of the following files must the base directory be specified if MySQL is not installed in the default directory for the platform?
Get Unlimited Access to all ExamCollection's PREMIUM files!
Enter Your Email Address to Receive Your 30% Off Discount Code
Please enter a correct email to Get your Discount Code
Download Free Demo of VCEExam Simulator
Experience Avanset VCE Exam Simulator for yourself.
Simply submit your e-mail address below to get started with our interactive software demo of your free trial.
OCAOCP MySQL Database Administrator All-in-One Exam Guide covers all of the exam objectives on the OCA and OCP level exams for MySQL DBAs in detail. These include Exams 1Z0-870, ">1Z0-873, and 1Z0-874. The book contains details on mastering server-related issues, such as installing a server from scratch, keeping the server running smoothly at all times, using the storage engine for a given task, and analyzing the trouble spots of other users' queries.
Ideal as both an exam guide and on-the-job reference, each chapter of this Oracle Press book includes examples, practice questions, lab questions, and a chapter summary. An Exam Readiness Checklist appears at the front of the book--you're ready for the exam when all objectives on the list are checked off. Two-minute drills at the end of the chapter reinforce knowledge. Inside the Exam sections in each chapter highlight key exam topics covered. 150+ exam questions match the format, topics, and difficulty of the real exam. This book and CD-ROM package is the most comprehensive preparation tool available for these exams.
OCAOCP MySQL Database Administrator All-in-One Exam Guide Covers all exams required to achieve OCA and OCP certification for Oracle MySQL--Exams 1Z0-870, ">1Z0-873, and 1Z0-874 CD-ROM contains three interactive practice exams that simulate the type and style of the actual exam questions, and an e-book The electronic exam also features an open-book mode with hints, references to the book, and detailed answers and explanations
Article by ArticleForge
Planning out my year, I decided to take the Oracle OCP and MySQL OCP exams. I checked for review books and was pleasantly surprised to find the soon to be released OCP MySQL Database Administrator Exam Guide (Exam 1Z0-883). However, I noticed that the book was actually prepared for the obsolete and discountinued Exams 1Z0-870, ">1Z0-873, and 1Z0-874. As it turns out, Steve O’Hearn has informed me that there isn’t a book and that the posting in Amazonm is in error.
There isn’t an alternative review book for the OCP MySQL 5.6 Developer or Database Administrator Exams. The question that I have is simple: “How relevant is this book because it was prepared for the older exams?” There isn’t a table of content published on the Amazonm site. If there was a table of contents it could help me determine how close the book’s content is to the new exam.
As a preparation to figure out the value of the book as a study guide, I’ve reviewed the current Oracle MySQL Training Objectives (listed below). The new MySQL OCP Developer and Administrator exams have the following descriptions and objectives:
As always, I hope this helps those who read it; and, in this case I hope it helps you make an effective decision on preparation resources for the MySQL 5.6 OCP exams.