What should you do?
You work at the regional sales office. You are responsible for importing and exporting data in SQL Server
2005 databases. The main office asks you to send them a text file that contains updated contact information for the
customers in your region.
The database administrator in the main office asks that the data be sorted by the StateProvince, Surname, and
FirstName columns.
You need to satisfy these requirements by using the least amount of effort.
What should you do?
What should you do?
You are responsible for importing data into SQL Server 2005 databases. Your department is starting to receive
text files that contain sales transactions from stores across the country.
Columns in the data are separated by semicolons.
You need to import the files into the sales database.
What should you do?
What should you do?
You are responsible for managing a SQL Server 2005 database. This database is updated with data that is
exported from another site. On a monthly basis, data is loaded into the database from a flat file by using the bcp
utility.
This operation should be minimally logged. However, users report that they receive error messages indicating that
the transaction log is full. You investigate and discover that the errors occur when the data is being imported.
You need to prevent this problem from occurring.
What should you do?
What should you do?
You use Service Broker to manage data requests between SQL Server 2005 databases.
You need to make changes to objects for an existing service. You want to ensure that no messages can be received
by the service until the changes are complete.
What should you do?
What should you do first?
You are creating a Web-based application to manage data aggregation for reports. The application connects to
a SQL Server 2005 database named DataManager.
One page in the application has controls that execute stored procedures in a database named ReportingDatabase.
There is an existing Service Broker connection between the DataManager database and ReportingDatabase.
You want to add two new message types to the existing service. In each database, you create message types
named ProcessReport and SendResult.
You need to add the two new message types to the existing service.
What should you do first?
Which SQL query should you use?
You work for a company that sells books. You are creating a report for a SQL Server 2005 database. The
report will list sales representatives and their total sales for the current month. The report must include only those
sales representatives who met their sales quota for the current month. The monthly sales quota is $2,000. The date
parameters are passed in variables named @FromDate and @ToDate.
You need to create the report so that it meets these requirements.
Which SQL query should you use?
What should you do?
A full backup of your database named DB1 is created automatically at midnight every day.
Differential backups of DB1 occur twice each day at 10:00 and at 16:00. A database snapshot is created every day
at noon.
A developer reports that he accidentally dropped the Pricelist table in DB1 at 12:30. The last update to Pricelist
occurred one week ago.
You need to recover the Pricelist table. You want to achieve this goal by using the minimum amount of
administrative effort. You must also minimize the amount of data that is lost.
What should you do?
What should you do?
Your company has two SQL Server 2005 computers named SQL1 and SQL2. Transaction log shipping occurs
from SQL1 to SQL2 by using default SQL Server Agent schedule settings.
You need to reconfigure transaction log shipping to provide minimum latency on SQL2.
What should you do?
Which two actions should you perform?
You are implementing transaction log shipping for a database named DB1 from a server named SQL1 to a
server named SQL2. Because DB1 is 100 GB in size, it is too big to transfer over the network in a reasonable
amount of time.
You need to minimize the impact on the network while you initialize the secondary database.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
What should you do?
Your company has a network that consists of two domains named DOM1 and DOM2. There is no trust
relationship between DOM1 and DOM2. DOM1 contains a server named SQL1. DOM2 contains a server named
SQL2. Both servers run SQL Server 2005.
The SQL Server instance on SQL1 uses the DOM1SQLService1 service account. The SQL Server instance on
SQL2 uses the DOM2SQLService2 service account. There are no mirroring endpoints on either server.
SQL1 contains a database named DB1. You want to mirror DB1 to SQL2 by using highprotection mode without a
witness.
You need to create the database mirroring endpoints and configure security on all participating server instances.
What should you do?