You administer a SQL Server 2008 instance that hosts a large database. The following backup strategy is used for the database: A full database backup is performed at 02:00 hr every Monday. A differential backup is performed at 23:00 hr every day. A transaction log backup is performed on an hourly basis. A power failure on Thursday causes the SQL Server 2008 server to restart at 09:15 hr. Fifteen minutes after the server restarts, the users report that they are unable to execute certain queries that access customer data. You discover that the customer data is unmodified after the power failure. When you execute the DBCC CHECKDB command on the database, you receive the following error message:
Object ID 2814307832, index ID 2, partition ID 83127819437122157, alloc unit ID 82134587923221126 (type In-row data): Page (3421:169) could not be processed. See other errors for d etails. Table error: Object ID 2814307832, index ID 2, partition ID 83127819437122157, alloc unit ID 82134587923221126 (type In-row data), page (3421:169). Test (IS_OFF (BUF_IOERR, pBUF- > bstat)) failed. Values are 16928422 and -8. CHECKDB found 0 allocatio n errors and 2 consistency errors in table ‘tbl_Customer’ (object ID 2814307832).
When you execute the sp_help ‘tbl_customer’ stored procedure you receive the following result set:
index_name index_description PK clustered located on PRIMARY NCIX nonclustered located on PRIMARY
You need to ensure that the data is available as quickly as possible with minimal effect on users. What should you do?
A. Drop and recreate the PK index.
B. Drop and recreate the NCIX index.
C. Restore the latest full database backup. Restore all transaction log backups from the latest full database backup.
D. Restore the latest full database backup. Restore the latest differential backup. Restore all transaction log backups from the latest differential backup.
You administer a SQL Server 2008 instance that hosts a database solution in a production environment. The database solution uses several SQL Server Agent jobs to periodically transfer data from heterogeneous data sources to the production environment. You also have a separate development environment that is used by several development teams. You design a test recovery plan for the database. You plan to test the recovery plan by performing the following tasks:
* Restoring the database on a separate SQL Server 2008 instance in a development environment
* Running a number of unit tests.
You need to ensure that all database dependencies are included in the recovery plan. Which two objects should you transfer from the production environment to the development environment? (Each correct answer presents part of the solution. Choose two.)
A. msdb database
B. Login accounts
C. master database
D. SQL Server Agent jobs
E. Custom error messages
You administer a SQL Server 2008 infrastructure . You design a corporate backup and recovery strategy that has to be validated. You need to ensure the successful recovery of any single database from a catastrophic failure without requiring a backup data center in a different location. Which three tasks should you include? (Each correct answer presents part of the solution. Choose three.)
A. Store all backup media offsite.
B. Script SQL login accounts and credentials.
C. Install all SQL Server instances on a failover cluster.
D. Maintain one list of all Windows logins and passwords.
E. Document the administrative processes and application access requirements.
You administer a SQL Server 2008 infrastructure. Your company requires capacity planning information. You need to design a long-term infrastructure monitoring strategy. Which two tasks should you include in your design? (Each correct answer presents part of the solution. Choose two.)
A. Backup all databases every day.
B. Clear the system log and the application log every hour.
C. Review system monitor counters on a regular basis.
D. Baseline the system before you deploy production databases.
E. Create a maintenance plan that rebuilds indexes every week.
You administer a SQL Server 2008 instance. Customers report server performance degradation because of a newly implemented process. You use Dynamic Management Views to verify that there are no long running queries. You need to correlate the operating system performance data with the actual query execution trace by using minimum administrative effort. What should you do?
A. Use Data Collector.
B. Use the SQLdiag.exe utility.
C. Use SQL Server Profiler and System Monitor.
D. Use SQL Server Profiler and the tracerpt.exe utility.
You administer a SQL Server 2008 instance. The instance is using a 32-bit version on a Windows Server 2008 64-bit server. The awe enabled option is enabled. The instance will experience a predictable increase in query activity. You plan to ascertain the appropriate time when the migration of the databases to a 64-bit SQL Server 2008 server on the same hardware is beneficial. You need to identify a data collector type that provides the appropriate information. Which collector should you use?
A. SQL Trace collector
B. T-SQL Query collector
C. Query Activity collector
D. Performance Counters collector
You administer a SQL Server 2008 infrastructure. You discover that an instance experiences performance degradation for the following reasons:
* Excessive CPU usage
* Server processes paging
You need to design a monitoring solution that can provide data, including detailed deadlock information, to monitor and troubleshoot performance issues. You want to achieve this goal by using the minimum amount of administrative effort. What tool should you use?
A. Extended Events
B. Resource Governor
C. Database Engine Tuning Advisor
D. Performance Monitor (SYSMON)
You administer a SQL Server 2008 instance. You plan to design a monitoring solution for the instance to monitor object usage statistics. The solution must identify a list of first 10 objects for each of the following components:
* Most frequently executed stored procedures and functions
* Long running Transact-SQL statements
You need to implement the monitoring solution to minimize performance effect by using the least amount of administrative effort. What should you do?
A. Use dynamic management views.
B. Use a System Monitor counter log.
C. Use a client-side SQL Server Profiler trace.
D. Use a server-side SQL Server Profiler trace.
You administer a SQL Server 2008 infrastructure. A financial application uses several instances across multiple servers. The majority of queries require distributed transactions across all servers. The application administrator reports that the application experiences excessive deadlocks. You need to design a data collector type that provides the appropriate information for remote servers. What collector should you use?
A. T-SQL Query collector
B. Query Activity collector
C. Performance Counters collector
D. A custom Query collector that uses WMI
You administer a SQL Server 2008 infrastructure. The instance contains a database required for the day-to-day business of your company. Users experience slow response time when they execute reports. You plan to design a performance monitoring strategy that captures and stores the following data:
* Executed Transact-SQL statements and query activity.
* Blocking and deadlock information.
* Counters for disk, CPU, and memory.
You need to implement the monitoring process by using the minimum amount of administrative effort. What should you do?
A. Use the data collector
B. Use the client-side profiler trace.
C. Use the dynamic management views.
D. Use the System Monitor counter log trace.
You administer a SQL Server 2008 infrastructure. You plan to design a maintenance strategy for a mission-critical database that includes a large table named Orders. The design plan includes index maintenance operations. You must design the strategy after considering the following facts:
* The Orders table in the database is constantly accessed.
* New rows are frequently added to the Orders table.
* The average fragmentation for the clustered index of the Orders table is less than 2 percent.
* The Orders table includes a column of the xml data type.
You need to implement the strategy so that the performance of the queries on the table is optimized. What should you do?
A. Drop the clustered index of the Orders table.
B. Rebuild the clustered index of the Orders table offline once a month.
C. Reorganize the clustered index of the Orders table by decreasing the fill factor.
D. Exclude the clustered index of the Orders table from scheduled reorganizing or rebuilding operations.
You administer a SQL Server 2008 infrastructure. An instance contains a database that includes a large table named OrderDetails. The application queries only execute DML statements on the last three months data. Administrative audits are conducted monthly on data older than three months. You discover the following performance problems in the database. The performance of the application queries against the OrderDetail table is poor. The maintenance tasks against the database, including index defragmentation, take a long time. You need to resolve the performance problems without affecting the server performance. What should you do?
A. Create a database snapshot for the OrderDetails table every three months. Modify the queries to use the current snapshot.
B. Create an additional table named OrderDetailsHistory for data older than three months. Partition the OrderDetails and OrderDetailsHistory tables in two parts by using the OrderDatecolumn. Create a SQL Server Agent job that runs every month and uses the ALTER TABLE…SWITCH Transact-SQL statement to move data that is older than three months to the OrderDetailsHistory table.
C. Create an additional table named OrderDetailsHistory for data older than three months. Create a SQL Server Agent job that runs the following Transact-SQL statement every month. INSERT INTO OrderDetailsHistory SELECT * FROM OrderDetails WHERE DATEDIFF( m,OrderDate,GETDATE ()) > 3
D. Create an additional table named OrderDetailsHistory for data older than three months. Use the following Transact-SQL statement. CREATE TRIGGER trgMoveData ON OrderDetails AFTER INSERT AS INSERT INTO OrderDetailsHistory SELECT * FROM OrderDetails WHERE DATEDIFF( m,OrderDate,GETDATE ()) > 3
You administer a SQL Server 2008 infrastructure. Humongous Insurance has 20 branch offices that store customer data in SQL Server 2008 databases. Customer data that is stored across multiple database instances has to be security compliant. You plan to design a strategy for custom policies by using the Policy-Based Management feature. Custom policies are in XML format. The strategy must meet the following requirements:
* Custom policies are distributed to all instances.
* The policies are enforced on all instances.
You need to implement the strategy by using the least amount of administrative effort. What should you do?
A. Use a configuration server.
B. Use the Distributed File System Replication service.
C. Distribute the policies by using Group Policy Objects.
D. Distribute the policies by using the Active Directory directory service
You administer a SQL Server 2008 infrastructure. Developers in your company have rights to author policies. A test server is used to develop and test the policies. The Policy-Based Management feature generates SQL Server Agent alerts when a policy is violated. The developers are able to create and modify policies, but are unable to test policy violation alerts. You need to grant the necessary permission to the developers to test the policies. You also need to comply with the least privilege principle when you grant the permission. What should you do?
A. Add the developers to the sysadmin server role.
B. Grant the ALTER TRACE permission to the developers.
C. Add the developers to the PolicyAdministratorRole role in the MSDB database.
D. Grant the EXECUTE permission on the sys.sp_syspolicy_execute_policy stored procedure to the developers.
You administer a SQL Server 2008 infrastructure. You plan to design a solution to obtain hardware configurations, such as the number of processors on a computer and the processor type of all SQL Server 2008 computers. The solution must meet the following requirements:
* It is hosted on the central computer.
* It can verify hardware configurations for multiple servers.
You need to select a technology that meets the requirements by using the minimum amount of development effort. What should you do?
A. Use the Invoke-Sqlcmd cmdlet in SQL Server PowerShell cmdlet.
B. Define policies based on conditions by using the ExecuteSql function.
C. Define policies based on conditions by using the ExecuteWQL function.
D. Use the Windows Management Instrumentation (WMI) provider for the server events.
You administer a SQL Server 2008 instance for your company. Your company has a team of database administrators. A team of application developers create SQL Server 2008 Integration Services (SSIS) packages on the test server in a shared project. One of the packages requires a fixed cache file. On completion of development, the packages will be deployed to the production server. Only the database administrators can access the production server. You need to ensure that the application developers can deploy the project successfully to the production server. What should you do?
A. Use the Import and Export Wizard to save packages.
B. Create a deployment utility for the SSIS project.
C. Create a direct package configuration for each package.
D. Create an indirect package configuration for all packages.
You administer a SQL Server 2008 infrastructure. You plan to design an infrastructure for a new application. The application has the following requirements:
* Users can connect to an instance named SQLSERVER1.
* SQLSERVER1 is linked to a server named SQLSERVER2.
* SQLSERVER1 and SQLSERVER2 run on different computers.
* The SQL Server instances use only Windows authentication.
You need to configure the infrastructure to ensure that the distributed queries are executed in the Windows security context of the login. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Configure all servers to use the Shared Memory network protocol.
B. Register a server principal name (SPN) for SQLSERVER1 and SQLSERVER2.
C. Use the local computer account as a service account for SQLSERVER1 and SQLSERVER2.
D. Create a map for each SQL login from SQLSERVER1 to SQLSERVER2 and use the impersonate option.
E. Ensure that the two instances use the same Windows account for the Microsoft SQL Service. Create the link so that each account uses the current security context.
You administer two SQL Server 2008 instances named Instance1 and Instance2. Instance1 contains the Sales database, and Instance2 contains the Accounts database. A procedure in the Sales database starts a transaction. The procedure then updates the Sales.dbo. Order table and the Accounts.dbo.OrderHistory table through a linked server. You need to ensure that the transaction uses a two-phase commit. What should you do?
A. Configure the linked server to use distributed transactions.
B. Configure a Service Broker to enable the appropriate transaction control.
C. Ensure that the linked server is appropriately configured for delegation.
D. Ensure that the linked server is appropriately configured for impersonation.
You administer a SQL Server 2008 instance named Instance1 at the New York central site. Your company has a sales team to fulfill purchase orders for customer requests. The sales team uses portable computers to update data frequently in a local database. When the portable computers connect to the central site, the local database must be synchronized with a database named Sales. You plan to create a replication model to replicate the local database to the Sales database. The replication model must meet the following requirements:
* Data conflicts are handled when multiple users update the same data independently.
* The sales team cannot update sensitive data such as product price.
* The sales team can synchronize data at scheduled times and on demand also.
You need to identify the best model to replicate data by using minimum development efforts. What should you do?
A. Use merge replication along with each portable computer that is set up as a subscriber.
B. Use snapshot replication along with each portable computer that is set up as a subscriber.
C. Use transactional replication along with each portable computer that is set up as a publisher.
D. Use SQL Server Integration Services (SSIS) to push data changes and pull updates to the Sales database along with the SSIS packages, on demand.
You are planning to upgrade a database application that uses merge replication. The table currently has a column type of UNIQUEIDENTIFIER and has a DEFAULT constratin that uses the NEWID() function. A new version of the application requires that the FILESTREAM datatype be added to a table in the database. The data type will be used to store binary files. Some of the files will be larger than 2 GB in size. While testing the upgrade, you discover that replication fails on the articles that contain the FILESTREAM data. You find out that the failure occurs when a file object is larger than 2 GB. You need to ensure that merge replication will continue to function after the upgrade. You also need to ensure that replication occurs without errors and has the best performance. What should you do? (More than one answer choice may achieve the goal. Select the BEST answer.)
A. Drop and recreate the table that will use the FILESTREAM data type.
B. Change the DEFAULT constraint to use the NEWSEQUENTIALID() function.
C. Place the table that will contain the FILESTREAM data type on a separate filegroup.
D. Use the sp_changemergearticle stored procedure and set the @stream_blob_columns option to true for the table that will use the FILESTREAM data type.
Download New Free Passleader 70-450 Sample Questions Help You Pass Exam