|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
Сегодня сдал и этот экзамен. Набрал 886 из 1000 баллов, что привело меня в уныние. Опять где-то ошибся :(. Всего 20 вопросов на данный момент вызывают у меня сомнение - я их опубликую каждый в своем топике, чтобы не смешивать все в одном... Итак, вот первый в экзамене и первый по сложности: You are a database developer for Proseware,Inc. You are creating a database named Human Resources for the Company. This database will contain all employee records and demographics information. The Company has 2,000 employees and experiences a yearly turnover rate of about 2 percent. When employees leave the Company, all of their records must be retained for auditing purposes. Employee demographics information changes at a yearly rate of about 9 percent. You do not need to maintain a history of demographics changes. The schema for the human resources database is shown in the human resources schema exhibit, and the scripts that will be used to create the indexes are shown in the Index Scripts exhibit. Human Resource Schema Код: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22.
ALTER TABLE [dbo].[Employee] WITH NOCHECK ADD CONSTRAINT [pk_Employee] PRIMARY KEY CLUSTERED ([EmployeeID]) WITH FILLFACTOR = 90 GO ALTER TABLE [dbo].[EmployeeDemographics] WITH NOCHECK ADD CONSTRAINT [dbo].[EmployeeDemographics] PRIMARY KEY CLUSTERED ([EmployeeID]) WITH FILLFACTOR = 90 GO You want to conserve disk space and minimize the number of times that expansion of the database files needs to occur. All varchar columns are 50 percent full. Which two parameters should you specify for the CREATE DATABASE statement? (Each correct answer presents part of the solution. Choose two) A. SIZE = 1GB B. SIZE = 1MB C. SIZE= 2048KB D. FILEGROWTH = 20 E. FILEGROWTH = 5% F. FILEGROWTH = 0 Я выбрал B,E. Расчет такой: 2040 записей максимум в обоих таблицах к концу года. Средняя длина одной записи в первой таблице равна 106 байтам, во второй - 102. Соответственно, на страницу влезает по 8060/106=76 и 79 записей. Необходимо 2040/77 ~ 27 страниц для каждой их таблиц. Еще учтем FILLFACTOR, тогда получается по 30 страниц. Итого, 60*8Kb = 480 Kb под данные максимум. Отсюда B. Так как база все же будет расти, то FILEGROWTH = 0 не подходит. Остается E. Где я ошибся (или все ОК)? ... |
|||
:
Нравится:
Не нравится:
|
|||
18.11.2002, 14:35 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
Уточнение – “в обоих таблицах” означает, в каждой из таблиц. Между ними FK ... |
|||
:
Нравится:
Не нравится:
|
|||
18.11.2002, 14:36 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
jimmers тут ты прав стопудово, B и E ответы. только скажи пажалуста такую вещь, как ты узнал, что набрал 886 баллов из 1000, там ведь когда тест сдаешь неизвесто кол-во баллов??? ... |
|||
:
Нравится:
Не нравится:
|
|||
18.11.2002, 15:32 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
как это неизвестно? известно - общий результат пишут. Вот раньше ещё, говорят, писали сколько вопросов из каких разделов неправильно ответил. ... |
|||
:
Нравится:
Не нравится:
|
|||
18.11.2002, 15:39 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
Было такое раньше! А начиная с 2002 года все НОВЫЕ тесты будут без кол-ва набраных баллов! Мужайтесь! :) ... |
|||
:
Нравится:
Не нравится:
|
|||
18.11.2002, 15:41 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
Спасибо за отклики. Узнал просто - в конце экзамена рисуется диаграмма. Шкала от 0 до 1000, на ней два прямоугольника - синий, это минимум для сдачи (702 в данном случае) и зеленый - реально набранное. В случае неудачи, думаю, что цвет меняется с зеленого на красный :) Как в Transcender... ... |
|||
:
Нравится:
Не нравится:
|
|||
18.11.2002, 15:43 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
jimmers а я не знал, готовлюсь к худшему, ибо мне сдавать уже в следующую субботу этот тест. А чо правда, что 702 очка нужно набрать??? Дык этож круто, я то думал что около 850 надо :) ... |
|||
:
Нравится:
Не нравится:
|
|||
18.11.2002, 15:50 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
Ну не знаю, сегодня было 702... Кстати, на 70-228 было 755, хотя 228 IMHO намного сложнее... Я там 822 набрал... ... |
|||
:
Нравится:
Не нравится:
|
|||
18.11.2002, 15:54 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
Всего 20 вопросов на данный момент вызывают у меня сомнение - я их опубликую каждый в своем топике, чтобы не смешивать все в одном... Где остальные? :-) ... |
|||
:
Нравится:
Не нравится:
|
|||
19.11.2002, 14:00 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
Остальные вроде уже не вызывают сомнения... Кстати, еще 2 из заданных остались без ответа :) ... |
|||
:
Нравится:
Не нравится:
|
|||
19.11.2002, 14:16 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
Я правда сдавал экзамены по 7.0, но мне наоборот показалось, что 70-029 гораздо сложнее 70-028. Судя по баллам - 70-028 (980) и 70-029 (897) ... |
|||
:
Нравится:
Не нравится:
|
|||
26.11.2002, 23:59 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
Ну не знаю, не знаю. Для 7-ки может и так. Просто для 70-229 не обязательно знать "мат. базу". Достаточно "просто T-SQL". ... |
|||
:
Нравится:
Не нравится:
|
|||
27.11.2002, 12:06 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
Jimmers, я на той неделе сдал тест 70-029, скажу там не просто T-SQL нужно знать, у меня например 4 или 5 вопросов по XML-у были еще 2-3 по DTS, потом некие вопросы уж очень некорректные были (наверняка женщиной придуманы 8)). А нащет 70-028 дык чо там сложного если мат. базу нужно знать? Если судить по Трансендеру, то там вопросы гораздо проще чем в 70-029, а в реале незнаю, посмотримъ. ... |
|||
:
Нравится:
Не нравится:
|
|||
27.11.2002, 15:46 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
Ну не знаю, это как знать железо и уметь программировать. IMHO, для 70-229 знать необходимо много меньше, чем для 228. Я не говорю о сдаче по "дампу" путем зубрежки. ... |
|||
:
Нравится:
Не нравится:
|
|||
27.11.2002, 15:59 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
а вы знаете, что даже если получил 1000 из 1000 - это не значит что все правильно! что не все вопросы учитываются для подсчета ... |
|||
:
Нравится:
Не нравится:
|
|||
04.12.2002, 12:40 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
Answer: C, E. Explanation: C: We must decide the initial size and the file growth of the database. We calculate the specifics for this database and then add the size of the model database. All new databases are based on the model database. The model database has an initial size of 1MB. A quick estimate of the user data of this table (see Note below) is that less than 1MB is needed, so a total size of 2 MB is sufficient. 070 - 229 E: As the company experiences a yearly turnover of about 2% of its employee size and because data must be on employees who have left the company must be maintained for auditing purposes, a FILEGROWTH of 5% should be an adequate rate of growth of the datebase. Note, estimate size of user data: EmployeeDemographics table We estimate the size of one row: Varchar columns: total of 160. They are less than 50% full. So about 80 bytes would be needed Rest of columns. An estimate. Less than 30 bytes. We conclude: one row 110 bytes. Employeetable Varchar columns: total of 150. They are less than 50% full. So about 75 bytes would be needed Rest of columns. An estimate. Around 30 bytes. We conclude: one row 105 bytes. Both tables. There is a one-to-one relationship between the tables so we can simply add the estimates of the tables. Both tables: 225 bytes All rows (2000 rows): 2000*125 bytes: 250,000 bytes Data pages only fills to 90%, due to fillfactor. So we actually need approx 278, 000 bytes (250,000/0,9). If we add the size of the model database (1 MB) we see that 2MB (or 2048KB) would be more than enough and a good value for the default file size of the database. Incorrect answers: A: 1 GB would be too much. Only 2MB is needed. B: The model database has a size of at least 1MB. A default file size of 1MB would be too small. D: FILEGROWTH specifies the growth increment of the file size and cannot exceed the MAXSIZE setting. If the FILEGROWTH value is not represented as a percentage, then the value represents a number of MB. A FILEGROWTH of 20 thus represents a FILEGROWTH of 20 MB. F: FILEGROWTH specifies the growth increment of the file size and cannot exceed the MAXSIZE setting. If the FILEGROWTH value is not represented as a percentage, then the value represents a number of MB. SQL Server does not increment a file in units smaller than 1 MB. Furthermore, a SQL Server does not permit a FILEGROWTH of 0% or 0 MB. ... |
|||
:
Нравится:
Не нравится:
|
|||
05.12.2002, 12:32 |
|
Коварство экзамена 70-229
|
|||
---|---|---|---|
#18+
Varchar columns: total of 160. They are less than 50% full. So about 80 bytes would be needed Rest of columns. An estimate. Less than 30 bytes. We conclude: one row 110 bytes. Employeetable Varchar columns: total of 150. They are less than 50% full. So about 75 bytes would be needed Rest of columns. An estimate. Around 30 bytes. We conclude: one row 105 bytes. Both tables. There is a one-to-one relationship between the tables so we can simply add the estimates of the tables. Both tables: 225 bytes ?? All rows (2000 rows): 2000*125 bytes: 250,000 bytes All rows (2000 rows): 2000*225 bytes: 450,000 bytes ?? Data pages only fills to 90%, due to fillfactor. So we actually need approx 278, 000 bytes (250,000/0,9). Data pages only fills to 90%, due to fillfactor. So we actually need approx 500, 000 bytes (450,000/0,9). Sorry Ничего не понимаю. Как считают. ... |
|||
:
Нравится:
Не нравится:
|
|||
09.12.2002, 18:47 |
|
|
start [/forum/topic.php?fid=34&msg=32072763&tid=1552132]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
161ms |
get topic data: |
14ms |
get forum data: |
3ms |
get page messages: |
64ms |
get tp. blocked users: |
2ms |
others: | 245ms |
total: | 520ms |
0 / 0 |