1. Trang chủ
  2. » Công Nghệ Thông Tin

The Real MTCS SQL Server 2008 Exam 70/432 Prep Kit- P152 pdf

5 270 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 145,92 KB

Nội dung

60 Appendix•SelfTestAppendix However, if you bring the database online at this point, you will not be able to replay logs into this database. Therefore, you must use the NORECOVERY option. Once the full backup has been restored, you can replay the tail-log you have just backed up into the database. This time the database is ready to be brought online, and you can use the RECOVERY option during the restore operation. Incorrect Answer & Explanation: D. Answer D is incorrect because marking the database as RECOVERY before you replayed the tail-log into it will bring the database online. Once the database is online, you can never replay logs into it. 15. Your organization has headquarters in Auckland, New Zealand, and branch offices in most countries around the world. Recently, you have centralized all SQL Servers on to a single server in Auckland. The main database is accessed by users from every office. The database is large and takes around 20 hours to perform a full backup. Additionally, the full backup is detrimental to perfor- mance and should be minimized during business hours of any of the offices. You are also aware that your organization cannot afford to lose more than one day’s data. Your task is to create a backup strategy that produces the fastest possible restore time, meets the recovery point objective, and has minimal impact on performance experienced by users. What will you recommend? A. Perform a copy-only backup every Sunday and a differential backup every day at the least busy time. B. Perform a full backup every Sunday and a log backup every day at the least busy time. C. Perform a full backup every Sunday and a copy-only backup every day at the least busy time. D. Perform a full backup every Sunday and a differential every day at the least busy time. Correct Answer & Explanation: D. A full backup every week will happen when there is minimal user activity and has the least potential to adversely affect per- formance. The differential backup every day will record the page differences since the last full backup, so, if you should need to restore, you will only need to restore the full backup and the very last differential backup. Incorrect Answers & Explanations: A, B, and C. Answer A is incorrect because you cannot base a differential backup on a copy-only backup only SelfTestAppendix•Appendix 61 a full backup. Answer B is incorrect because although log backups will meet your recovery point objective, this strategy will not produce the fastest restore. Should you need to restore, you will need to restore the full backup and every log backup you have taken since the last full backup (potentially up to six log backups). This is considerably longer than restoring one differential backup. 16. Your company headquarters are in London, United Kingdom. Your company also has a branch office in Paris, France. Most customers are registered with both the head office and the branch office. You are tasked with finding out which customers are registered with both offices. To do this, you obtain a backup of the Paris database and restore it onto the London server. You the print a report of all customers sorted by last name from the London and Paris databases. You notice that the same names are sorted differently from each database. You must quickly produce a report from the Paris database that is sorted in the same way as the London database. What is the quickest way to produce this report? A. Use the ALTER TABLE statement along with the COLLATE option to change the Customers table in the Paris database to have the same colla- tion as the London database. B. Use the COLLATE clause with your SELECT statement to enforce the same collation as the London database. C. Use the Copy Table wizard to move the Customers table from the Paris database to the London database. D. Use the bcp utility to copy data from the Customers table from the Paris database to the London database. Correct Answer & Explanation: B. Using COLLATE with a SELECT query will produce results sorted according to rules of a specific collation. In this case, you must find out the collation of the London database, then use this collation when querying the Paris database. Incorrect Answers & Explanations: A, C, and D. Answer A is incorrect because using the ALTER TABLE statement will probably take a long time and is not the fastest way to produce the required report. Answer C is incorrect because copying the table will not change the column-level collation. Answer D is incorrect because using bcp will not alter the collation of Customers table. 62 Appendix•SelfTestAppendix 17. You are tasked to identify all SQL servers that are running SQL Server 2005 or earlier within your organization. What is the best way to accomplish this task with minimum administrative effort? A. Use Policy-Based Management to create a policy condition for the Server Information facet, VersionMajor >= 9. Create a policy linking this condi- tion with a target set of all servers. Evaluate the policy to identify servers that don’t comply with this policy. B. Use Policy-Based Management to create a policy condition for the Server Information facet, VersionMajor <= 9. Create a policy linking this condi- tion with a target set of all servers. Evaluate the policy to identify servers that don’t comply with this policy. C. Run the SELECT @@Version statement against every SQL Server in the organization. D. Run the SELECT Version from sys.ServerInfo. Correct Answer & Explanation: A. Creating a policy with the condition of Server Information facet VersionMajor >= 9 allows you to identify all servers running SQL Server 2005 or earlier with minimum administrative effort. Incorrect Answers & Explanations: B, C, and D. Answer B is incorrect because it will report all servers running SQL Server version 10 or later (SQL Server 2008 or later) as noncompliant, not SQL Server 2005 and earlier. Answer C is incorrect because it will consume a great deal of administrative effort. Policy-Based Management is a much faster way of performing this task. Answer D is incorrect because there is no global sys.ServerInfo table containing versions of all servers in the organization. 18. You are a part-time database administrator for a small company that relies on its 3GB database for all business needs. Unfortunately, disk space is at a pre- mium and recovery model for this database is set to SIMPLE. What should you do to protect the database so that their maximum data loss objective of 12 hours is met? What should you tell the company’s owner about the risks of having their primary business database set to a SIMPLE recovery model (choose all that apply)? A. Perform a full backup every 12 hours. Explain that the SIMPLE recovery model means that should you lose the database due to hardware failure or corruption, you will not be able to recover any transactions that have hap- pened after the last full backup. SelfTestAppendix•Appendix 63 B. Perform a full backup every day and an incremental log file backup every 12 hours. Explain that the SIMPLE recovery model means that should you lose the database due to hardware failure or corruption, you will not be able to recover any transactions that have happened after the last incre- mental log file backup. C. Perform a full backup every day and a differential backup every 12 hours. Explain that the SIMPLE recovery model means that should you lose the database due to hardware failure or corruption, you will not be able to recover any transactions that have happened after the last differential backup. D. Perform a full backup every 12 hours. Explain that the SIMPLE recovery model means that should you lose the database due to hardware failure or corruption, you may be able to recover all transactions that have happened after the last full backup as long as the log file is intact. Correct Answers & Explanations: A and C. Answers A and C are correct because the SIMPLE recovery model dictates that the log is purged almost as soon as transactions are committed. Therefore, incremental log backup is not available on a database set to SIMPLE recovery model, and logs cannot be used to roll a restored database forward. However, you can still use full and differential backup to backup the database, then restore it to the point it was last backed up. Incorrect Answers & Explanations: B and D. Answer B is incorrect because incremental log backup is not available for databases of SIMPLE recovery model. Answer D is incorrect because you should not set the owner’s expectations by telling him that you may be able to recover all transactions that have happened after the last full backup as long as the log file is intact. SIMPLE recovery model means that the log is automatically overwritten and cannot be replayed into restored database even if the log file is intact. 19. You have decided to use the new SQL Server 2008 Data Collector feature to collect performance data from several servers in your organization. You install a SQL Server 2008 on a new server and run through the Configure Management Data Warehouse Wizard to set up data collection. One week later you view the performance reports and see that no data has been collected all week. What should you do to troubleshoot this issue (choose all that apply)? A. Check that SQL Server Agent service is running and is configured for Automatic startup. 64 Appendix•SelfTestAppendix B. Check that SQL Server Data Collector service is running and is config- ured for Automatic startup. C. Check that the recovery model on Management Data Warehouse is not set to SIMPLE. D. Check that you have configured Data Collector proxy accounts so that they have permissions on the servers you are collecting data from. Correct Answers & Explanations: A and D. Data collector relies on SQL Server Agent jobs to collect data. It also must have sufficient privileges to collect data from servers. Incorrect Answers & Explanations: B and C. Answer B is incorrect because the Data Collector uses the SQL Server Agent service not the SQL Server Data Collector service (there is no such service installed by SQL Server). Answer C is incorrect because the recovery model overwrites the log file as needed but does not affect the database data. 20. You work for a large organization in a regulated industry. Currently, you adhere to a backup strategy, as shown in Figure 7.6. A recent change in applicable regulatory requirements states that you must provide a backup of your database to a compliance officer every week. This backup must be performed to special media provided by the agency. The compliance officer must be able to easily restore the backup whenever they wish and be able to search through the entire database. The compliance related backup must not interfere with user activity or the existing backup mechanism. The compliance related backups cannot be used in a disaster Figure 7.6 Current Backup Schedule . from servers. Incorrect Answers & Explanations: B and C. Answer B is incorrect because the Data Collector uses the SQL Server Agent service not the SQL Server Data Collector service (there. of all servers. Evaluate the policy to identify servers that don’t comply with this policy. C. Run the SELECT @@Version statement against every SQL Server in the organization. D. Run the SELECT. Answer B is incorrect because it will report all servers running SQL Server version 10 or later (SQL Server 2008 or later) as noncompliant, not SQL Server 2005 and earlier. Answer C is incorrect

Ngày đăng: 07/07/2014, 00:20

TỪ KHÓA LIÊN QUAN