Sunteți pe pagina 1din 26

Global Leader in IT Certification Resources

Sample Questions and Answers


Exam Code
70-450

Exam Name
Designing, Optimizing and Maintaining a Database Administrative Solution Using Microsoft SQL Server 2008
Visit http://www.examsheets.net/microsoft-70-450.htm to buy complete product.

Exam Sheets is well-established name relating IT certifications resources and test materials to ensure your success in CCNA, CCIE, MCSE 2003, A+, 10g DBA and more certifications by Cisco, IBM, Microsoft, HP, Oracle, CompTIA, etc.

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

Question: 1 Company.com has hired you as a database administrator for their network. Your duties include administering the sql server 2008 servers. you receive an instruction from the cio to implement page compression on numerous partitions in order to save space. you need to determine what effect implementing compression will have on the sql server components. what should you identify? (choose all that apply.) A. Restore operations will not be affected by implementing page compression. B. Backup operations will not be affected by implementing page compression. C. Bulk export operations will not be affected by implementing page compression. D. Bulk import operations will not be affected by implementing page compression. E. Existing query plans will not be affected by implementing page compression. F. Log shipping will not be affected by implementing page compression. Answer: A, B, F Explanation: Page level or row level compression does not affect backup operations, restore operations, or log shipping operations. these operations simply read the data or write the data to the disk. reading and writing functions are not affected by page level or row level compression. Incorrect Answers: C; D: bulk import and export operations will be affected by compression. during export operations, data is output using an uncompressed row format. the exported data file could exceed the size of the source data. during import operations the data is converted into compressed row format. this operation will tax the cpu resources of the server. E: existing query plans that are used to view data on partitions will be affected by compression. when row compression or data compression is enabled, data will be stored in different numbers of pages and number of rows. the query plans would need to bere-optimized after compression is implemented. Question: 2 You work as a database administrator at company.com. you are responsible for administering a sql server 2008 instance. you are currently planning the deployment of a new database. the database will have the subsequent capacity requirements: 1. 45 gb for the transaction log file 2. 280 gb for the database data file there are approximately six 120 gb disk drives available for the database in the storage array. the disks are attached to a raid controller that supports raid levels 0, 1, 5 and 10. you receive an instruction from the cio to ensure that the: 1. write performance of the transaction log is maximized. 2. database and transaction log files is protected in the event of a drive failure. you then decide to design a storage system. you need to determine the storage configuration that will accomplish this. what should you identify? A. You should consider using a raid 1 volume as well as a raid 5 volume. B. You should consider using a raid 0 volume as well as a raid 5 volume. C. You should consider using a single raid 5 volume. D. You should consider using a single raid 10 volume. Answer: A

Page 1 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

Question: 3 You work as a database administrator at company.com. you are responsible for administering the sql server 2008 infrastructure for company.com. during routine monitoring you discover that the instance experiences a low number of cxpacket waits as well as a large number of lazy writer waits. to ensure productivity you need to make sure that the performance of the instance is optimized. what should you do? A. You should consider configuring the windows system resource manager. B. You should consider configuring an increase in the maximum degree of parallelism option. C. You should consider configuring the resource governor. D. You should consider configuring the software non-uniform memory access (soft-numa). Answer: D Question: 4 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you receive an instruction from management to make sure that your department is prepared in the event of a natural disaster. you thus decide to create a disaster readiness plan. you need to determine the appropriate actions that should be included in your disaster readiness plan. what should you do? (choose all that apply.) A. You should consider testing and using raid 5 for the volume that contains the database files. B. You should consider testing and using raid 1 for the volume that has the operating system. C. You should consider maintaining the system logs in a secure manner. D. You should consider performing the recovery of a database(s) on another sql server. E. You should consider testing and using raid 5 for the volume that has the operating system. F. You should consider testing and using raid 1 for the volume that contains the database files. Answer: C, D Explanation: To ensure disaster readiness, you should maintain system logs in a secure manner and perform recovery of a database on another sql server. the full set of recommendations for disaster readiness is as follows: ensure that your personnel are trained in restoring a database or server. have your staff test the backups and recovery sets. ensure that the regular database and transaction log backups are performed frequently. maintain system logs in a secure manner. keep detailed records of what service packs were installed and when. keep records of the sql server configuration. perform and document the restoration of a server or database to another server. maintain a base-functionality script that may execute insert, update, and delete statements or a batch of stored procedures to determine if everything is working correctly after a restore. Incorrect Answers: A, B, E, F: you should not test and use raid 1 or raid 5 for the volume that contains the database files or the volume that contains the operating system. using raid 1 can provide fault tolerance for the operating system if a disk fails. raid 1 is designed to prevent the server from stopping if a failure of a disk occurs. using raid-5 can provide fault tolerance be supporting up to one drive failure. raid 5 should not be implemented for the drive that contains the transaction log files for a database. both raid 1 and raid 5 can provide availability if one disk fails, but not if two disks fail. planning for raid 1 or raid 5 should be included in a design plan, not in a disaster recovery plan. Question: 5 Company.com has employed you as a database administrator. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a
Page 2 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

database server named -db01. you are in the process of enabling file stream on a volume on db01. you have received instruction from the cio to ensure that the volume store documents in compressed form. you notice that volume f:\ is not formatted. you need to make sure that the volume will be able to store documents in a compressed form. what should you do? A. You should execute the format f: /fs:ntfs /v:blobcontainer/a:8192 /c command. B. You should execute the format f: /fs:ntfs /v:blobcontainer/a:8192 command. C. You should execute the format f: /fs:ntfs /v:blobcontainer/a:4096 command. D. You should execute the format f: /fs:ntfs /v:blobcontainer/a:4096 /c command. Answer: D Explanation: This command will format the volume, convert it to ntfs and then label it asblobcontainer. this command will also set the ntfs cluster size to 4096. it is important to note that the cluster size must be 4096 or smaller for compression to be enabled for a volume. finally, the /c parameter will compress the volume. when you a restoring the file stream data, you can store it on a compressed or a non-compressed volume. the data in file stream is actually stored on the file system. there are a number of benefits to storing the data on the file system. for instance, you will be able to compress data with the ntfs compression capabilities. when the data is stored, it is in compressed form and when the data is retrieved, it is decompressed. Incorrect Answers: A, B: the commands format f: /fs:ntfs /v:blobcontainer /a:8192 and format f: /fs:ntfs /v:blobcontainer /a: 8192 /c will not help you meet the requirement in this scenario. for compression to be enabled on a volume, you must set the cluster size to 4096 or less. If you set the cluster size to 8196, it cannot have compression. you must use the /c parameter to enable the compression. C: the command format f: /fs:ntfs /v:blobcontainer /a:4096 will not work in this scenario. this command does not use the /c switch that is required to enable compression. with the execution of this command, only /a: drive will be formatted as a ntfs volume with a 4096 cluster size but without any compression. Question: 6 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_data. during the course of the day you receive instruction from company.com to design a raid solution for the tk_data database which has high read/write activity. company.com wants you to ensure that the i/o performance of -db01 is improved whilst ensuring that there is fault tolerance for the database. company.com wants you to make use of the existing resources as funds are tied to other projects. what should you do? A. You should consider making use of a raid 5 solution. B. You should consider making use of a raid 10 solution. C. You should consider making use of a raid 1 solution. D. You should consider making use of a raid 0 solution. Answer: A Explanation: In this scenario, you should use raid 5 for tk_data. raid 5 will provide good performance throughput and prevent data loss if there is a disk failure. tk_data has high read/write activity, and therefore raid 5 will be a better choice when compared to raid 0 and raid 1 in terms of data
Page 3 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

availability and data protection. for an ideal sql server configuration, you should have a combination of raid 1 and raid 5. you should mirror the operating system using raid 1, and place transaction logs on a raid1 that is separate from the raid 1 that hosts the operating system. sql server writes data to the transaction logs and maintains serial information of all modifications that occurred in a sql database. the transaction log files can be used for rollback and roll forward of information from a sql server database. the sql server files and file groups should be placed on a raid 5, because you get best performance throughput by placing database files on raid 5 disk array. Incorrect Answers: B: you should not use raid 10 in this scenario. raid 10 is a better choice than raid 5, but the scenario states that you have financial constraints. raid 10 would be more expensive than raid 5. raid 10 is a combination of raid 0+1, which is known as striping with mirroring. you should first mirror disks and then create a stripe set of mirrored disks. This provides high fault tolerance for data and excellent throughput performance. c: you should not use raid 1 in this scenario. raid 1 is known as disk mirroring. you need a minimum of two disks to form a raid 1 array. one primary disk is used for read/write operations and the data is replicated to the second disk. this raid level offers better read performance but slower write performance. therefore, it is not a suitable solution. D: you should not use raid 0 in this scenario. raid 0 is known as disk striping. this raid level stripes data across disks in the array, offering better throughput on the read/write operations. however, there is no data protection offered in this raid level. if one disk fails, the data stored on the disk will be lost. therefore, this raid level will not be a suitable solution for tk_data database. Question: 7 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_staff which is hosted on a raid 5 volume. during the course of the day you receive instruction from company.com to change the default size of the allocation unit which is set at 4096 bytes. company.com wants you to accomplish the task which having the raid 5 volume data assigned to drive e: to retain is existing volume name. what should you do? A. You should consider making use of the format e: /a:4096 /v:data command. B. You should consider making use of the format e: /a:4k /v:data command. C. You should consider making use of the format e: /a: 64k /v:data command. D. You should consider making use of the format e /a:65536 /v:data command. Answer: C Explanation: When you create a raid 5 volume, you need to format it to ensure that it is usable for storing data. by default, the allocation unit for a logical unit number (lun) is 4096 bytes (4 kb) on an ntfs partition. when you are storing data with large files on a raid 5 volume, you should change the allocation unit to 64 kb, which is 65536 bytes. when you run execute the command format f: /a: 64k /v: data, you will be able to format the raid 5 disk with a new allocation unit. in this command, you would need to provide the volume letter, which is f: in this case, the /a:size clause defines the allocation unit size, which is 64 kb in this scenario, and /v: is the volume name. Incorrect Answers: A: the format e: /a:4096 /v:data command will work in this scenario but will result inretaining the default allocation unit size, which is 4096 bytes. to keep the default allocation unit size, you can simply run the format command without specifying the allocation unit size.

Page 4 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

B: the format e: /a:4k /v:data command will not work in this scenario. you would be prompted with invalid parameter -/a:4k error. you must provide the size of the allocation unit in bytes if the allocation unit size is below 16 kb, for instance, 8192 for 8 kb. For allocation unit sized at 16 kb and above, the value must be written in k, such as 16 kb. D: the format e: /a:65536 /v: data command will not work. you would be prompted withinvalid parameter - /a:65536 error upon executing this command. you must provide the size of the allocation unit in kb for 16, 32, and 64 kb. for the value below 16 kb, you must write the value in bytes, for instance, 8192 for 8 kb. Question: 8 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_data which is used by an online portal for storing data. The portal is expected to receive large numbers of queries which will require high availability for the data. company.com wants you to meet the company requirements below: 1. company.com wants to have the sql server 2008 configuration optimized to ensure the database remains intact even when a hard disk fails. 2. company.com wants to have the data recovery method to be reliable and provide faster recovery if a hard disk fails whilst ensuring database performance is optimized. 3. company.com wants to have the databases available even when the operating system (os) disk fails. what should you do? A. You should consider making use of raid 1 for the operating system and transaction logs; and raid5 for the sql server files and file groups. B. You should consider making use of raid 0 for the operating system and transaction logs; and raid 5 for the sql server files and file groups. C. You should consider making use of raid 0 for the operating system; raid 1 for the transaction logs; and raid 5 for the sql server files and file groups. D. You should consider making use of the same raid 1 for the operating system and transaction logs; and raid 5 for the sql server files and file groups. Answer: A Explanation: You should configure your sql server 2008 implementation in the following manner: sql server files: raid 5 operating system files: raid 1 transaction files: raid 1 to meet varying requirements for response time, data reliability, and performance, you typically use different raid levels depending on how you are designing the sql server deployment. these raid levels are: raid 5: known as striping with parity. the parity information is written across all disks in the array. you need minimum of three disks to form a raid 5 array. this raid level offers better read/write performance as long as all disks in the raid 5 are present. if one disk is missing, the read performance is degraded. raid 5 stripes data across all disks in the array. raid 0: known as disk striping. this raid level stripes the data across disks in the array, offering better throughput on the read/ write operations. however, there is no data protection offered in this raid level. if one disk fails, the data stored on the disk will be lost. raid 1: known as disk mirroring. you need minimum of two disks to form a raid 1 array. one primary disk is used for read/write operations, and the data is replicated to the second disk. this raid level offers better read performance and fault tolerance, but slower write performance than raid 0. the scenario states that the database must be functional even if a drive fails in the system. to meet this goal, you must have the operating system files on raid 1. using raid 1, you will mirror the operating system so that even if a disk fails, the operating system will function. the transaction logs should be placed on a separate raid 1 array. sql server writes data to the transaction logs and maintains serial information of all the
Page 5 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

modifications that occurred in a sql database. the transaction log files can be used for rollback and roll forward operations from a sql server database. to enhance the performance of sql databases, you should place the transaction log files on a dedicated raid 1. finally, the sql server files and file groups should be placed on a raid 5 array to achieve the best performance throughput. Incorrect Answers: B, c: this configuration uses raid 0 or disk striping for the operating system. if one disk fails in a raid 0 array, the database will no longer be online, which is contrary to the goal stated in the scenario. however, placing the transaction logs and sql server files and file groups on raid 1 and raid 5 is appropriate. D: you should not use this configuration. it places the operating system and transaction logs on the same raid 1 disk array, and places the sql server files and file groups on raid 5. for an appropriate configuration, you should place the operating system and transaction logs on separate raid 1 arrays. this provides better i/o performance and throughput because the transactions are continuously written to the transaction logs. if there are continuous read/write operations by the operating system on the same raid 1, then the transaction log performance is degraded. therefore, it is always recommended that you place transaction logs on a separate raid 1. Question: 9 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. during the course of the day you receive instruction from company.com to reconfigure the tk_sales database for placement on the disk subsystem. company.com wants you to place the database on the fastest i/o subsystem whilst ensuring user data is not lost when a disk failure occurs. what should you do? A. You should consider placing the tk_sales database on the same raid 1 disk as the operating system. B. You should consider placing the tk_sales database on the same raid 0 disk as the operating system. C. You should consider placing the tk_sales database on a separate raid 0 solution. D. You should consider placing the tk_sales database on a separate raid 5 solution. Answer: D Question: 10 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. during the course of the day you receive instruction from company.com to deploy a new tk_products database which should meet the capacity requirements set below: 1. -db01 will require 175 gb for the database data file. 2. -db01 will require 60 gb for the transaction log. the -db01 storage array has six 200 gb disk drives available for the database which are attached to a raid controller supporting raid levels 0, 1, 5 and 10. company.com wants to have the write performance of the transaction log maximized whilst having the database and transaction log protected from drive failure by designing the storage system. what should you do? A. You should consider making use of a raid 0 volume and raid 5 volume. B. You should consider making use of a raid 1 volume and raid 5 volume. C. You should consider making use of a single raid 5 volume.
Page 6 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

D. You should consider making use of a single raid 10 volume. Answer: B Question: 11 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. -db01 hardware configuration is shown below: 1. -db01 has eight quad-core processors. 2. -db01 has 128-gb ram. during the course of the day you discover that -db01 is experiencing a low number of cxpacket waits whilst experiencing a large number of lazy writer waits.company.com wants you to optimize the performance of -db01.what should you do? A. You should consider having the software non-uniform memory access (soft-numa) configured. B. You should consider having an increase configured in the maximum degree of parallelism option. C. You should consider having the resource governor configured. D. You should consider having the windows system resource manager configured. Answer: A Question: 12 You are employed as a database administrator at company.com. you are responsible for administering a sql server 2008 database server named -db01 that consists of four processors. -db01 contains numerous databases which include the databases named tk_productsand tk_research. the subsequent rules are applied -db01: 1. four processors should be used for operations on tk_products. 2. two processors should be used by the tk_app application for queries on the tables in tk_research. 3. four processors should be used for all imports, exports, queries or operations on the other databases located on -db01.what should you do? (choose all that apply) A. This can be accomplished using maxdop in order to set the processor number to four. B. This can be accomplished using maxdop in order to set the processor number to two. C. This can be accomplished using the max degree of parallelism option and setting the value to 4. D. This can be accomplished using maxdop with the default value. E. This can be accomplished using the max degree of parallelism option and setting the value to 2. Answer: B, C Explanation: if you do not want to use all of the installed processors in your sqlserver operations, you can limit the use of processors by configuring the processor value to a lower number than the actual number of processors installed. For instance, if a server has four processors and you want to use only three for parallelism, then you should set the max degree of parallelism option to 3. when you want to use a specific number of processors for an individual query or index operation, you can use the maxdop query hint or index option to provide better control. maxdop overrides the settings defined in the max degree of parallelism option. the use of maxdop is limited to the execution of a query that contains the maxdop query hint or index option.

Page 7 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

Incorrect Answer: A: if you set the max degree of parallelism option to 2, all databases on -db01 will use only two processors, not four as required in the scenario. in this scenario, you want to use four processors for any operations used by tk_products and in any other database. you can use the following script to set -db01 to use four processors. sp_configure 'max degree of parallelism1, 4; go reconfigure with override; go D: maxdop does not have a default value. the max degree of parallelism option has a default value of 0, which defines the actual number of processors installed in the system for parallel execution of queries and indexes. E: if you use maxdop to set the processor number to four, all four processors will be used by the query. as stated earlier, the use of maxdop is limited to the execution of query that contains the maxdop query hint or index. Question: 13 You are employed as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 hosts five databases.-db01 contains two processors. you have received instruction from the cio to make use of more than one processor for parallelism. you thus set the show advanced options to 1. you then write the subsequent code: sp_ configure' axletree of parallelism', 6; go reconfigure with override; go you need to determine what the result will be when you execute the code above. what should you identify? A. It will result in four processors being used. B. It will result in three processors being used. C. It will result in two processors being used. D. It will result in one processor being used. Answer: C Explanation: when you are using the maximum degree of parallelism, you must first set the show advanced options to 1, which was already done in the scenario. The number of processors that can be used for all query and index operations is configured with the max degree of parallelism option, which by default is set to 0. the default option, 0, uses the actual number of processors installed in the system for the parallel execution plans of queries and index operations. any non-zero numeric value indicates the exact number of processors being used. if you specify more processors than are installed in the system, then it will use all available processors and not return an error. in this scenario, the server only has two processors. you configured the max degree of parallelism option to use 6 processors. since you do not have 6 processors, only two will be used. if you do not want to use all of the installed processors for sql server, you can configure the max degree of parallelism option to the value equal to the number of processors you wish to use. for instance, if the server has four processors and you want to use only three for parallelism, you should set the max degree of parallelism option to 3. when you want to use a specific number of processors for an individual query or index operation, you can use the maxdop query hint or index option to provide better control over operations than the max degree of parallelism option. maxdop overrides the settings defined in the max degree of parallelism option. the use of maxdop is limited to the execution of a query that contains the maxdop query hint or index. for instance, if you have a query for which you want to utilize all processors installed in the system, then you can use maxdop to override the max degree of parallelism option.sql server will use more than one processor, but only use the maximum of 2 processors even though the max degree of parallelism option is set to 6. you cannot three or four processors because the server only has two processors.

Page 8 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

Question: 14 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. company.com requires information about the system resources like the amount of memory available and consumed by -db01. what should you do? A. You should consider making use of the sys.dm_os_memory_nodes dynamic management view. B. You should consider making use of the sys.dm_os_sys_info dynamic management view. C. You should consider making use of the sys.dm_os_stacks dynamic management view. D. You should consider making use of the sys.dm_os_process_memory dynamic management view. Answer: B Explanation: This dynamic management view was introduced in sql server 2008. the sys.dm_os_sys_info view provides rather simple display of physical and virtual memory available with the operating system. this view also provides information regarding the system resources available and consumed by sql server. you can also use the sys.dm_os_sys_memory view to see a detailed view of physical memory and memory-resource notification bits, which provide the state of the memory resource. the sys.dm_os_sys_memory view displays the memory usage in ten columns. some of the columns are total_phys. avail_phys,sys_cache, and sys_hi_signal. Incorrect Answers: A: you should not use the sys.dm_os_memory_nodes view. this view displaysinformation regarding the memory nodes and the amount of physical memory reserved by sql server. c: you should not use the sys.dm_os_stacks view. this view keeps track of debug data such as outstanding allocations. D: you should not use the sys.dm_os_process_memory view. this view is used to display memory allocations for the sql server process space. for instance, you can use it to track the number of page fault count incurred by the sql server process. Question: 15 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_orders. during the course of the day you receive instruction from company.com to select what the recommended size of the allocation unit should be when your database is expected to have a high number of transactions. what should you do? A. You should consider having the allocation unit size 64 k. B. You should consider having the allocation unit size 32 k. C. You should consider having the allocation unit size 4096. D. You should consider having the allocation unit size 8192. Answer: A Explanation: By default, the allocation unit for a logical unit number (lun) is 4096bytes on an ntfs partition. when you are storing data with large files on a raid 5 volume, you should change the allocation unit to 64 kb, which is 65536 bytes. The format f: /a: 64k /v: data command will allow you to format the raid 5 disk with a new allocation unit. in this command, you would need to provide the
Page 9 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

volume letter, which is f: in this case. the /a:size clause defines the allocation unit size, which is 64kb in this scenario, and /v: is the volume name. Incorrect Answers: C: the allocation unit size 4096 is the default size assigned to a raid 5 volume. to be able to change this value, you need to format the volume with a new allocation unit size. B, D: 8192 and 32 kb are incorrect because these are not recommended options for storing large databases with high transaction rates. however, if required, you can set the allocation unit to these values. Question: 16 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 containing four processors withan instance that hosts a database named tk_sales. during the course of the day company.com decided to configure the max degree of parallelism option set to 2. you have later created an index making use of the maxdop option and set the number of processors to 3. company.com wants you to determine what the results would be? A. The current configuration would make use of one processor only. B. The current configuration would make use of two processors by the default setting ofmax degree of parallelism option overriding the maxdop option. C. The current configuration would make use of four processors only. D. The current configuration would make use of three processors only. Answer: D Explanation: The option stating that three processors will be used for index creation is correct. the number of processors that can be used for all query and index operations are set using the max degree of parallelism option, which by default is set to 0. the default option, 0, uses the actual number of processors installed in the system for parallel execution plans for queries and index operations. when you want to use a specific number of processors for an individual query or index operation, you can use the maxdop query hint or index option to provide better control. the maxdop query hint overrides the settings defined in the max degree of parallelism option. the use of the maxdop query hint is limited to the execution of query that contains the maxdop query hint or index option. this query hint can also be used with online index creation, and allows you to restrict the number of processors in the sql server 2008 server to be used in the online index creation. during online index creation, the maxdop setting overrides the max degree of parallelism option. Incorrect Answers: A: only one processor will not be used. one processor can be used only under two conditions, either using a maxdop value that overrides the max degree of parallelism option, or by setting the max degree of parallelism option to 1 when maxdop is not used explicitly used in any of the query or index creatio B: the default setting for the max degree of parallelism option will not override themaxdop setting. maxdop overrides the default setting of the max degree of parallelism option. also, the default setting for max degree of parallelism option is 0, not 2 C: the option stating that all four processors will be used for index creation is incorrect. As stated in the scenario. maxdop is set to use three processors. Question: 17 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database
Page 10 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

server named -db01 containing multiple processors and has an instance that hosts a database named tk_sales. during the course of the day you receive instruction from company.com to create a large volume of indexes and delete older indexes whilst optimizing cpu performance on -db01. what should you do? A. You should consider making use of the maxdop index option in the index statement. B. You should consider making use of the maxdop index option with the alter index reorganize statement. C. You should consider setting the max degree of parallelism option to 0. D. You should consider setting the max degree of parallelism option to 1. Answer: A Explanation: You should use the maxdop index option in the index statement to optimize the cpi performance on sql server 2008. the number of processors that can be used for all query and index operations is set using the max degree of parallelism option, which by default is set to 0. the default option, 0, uses the actual number of processors installed in the system for parallel execution plans for queries and index operations. when you want to use a specific number of processors for an individual query or index operation, you can use the maxdop query hint or index option to provide better control. maxdop overrides the settings defined in the max degree of parallelism option. the use of maxdop is limited to the execution of a query that contains the maxdop query hint or index option. maxdop can also be used with online index creation, and allows you to restrict the number of processors in the sql server 2008 server to be used in the online index creation. maxdop overrides the max degree of parallelism option with index creation as well. Incorrect Answers: B: you should not set the max degree of parallelism option to 1. when you set the axletree of parallelism option to 1, the parallel plan generation is suppressed. the query execution is no longer executed in parallel, and is executed in serial. you cannot use the maxdop index option with the alter index reorganize statement. C: you should not set the max degree of parallelism option to 0. this is the default value defined for this setting. with the default value as 0, this option uses the actual number of processors installed in the system for parallel execution plans for queries and index operations. D: you can use the maxdop index option with sql statements, such as create index, alter index rebuild, and drop index, used for clustered indexes, alter table add (index) constraint, and alter table drop constraint, used for clustered index. Question: 18 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. -db01 has four quad-core processors and frequently experiences cpu pressure. company.com is aware that db01 contains a large mission critical database used continually. company.com wants you to ensure that online index rebuilds do not consume all available cup cycles. what should you do? A. You should consider having the max degree of parallelism option configured. B. You should consider having the optimize for ad hoc workloads option configured. C. You should consider having the affinity mask option configured. D. You should consider having the affinity i/o mask option configured. Answer: A

Page 11 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

Question: 19 You work as a database administrator at company.com. your duties include administrating a sql server 2008 instance. you are currently planning to deploy anew database named tk_data to the 2008 instance. tk_data will have multiple schemas as well as being subjected to regular inserts and updates. a large amount of read-only reference information will be hosted on one of the schemas. management wants you to design a physical database structure in order to optimize the backup performance. what should you do? A. This can be accomplished by using a single log file as well as multiple file groups to create the database. B. This can be accomplished by using a single log file as well as a file group that has multiple data files to create the database. C. This can be accomplished by using a single data file as well as multiple log files to create the database. D. This can be accomplished by using a single data file as well as a single log file to create the database. Answer: A Question: 20 You are employed as the database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01. -db01 is configured with 1024 mb of ram, 80 gb system drive with sql server installed as well as a single core2 duo 1.6 ghz processor. -db01 hosts a database named tk_data. tk_data contains: 1. one primary data file 2. two secondary data files 3. one transaction log file. during routine monitoring you discover that the hard drive has only 2 gb of free space available. you notice that the performance of tk_data has degraded. you have received instruction from the cio to optimize the performance of tk_data.what should you do? A. Your best option would be to increase the memory to 2048 mb. B. Your best option would be to add additional hard drives as well as moving the database files across the hard drives. C. Your best option would be to compress the hard drive in order to create more space. D. Your best option would be to add a new processor to -db01. Answer: B Explanation: It is highly recommended that for better disk i/o usage, you place the data files and log files on different hard drives dedicated to these files. if you place all of them in the same hard drive, there is going to be a performance bottleneck. as a recommended practice, you should separate the database files and transaction log files on different disks, preferably disks attached to different disk controllers. as stated in the scenario, you have 2 gb space left in the drive that contains data and log files. to meet the required goal, you would need to add more hard drives in the system and move the data files and transaction logs on separate new hard drives. Incorrect Answers: A; C: you should not compress the hard drive to create more space. even though data will be compressed and more space will be freed, the performance of the database might degrade. compression is not considered a solution you should implement on the hard drive or volume that

Page 12 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

contains a database and its related files. with compressed drives, performance usually degrades when stored data is accessed. D: adding new processors or increasing memory will not help in this scenario. the problem is with the hard drive free space. adding a new processor or more ram to the server will not resolve the issue stated in the scenario. Question: 21 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 hosts a database named tk_data. you are in the process of adding additional tables to tk_data in order to support the new application. the additional tables will blobs that is greater than 1 mb. you need to maximize the read access. at present the application makes use of a middle tier for application logic. you need to determine the data type that needs to be configured for tk_data.what should you do? A. You should consider configuring the varbinary(max) data that is stored in tk_data. B. You should consider configuring the varchar(max) data using file stream storage on anntfs partition. C. You should consider configuring the varchar(max) data stored in tk_data. D. You should consider configuring the varbinary(max) data using file stream storage on an ntfs partition. Answer: D Explanation: You should use file stream data when you are storing blobs that are on the average larger than 1mb. file stream data can take advantage of the ntfs file system and disk subsystem for the operating system to maximize read access. file stream should be used if the applications that you are implementing use a middle tier for application logic. file stream data must use a data type of varbinary(max). Incorrect Answers: A: you should not store blobs in the database if the objects are larger than 1 mb and fast read access is important. B, c: you cannot use a varchar(max) data type to store a blob for file stream storage. Question: 22 You work as a database administrator at company.com. you are responsible for a Microsoft sql server 2008 server named -db01. -db01 contains two hard drives named drive b and drive c. both these drives have at least 50 gb of free space available. -db01 has one transaction log file and three data files that contain large indexes. you receive an instruction from the cio to optimize performance of the database. The data files as well as the transaction files is stored in currently stored on drive a. drive a also contains the system drive where -db01 is installed. due to budgetary constraints you are unable to add additional hard drives on -db01. what should you do? A. This can be accomplished by installing a new sql server instance on -db01. thereafter the database should be moved to the new sql server instance. B. This can be accomplished by placing the transaction log file on drive b and keeping the database files on the same location. C. This can be accomplished by moving the largest data file from drive a to drive b and leaving the remaining files in the same location. D. This can be accomplished by moving the files to drive b.

Page 13 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

Answer: B Explanation: When data is written on to a database, the transaction log file is the file that records this activity. in most sql server environments, the transaction log file is one of the most used files, as it keeps writing information based on the transactions that were either committed to the database or rolled back. as this file writes every change that occurs in the database, it needs more processing power than the data files. therefore, Microsoft recommends you have the transaction log on a separate drive. even the data files should be stored on separate drives. it is highly recommended that for better disk i/o usage, you should place data files and log files on different hard drives dedicated for these files. if you place all of them in the same hard drive, there is going to be a performance bottleneck. as a recommended practice, you should separate the database files and transaction log files on different disks, preferably disks attached to different disk controllers. as stated in the scenario, you have 2 gb space left in the drive that contains the data and log files. as a recommended practice, you should have data files and transaction log on separate drives to achieve better performance throughput of the database. Incorrect Answers: A: you should not install a new sql server instance on the computer and move the database to the new sql server instance. this change will not make any difference in the performance of the database in this scenario if the database files and the log files are not separated. installing a second sql server instance will actually slow performance because you will have two instances of sql server competing for resources on the same computer. C, D: you should not move the biggest data file to drive b and keep the remaining files in the same location on drive 0, or move all four files to drive b. as a recommended practice, you should move the transaction log file to a separate hard drive. Question: 23 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales which is accessed frequently by network users updating the tk_sales database records for online users. company. com wants you to monitor the transaction log activities being performed on -db01. what should you do? A. You should consider making use of the sql server: sql statistics object. B. You should consider making use of the sql server: workload group stats object. C. You should consider making use of the sql server: databases object. D. You should consider making use of the sql server: general statistics object. Answer: C Explanation: The sql server: databases object contains counters that help you monitor backup/restore throughput, transaction log activities, and bulk copy operations. there are a number of counters used for monitoring log-related activities. some of these counters are log bytes flushed/sec, log cache hit ratio, log cache reads/sec, log file(s) size (kb), log growths, and percent log used. you shouldnt use the sql server: general statistics object to monitor the transaction log activities. using this object, you can capture information on number of current connections to the sql server. Incorrect Answers: A, D: you can also view the number of users who either connect or disconnect with the sql server instance. however, this object cannot be used for monitoring transaction log activities. you should not use the sql server: sql statistics object to monitor the transaction log activities. this object
Page 14 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

contains counters used for monitoring the compilation and recompilations of user queries sent to an instance of sql server. however, this object cannot be used for monitoring the transaction log activities. B: you should not use the sql server: workload group stats object to monitor the transaction log activities. this object contains counters that monitor the performance of the resource governor workload group. however, this object cannot be used for monitoring the transaction log activities. Question: 24 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales which is used for an online application generating large volumes of transactions on a daily basis including update and insert operations. during the course of the day you receive instruction from company.com to make use of a number of indexes for update and insert operations whilst optimizing the indexing operations. company.com wants you to additionally locate the indexes which are most frequently used for performing the update and insert operations. what should you do? A. You should consider making use of the sys.dm_db_index_physical_stats view or function. B. You should consider making use of the sys.dm_db_index_operational_stats view or function. C. you should consider making use of the sys.dm_fts_index_population view or function. D. you should consider making use of the sys.dm_db_index_usage_stats view or function. Answer: D Explanation: The sys.dm_db_index_usage_stats dynamic management view allows you to track which index is most frequently used for update and insert operations. using this view, you can track when an index was last used. this view also tracks the type of indexes used for update and insert operations. every time an index is used for an operation such as an update, the counter of the index in the view is incremented by one. this view is also used for tracking unused indexes, which typically cause maintenance overhead. if you have a performance-related concern, you can use the database engine tuning advisor to recommend indexes for a single or multiple databases. the database engine tuning advisor can work with different types of indexes, such as clustered or no clustered, and to resolve unused or potential index issues. Incorrect Answers: A: the sys.dm_db_index_physical_stats function is a replacement of the dbcc show contig statement from the previous version of sql server. this function returns the defragmentation of indexes and data. the indexes and data can be part of a specific view or a table. this function will not be able to track indexes that are most frequently used for update and insert operations, and therefore should not be used. B: the sys.dm_db_index_operational_stats function can be used to obtain details of a partition of a table or about an index. this function will not be able to track indexes that are most frequently used for update and insert operations, and therefore should not be used. C: the sys.dm_fts_index_population view displays only the full-text indexes that are currently in use. any full-text index that is not currently being used is not displayed in this view. this view will not be able to track indexes that are most frequently used for update and insert operations, and therefore should not be used. Question: 25 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. during the course of the day you added four disk drives to-db01 which configuration are shown below:
Page 15 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

1. disk drive 1: 40 gb. system drive with sql server installed. 2. disk drive 2: 40 gb. system drive with sql server installed. 3. disk drive 3: 60 gb. formatted and with 35 gb free. 1. disk drive 4: 60 gb. formatted with 38 gb free. company.com plans on creating an additional database named tk_products which will have a primary data file and secondary data file with one transaction log file which is expected to have high utilization in the production environment. company.com wants you to optimize the performance of the database. what should you do? A. You should consider having the primary data files placed on drive 1 and the transaction log file on drive 2 with the secondary data file on drive 3. B. You should consider having the primary data files placed on drive 2 and the transaction log file on drive 3 with the secondary data file on drive 4. C. You should consider having the primary and secondary data files placed on drive 2 and the transaction log file on drive 3. D. You should consider having the primary and transaction log files placed on drive 2 and the secondary data file on drive 3. Answer: B Explanation: To meet the required goal, you should place the primary data files on drive2, the transaction log file on drive3, and the secondary data file on drive4. it is highly recommended that for better disk i/o usage, you place data files and log files on different hard drives dedicated to these files. if you place all of them on the same hard drive, there is going to be a performance bottleneck. as a recommended practice, you should separate database files and transaction log files on different disks, preferably disks attached to different disk controllers. as stated in the correct option, you are placing these files on different hard drives, which will provide the best performance throughput. you should avoid placing the data files and transaction log files on the same drive as the system drive. disk operations for sql server, such as reads and writes, will be competing with reads and writes for the operating system. you should group similar i/o characteristics on common spindles. sql server performance depends heavily on the i/o subsystem. you should not have the windows operating system and sql server overload a disk withi/o traffic. Incorrect Answers: A: you should not place the primary data files on drive l, the transaction log file on drive 2,and the secondary data file on drive 3. placing the primary data files on the drive that contains the windows operating system (drivel) will cause a performance bottleneck, and is not recommended by Microsoft. there will be high i/o usage of drivel, which will degrade database performance. also, in case of disk failure, both the windows operating system and the primary data files can be at risk if appropriate backup solutions are not in place. C: you should not place the primary and secondary data files on drive l and the transaction log file on drive 2. as a recommended practice, if possible, all data files and transaction logs should be kept on separate drives for better i/o usage of the hard drive. you get better throughput of the hard drive when there are fewer i/o operations. D: you should not place primary and transaction log files on drive l and the secondary data file on drive 2. as a recommended practice, if possible, all data files and transaction logs should be kept on separate drives for better i/o usage of the hard drive. you get better throughput of the hard drive when there are fewer i/o operations. Question: 26 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. during the course of
Page 16 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

the day you create a partitioned data fact table which is large requiring data to be stored across several disks. company.com is aware of the partitioning functions which horizontally split tables based on the value in a specific column. company.com wants you to implement a sliding window scenario switching partitions into and out of the table whilst archiving the oldest data to improve performance. what should you do? A. You should make use of the statement: alter partition function and merge range. B. You should make use of the statement: alter table and merge range. C. You should make use of the statement: alter partition function and split range. D. You should make use of the statement: alter table and split partition. Answer: A Explanation: The alter partition function statement can be used to merge or split a partition based on values. the following partition function creates partitions: create partition function autopartsrangepfl (int)as range left for values (1, 500, 1000);go the following function can merge the partitions between boundary values 1 and 500 and between boundary values 500 and 1000 to create a single partition between boundary values 1 and 1000:alter partition function autopartsrangepf1 ( )merge range (500); Incorrect Answers: C: you should not use alter partition function and split range. this would split one partition of a partitioned table into two partitions. in this scenario, you want to combine two partitions of a partitioned table into one partition. B, D: you cannot use the alter table statement with either split range or merge range, split range or merge range can only be used with the alter partition function statement. Question: 27 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 used to test applications and packages and -db02 with an instance that hosts a database named tk_sales. During the course of the day you receive instruction from company.com to move the maintenance and backup jobs from -db01 running sql server 2008 developer edition to -db02 running sql server 2008 enterprise edition. company.com is aware that the hardware of both servers is similar. what should you do? (choose two) A. You should consider making use of the sp_add_jobserver stored procedure to move the two jobs from -db01 to -db02. B. You should consider making use of the sp_add_jobstep stored procedure to move the two jobs from -db01 to -db02. C. You should consider having the msdb database on -db01 backed up and restore the backup on -db02. D. You should consider making use of a script job on the two jobs on -db01and run the scripts on -db02. etechsol. you should consider making use of the sp_add_job stored procedure to move the two jobs fr m -db01 to -db02. Answer: A, D Explanation: You should use script job as on the two jobs on -db01 and run the scripts on -db02. you can script a current job by using the sql server management studio (ssms). you can highlight the job and choose script job as. you can script the job to a file or to the query window for editing. once you
Page 17 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

have scripted the job, you can run the script to create the jobs on -db02.you can use sp_add job server to move the jobs from -db01 to -db02. this stored procedure can be used to assign a job to run on a different server. the job must exist on a source server. you must have a target server registered to assign a multiserver job to it. in this scenario, -db01 has the two jobs. you must register -db02 as the target server. The following code assigns the multiserver job backup job orders to -db02: use msdb; go exec dbo.sp_add_jobserver@job_name = n' backupjoborders ',@server name = n'-db02; go Incorrect Answers: B: you should not use sp_add job step to move the two jobs from -db01to -db02. this stored procedure is used to add a step to a multistep job. this stored procedure cannot be used to move or copy a job to another server. c: you should not back up the msdb database on -db01and restore it on -db02. the msdb database stores jobs, operators, alerts, and backup history. if you backup the msdb database from one server and restore it on another server, you will overwrite any jobs, operators or alerts that currently exist on the destination server. in this scenario, you only wanted to copy two jobs to sql1. you would not be able to restore the msdb database on -db02because -db01and -db02have different builds and different editions of sql server. you can only restore system databases on the same build and same edition of sql server. E: you should not use sp_addjob to move the two jobs from -db01to -db02. this stored procedure is used to create a job. this stored procedure cannot be used to move or copy a job to another server. Question: 28 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. during the course of the day you receive instruction fromcompany.com to create a full-text index in the database containing multiple tables. company.com wants to know the amount of full-text indexes will be created in the database. what should you do? (choose two) A. You would only be able to create multiple full-text indexes per table. B. You would only be able to create multiple full-text indexes per view created with the encryption option. C. You would only be able to create one full-text index per database. D. You would only be able to create one full-text index per view created with the encryption option. E. You would only be able to create multiple full-text indexes per view created with the schema binding option. F. You would only be able to create one full-text index per table. G. you would only be able to create one full-text index per view created with the schema binding option. Answer: F, G Explanation: For a full-text index, you must have a catalog in the database to store the full-text index. full-text indexes cannot be placed anywhere except in full-text catalogs. therefore, full-text catalogs must exist. only one full-text index can be created per table or indexed view. an indexed view can only be created if it the views created with the schehabinding option. a full-text catalog can hold multiple full-text indexes. it is highly recommended that tables and full-text indexes refer to the same full-text catalog. there can be multiple full-text indexes per database because a database can have multiple tables, and each table can have maximum of one full-text index. therefore, each database is capable of having as many full-text indexes as the number of tables it contains.
Page 18 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

Incorrect Answers: A, B, E: you cannot have multiple full-text indexes per view created with the encryption option. only an indexed view can have a full-text index. you can create an indexed view by using the schehabinding option, not the encryption option. the encryption option hides the source code of the view from being seen. C, D: there can be only one full-text index per table, one full-test index per indexed view, and multiple full-text indexes per database. Question: 29 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a number of databases. during the course of the day you receive instruction from company.com to increase the performance of the database containing several large tables. company.com wants you to make use of partitioning to improve the performance whilst also segregate old data from the existing queries to return faster results. company.com wants you to have the table split into multiple tables with fewer rows than parent table and equal number of columns spread across tables. what should you do? A. You should consider making use of hardware partitioning. B. You should consider making use of normalization partitioning. C. You should consider making use of horizontal partitioning. D. You should consider making use of vertical partitioning. Answer: C Explanation: You should use the horizontal partitioning method to improve database performance. this method allows you to divide a single large table into multiple smaller tables with fewer rows and an equal number of columns. horizontal partitioning allows you to reduce the table data depending on your requirements. for instance, if a table contains data from the last ten years, and you frequently access only the current year's data, you can horizontally partition the table into 12 tables. each table in this method would represent data for a specific year. database performance is enhanced because you are accessing only a specific year's data from an individual table when queries are executed. therefore, it provides quicker response time and enhanced data performance because less data is scanned. Incorrect Answers: A: you should not use hardware partitioning. this method uses hardware architecture to improve database performance. this method does not split the database tables to improve performance. two examples of hardware partitioning are multiprocessors, which execute multiple threads, and raid devices, which stripe data across multiple disks that are part of the raid array. B: you should not use normalization. this method is an example of vertical partitioning. normalization is used to remove redundant columns from a table. the removed columns are moved to secondary tables. the secondary tables must be linked with the table fromwhich you are removing redundant columns. D: you should not use vertical partitioning. in vertical partitioning, there are more rows anda reduced number of columns across tables. in this method, the number of columns is reduced across the tables when a table is split. this method also improves database performance, but as stated in the scenario, there should be fewer rows in the tables with an equal number of columns across tables. this method does not achieve this goal.

Page 19 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

Question: 30 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. the tk_sales database currently has more than 11 million rows and twenty columns. during the course of the day you receive instruction from company.com to replicate the data to several subscribers. company.com wants you to have the data partitioned horizontally for a transformable subscription and know what the results will be when the subscription is received during replication. what would the result be? A. The current subscription would result in the table having fewer rows and the columns unchanged. B. The current subscription would result in the table having the columns and rows unchanged. C. The current subscription would result in the table having the rows unchanged and fewer columns. D. The current subscription would result in the table having fewer columns and rows. Answer: A Explanation: When you apply horizontal partitioning on a table that contains a large number of rows, you will be able to split the table into fewer rows and the same number of columns. with horizontal partitioning, the number of rows is split across multiple tables but the number of columns remains the same. you gain a performance benefit because you will have fewer rows to work with. Horizontal partitioning allows you to split the rows across multiple tables depending on your needs. as an example, you can split the table into four different tables where each table represents data for a specific quarter for the year. however, in this type of partitioning, the number of columns always remains the same across multiple tables. in vertical partitioning, you will have the same number of rows but fewer columns. In vertical partitioning, the columns are divided amongst multiple tables with the same number of rows. vertical partitioning can be of two types: normalization and row splitting. in normalization, redundant columns are removed from the primary table and moved into secondary tables. the redundant columns are then linked with the primary table using primary or foreign key. in row splitting, fewer columns are retained, which means that each row contains a portion of the logical row in the partitioned table. Question: 31 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. during the course of the day you receive instruction from company.com to fine tune -db01 by reducing the size of the backup logs and logs appended with every successful backup operation whilst avoiding entry in the error log when a successful backup is performed. what should you do? A. You should consider making use of the 3226 flag. B. You should consider making use of the 3625 flag. C. You should consider making use of the 1204 flag. D. You should consider making use of the 1222 flag. Answer: A Explanation:

Page 20 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

To meet the required goal in the scenario, you should set the trace flag3226. when you add this flag, it has the following effects: successful backup entries are not added to the sql server error logs. entries are prohibited from being logged in the system event log. only failed backup event entries are logged. no successful backup entries are logged. you should ensure that no script is dependent on any successful backup entries that are logged either in the error log or in the system event log. a trace flag can be either specific to a session or a global trace flag. a trace flag can be switched on or off by using the dbcc trace on and dbcc traceoff commands. Incorrect Answers: B: you should not set the trace flag 3625. this trace flag reduces the amount of information that is returned in an error message. C, D: you should not set the 1204 or 1222 trace flags. the only difference between the two is that the 1222 trace flag returns the output in an xml format, but the 1204 does not. thexml generated by the 1222 trace flag contains the information on the resources and types of locks in a deadlock. both trace flags also return the current command that is affected by the deadlock. Question: 32 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. the hardware configuration of -db01 is shown below: 1. -db01 has 64-gb of ram. 2. -db01 has four quad-core processors. 3. -db01 has several independent raid volumes. company.com wants you to implement a transactional database on -db01 which is expected to have high volumes of insert, update and delete activities. company.comwants you to optimize the performance of the database by maximizing bandwidth reducing the connection in the storage allocation structure. what should you do? A. You should consider having the affinity mask option appropriately configured. B. You should consider having the affinity i/o mask option appropriately configured. C. You should consider having multiple data files created for the database. D. You should consider having the database and log files placed on the same volume. Answer: C Question: 33 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. during the course of the day you receive instruction from company.com to deploy a new database to -db01 which will frequently be subjected to inserts and updates. company.com is aware that the database will have multiple schemas with one schema containing a large amount of read-only reference data. company.com wants you to design the physical database structure for optimal backup performance. what should you do? A. You should consider having the database created using a single log file and multiple file groups. B. You should consider having the database created using a single log file and a filegroupthat has multiple data files. C. You should consider having the database created using a single data file and a single log file. D. You should consider having the database created using a single data file and multiple log files. Answer: A
Page 21 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

Question: 34 You work as a database administrator at company.com. you are responsible for administering a sql server 2008 instance. at present the instance makes use of a32-bit version on a windows server 2008 64-bit server. the awe enabled option is enabled. you expect the instance to experience an increase in the query activities. you need to establish the best time to migrate the databases to a 64-bit sql server 2008 server on the same hardware. to achieve this you need to determine the data collector type that will supply you with the necessary data. what should you identify? A. You should consider using the performance counters collector. B. You should consider using the t-sql query collector. C. You should consider using the sql trace collector. D. You should consider using the query activity collector. Answer: A Question: 35 Company.com has hired you as a database administrator for their network. company.com currently makes use of a Microsoft sql server 2008 server named -db01 that contains a number of databases. during routine monitoring you discovered an increase in the amount of queries. you check and discover that the performance of -db01 has degraded. to ensure that a high level of productivity is maintained you decide to install an additional sql server 2008 server on the network. after the installation you will move a number of databases from -db01 to the new server. you should also ensure that compression is enabled in the new server. you need to determine the appropriate sql version that should be installed on the new server. what should you do? (choose all that apply.) A. You should consider installing sql server 2008 standard edition. B. You should consider installing sql server 2008 developer edition. C. You should consider installing sql server 2008 enterprise edition. D. You should consider installing sql server 2008 express edition. Answer: B, C Explanation: Sql server 2008 supports compression at row-level and page-level for both tables and indexes. you can use the create table and create index statements to create compressed tables and indexes. to modify the compression state of an existing table, index, or partition, you can use the alter table or alter index statements. however, configuring row and page compression can affect the performance of your sever. when you configure row and page compression, cpu utilization is increased, while i/o utilization and memory utilization are decreased. Incorrect Answers: A, D: you cannot install sql server 2008 express edition or sql server 2008 standard edition because these editions of sql server 2008 do not support compression. Question: 36 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2005 (32-bit) express for hosting databases. You are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. during the course of the day you receive instruction from company.com to upgrade db01 to Microsoft sql server 2008. company.com wants to know which sql server 2008 edition db01 can be upgraded to from sql server 2005 (32-bit) express?
Page 22 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

A. You would be able to upgrade to sql server 2008 enterprise B. You would be able to upgrade to sql server 2008 standard C. You would be able to upgrade to sql server 2008 workgroup D. You would be able to upgrade to sql server 2008 express advanced E. You would be able to upgrade to sql server 2008 express Answer: C, D, E Explanation: These are the only editions of sql server on the supported upgrade path from sql server 2005 (32bit) express. you cannot upgrade sql server 2005 to sql server 2008 standard, enterprise, or workgroup. if you want to use a version other than sql server 2008 express or sql server 2008 express advanced, you will have to perform a clean installation, and not an upgrade. you can upgrade a server runnings server 2005 (32-bit) standard edition to sql server 2008 standard edition. you can upgrade a server running sql server 2005 (32-bit) enterprise edition to sql server 2008 enterprise edition. Question: 37 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2008 64-bit for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. during the course of the day you receive instruction from company.com to migrate a database from a 32-bit version of sqlserver 2005 to -db01 using sql server 2008 64-bit. you have successfully detached and reattached the databases from sql server 2005 to sql server 2008. company.com wants you to ensure that the database will be successfully migrated. what should you do? A. You should awe enabled option set to 1 on -db01. B. You should consider recreating logins and user objects in the system databases. C. You should ensure that the databases are published in replication on sql server 2005. D. You should consider having the show advanced options set to 1 on -db01. Answer: B Explanation: In this case, you will also need to recreate any existing logins in the three system databases: master, msdb, and model. to be able to migrate databases from a 32-bit version of sql server to a 64-bit version of sql server, you need to ensure that the databases are not published in the replication on sql server 2005, and you need to detach the databases from the 32-bit version. after they are detached, these databases must be attached to the 64-bit sql server. it is also mandatory to re-create the user logins and user objects in the system databases: master, msdb, and model. Incorrect Answers: A: you should not set the awe enabled option to 1. you cannot configure awe support on a64-bit platform. awe is designed for and supported only on 32bit versions of windows2000 server and windows server 2003. with the help of awe, you can allow sql server to access the physical memory above the limit that is configured on the virtual memory. awe works differently both on windows 2000 server and windows server 2003. in windows 2000 server, awe support can only be activated when there is more physical memory than virtual memory, after which it locks the amount of memory specified in max server memory. if max server memory limit is more than the physical memory, all memory except 128 mb is locked. in windows server 2003, sql server allows dynamic allocation of awe mapped memory. awe mapped memory can be taken or returned to the operating system as and when required by sql server
Page 23 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

C: you should not ensure that the databases were published in replication on sql server2005. the databases from a 32-bit version of sql server cannot be restored to a 64-bit version of sql server 2008 if they are published in the replication. the databases first must be detached from the source sql server and then reattached to the 64-bit sql server. however, you must ensure that the databases are not published in replication. if they are published, you will not be able to migrate them to the 64-bit sql server. D: you should not set the show advanced options to 1. this option would be used when you are enabling awe support on a 32-bit system, but it should not be enabled on a64-bit system, which is the target of the migration in this scenario. you would also enable this option when using parallelism, which is not the case in this scenario. Question: 38 You work as a database administrator at company.com. company.com currently makes use of Microsoft sql server 2005 for hosting databases. you are responsible for administering a database server named -db01 with an instance that hosts a database named tk_sales. during the course of the day you receive instruction from company.com to install sql server 2008 standard edition on a new server running windows server 2003 64-bit. company.com wants you to migrate the existing databases from -db01 to the new server. company.com wants to know which facts below are true about migrating databases to sql server 2008 on a 64-bit computer? A. The migration of this type will need to have Microsoft windows address windowing extensions (awe) api support enabled on the 64-bit platform to take advantage of existing memory. B. The migration of this type would require you to enable the /3gb parameter in the boot.ini file. C. The migration of this type would be done to the windows on windows (wow64) 32-bit subsystem D. The migration of this type would have you being able to restore database to a 64-bit version of sql server 2008 if published in the replication. Answer: C Explanation: With wow64, 32-bit processes run as if they are running on the 32-bit system, not a 64-bit system. the operating system holds a directory named syswow64under the windows directory. this directory holds the 32-bit files that enable a 32-bit application to run on a 64-bit system. in this scenario, you will be able to successfully migrate 32-bit sql server databases to the 32-bit sql server on a 64-bitsystem because they will be installed to the wow64 32-bit subsystem. Incorrect Answers: A: you cannot configure Microsoft windows address windowing extensions (awe) passport on a 64-bit platform. awe is supported only on the 32-bit versions of windows 2000 server and windows server 2003. with the help of awe, you can allow sql server to access physical memory above the limit configured on the virtual memory. awe works differently on windows 2000 server and windows server 2003. in windows 2000 server, awe support can only be activated when there is more physical memory than virtual memory, after which it locks the amount of memory specified in max server memory. If the max server memory limit is more than the physical memory, then all memory except 128 mb is locked. in windows server 2003, sql server allows the dynamic allocation of awe mapped memory. awe mapped memory can be taken from or returned to the operating system as required by sql server. B: you will not need to enable the /3gb parameter in the boot.ini file. if you have 4 gb of memory in a system, then by default 2 gb each are split between the operating system and the installed applications. you can reduce the amount of memory assigned to the operating system and allocate more memory by using the /3gb parameter in the boot.ini file. however, this parameter does not affect the migration of databases.

Page 24 of 144

Exam Name: Exam Type: Exam Code:

Pro: Designing, Optimizing And Maintaining A Database Administrative Solution Using Microsoft SQL Server 2008 Microsoft 70-450 Total Question 214

D: the databases from a 32-bit computer running sql server 2008 cannot be restored to a 64-bit computer running sql server 2008 if they are published in the replication. The databases first must be detached from the source sql server and then reattached to the 64-bit sql server. however, you must ensure that the databases are not published in replication. if they are published, you will not be able to migrate them to the 64-bit sql server. in this case, you will also need to recreate any existing logins in the system databases: master, msdb, and model. Question: 39 You work as a database administrator at company.com. company.com domain is named company.com and currently makes use of Microsoft sql server 2008 and Microsoft sql server 2005 for hosting databases. you are responsible for administering the company's database servers. the sql server configuration for the database servers in the company.com domain are shown in the exhibit below:

company.com recently partnered with weyland industries which has their own active directory domain named weyland.com. all servers at weyland industries are running windows server 2003. the weyland.com domain runs a mix of Microsoft sql server 2005 and Microsoft sql server 2008 database servers. company.com wants you to ensure that all weyland.com clients are able to make use of Kerberos authentication when accessing database servers in the company.com domain. what should you do? A. You should consider having the named pipes protocol disabled on the database servers in the company.com domain. B. You should consider having the via protocol enabled on the database servers in the company.com domain. C. You should consider creating a trust relationship between the weyland.com domain and the company.com domain. D. You should consider having the service principal name (spn) deactivated for the database servers in the weyland.com domain. Answer: C Explanation: The weyland.com domain is in a separate forest from company.com. for Kerberos authentication to work between domains in separate forests, a trust must exist between the two domains. the use of Kerberos authentication with sql server requires a service principal name (spn) registered with active directory, and a client and server that are in the same domain or have a trust relationship between different domains. the spn maps to the windows account associated with the sql server instance. Incorrect Answers:

Page 25 of 144

S-ar putea să vă placă și