ManagingHighAvailability•Chapter6 237 C. High Safety D. High Safety with automatic failover 5. You are setting up your deployment scripts to create your database mirroring endpoints on your production SQL Server. Each server has a single instance on it. Which script will correctly create the database mirroring endpoint? A. CREATE ENDPOINT MyEndpoint STATE = STARTED AS HTTP (PATH=/sql/MyEndpoint, AUTHENTICATION=BASIC) FOR DATABASE_MIRRORING; B. CREATE ENDPOINT MyEndpoint STATE = STARTED AS TCP (LISTENER_PORT=5022) FOR DATABASE_MIRRORING; C. CREATE DATABASE_MIRRORING ENDPOINT MyEndpoint STATE=STARTED AS TCP (LISTENER PORT=5022); D. CREATE ENDPOINT MyEndpoint STATE = STARTED AS TCP (LISTENER PORT=1433) FOR DATABASE_MIRRORING; 6. You are designing your high-availability solution. Because of the importance of the database system you are required to have more than one independent backup server running at all times. Which high-availability solution fits these requirements? A. Database mirroring B. Log shipping C. Clustering D. Replication 7. You have installed SQL Server 2008 in a clustered environment. You are installing SSIS on the SQL Server. You have installed SQL Server 2008 as a named instance and need to tell SSIS that it needs to connect to the named instance. What file should you edit? 238 Chapter6•ManagingHighAvailability A. C:\Program Files\Microsoft SQL Server\100\DTS\Binn\msdtssrvr.exe. config B. C:\Program Files\Microsoft SQL Server\100\DTS\Binn\MsDtsConfig. ini.xml C. C:\Program Files\Microsoft SQL Server\100\DTS\Binn\DTExec.exe. config D. C:\Program Files\Microsoft SQL Server\100\DTS\Binn\MsDtsConfig. ini.config 8. You are selecting your high-availability solution for your production environment. You have a single data center that houses all your servers. Which high-availability solution requires administrative overhead after the initial setup is complete? A. Database mirroring B. Replication C. Clustering D. Log shipping 9. You are considering the licensing costs for your new high-availability solution. You will be using the Standard Edition of Microsoft SQL Server. Which solution has the lowest licensing costs? A. Database mirroring B. Replication C. Clustering D. Log shipping 10. You need to upgrade the CPUs in your SQL Server. You want to add new CPUs without taking the system offline. Your hardware supports this feature. What operating system or systems support this feature? A. Web Edition B. Standard Edition C. Enterprise Edition D. Data center Edition ManagingHighAvailability•Chapter6 239 11. You need to upgrade the RAM in your SQL Server. You want to add more RAM without taking the system offline. Your hardware supports this feature. What operating system or systems support this feature? A. Web Edition B. Standard Edition C. Enterprise Edition D. Data center Edition 12. When you are setting up your clients to connect to a clustered SQL Server database, to which host name should they be connecting? A. The host name of the node that is actively running the SQL Service B. The host name of the node that is not actively running the SQL Service C. The host name that was used when setting up the Windows Cluster D. The host name that was used when installing SQL Server 13. You are using merge replication to make your user authentication database highly available. The database has a single table that is shown in Example A. The replication has been running for several months without issue. Your replication has begun failing, giving a unique index violation. What should you do to correct the problem? Your business processes require that each username remain unique within the system, and that users use their e-mail address for their username. Example A: Merge Replication CREATE TABLE Authentication (UserId INT PRIMARY KEY IDENTITY(1,1), UserName NVARCHAR(255), Password NVARCHAR(100), Active BIT) GO CREATE UNIQUE INDEX IX_Authentication_UserName ON dbo.Authentication (UserName) INCLUDE (Password, UserId, Active) WITH (FILLFACTOR=60) GO 240 Chapter6•ManagingHighAvailability A. Mark the subscriber for reinitialization, and run the snapshot agent. B. Identify the rows that are causing the violation and delete both rows from the servers. C. Identify the rows that are causing the violation, then identify which UserId is being used by the customer within the rest of your business processes, then modify the UserName value of the invalid row to a different value. D. Delete the subscriber and re-create the subscription. 14. You are administrating a SQL Server cluster that is running three instances of Microsoft SQL Sever 2008. Each instance uses SQL Service Broker to send messages to other instances both on the cluster and on other machines in the Enterprise. After patching and rebooting the host machines you see that one of the instances is not getting its service broker messages. One of the instances is using TCP port 1433, and the other two are using dynamic port numbers. The server that is not receiving SQL Service broker messages is using a dynamic TCP port number. You examine the SQL Server ERRORLOG and find the following relevant messages: 2008-11-05 23:14:23.64 Server Server is listening on [ 'any' <ipv6> 49237]. 2008-11-05 23:14:23.64 Server Server is listening on [ 'any' <ipv4> 49237]. 2008-11-05 23:14:23.64 Server Server is listening on [ ::1 <ipv6> 49551]. 2008-11-05 23:14:23.65 Server Server is listening on [ 127.0.0.1 <ipv4> 49551]. You know that the SQL Service Broker Endpoint is configured on port 5200. How should you resolve this issue with the least impact to the users of the databases hosted by this instance? A. Move one or more instances to the other node, then restart this instance so that the endpoint can take the TCP port number it has been assigned. B. Change the port number of the ENDPOINT to a free TCP port number that is not configured for use by the other instances by using the ALTER ENDPOINT command, changing the state from stopped to started at the same time. Reconfigure the routes on the machines that send SQL Service Broker messages to this server to use the new TCP port number. C. Restart the problem instance hoping that it gets access to its port number. D. Use the Cluster Administrator to move the problem instance to its own node so that the service can gain access to the port number in question. ManagingHighAvailability•Chapter6 241 15. You have installed SQL Server 2008 in an Active Passive environment running on the servers SQL01A and SQL01B. You have several SSIS packages within your database environment. You have installed SQL Server as the default instance using the default configuration on your cluster using the name SQL01V01 as the clustered resource name. When your SQL Server’s Resource Group is running on SQL01B the SSIS packages work without error. When your SQL Server’s Resource Group is running on SQL01A the SSIS packages fail to start. All the SSIS packages are run from SQL Agent Jobs. How should you correct this problem? A. Fail the SQL Server back to SQL01B and always run the SQL Server on that node. B. Reconfigure the SQL Agent Jobs that run the SSIS jobs to use SQL01B as the SSIS repository instead of SQL01V01. C. Install the SQL Server Integration Services service on the SQL01A and apply the same patches and hotfixes that are in use by the SQL Server service. D. Configure another SQL Server to be the SSIS repository instead of SQL01V01. 16. You are installing a new SQL Server that will be used to store the WEBLOGS from your IIS WEB FARM. The database will be 99% write, and 1% read. Data will be read from the system only in the event of a system problem or legal investigation. You need to store the data on the most efficient solution possible, while providing redundancy, so that writes to the database are not slowed down. What RAID level should you use? A. RAID 0 B. RAID 5 C. RAID 6 D. RAID 10 17. You are administrating a clustered SQL Server solution in a shared storage environment. You are seeing disk performance problems weekly on Saturday nights. You VPN in on Saturday night in order to attempt to troubleshoot the problem. You see nothing out of the ordinary on the SQL Server except that the SQL Server is reporting that the hard drives are not responding quickly enough. You open performance monitor and see that the disk queues are less . Services service on the SQL0 1A and apply the same patches and hotfixes that are in use by the SQL Server service. D. Configure another SQL Server to be the SSIS repository instead of SQL0 1V01. 16 always run the SQL Server on that node. B. Reconfigure the SQL Agent Jobs that run the SSIS jobs to use SQL0 1B as the SSIS repository instead of SQL0 1V01. C. Install the SQL Server Integration. on SQL0 1A the SSIS packages fail to start. All the SSIS packages are run from SQL Agent Jobs. How should you correct this problem? A. Fail the SQL Server back to SQL0 1B and always run the SQL