Certification Practice Test | PDF Questions | Actual Questions | Test Engine | Pass4Sure
005-002 : Certified MySQL 5.0 DBA Part I Exam
mySQL 005-002 Questions & Answers
Full Version: 140 Q&A
Latest 005-002 Practice Tests with Actual Questions
Get Complete pool of questions with Premium PDF and Test Engine
Exam Code : 005-002
Exam Name : Certified MySQL 5.0 DBA Part I
Vendor Name :
"mySQL"
005-002 Dumps
005-002 Braindumps
005-002 Real Questions
005-002 Practice Test
005-002 Actual Questions
killexams.com
mySQL
005-002
Certified MySQL 5.0 DBA Part I
https://killexams.com/pass4sure/exam-detail/005-002
Question: 116
Which of the following correctly defines the general difference between a read lock and a
write lock?
A read lock allows other clients to read the same data, however will prevent any modification of the data until the lock is released.
A read lock prevents any other client from reading the same data, until the lock is released.
A write lock only prevents any other client from modifying the locked data until the lock is released.
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?
Deadlocks happen anytime when more than one lock is placed in a table.
Deadlocks happen when two transactions both have locks that the other is waiting for
the release of the lock that the other holds.
InnoDB resolves deadlocks by terminating and rolling back one of the deadlocking
transactions.
InnoDB resolves deadlocks by terminating and rolling back both of the deadlocking
transactions.
Answer: B, C
Question: 118
When working with InnoDB, for which of the following reasons should you use the FOR UPDATE locking modifier?
You intend to run more than ten UPDATE statements in one transaction.
You intend to execute an UPDATE statement on any row.
You intend to SELECT a set of rows, then modify those rows.
Answer: C
Question: 119
Which of the following are characteristics of the MyISAM compressed-row storage format?
Tables are packed to save space.
Rows cannot be looked up as efficiently.
Storage is optimized for quick retrieval.
Tables are read-only.
All rows have the same size.
Answer: A, C, D
Question: 120
Which of the following are requirements for InnoDB binary portability?
Both machines must use the same operating system.
Database and table names must use lowercase format.
Both machines must use two's-complement integer arithmetic.
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?
Mysql> LOCK TABLES A; mysql> LOCK TABLES B; mysql> LOCK TABLES C;
Mysql> LOCK TABLES A READ; mysql> LOCK TABLES B WRITE; mysql> LOCK
TABLES C READ;
Mysql> LOCK TABLES A READ, B WRITE, C READ;
LOCK TABLES A, B, C READ, WRITE, 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 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.
Answer: B
Question: 123
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
MySQL 5.0 will be installed using default configuration file C:\my-opts.cnf
MySQL will be installed as Windows service name MySQL50 and will use C:\my- opts.cnf as configuration file
An error message will be issued as --install is not a valid option for mysqld
Answer: B
Question: 124
Which of the following describes how READ LOCAL locking works?
It locks a table for reading only by connections on localhost.
It locks a table for reading but allows concurrent inserts.
It locks a table for writing, preventing reads until it is released.
Answer: B
Question: 125
Suppose your are adding rows to a MyISAM table and the server runs out of disk space. What will happen?
The server will crash.
An error message will be returned to the client.
The server suspends that INSERT operation until space becomes available.
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?
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
Answer: A, B, C, D, E
Question: 127
When you acquire an advisory lock using GET_LOCK(), the lock isreleased if
You issue another GET_LOCK() statement
You issue a RELEASE_LOCK() statement
Your connection to the server terminates
None of the above
Answer: A, B, C
Question: 128
Which of the following statements are true for the MERGE storage engine?
It uses table-level locking.
It uses row-level locking.
Underlying MyISAM tables are read-locked when you issue a SELECT statement on a
MERGE table.
Underlying MyISAM tables are write-locked when you issue a SELECT statement on a
MERGE table.
Underlying MyISAM tables are read-locked when you issue a statement that modifies a
MERGE table.
Underlying MyISAM tables are write-locked when you issue a statement that modifies a
MERGE table.
To LOCK a MERGE table, it is sufficient to lock just that table.
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?
/Var/lib/mysql
/Usr/mysql/data
/Var/mysql/data
/Usr/local/mysql/data
Answer: A
Question: 130
Which of the following are reasons to not just enable all logging?
Security risks.
More disk space is used.
More memory is used.
Slower performance.
Answer: B, D
Question: 131
Where is the data stored for a table that is defined as using the FEDERATED Storage Engine?
The data will always be stored on the local host.
The data will always be stored on a remote host.
The data can be stored on any host depending on the definition of the table.
The data will always be stored on disk.
The data will always be stored in memory.
The data will be stored according to the storage engine of the referenced table.
Answer: C, F
Question: 132
The my.cnf file contains the following entries: innodb_data_home_dir =
innodb_data_file_path = /ibdata/ibdata1:50M;/disk2/ibdata2:50M:autoextend.Which of the following statements are true?
The data files will be stored below the default data directory
There are two InnoDB data files
There are three InnoDB data files
The total minimum size of the InnoDB data files is 100MB
The total maximum size of the InnoDB data files is 100MB
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
Question: 133
Which of the following statements are true regarding the data directory on a Windows
binary installation?
A script needs to be run to initialize it after installation.
It comes pre-initialized.
You can choose to pre-initialize it or initialize it manually during the installation.
Answer: B
Question: 134
Which types of startup options can be configured for the server?
Location of important directories and files
Logging settings
Backup intervals
Storage Engine dependent options
Performance related settings
The root password
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?
You can always use them, because InnoDB files are platform independent.
Both systems need to be either 32 Bit or 64 Bit platforms.
Both systems need to run the same operating system.
Both systems must be either little endian or big endian architecture.
Answer: A
Question: 136
Isolation levels can be set...
Per transaction
Per user name
Per session
Globally
Answer: A, C, D
Question: 137
Which of the following statements are true?
InnoDB tables will be automatically recovered after a crash.
MyISAM tables will be automatically recovered after a crash.
InnoDB tables will be recovered after a crash if the innodb-recover option is configured.
MyISAM tables will be recovered after a crash if the myisam-recover option is configured.
InnoDB tables cannot be recovered after a crash, you have to restore data from backup.
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 UNCOMMITTED isolation level?
It allows a transaction to only see its uncommitted changes.
It allows a transaction to see committed changes made by other transactions.
It allows a transaction to see uncommitted changes made by other transactions.
It allows a transaction to see both committed/uncommitted changes made by other
transactions.
Answer: C
Question: 139
When choosing a storage engine for each of your tables, which things are to consider?
Locking Characteristics: Some storage engines lock on row level, some on page level, some on table level.
Transactions support: Some storage engines support transactions, some don't.
Storage media: Some storage engines store data on disk, some in memory.
Licenses: Some storage engines cannot be used in commercial environments, others can.
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 you enable it?
The slow log records the timestamps of when the server is performing slowly and when it is low on resources.
The slow log records the text of all queries that exceed the long_query_time variable.
The slow log is enabled with the --log-slow-queries or --log-slow-queries=file_name
option.
The slow log is enabled with the --log-slow or --log-slow=file_name option.
Answer: B, C
User: Tianna***** Passing the 005-002 exam was crucial for my career advancement, but I found it difficult. However, when I discovered Killexams.com, everything changed. The questions and answers were easy to understand, and the short and precise answers made it easy for me to memorize difficult portions. Thanks to Killexams, I passed the exam and obtained my certification. |
User: Alice***** I was struggling to pass the 005-002 exam, but killexams.com made it easy with their language and concise features. With their practice tests, I was able to wrap up my training in just three weeks and pass the exam with an impressive score of 88%. The questions and answers provided were remarkable, and I appreciate killexams.com for their excellent work. |
User: Tiarna***** Killexams.com is the best 005-002 resource on the internet, and Its one that I trust. What they provided me is more valuable than money; they educated me. When I was studying for my 005-002 exam, I made an account on their website, and what I received in return worked like magic for me. I was surprised at how amazing it felt, and passing the 005-002 exam was a single step for me towards success. |
User: Mishaye***** After feeling unconfident in the 005-002 area, a friend recommended the Killexams mySQL bundle to me a few days before the exam. I wish I had purchased it earlier, as it would have made things much simpler. However, I am grateful for the preparation materials as I ended up passing the 005-002 exam with ease. |
User: Vitaliy***** Thanks to killexams.com practice tests, I enjoyed studying for the 005-002 exam, and I never thought I would pass. After a week of struggling, I switched to their materials, and I finished decisively with an 89% score. |
Features of iPass4sure 005-002 Exam
- Files: PDF / Test Engine
- Premium Access
- Online Test Engine
- Instant download Access
- Comprehensive Q&A
- Success Rate
- Real Questions
- Updated Regularly
- Portable Files
- Unlimited Download
- 100% Secured
- Confidentiality: 100%
- Success Guarantee: 100%
- Any Hidden Cost: $0.00
- Auto Recharge: No
- Updates Intimation: by Email
- Technical Support: Free
- PDF Compatibility: Windows, Android, iOS, Linux
- Test Engine Compatibility: Mac / Windows / Android / iOS / Linux
Premium PDF with 140 Q&A
Get Full VersionAll mySQL Exams
mySQL ExamsCertification and Entry Test Exams
Complete exam list