Sep 11 2009

Real 310-811 exam answers

New 310-811 trainning materials

Exam Number/Code: 310-811
Questions and Answers:138 Q&As

Updated Time: 2009-09-11
Register for Exam: Prometric/Pearson VUE
Exam Name:Sun Certified MySQL 5.0 Database Administrator Part II

The following are the 310-811 exam answers we get from all of the world company exams vendors include : examsoon 310-811 exam ,Testinside 310-811 braindumps, Pass4sure 310-811 practice exam , Testking 310-811 study guides, exam4sure trainning materials. after you read the following 310-811 exam demo questions and answers, you will see the high quanity of the exam

The 310-811 exam products are designed to maximize your learning productivity and focus only on the important aspects that will help you to pass your 310-811 test. We will provide you with 310-811 exam questions and verified answers, that reflect the actual exam. These questions and answers provide you with the experience of taking the 310-811 actual test. 310-811 exam guides are not just questions and answers. 310-811 questions have detailed for every answer, ensuring that you fully understand the questions and the concept behind the questions.

Free 640-802 Demo Download

Free demo for SUN SUN Other Certifications 310-811 exam (Sun Certified MySQL 5.0 Database Administrator Part II). You can check out the interface, question quality and usability of our practice exams

Free Download 640-802 Exam Pdf Demo
Free Download 640-802 Exam iEngine Demo


 
 
Exam : SUN 310-811
Title : Sun Certified MySQL 5.0 Database Administrator Part II

1. With replication, what on the master is used to send commands to the slave?
A. The relay log.
B. The binary log.
C. The SQL Thread.
Answer: B

2. Which of the following best describes how the relay log works?
A. It records the times when the slave connects to the master.
B. When a slave receives a change from the master, it is recorded in the relay log first and processed later.
C. When a slave receives a change from the master, it is processed first and then recorded in the relay log.
Answer: B

3. Which of the following statements are required to create a key cache of 4 MB, assign the MyISAM table world.City to it and preload the index?
A. mysql> SET GLOBAL city_cache.key_buffer_size = 4194304;mysql> CACHE INDEX world.City IN city_cache;mysql> LOAD INDEX INTO CACHE world.City;
B. mysql> ALTER TABLE world.city KEY_CACHE = 4194304;
C. mysql> CREATE CACHE FOR world.City SIZE = 4194304;
D. It is not possible to create a key cache for a specific MyISAM table, only the global key cache can be used.
Answer: A

4. Which of the following best describes why InnoDB tables should always have primary keys and why they should be short?
A. Because InnoDB uses primary keys to locate tables, and shorter keys make quicker lookups.
B. Because InnoDB uses primary keys to locate table rows, and shorter keys make quicker lookups.
C. Because InnoDB stores pointers in a log to all the primary keys and shorter keys make this log smaller.
Answer: B

5. Is the following statement true or false? The username you use to connect to MySQL must be the same as the login used to access the operating system.
A. true
B. false
Answer: B

6. Given the following MyISAM table structure:
mysql> desc city;
+————-+———-+——+—–+———+—————-+
| Field | Type | Null | Key | Default | Extra |
+————-+———-+——+—–+———+—————-+
| ID | int(11) | | PRI | NULL | auto_increment |
| Name | char(35) | | | | |
| CountryCode | char(3) | | | | |
| District | char(20) | | | | |
| Population | int(11) | | MUL | 0 | |
+————-+———-+——+—–+———+—————-+
and the following SQL statement:
SELECT Population
FROM city
WHERE Population = 10000
ORDER BY Population
LIMIT 5;
which of the following statements best describes how MySQL optimizer executes the query?
A. The optimizer uses the primary key column ID to read the index values, then uses the index on Population to filter the results. The optimizer will always choose to use a unique index first, then use a secondary index if available.
B. The optimizer uses the index on the Population column to search and filter the WHERE clause. A temporary table is used to perform a filesort on the results, and then only 5 records are returned to the client.
C. The optimizer uses the index on the Population column to search, filter and sort the Population column, then returns 5 records to the client. The optimizer does not need to read the data rows, and can return values from the index only, because the index contains just integer values that form a leftmost prefix for the key.
D. The optimizer uses the index on the Population column to search, filter and sort the Population column, and returns 5 records to the client. The optimizer does not need to read the data rows, and can return values from the index only because only those columns where specified in the SELECT statement.
E. The optimizer will never read data from disk, since MySQL caches both data and index in the key buffer.
Answer: D

7. Consider the following:
mysql> EXPLAIN SELECT Name FROM Country WHERE Code = ‘CAN’G
*************************** 1. row ***************************
id: 1
select_type: SIMPLE
table: Country
type: const
possible_keys: PRIMARY
key: PRIMARY
key_len: 3
ref: const
rows: 1
Extra:
Which of the following best describes the meaning of the value of the type column?
A. The table has exactly one row.
B. Several rows may be read from the table.
C. Only one row of all its rows need to be read.
Answer: C

8. How can the SHOW PROCESSLIST command be helpful when optimizing queries?
A. It shows if a query is using an index or not.
B. It shows how the server processes a query.
C. If checked periodically, it can reveal queries that cause other queries to hang.
D. It shows the percentage of processing power that each query is using on a server.
Answer: C

  • Share/Bookmark

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Comments are closed.

Examsoon Hiexam Hiexam Hiexam Hiexam Exam4test Exam4test Exam4dumps Exam4dumps Exam4dumps Testinside Visualexams