This quiz assesses advanced skills in managing and querying databases using SQL Server 2005. It covers topics such as linked servers, protocol configurations, and optimization techniques, essential for database administrators and IT professionals.
Ensure that port 1433 is open in your firewall.
Ensure that port 443 is open in your firewall.
Ensure that client computers connect by using Shared Memory protocol.
Ensure that the server is not paused.
Rate this question:
Execute DBCC CHECKFILEGROUP for each filegroup.
Execute DBCC CHECKCATALOG.
Execute DBCC CHECKDB.
Execute DBCC CHECKTABLE for each table.
Rate this question:
Join the two servers by using the four-part syntax of server.database.schema.table.
Reference SQL2 by using an alias.
Add SQL2 as a remote server to SQL1.
Add SQL2 as a linked server to SQL1.
Rate this question:
Create a job schedule that runs every Sunday. Assign weekly tasks to this schedule. Create a schedule that runs on the first day of every month. Assign monthly tasks to this schedule. second
Create a job for each task that runs once a day. Use a Transact-SQL statement to check the date and day of the week. If the day is either a Sunday or the first day of the month, execute the code.
Create a job schedule that runs once a day. Assign jobs to this job schedule. If the day is either a Sunday or the first day of the month, execute the jobs.
Create a job for each task that runs once a week on Sunday. Add a second job schedule that runs the job on the first of the month.
Rate this question:
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?
Create a format file for the export operation.
Specify StateProvince, Surname, and FirstName in the ORDER BY clause in the bcp queryout command.
Copy the data into a new table that has a clustered index on StateProvince, Surname, and FirstName. Export the data.
Rate this question:
Use the Copy Database Wizard to copy the data in the Buenos Aires database to a new database with the same collation as the Dublin database.
Use the SQL Server Import and Export Wizard to copy the data from the Buenos Aires database into new tables, specifying the same collation as the Dublin database.
Modify the format file to specify the same collation as the Dublin database. Import the table again.
Modify the query on the Buenos Aires database to use the COLLATE setting in the ORDER BY clause. In the query, specify the same collation as the Dublin database.
Rate this question:
Back up the current transaction log. Restore the database with a different name and stop at the point just before the data loss. Copy the table back into the original database.
Back up the current transaction log. Restore the database to the point just before the data loss.
Restore the database from the existing backup files to a time just before the data loss.
Restore the database to the point of the last full backup.
Rate this question:
Create a queue on each database with the ACTIVATION argument set to DataManager.dbo.ProcessReport.
Create a conversation between the databases by using the following statement.BEGIN DIALOG FROM SERVICE 'ProcessReport' TO SERVICE 'SendResult'
Create a contract between the services by using the following statement.CREATE CONTRACT ProcessData (ProcessReport SENT BY INITIATOR, SendResult SENT BY TARGET)
Create services for each database by using the following statement.CREATE SERVICE DataManager ON QUEUE ProcessReport
Rate this question:
Named Pipes
TCP/IP
Shared Memory
Virtual Interface Adapter (VIA)
Multiprotocol
Rate this question:
Ensure that both SQL1 and SQL2 use the same login name as the security context for each server.
Configure SQL2 as a remote server. Write the query on SQL1.
Configure SQL2 as a linked server to impersonate the remote login.
Configure SQL2 as a distributed server. Use pass-through authentication.
RESTORE LABELONLYFROM DISK = N\\Server1\Backup\DB_Backup.bak
RESTORE HEADERONLYFROM DISK = N\\Server1\Backup\DB_Backup.bak
RESTORE VERIFYONLYFROM DISK = N\\Server1\Backup\DB_Backup.bak
RESTORE DATABASE MSDBFROM DISK = N\\Server1\Backup\DB_Backup.bak
Rate this question:
RESTORE LABELONLYFROM DISK = N\\Server1\Backup\DB_Backup.bak
RESTORE HEADERONLYFROM DISK = N\\Server1\Backup\DB_Backup.bak
RESTORE VERIFYONLYFROM DISK = N\\Server1\Backup\DB_Backup.bak
RESTORE DATABASE MSDBFROM DISK = N\\Server1\Backup\DB_Backup.bak
Rate this question:
Change the AUTHENTICATION property to KERBEROS.
Specify BATCHES = ENABLED.
Specify STATE = Started.
Specify WSDL = 'pr_GetPersonData'.
Select the Subscription Watch List tab for SQL1. View the Latency column for the SQL2 subscription.
Select the All Subscriptions tab for the Pub1 publication. View the Latency column for the SQL2 subscription.
Select the Tracer Tokens tab for the Pub1 publication. Select the Insert Tracer option and wait for the requested latency values for the SQL2 subscription to appear.
Select the Subscription Watch List tab for SQL1. Double-click the SQL2 subscription. View the duration details on the Publisher to Distributor History tab as well as on the Distributor to Subscriber History tab.
Rate this question:
DBCC CHECKTABLE
ALTER INDEX REORGANIZE
UPDATE STATISTICS
CREATE STATISTICS
DBCC SHOW_STATISTICS
Rate this question:
On SQL1, reschedule the transaction log backup job so that it occurs every minute. On SQL2, maintain default schedule settings for both the log shipping copy and the restore jobs.
On SQL1, change the schedule type for the transaction log backup to Start automatically when SQL Server Agent starts. On SQL2, change the schedule types for both the log shipping copy and the restore jobs to Start automatically when SQL Server Agent starts.
On SQL1, maintain default schedule settings for the transaction log backup job. On SQL2, change the schedule types for both the log shipping copy and the restore jobs to Start automatically when SQL Server Agent starts.
On SQL1, reschedule the transaction log backup job so that it occurs every minute. On SQL2, reschedule both the log shipping copy and the restore jobs so that they occur every minute.
Rate this question:
Copy clustered index
Copy XML indexes
Copy nonclustered indexes
Copy unique key constraints
Copy index partitioning schemes
Rate this question:
Specify the simple recovery model for DB1.
Specify either the full or the bulk-logged recovery model for DB1.
Perform a complete backup of DB1 to portable media. Restore the secondary database from that backup; specify the RECOVERY option.
Perform a complete backup of DB1 to portable media. Restore the secondary database from that backup; specify the STANDBY option.
Before you activate transaction log shipping to the secondary database, execute the following statement on the primary server.BACKUP LOG DB1 WITH TRUNCATE_ONLY
Rate this question:
Quiz Review Timeline (Updated): Aug 23, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.