The Real MTCS SQL Server 2008 Exam 70/432 Prep Kit- P140 pptx

5 76 0
The Real MTCS SQL Server 2008 Exam 70/432 Prep Kit- P140 pptx

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

Thông tin tài liệu

Index 677 XML indexing ALTER INDEX usage, 483 primary, creation, 482 secondary, type, 482 SQL Server 2008, 480 syntax, 483 usage, 483 using ALTER INDEX to DISABLE, 483 using DROP INDEX, 484 XML path language expression types for, 505–506 SQL Server 2008, 506 World Wide Web Consortium, 504 @XMLTable, 506 XML_Table, 481–482 XPath expression count, 507 XPath number function, 507–508 XQuery language, 497–498 XQuery method, 500–501 1 Self Test Appendix Appendix The Real MCTS SQL Server 2008 Exam 432 2 Appendix•SelfTestAppendix Chapter 1: New Features in SQL Server 2008 1. You are setting up security for your new SQL Server 2008 installation. Management is concerned about security. What approach should you take to ensure security settings are optimal? A. Use the Surface Area Configuration Tool to secure the installation B. Use the new Security Analysis tool to secure the installation C. Use SQL Server Configuration Manager to secure the installation D. Use Windows Service Manager to enable and disable the appropriate services The correct answer is C. On the Start menu, point to All Programs | Microsoft SQL Server 2008 | Configuration Tools | SQL Server Configuration Manager. Answer A is incorrect because the Surface Area Configuration Tool is no longer used to secure SQL Server 2008. Answer B is incorrect because there is no Security Analysis tool in SQL Server 2008. While Answer D may work, it’s not the best answer. Your answer should be the most “correct” using the new features, even though some of the other answers may technically work. 2. You have been tasked with setting up standards for your SQL Server 2008 installation. You need to enforce a table naming convention. What is the best way to accomplish this in your SQL Server 2008 environment? A. Use Windows Group Policy B. Create DDL Triggers C. Create DML Triggers D. Create a Declarative Management Framework policy The correct answer is D. This is the most efficient way to accomplish the task of enforcing a table naming convention. Answer A is incorrect— Windows Group Policy does not provide a mechanism for enforcing table naming conventions. While Answer B could would, it’s not the best solution. Answer C is incorrect as DML triggers provide no means to control DDL code. SelfTestAppendix•Appendix 3 3. You have been asked to create a backup of your production database and restore it on a development server. Your production server is using the full recovery model. Full backups are taken Monday and Wednesday. Transaction log backups are taken every hour. Today is Friday. The backup needs to be created as quickly as possible. What’s the fastest way to get the latest database copy while minimizing impact to production? A. Create a normal backup. Use that to restore to development. B. Create a Copy Only Backup. Use that to restore to development. C. Use the Wednesday backup. Restore the transaction log backups since Wednesday. D. Copy the .mdf and log files and use SP_attach. The ideal situation would be to use B, the Copy Only Backup. Copy Only doesn’t affect the backup chain and will provide the quickest solution while minimizing interruptions. Answer A will affect the backup chain, so it’s somewhat disruptive. Answer C is not the fastest method, and there would be quite a few transaction logs to restore. Answer D would require stopping the SQL service on the production server, rendering it unusable during the copy. 4. You have a SQL Server 7.0 database and would like to move it to a new SQL Server 2008 instance. The database is part of an FDA-validated system and cannot be changed at all? How can this be accomplished? A. Restore the 7.0 database on your new server and set the compatibility mode to 7. B. You must upgrade the database to SQL 2005 or greater. C. Restore the 7.0 database on your new server and set the compatibility mode to 6.5. D. Copy the .mdf and log files and use SP_attach. The correct answer is B. Answers A and C are incorrect as SQL Server 2008 does not support 7 or 6 compatibility. Answer D is incorrect as the database must be upgraded and cannot just be attached. 5. You have an application that is being upgraded from SQL Server 2005 to SQL Server 2008. You notice that some stored procedures are not working correctly. An excerpt is as follows: 4 Appendix•SelfTestAppendix SELECT * FROM Territories, Region WHERE territories.regionid *= region.regionid What should you do to resolve the issue? A. There is no issue. The problem lies elsewhere. B. The join syntax is incorrect. Replace with left join. C. The select is incorrect. You need to enumerate the fields. D. The where clause should be = not * =. The answer is B. The join syntax is no longer supported. Answer A is incorrect, as the old join syntax ( * = and = * ) will no longer work. Answer C is not cor- rect; although Select * will work, it is not good practice. Answer D is incorrect as it will change the left join to an inner join, which would change the overall function of the select statement. 6. Your disk is almost full on the transaction log drive for a database server. How can you resolve this issue? A. Use BACKUP LOG WITH TRUNCATE_ONLY B. Change the mode to simple and shrink the log C. Reinstall SQL D. Drop the database and restore from the last backup The correct answer is B. Answer A would be the answer with SQL Server 2005; however, this command is no longer available. Answer C will not solve the problem, and Answer D would result in data loss and could take a while. 7. You want to enforce a standard naming convention for stored procedures. What’s the best way to do this in SQL Server 2008? A. Create a DDL trigger B. Use the performance data warehouse C. Create DML triggers D. Use the SQL Server 2008 Declarative Management Framework The correct answer is D. The DMF will allow you to perform the task at hand. Answer B has nothing to do with enforcing naming conventions. While Answer A could work, it’s not the best approach. Answer D will not allow you to perform the task of enforcing naming conventions. . Appendix Appendix The Real MCTS SQL Server 2008 Exam 432 2 Appendix•SelfTestAppendix Chapter 1: New Features in SQL Server 2008 1. You are setting up security for your new SQL Server 2008 installation TRUNCATE_ONLY B. Change the mode to simple and shrink the log C. Reinstall SQL D. Drop the database and restore from the last backup The correct answer is B. Answer A would be the answer with SQL Server 2005;. SQL Server 2008? A. Create a DDL trigger B. Use the performance data warehouse C. Create DML triggers D. Use the SQL Server 2008 Declarative Management Framework The correct answer is D. The

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

Mục lục

    The Real MCTS SQL Server 2008 Exam 70-432 Prep Kit: Database Implementation and Maintenance

    Chapter 1: MCTS SQL Server 2008 Exam 432 New Features in SQL Server 2008

    A Word About the Test

    Enhanced Configuration and Management of Audits

    New Table Value Parameter

    Key Management and Encryption

    Resource Governor (similar to Query Governor)

    SQL Server 2008 Declarative Management Framework

    No Longer Requires IIS

    Export to Word Support

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan