This document contains a review with multiple choice questions about SQL Server 2008 administration topics like backups, recovery models, replication, and security. It also includes scenarios asking how to automate log backups during peak hours, identify causes of server slowdowns, implement replication between offices, design an appropriate backup plan for a mail order database, and minimize backup time for a large satellite image database.
This document contains a review with multiple choice questions about SQL Server 2008 administration topics like backups, recovery models, replication, and security. It also includes scenarios asking how to automate log backups during peak hours, identify causes of server slowdowns, implement replication between offices, design an appropriate backup plan for a mail order database, and minimize backup time for a large satellite image database.
This document contains a review with multiple choice questions about SQL Server 2008 administration topics like backups, recovery models, replication, and security. It also includes scenarios asking how to automate log backups during peak hours, identify causes of server slowdowns, implement replication between offices, design an appropriate backup plan for a mail order database, and minimize backup time for a large satellite image database.
This document contains a review with multiple choice questions about SQL Server 2008 administration topics like backups, recovery models, replication, and security. It also includes scenarios asking how to automate log backups during peak hours, identify causes of server slowdowns, implement replication between offices, design an appropriate backup plan for a mail order database, and minimize backup time for a large satellite image database.
1. What type of backup is the fastest type to restore a database from scratch?
A. full B. differential C. bulk-logged D. transaction log
2. If you dont want to manage transaction logs, which recovery model should you use?
A. simple B. full C. bulk-logged D. differential
3. What can provide higher availability of archival data?
A. topology B. replication C. tapes D. offline storage
4. What is used to store transactions that need to be sent to subscribers?
A. publisher B. subscriber C. distributor D. publication
5. Which option do you use with the RESTORE DATABASE command that will allow additional transaction logs to be restored?
A. RESTRICTED_USER B. RECOVERY 2
C. NORECOVERY D. ALLOW
6. Which type of backup is a sequential record of all transactions recorded in the transaction log File?
A. differential B. incremental C. transaction log D. baseline
7. Which type of backup is a copy of all changes made to a database since the last full backup was performed?
A. differential B. incremental C. transaction log D. baseline
8. Which type of backup is one of the entire database, including the database files, the locations of those files, and the portions of the transaction logs recorded at the start of the backup.
A. full B. incremental C. differential D. baseline
9. Which of the following is not replication technology available in SQL Server?
A. snapshot replication B. transactional replication C. merge replication D. database failover replication
10. Which edition(s) of SQL Server 2005 can be the witness server used with database mirroring?
A. Enterprise Edition B. Standard and Enterprise editions 3
C. Workgroup, Standard, and Enterprise editions D. Express, Workgroup, Standard, and Enterprise editions
11. Which server provides automatic failover when using database mirroring?
A. principal server B. secondary server C. witness server D. clustered server
12. Which edition(s) of SQL Server 2005 do you need to support clusters?
A. Enterprise Edition B. Standard and Enterprise editions C. Workgroup, Standard, and Enterprise editions D. Express, Workgroup, Standard, and Enterprise editions
13. Which of the following requires special hardware to implement?
A. clustering B. database mirroring C. log shipping D. replication
14. What technology continuously copies all data from one server to another so that if the principal server fails, the secondary server can take over the processing of transaction using its copy of the database?
A. database mirroring B. failover clustering C. log shipping D. log transforms
15. Which of the following is not a system database?
A. master B. model 4
D. msdb E. temporarydb
16. Which of the following operations is not performed by the SQL Server Agent service? A. Execute administrative tasks B. Execute maintenance plans C. Detect system conditions and automatically instigate measures to resolve problems D. Alert people in a variety of ways
17. A single job is made up of one or more of what object?
A. Step B. Task C. Operation D. Procedure
18. Operators can be notified by a job under which of the following conditions?
A. The job is running B. The job succeeds C. The job fails D. The job is not running
19. Which type of backup device is created on the fly when you perform a backup?
A. temporary B. permanent C. removable
5
20. Which database recovery model uses full and differential backups, but not transaction log backups?
A. Full recovery B. Simple recovery C. Bulk-logged recovery 21. How is the process of inserting a large amount of data from a file into a database called?
A. Bulk exportation B. Bulk importation C. Massive copy D. Random copy
22. _______ command run in a command prompt and its used to bulk import and bulk export data?
A. sqldata B. sqlcopy C. sqlmove D. bcp
23. Which role is valid for database mirroring?
A. publisher B. principal C. primary D. monitor
24. Which fixed database role prevents users from reading data from all user tables? A. db_accessadmin B. db_backupoperator C. db_datawriter D. db_denydatareader 6
25. Which fixed database role can modify the permission and roles in the database? A. db_accessadmin B. db_securityadmin
Part2: Scenarios
1. You want to back up the transaction log of your production database every hour during peak business hours (8:00 A.M. to 6:00 P.M.) and every three hours during non-peak hours (6:00 P.M. to 8:00 A.M.). What is the most efficient method for automating these tasks?
______________________________________________________________________ ______________________________________________________________________ 2. Every day at 2:00 P.M., users complain that the server slows down considerably. How can you find out what is causing this delay? ______________________________________________________________________ ______________________________________________________________________ 3. You have created a new login account within SQL Server for a Windows 2000 group. You want the members of this group to be able to use SQL Server. What additional security tasks must you perform?
4. XYZ Company has an office in Dallas and two regional offices in New York and Chicago. Each office has its own SQL Server 2008 database and the regional offices should be able to synchronize their respective data with the office at the end of each business day. What SQL Server feature must be implemented to fulfill this requirement?
______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ 5. Your database consists of 5 gigabytes (GB) of data and is stored in one database file. This database is used as an order-taking system for a mail-order catalog company. Operators take orders 24 hours a day. The company typically receives about 2,000 orders each day. Describe an appropriate backup plan for this database. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________
6. Your database contains image data that is gathered from a weather satellite and is being continually updated. The database is 700 GB. Each table exists on a separate filegroup in the database. If you were to perform a full database backup, the process would take about 20 hours. How can you minimize the amount of time that is spent performing backups each day and yet still ensure good data recoverability in the event of a system failure? ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ 8
7. You have a database for which you generally perform only full database backups. The transaction log exists on a separate physical disk from the data files. It is allowed to accumulate changes but is periodically cleared. The disk that contains the data files is damaged. After you replace the disk, what can you do to minimize data loss?
______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ 8. You are an administrator of a SQL 2008 computer that contains multiple databases. One of these databases is named AccountsData. Mark, an employee, has recently joined the company. You want to enable him to create new tables in AccountsData. However, he should not have access to other databases in the server. The sql Server is configured for mixed mode authentication. You create a SQL Server login named Mark. Mark reports that he can log on to the server, but he is unable to access the AccountsData database. You need to allow Mark access to the AccountsData database. What will you do to resolve this? ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________