powered by simpleCommunicator - 2.0.60     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Сертификация и обучение [игнор отключен] [закрыт для гостей] / Ваше мнение по вопросам 70-228
22 сообщений из 22, страница 1 из 1
Ваше мнение по вопросам 70-228
    #32060621
Фотография jimmers
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Вчера сдал этот экзамен. Хотелось бы обсудить некоторые вопросы, точнее, правильные ответы на них с пояснениями.



1. You are the administrator of a SQL Server 2000 computer. The server contains a database named Sales. Pierre reports that
he cannot modify data in the database. You use SQL Profiler to capture
his activities as shown in the exhibit.

set transaction isolation level serializable
begin transaction
select * from Products
update Products
set UnitPrice = 18.50
where UnitPrice = 18.00
commit transaction

a. Change the isolation level of the database connection.

b. Add indexes to the Products table.

c. Remove the explicit transaction from the Transact-SQL batch.

d. Create a stored procedure to execute the Transact-SQL batch.

e. Add a cascading UPDATE trigger to the Products table




2. You are the administrator of a SQL Server 2000 computer.
Your company purchases an accounting application from a vendor.
The application stores its data in a database named Accounting
on the server. The tables in this database contain columns that
function as primary keys, but PRIMARY KEY and FOREIGN KEY
constraints are not used.

You need to replicate data from this database to another SQL Server
computer. This server will use the replicated data to generate reports. Most reports will run each month, but the
accounting department needs to have the ability to run reports
at any time. Reports should be acurate through the last full
working day.

You cannot make any changes to the database, but you need to implement
replication. Which two actions should you take? (Each correct answer
represents part of the solution. Choose two.)

a. Implement merge replication.

b. Implement snapshot replication.

c. Implement transactional replication.

d. Schedule replication to run continuously.

e. Schedule replication to run during off-peak hours.




3. You are the administrator of a Microsoft Windows 2000 Advanced Server
computer. The server is also running SQL Server 2000 and contains a
database named Sales. The server is configured as shown in the exhibit.

The Sales database is configured by using the default options and
increases by 50 MB per day. You want an operator to be notified
automatically before the database runs out of disk space. You also want to
minimize the amount of administrative overhead necessary for this database.

... DISK1: Sales_data.mdf (6GB) + Sales_data.ldf (1GB)

What should you do?

a. Configure System Monitor to log an alert if the hard disk contains less
than 600 MB of free space
Configure SQL Server Agent to send an e-mail message notifying the
operator of the System Monitor alert

b. Create a SQL Server Agent job that uses the sp_spaceused stored
procedure each morning
Place the results of the stored procedure in an e-mail message and use SQL
Mail to send the results to the operator

c. Set the MaxSize property of Sales_data.mdf to 7.5 GB and the MaxSize
property of Sales_log.ldf to 1.5 GB
Configure SQL Server Agent to send an e-mail message to an operator when
the data file and the transaction log have reached these limits

d. Use Microsoft Windows Explorer to verify the available space on the
hard disk each morning
Execute the sp_spaceused stored procedure each morning




4. You are the administrator of a SQL Server 2000 database. You import
a table of geographic information from a Microsoft Access database into a
SQL Server 2000 database. The table has 12,000 rows. Each row averages
5,000 bytes. The table contains lookup data that does not change. You
want to minimize the size of the data file and the time required to back
up the data. Which two actions should you take?

(Each correct answer presents part of the solution, Choose two )


a. Create a 60-MB data file named Geography.ndf

b. Create a 95-MB data file named Geography.ndf

c. Create a 60-MB data file named Geography.mdf

d. Create a 95-MB data file named Geography.mdf

e. Place the table in the PRIMARY filegroup

f. Place the table in a new filegroup named LOCATION




5. Your company contains a variety of client computers
that will connect to the SQL Server 2000 computer by using
a specific Net-Library, as shown in the following table:


Client-computer Net-Library

Microsoft Windows 98 Named Pipes

Novell NetWare IPX/SPX

Apple Macintosh TCP/IP


You need to allow the client computers to connect to the
SQL Server computer. You also want to minimize the number
of configuration changes required on the client computers.
Which three actions should you take?

(Each correct answer presents part of the solution, Choose three)

a. Install SQL Server 2000 as a named instance

b. Install SQL Server 2000 as the default instance

c. Configure the new instance for Mixed Mode authentication

d. Configure the new instance for Windows Authentication

e. Configure the server to use the Named Pipes, IPX/SPX, and TCP/IP Net-Libraries

f. Configure the server to use the Multiprotocol Net-Library




6. You are the administrator of a Microsoft Windows NT Server computer The server is the PDC in your domain and also runs SQL Server 2000. The server has four processors and 1 GB of RAM. Your network consists of 500 client computers that are running Microsoft Windows Millennium Edition. Users report that when they log on in the morning their computers respond slowly and occasionally return error messages. You use System Monitor to monitor processor performance and RAM utilization You discover that the % Total Time and % User Time counters average 90 percent and the % Privileged Time counter averages 20 percent. The Available Mbytes counter averages 800 MB. You need to improve server performance for user logons. What should you do?

a. Increase the physical RAM on the computer to 2 GB

b. Increase the virtual RAM on the computer to 4 GB

c. Configure SQL Server to use only processors 1,2, and 3

d. Configure SQL Server to use only processors 0, 1, and 2




7. You are the administrator of a SQL Server 2000 computer. The server
contains two databases. A client/server application accesses one of the
databases. A different client/server application accesses the other
database. Each application uses several stored procedures to query and
update its database. Users report that both applications respond slowly.
You use SQL Profiler to monitor activity on the server. You receive
results of the trace as shown below:


Event Class Test Date

SQL:BatchCompleted If @@TRANCOUNT > 0 COMMIT TRAN

SQL:BatchCompleted Update Customer Set CustomerZip = ......

SQL:BatchCompleted Update Products Set SKU = '23232323.....

SQL:BatchCompleted If @@TRANCOUNT > 0 COMMIT TRAN

SQL:BatchCompleted Update Customers Set CustomerZip=


You need to improve the performance of the applications. What should you
do?

a. Modify the applications so that they use views to query data.

b. Modify the stored procedures so that they select data into temporary
tables.

c. Re-create the stored procedures so that they do not contain the WITH
RECOMPILE option.

d. Disable the 'Autoupdate statistics' option in both databases.


Благодарю.
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060624
Фотография jimmers
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Добавка: в первом вопросе необходимо выбрать два независимых решения.
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060675
Glory
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
1.
a.
с.

2.
b. Implement snapshot replication.
Так как "This server will use the replicated data to generate reports"

e. Schedule replication to run during off-peak hours
Так как
"Reports should be acurate through the last full working day."

3.
а.

4.
b. Create a 95-MB data file named Geography.ndf
f. Place the table in a new filegroup named LOCATION

Так как "The table contains lookup data that does not change. You want to minimize the size of the data file and the time required to back up the data."

5.
b. Install SQL Server 2000 as the default instance
c. Configure the new instance for Mixed Mode authentication
e. Configure the server to use the Named Pipes, IPX/SPX, and TCP/IP Net-Libraries

6.
с.
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060696
Фотография snake
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Glory, почему Create a 95-MB data file named Geography.ndf , а не 60?
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060701
Glory
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Да , конечно ошибся
4.
a.
f.
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060703
Glory
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
И еще забыл поздравить со сдачей экзамена
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060705
Фотография snake
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
А я и не сдавал!??
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060707
Фотография snake
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
И где ответ на 7 вопрос?
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060709
Фотография jimmers
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Пардон, привожу еще раз первый вопрос, т.к. я его не верно описал:

4. You are the administrator of a SQL Server 2000 computer. The server
contains a database named Sales. Pierre reports that he cannot modify data
in the database. You use SQL Profiler to capture his activities as shown
in the exhibit.

set transaction isolation level serializable
begin transaction
select * from Products
update Products
set UnitPrice = 18.50
where UnitPrice = 18.00
commit transaction

You want Pierre to be able to modify data. You also want the Transact-SQL
statement to execute without compromising data integrity.

What are two possible ways to achieve this goal? (Each correct answer
represents a complete solution. Choose two.)

a. Change the isolation level of the database connection.

b. Add indexes to the Products table.

c. Remove the explicit transaction from the Transact-SQL batch.

d. Create a stored procedure to execute the Transact-SQL batch.

e. Add a cascading UPDATE trigger to the Products table


Мои ответы были такие:

1. a, d
Почему a я объяснить не могу кроме как методом исключения.
d потому как нужна integrity.
В Сети нашел, что вместо a нужно e, но каким образом это объяснить?



2. b, e
Но сомневаюсь, т.к. snapshot для большого объема данных может быть
не лучшим решением, тем более, что не сказано, что данных мало. А вот
что они меняются, сказано... То есть transactional...

3. a
Я сомневался, что информация о том, что на диске менее 600 MB будет
информативнее точной оценки размера БД (b)

4. d,f
95 выходит из 12000*8Kb (page size, each page can hold only one row)


5. bce
Сомнения были по Multiprotocol

6. d
Потому как последний процессор (3) будет занят NIC
Или я не прав?

7. c
Это методом исключения, только я все равно не понял...
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060713
Фотография snake
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Да где сказано, что each page can hold only one row ?
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060718
Фотография jimmers
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Сказано: Each row averages 5,000 bytes.

То есть, на страницу влезет только один row (между страницами row не могут быть).

Отсюда я сделал вывод, что each page can hold only one row
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060721
Фотография snake
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Согласен... не допер...
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060723
Фотография snake
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
А Glory, ошибся?...
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060728
Glory
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
IMHO
1.
Из всего этого кода
set transaction isolation level serializable
begin transaction
select * from Products
update Products
set UnitPrice = 18.50
where UnitPrice = 18.00
commit transaction

только update Products собственно и обновляет данные,
а select только блокирует всю таблицу для других коннектов. Но ведь update-то у нас один. Он и так будет выполнятся в implicit transaction. Поэтому и получается, что
ни set transaction isolation level serializable, ни begin transaction/commit transaction не нужны

6. Мне кажется как раз что процессор 0 будет занят этим - "Users report that when they log on in the morning their computers respond slowly and occasionally return error messages"
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060732
Glory
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
2snake
А Glory, ошибся?...
Это все провокации - первое слово дороже второго
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060738
Фотография jimmers
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
2Glory

Насчет первого вопроса:

Да, только сейчас понял, что я стромозил. Я думал, что это его (Pierre'а) активности трейс. Тогда a и c конечно.

По шестому вопросу:

Before you change the setting of affinity mask, keep in mind that Windows NT 4.0 assigns deferred process call (DPC) activity associated with NICs to the highest numbered processor in the system. In systems with more than one installed and active NIC, each additional card's activity is assigned to the next highest numbered processor. For example, an eight-processor system with two NICs has DPCs for each NIC assigned to processor 7 and to processor 6.
Или опять торможу?

Спасибо большое за разъяснения.
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32060754
Glory
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Я не спец по PDC но мне кажется, что речь идет про процесс login-a. А про количество сетевых карт ничего не сказано. Т.е. если она одна, то весь вопрос какой процессор обслуживает процесс логинов. 0 или 4 ?
В приведенной цитате сказано, что " each additional card's activity is assigned to the next highest numbered processor". Означает ли это что первая карта всегда обслуживается 0-ым процессорм ? Мне кажется что да
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32065580
gda
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Ot cuda mojno scaciati tachie voprosi?
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32066178
Фотография jimmers
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Здравствуйте, gda

Почти все, что попалось мне на экзамене 70-228, есть тут:

http://www.yaxoo.com/Books/Certification/Microsoft/Testking - 70-228 Win2000 SQL Server 2000 Administration.pdf
Там же есть масса полезной информации вообще по сертификации.

Удачи
...
Рейтинг: 0 / 0
Период между сообщениями больше года.
Ваше мнение по вопросам 70-228
    #32400969
Gena G.
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
О старом:

Первый вопрос есть в BOSON и там придерживаются мнения отличного от того что сказал Glory:

авторYour answer was A C
The correct answer(s) D E

You are the new administrator of a SQL Server 2000 computer at Acmesoft Corporation. The server contains a database named Sales Several employees at Acmesoft have access to the Sales database Bob, the Sales manager at Acmesoft, reports that he cannot modify data in the Sales database. You use SQL Profiler to capture activities on the following Transact-SQL batch

set transaction isolation level serializable
begin transaction
select * from Products
update products
set UnitPrice = 18.50
where UnitPrice = 18.00
commit transaction

You want Bob to be able to modify data. You also want the Transact-SQL statement to execute without compromising data integrity

What are two possible ways to achieve this goal? (Each correct answer represents a complete solution Choose two )

A ) Change the isolation level of the database connection
B ) Add indexes to the Products table
C ) Remove the explicit transaction from the Transact-SQL batch
D ) Create a stored procedure to execute the Transact-SQL batch
E ) Add a cascading UPDATE trigger to the Products table

In this example, creating a stored procedure to execute the Transact-SQL batch and adding a cascading UPDATE trigger to the Products table will enable Bob to execute the Transact-SQL statement without compromising data integrity

A stored procedure is a precompiled collection of Transact-SQL statements that are stored on the server You can use stored procedures for any purpose for which you would use SQL statements, with several advantages including you can execute a series of SQL statements in a single stored procedure, you can reference other stored procedures from within your stored procedure, which can simplify a series of complex statements, the stored procedure is compiled on the server when it is created, so it executes faster than individual SQL statements

A trigger is a special type of stored procedure that executes whenever an UPDATE, INSERT, or DELETE statement is issued against a table or view Triggers are powerful tools that sites can use to enforce their business rules automatically when data is modified Triggers are also useful for enforcing data referential integrity, which preserves the defined relationships between tables when you add, update, or delete the rows in those tables In this example, triggers will be updating values in the Products table in a cascading action The cascading update trigger will update the key value that is referenced by foreign key columns in existing rows in other tables On a cascade update, all of the foreign key values are updated to match the new primary key value

The isolation level of the database connection deals with the line 'set trans action level senalizable1 in the trace window of SQL Profiler A transaction operating at the senalizable level guarantees that all concurrent transactions interact only in ways that produce the same effect as though each transaction were entirely executed one after the other At this isolation level, dirty reads, nonrepeatable reads, and phantoms are not possible This is the most restrictive of the transaction isolation methods, thus a change would not be needed for this example
An indexes a database object that provides fast access to data in the rows of a table, based on key values Indexes can also enforce uniqueness on the rows in a table In this example, fast access to the Products table is not an issue, thus this option is irrelevant to this question

An explicit transaction is a group of SQL statements enclosed within transaction delimiters The first delimiter must be either BEGIN TRANS ACTION or BEGIN DISTRIBUTED TRANSACTION, and the end delimiter must be one of the following COMMIT TRANSACTION, COMMIT WORX, ROLLBACK TRANSACTION, ROLLBACK WORX, and SAVE TRANSACTION. If the explicit transaction statements in this example were not included in the Transact-SQL batch, the Transact-SQL batch would fail

SQL Server 2000 Books Online - [Administrating SQL Server, Monitoring Server Performance and Activity, Monitoring with SQL Profiler] [SQL Server Architecture, Database Architecture, Logical Database Components, SQL Stored Procedures] [Transact-SQL Reference > SET > SET TRANSACTION LEVEL] [SQL Server Architecture > Database Architecture > Logical Database Components > SQL Stored Procedures] [Using the SQL Server Tools > User Interface Reference > Visual Database Tools > Database Development and Visual Database Tools > Database Objects > Constraints > Triggers] [Transact-SQL Reference > CREATE TRIGGER] [Glossary > Index] [Creating and Maintaining Database > Tables > Designing Tables > Using Constraints, Defaults, and Null Values > Foreign Key Constraints > Cascading Referential Integrity Constraints]
...
Рейтинг: 0 / 0
Ваше мнение по вопросам 70-228
    #32404390
Фотография Nikulin
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Вот обяснение из TestKing v2.0

Answer: A, C.
Explanation: This SQL-code is poorly written since the whole batch is one transaction. The explicit
transaction should be removed from the code.
Код: plaintext
The transaction isolation level of serializable is also a bad choice
. This is the highest isolation level and
would probably lock the whole batch. The isolation level most be lowered.
Incorrect answers:
B: Indexes could improve performance, but this isn’t the goals in this scenario. We want to make the
SQL batch run and keep data integrity.
D: Putting the code into a stored procedure would keep the problems with the explicit transaction and
the high isolation level.
E: The batch is only run on one table. Cascading triggers are used when several tables have to be
updated.


К тому же накой там "cascading UPDATE trigger" ?
...
Рейтинг: 0 / 0
Период между сообщениями больше года.
Ваше мнение по вопросам 70-228
    #33031997
unicode
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
SnakeGlory, почему Create a 95-MB data file named Geography.ndf , а не 60?

все таки ответ 95 mb так каждая строка содержит 5,000 байт а на одной странице таблице помещяется 8 кб, означает что каждая стр. может сожержать только одну строку, и поэтому при общем подсчете строк, это будет примерно 93 метра...
...
Рейтинг: 0 / 0
22 сообщений из 22, страница 1 из 1
Форумы / Сертификация и обучение [игнор отключен] [закрыт для гостей] / Ваше мнение по вопросам 70-228
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]