Microsoft TS:MS SQL Server 2008,Implementation and Maintenance Sample Questions:
1. You maintain a SQL Server 2008 instance that contains a database named Finance. The data file and the transaction log file are located on the E: drive. The E: drive has only 5 percent available space.
You need to move both files to the V: drive.
Which procedure should you use?
A) Run the following Transact-SQL statement. ALTER DATABASE Finance SET RESTRICTED_USER WITH ROLLBACK_IMMEDIATE; Move the data file and transaction log file to the new location. Run the following Transact-SQL statements. ALTER DATABASE Finance MODIFY FILE ( NAME = Finance_Data, FILENAME = 'v:\SQLServer\Finance_Data.mdf'); ALTER DATABASE Finance SET MULTI_USER;
B) Stop the SQL Server Service. Move the data file and transaction log file to the new location. Start the SQL Server service. Run the following Transact-SQL statement. EXEC sp_attach_db @dbname = N'Finance', @filename1 = N'v:\SQLServer\Finance_Data.mdf', @filename2 = N'v:\SQLServer\Finance_Log.ldf';
C) Run the following Transact-SQL statement. ALTER DATABASE Finance SET OFFLINE WITH ROLLBACK_IMMEDIATE; Move the data file and transaction log file to the new location. Run the following Transact-SQL statements. ALTER DATABASE Finance MODIFY FILE (NAME = Finance_Data, FILENAME = 'v:\SQLServer\Finance_Data.mdf'); ALTER DATABASE Finance MODIFY FILE (NAME = Finance_Log, FILENAME = 'v:\SQLServer\Finance_Log.ldf'); ALTER DATABASE Finance SET ONLINE;
D) Stop the SQL Server service. Move the data file to the new location. Start the SQL Server service. Run the following Transact-SQL statement. EXEC sp_attach_single_file_db @dbname = N'Finance', @physname = N'v:\SQLServer\Finance_Data.mdf';
2. You are mastering the company database, and managing 20 SQL Server 2005 computers which are operated by other administrators that are asked to meet company service level
agreements (SLAs) on querying response time.
Some of the method on controlling query response times on the servers should be told for these administrators.
Which is the correct answer?
A) You should develop an XML schema which includes the event and column names of the query response times, which should be captured in SQL Server Profiler.
B) You should create a query that searches the sys.dm_db_partition_stats dynamic management view (DMV). Then distribute this search to the administrators.
C) You should teach the administrators to use System Monitor Control Tool
D) You should develop SQL Server Profiler templates, which contain query start times and end times. Then distribute these templates to the database
3. DRAG DROP
You administer a Microsoft SQL Server 2008 R2 database instance. The service account used by SQL Server services must not have administrative permissions.
You configure a new SQL Server Agent job to run every night. One of the steps in the job runs an Operating System (CmdExec) step. The job continuously fails on this step and throws the following error message:
"The user does not have sufficient permission to perform the operation."
You need to ensure that the SQL Server Agent Job executes successfully.
Which four actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
4. You maintain a SQL Server 2008 instance that contains a database named Finance. A small percentage of data in the database is modified daily.
You need to create a read-only copy of the database for reporting purposes at the beginning of each day by ensuring that minimal disk space is used.
Which strategy should you use?
A) Use database backup and restore along with compression.
B) Use database backup and restore.
C) Use schema-bound views in a read-only database that resides on the same instance.
D) Use database snapshots.
5. You migrate an application from Microsoft SQL Server 2000 to Microsoft SQL Server 2008.
You need to monitor the SQL Server instance to record the use of features that will be discontinued.
What should you do?
A) Use a SQL server-side trace that captures the SQL:BatchCompleted and Exception event classes.
B) Use the SQL Server Profiler that captures the SQL:BatchCompleted and Exception event classes.
C) Use a SQL server-side trace that captures the Deprecation Announcement and Deprecation Final Support event classes.
D) Use the SQL Server 2008 Upgrade Advisor.
Solutions:
| Question # 1 Answer: C | Question # 2 Answer: D | Question # 3 Answer: Only visible for members | Question # 4 Answer: D | Question # 5 Answer: C |














832 Customer Reviews
Quality and ValueITCertKing Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.
Tested and ApprovedWe are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.
Easy to PassIf you prepare for the exams using our ITCertKing testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.
Try Before BuyITCertKing offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.
