Đáp Án Trắc Nghiệm Môn Quản Trị Hệ Thống Cơ Sở Dữ Liệu BDA 70 432

41 1.1K 0
Đáp Án Trắc Nghiệm Môn Quản Trị Hệ Thống Cơ Sở Dữ Liệu  BDA 70  432

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

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Trắc nghiệm quản trị hệ thống cơ sở dữ liệu DBA 109 câu trả lời đáp án đúng dấu X Đáp Án Trắc Nghiệm Môn Quản Trị Hệ Thống Cơ Sở Dữ Liệu BDA 70 432 Đáp án trắc nghiệm DBA phần 70 432, hỗ trợ môn quản trị hệ thống cơ sở dữ liệu

Question 1: You work as a database administrator at 2hi Co., Ltd It is planning to migrate a SQL Server 2000 application to SQL Server 2008 R2 After the migration, you want to keep an eye on the performance of the SQL Server 2008 R2 instance You then configure a SQL server-side trace that captures the Deprecation Announcement and Deprecation Final Support event classes Which two of the following best describes these two event classes respectively? A X The Deprecation Final Support event class reveals that a feature will be removed in the next important release of SQL Server B The Deprecation Announcement event class reveals that a feature will be removed in the next important release of SQL Server C X The Deprecation Announcement event class reveals that a feature will be removed in an upcoming edition of SQL Server D The Deprecation Final Support event class reveals that a feature will be removed in an upcoming edition of SQL Server Question 2: You work as a database administrator at 2hi Co., Ltd It makes use of a SQL Server 2008 R2 instance that includes an OnLine Analytical Processing (OLAP) database The OLAP database hosts a dimension table, named 2hi_Clients, which has hourly information updates configured As a result, 2hi_Clients has a large quantity of information that is no longer used You have been instructed to make sure that the amount of space used by the 2hi_Clients table is reduced with as little administrative effort as possible Which of the following actions should you take? A You should consider manually deleting the information that is no longer used B X You should consider making use of page compression C You should consider making use of the Disk Cleanup Wizard D You should consider making use of folder compression Question 3: You work as a database administrator at 2hi Co., Ltd Company has a server running an instance of SQL Server 2008 R2, which hosts a database named 2hi_Clients When 2hi_Clients encounter numerous deadlock issues, you configure the instance’s startup parameters with the necessary trace flags and reboot the instance Which of the following is TRUE regarding this configuration? A X It allows for the capturing of deadlock data in the SQL Server error log B It allows for the capturing of deadlock data in the SQL Server event log C It allows for the capturing of deadlock data in the SQL Server trace log D It allows for the capturing of deadlock data in the SQL Server transaction log Question You work as a database administrator at 2hi Co., Ltd The SQL Server 2008 R2 instance contains a database named 2hi_DB You have employed the SQL Server service to configure the FILESTREAM data container in the 2hi_DB database Which of the following options are TRUE with regards to FILESTREAM data? (Choose all that apply.) A B X FILESTREAM data is not encrypted even though you have enabled transparent data encryption FILESTREAM data is only encrypted when you have transparent data encryption enabled C X FILESTREAM data must be stored in FILESTREAM filegroups contains file system directories instead of the files themselves D FILESTREAM data must be stored in a stored procedure Question You work as a database administrator at 2hi Co., Ltd It is using a SQL Server 2008 R2 instance You have been instructed to make sure that all users, including managers, receive daily reports via Database Mail You are then informed that your solution should allow for managers to receive the report as soon as possible Which of the following actions should you take? A You should consider configuring two separate Database Mail profiles for users and managers B X You should configure a Database Mail profile for users, and personally send each manager the report C You should consider configuring two separate Database Mail accounts for users and managers D You should consider configuring a single Database Mail profile, and sending the reports as high priority Question You work as a database administrator at 2hi Co., Ltd It makes use of SQL Server 2008 R2 Company has three database servers, named ABC-SR13, ABC-SR14, and ABC-SR15, which are each running a different instance of SQL Server 2008 You have configured a database mirroring session in high- safety mode between ABC-SR13 and ABC-SR14 for an important 2hi Co., Ltd database A ABC-SR13 is presently configured as the principal server B ABC-SR14 is configured as the mirror server C ABC-SR15 is configured as the witness server Which of the following is TRUE with regards to database mirroring? (Choose all that apply.) A You are able to mirror any database B X Mirroring of the master, msdb, tempdb, or model databases is not supported C X Database mirroring is not supported by the simple and bulk-logged recovery models D The full, simple, and bulk-logged recovery models support database mirroring Question You work as a database administrator at 2hi Co., Ltd It makes use of a SQL Server 2008 R2 A database is relocated from one instance of SQL Server 2008 R2 to a different instance 2hi Co., Ltd user previously accessed the database using specific credentials, and would like to make use of those same credentials to access the database Which of the following actions should you take? A X You should consider making use of the ALTER USER Transact-SQL statement that includes the WITH LOGIN argument B You should consider making use of ALTER DATABASE Transact-SQL statement that includes the WITH LOGIN argument C You should consider making use of the CREATE LOGIN Transact-SQL statement D You should consider making use of the CREATE USER Transact-SQL statement Question You work as a database administrator at 2hi Co., Ltd It makes use of a SQL Server 2008 R2 instance You have previously devised a maintenance strategy that allows for the reconstruction of indexes, as well as database integrity verification The strategy is also configured to generate reports in the form of a text file You have now been instructed to configure the strategy to forward e-mails to their operators whenever the strategy is unsuccessfully implemented Which of the following actions should you take? A You should consider altering the Event log B You should consider altering the SQL Active Directory Helper C X You should consider altering the SQL Server Agent job D You should consider altering the SQL Server Browser Question You work as a database administrator at 2hi Co., Ltd It makes use of SQL Server 2000 instance A current specific job is configured to retrieve a file remotely from a shared network folder via a CMDExec step The use of the LocalSystem account has been configured for the SQL Server Agent service You receive an instruction to upgrade the current SQL Server instance to SQL Server 2008 R2 Subsequent to the upgrade, you notice that the job step is unable to finish its process It is imperative that this issue be rectified Which of the following actions should you take? A You should consider reconfiguring the job step to make use of a remote System account B You should consider reconfiguring the job step to make use of a Local Service account C X You should consider reconfiguring the job step to make use of a proxy account D You should consider reconfiguring the job step to make use of a Domain account Question 10 You work as a database administrator at 2hi Co., Ltd It is using a SQL Server 2008 R2 instance that includes a database named 2hi_Sales Minimal changes to the information in 2hi_Sales take place on a daily basis You have been instructed to devise a solution that produces for a read-only copy of the database Furthermore, the solution has to run every morning and should consume as little disk resources as possible Which of the following actions should you take? A X You should consider configuring the use of database snapshots B You should consider configuring the use of transaction log backups C You should consider configuring the use of differential backups D You should consider configuring the use of incremental backups Question 11 You work as a database administrator at 2hi Co., Ltd You are responsible for managing a SQL Server 2008 R2 instance It has an Internet Information Services (IIS) application that should be able to log on to the SQL Server Analysis Services (SSAS) instance anonymously Which of the following actions should you take? A X You should consider having the Security\RequireClientAuthentication server configuration property disabled B You should consider having the Security\RequireClientAuthentication server configuration property enabled C You should consider configuring the Security\RequireServerAuthentication server configuration property with the default value D You should consider configuring the Security\RequireClientAuthentication server configuration property with the default value Question 12 You work as a database administrator at 2hi Co., Ltd It makes use of a SQL Server 2008 R2 instance You have been instructed to make sure that all stored procedures that are defined by company users make use of the prefix usp_ You are also instructed to make sure that administrators are prevented from creating stored procedures that not make use of the prefix usp_ Which of the following actions should you take? (Choose all that apply.) A X You should consider generating a policy that targets the name of the stored procedure, which is evaluated on change B You should consider generating a condition that targets the name of the stored procedure, which is evaluated on change C You should consider assigning minimum permissions to all administrators D You should consider creating a trigger Question 13 You work as a database administrator at 2hi Co., Ltd It is using a SQL Server 2008 R2 instance that contains a database named 2hi_Sales Minimal changes to the information in 2hi_Sales take place on a daily basis You have been instructed to devise a solution that minimizes administrative overhead for the transaction log of 2hi_Sales Which of the following actions should you take? A You should consider making having the full recovery model configured for 2hi_Sales B X You should consider having the simple recovery model is configured for 2hi_Sales C You should consider running the SQL Server Profiler on 2hi_Sales D You should consider configuring 2hi_Sales to make use of the checksum page verify option Question 14 You work as a database administrator at 2hi Co., Ltd It is making use SQL Server 2008 R2 in their environment It has a server, named ABC-SR07, which runs an instance of SQL Server 2008 R2 and has multiple applications installed You have configured the SQL Server Agent service to make use of the ABC-SR07/ACCOUNT You then configured a job that must be written to a database server You now need to make sure that only the SQL Server Agent service has read and write permissions to the database server Which of the following actions should you take? A You should consider configuring the SQL Server Agent service to make use of a global Administrator account B You should consider configuring the SQL Server Agent service to make use of a proxy account C X You should consider configuring the SQL Server Agent service to make use of a Local Service account D You should consider configuring the SQL Server Agent service to make use of a remote System account Question 15 You work as a database administrator at 2hi Co., Ltd It is making use of a SQL Server 2008 R2 instance that contains a database named 2hi_Prod1 You have been instructed to devise a strategy that produces a read-only duplication of 2hi_Prod1 at the start of each business day This duplication will be used as a reporting tool Your strategy should also have a minimal effect on 2hi _Prod1 Which of the following actions should you take? A You should consider configuring the use of the simple recovery model B You should consider frequent backups of the event log C X You should consider making use of the database snapshots D You should consider configuring the use of transaction log backups that runs frequently Question 16 You work as a database administrator at 2hi Co., Ltd It is using a SQL Server 2008 R2 instance that contains a database named 2hi_Sales Minimal changes to the information in 2hi_Sales take place on a daily basis You have been instructed to devise a solution that fully logs all transactions and keeps the transaction log records until after they are backed up The solution should also allow for 2hi_Sales to be restored to the point of failure Which of the following actions should you take? A X You should consider having the full recovery model configured for 2hi_Sales B You should consider having the simple recovery model is configured for 2hi_Sales C You should consider running the SQL Server Profiler on 2hi_Sales D You should consider configuring 2hi_Sales to make use of the checksum page verify option Question 17 You work as a database administrator at 2hi Co., Ltd It has recently upgraded to SQL Server 2008 R2 You have been instructed to have an existing SQL Server 6.0 database, named 2hi_Sales, upgraded to an instance of SQL Server 2008 R2 You have to make sure that any questionable pages in 2hi_Sales can be identified at an early stage Which of the following actions should you take? A X You should consider configuring 2hi_Sales to make use of the checksum page verify option B You should consider running the SQL Server Profiler on 2hi_Sales C You should consider having the simple recovery model is configured for 2hi_Sales D You should consider configuring 2hi_Sales to make use of the torn page detection page verify option Question 18 You work as a database administrator at 2hi Co., Ltd It is making use of a SQL Server 2008 R2 instance You monitor the transaction log of the instance on a daily basis On this particular day you are presented with information regarding torn page errors in the database You have been instructed to rectify these errors as soon as possible Which of the following actions should you take? A X You should consider restoring only the torn pages from the most recent full database backup B You should consider restoring the full database from the most recent full database backup C You should consider restoring the most recent snapshot backups D X You should consider restoring the transaction logs that was created since the full backup Question 19 You work as a database administrator at 2hi Co., Ltd It is making use of a SQL Server 2008 R2 instance You have previously configured a SQL Server 2008 R2 cluster You then disconnect the network cable(s) from the active node, as well as delete the shared array from the active node Which of the following describes a reason for doing this? A To induce an automatic failover B X To induce a manual failover C To improve cluster performance D Remove mirroring from the database Question 20 You work as a database administrator at 2hi Co., Ltd It is using a SQL Server 2008 R2 instance The SQL Server 2008 R2 instance includes a database that has a table, named 2hi_Tbl, which is partitioned on the ProID column The partitioning characteristics are as follows:  Partition includes integer values between and 30,000  Partition includes integer values in excess of 30,000 Due to the growth in business operations, 2hi Co., Ltd foresees the need to have a third partition in the table You receive instructions to create a third partition on the table This partition must be able to include the integer values in excess of 60,000 You decide to make use of an ALTER PARTITION FUNCTION Transact-SQL statement Which of the following is TRUE with regards to this Transact-SQL statement? A X It can only be used for splitting one partition into two, or merging two partitions into one B It adds a filegroup to a partition scheme or alters the designation of the NEXT USED filegroup for the partition scheme C Filegroups that are affected by ALTER PARITITION FUNCTION does not have to be online D ALTER PARTITION FUNCTION continues to process, even if there is a disabled clustered index on any tables that use the partition function Question 21 You work as a database administrator at 2hi Co., Ltd It is using a SQL Server 2008 R2 instance that contains a database named 2hi_Prod You have been instructed to join two tables on a column called 2hi_Common You have to ensure that the values in the columns being joined are compared using a comparison operator Which of the following actions should you take? A You should consider making use of a full outer join B You should consider making use of an right outer join C You should consider making use of a cross join D X You should consider making use of an inner join Question 22 You work as a database administrator at 2hi Co., Ltd It is making use of a SQL Server 2008 R2 instance to manage and maintain its databases The SQL Server 2008 instance includes a database that has a table, named ABC_Tbl You then configure ABC_Tbl to include a Geography data type column, named ABC_Colmn You have been instructed to devise a solution that makes allowance for ABC_Colmn to include a spatial index Which of the following actions should you take? A You should consider configuring ABC_Colmn with a primary key B X You should consider configuring ABC_Tbl with a primary key C You should consider configuring ABC_Tbl with a clustered index D You should consider configuring ABC_Colmn with a clustered index Question 23 You work as a database administrator at 2hi Co., Ltd It is making use of a SQL Server 2008 R2 instance It includes a database that is used by an application that is integral to daily operations You are then informed by user that the server is not running as it should be You need to make use of the Database Engine Tuning Advisor to enhance the application’s execution, while preventing other users from being affected by server performance You start by setting up a test server, named ABCTEST-SR01 that has the same hardware setting as the server with the performance issue Which of the following actions should you take NEXT? A You should consider running the dtexec.exe utility on ABCTEST-SR01 B You should consider running the bcp.exe utility on ABCTEST-SR01 C X You should consider running the dta.exe utility on ABCTEST-SR01 D You should consider running the sqlmaint.exe utility on ABCTEST-SR01 Question 24 You work as a database administrator at ABC.com It is using a SQL Server 2008 R2 instance After receiving a complaint from user regarding the sluggish execution of the applications on the server, you decide not to make use of the table scans to obtain additional data as a result of the poor execution You have to gather the necessary data in another way Which of the following actions should you take? D You should consider making use of the SQL Server:Memory Manager Object utility via the Windows System Monitor E You should consider making use of the SQLServer:Disk Manager utility via the Windows System Monitor F You should consider making use of the SQL Server:Database Mirroring Object utility via the Windows System Monitor G X You should consider making use of the SQLServer:Access Methods utility via the Windows System Monitor Question 25 You work as a database administrator at 2hi Co., Ltd It makes use of a SQL Server 2008 R2 instance It contains quite a few databases that are utilized by applications You are planning to make use of the Resource Governor to cut the result of searches These searches are run via SQL Server Management Studio You have been instructed to make sure that the CPU utilization for searches done by the SQL Server Management Studio should not be more than 40 % You also have to make sure that in the event of the applications requiring all of the CPU resources, they are permitted to so when necessary Which of the following actions should you take FIRST? A X You should consider developing a new resource pool B You should consider setting up the MAX_CPU_PERCENT selection to 40 C You should consider assigning the resource pool to the workload group D You should consider setting up the MAX_CPU_PERCENT selection to 100 E You should consider assigning the resource pool to the administrators group Question 26 You work as a database administrator at 2hi Co., Ltd It is using a SQL Server 2008 R2 instance that contains a database, named 2hi_Books 2hi_Books includes the BookTitle, EANNumber, SellingPrice and IssueDate columns A clustered index is configured for the BookTitle column and a non-clustered index, which includes the EANNumber and SellingPrice columns, is configured for the IssueDate column A Transact-SQL query, which includes a query hint, searches the 2hi_Books table for BookTitle, EANNumber, SellingPrice, and IssueDate data During monitoring you notice that the query’s performance is slow You then run the sys.dm_db_index_physical_stats dynamic management function (DMF) and find that the avg_fragmentation_in_percent is in excess of 25% You have been instructed to find a solution to improve the query’s performance Which of the following actions should you take? A You should consider having the table hint inserted B X You should consider having the query hint removed from the query C You should consider having the primary key modified D You should consider having a filtered index created Question 27 You work as a database administrator at 2hi Co., Ltd It is using a SQL Server 2008 R2 instance The SQL Server 2008 R2 instance includes a database named 2hi_DB that makes use of the bulk-logging recovery model You have employed a WAN connection for log shipping 2hi_DB You have also configured 2hi_DB’s indexes to be reproduced by a scheduled job that results in the log backups growing in size You have been instructed to make sure that the log backups employed by log shipping is reduced in size Which of the following actions should you take? A You should consider making use of Database snapshots B You should consider making use of the half recovery mode on 2hi_DB C You should consider making use of stored procedures D X You should consider having the log file backups compressed Question 28 You work as a database administrator at 2hi Co., Ltd It makes use of multiple SQL Server 2008 R2 instances One of the SQL Server 2008 R2 instances includes a database named 2hi_DB You have been instructed to devise a data collection solution that makes use of the data collector to gather performance information of all the instances Your solution should allow for the gathered performance information to be reserved in 2hi_DB Your solution should also allow for function data to be gathered and loaded in the management data warehouse every 12 hours Which of the following actions should you take? A You should consider configuring the Event log B You should consider configuring the Trace log C You should consider developing an on-demand cached data collection set D X You should consider developing a scheduled non-cached data collection set Question 29 You work as a database administrator at 2hi Co., Ltd It is using a SQL Server 2008 R2 to administrate and maintain its database You have received instruction from management to create a strategy that makes use of the data collector is utilized to collect performance information Your strategy should also allow for 15 day old information to be removed, and also reduce the amount of effort required to administer the performance information Which of the following actions should you take? A You should consider creating a single SQL Server 2008 R2 Analysis Services (SSAS) package process to reserve and remove performance information B X You should consider setting a management data warehouse process on every instance to reserve and remove performance information in one database for all the instances C You should consider creating a single SQL Service Integration Services (SSIS) package process to reserve and remove performance information D You should consider creating a single SQL Server 2008 R2 Reporting Services (SSRS) Question 30 You work as a database administrator at 2hi Co., Ltd It is using a SQL Server 2008 R2 instance Subsequent to installing an important cluster, which necessitates continuous accessibility, on a pair of cluster- ready nodes, you are instructed to make sure that the disruption of the service is reduced Which of the following actions should you take? A X You should consider configuring failover with the Prevent automatic failback option B You should consider configuring failover with the Prevent manual failback option C You should consider configuring failover with the Allow automatic failback option D You should consider configuring failover with the Prevent failback during business hours option Question 31 You work as a database administrator at 2hi Co., Ltd It is using a SQL Server 2008 R2 instance The SQL Server 2008 R2 instance contains a database, named 2hi_Prod, which are log shipped to a remote SQL Server 2008 R2 server Subsequent to rebooting the primary SQL Server instance, you notice that the log shipping is no longer functioning You have been tasked with finding the reason for the log shipping not functioning Which of the following actions should you take? A X You should make sure that the SQL Server Agent has been started on the main server B You should consider making use of the EXTENDED_LOGICAL_CHECKS option to run a DBCC INDEXDEFRAG statement on ABC_Prod C You should make sure that the SQL Server Surface Area Configuration has been started on the main server D You should make sure that the SQL Server Browser service has been started on the main server Question You maintain a SQL Server instance You use the Resource Governor to manage processor resources on the server for a newly deployed application named App1 It is assigned to a custom workload group named MyApp You need to monitor processor resources What should you do? A X Use the sys.dm_os_performance_counters to monitor the CPU usage % counter of the SQLServer: Workload Group Stats performance object for the MyApp workload group B Use the request_max_cpu_time_sec column of the sys.resource_governor_workload_groups catalog view C Use the sys.dm_resource_governor_workoad_groups dynamic management view to monitor the CPU usage for the default workload group D Use the sys_dm_os_performance_counters to monitor the CPU usage % counter of the SQLServer: Workload Group Stats performance object for the default workload group Question You administer a Microsoft SQL Server 2008 database for an order-processing application Users report intermittent poor performance You identify the cause as large reports being run by members of the Reporting group The following TransactSQL statements have been run against the database:  CREATE TABLE UserClassification (GroupName SYSNAME, UserName SYSNAME );  INSERT into UserClassification VALUES (’ProductionGroup’, ‘User1’), (‘ProductionGroup’, ‘User2’), H (‘Reporting Group’, ‘User3’), (‘Reporting Group’, ‘User4’); CREATE FUNCTION UserClassifier () RETURNS SYSNAME WITH SCHEMABINDING AS BEGIN DECLARE @group SYSNAME SELECT TOP @group = uc.GroupName FROM dbo.UserClassification uc WHERE uc.UserName = SUSER_SNAME () If (@Group IS NOT NULL) BEGIN RETURN @Group END RETURN N’default’ END; You need to ensure that members of the reporting group can use only up to 35 percent of the CPU and up to 45 percent of the available RAM Which four Transact-SQL statements should you use? (To answer, move the appropriate SQL statements from the list of statements to the answer area and arrange them in the correct order.) Select and Place: Correct Answer: suspect that the performance issues are related to table scans You need to use an appropriate Windows System Monitor object to capture the appropriate information Which performance object should you use? A SQLServer:Databases B SQLServer:Memory Manager C X SQLServer:Access Methods D SQLServer:Buffer Manager Question 38 You migrate an application from Microsoft SQL Server 2000 to Microsoft SQL Server 2008 You need to monitor the SQL Server instance to record the use of features that will be discontinued What should you do? A Use the SQL Server 2008 Upgrade Advisor B X Use a SQL server-side trace that captures the Deprecation Announcement and Deprecation Final Support event classes C Use the SQL Server Profiler that captures the SQL:BatchCompleted and Exception event classes D Use a SQL server-side trace that captures the SQL:BatchCompleted and Exception event classes Question 39 You maintain a SQL Server 2008 instance You create a new SQL Agent job that includes a Windows Powershell job step The Powershell job step uses the SQLCmd utility to transfer data between servers You need to ensure that an operator named ResponseTeam is notified by e-mail message if the job fails What should you do? A Enable Notifications AL Create the ResponseTeam operator AM Direct the Notification to the ResponseTeam operator on failure of the Powershell job step B Create the ResponseTeam operator AN Configure the job step proxy account to use the ResponseTeam operator account AO Select the proxy account for the e-mail profile C X Enable Notifications AP Create the ResponseTeam operator AQ Direct the Notification to the ResponseTeam operator on job failure D Create the ResponseTeam operator AR Assign the ResponseTeam operator as the fail-safe operator Enable the job Question 40 You maintain multiple SQL Server 2008 instances You develop a failure recovery strategy You need to find out the edition and the build of SQL Server that is deployed in your environment What should you use to find the required information? A DBCC HELP B EXEC xp_msver C X SELECT @@VERSION D SELECT * FROM sys.dm_os_sys_info Question 41 You maintain a SQL Server 2008 instance that contains a database named Finance You need to configure SQL Server to automatically send an e-mail message when any file in the Finance database increases Which technology should you include in your solution? A X Event notifications B Trace flag C SQL Server Profiler D Query notifications Question 42 You administer a Microsoft SQL Server 2008 database Backups are performed according to the following schedule:  Full database backup at 00:00 hours daily  Transaction log backups at 06:00 hours, 12:00 hours, and 18:00 hours daily You discover that the database failed at 10:18 hours You also discover that the database is no longer accessible due to a failure of the hard drive that contains the database data file You need to restore the database You also need to ensure that data loss is minimal Which four actions should you perform in sequence? Select and Place: Correct Answer: Question 43 You administer multiple SQL Server 2008 instances You plan to install a SQL Server 2008 mission-critical cluster on two cluster-ready nodes The mission-critical cluster requires constant availability You need to configure the SQL Server cluster to failover by ensuring that the service disruption is minimized What failover option should you use? A X Prevent automatic failback B Immediately allow failback C Allow failback only during business hours D Allow failback only during non-business hours Question 44 You administer a Microsoft SQL Server 2008 R2 instance You need to configure mirroring between two servers in highperformance mode What should you do? A Create mirroring endpoints on both partner servers AS Use the ALTER DATABASE statement along with the PARTNER SAFETY OFF clause on the principal server AT Define the Service Broker queue that must be used to hold requests B Create mirroring endpoints on both partner servers Create a witness server Use the ALTER DATABASE statement along with the PARTNER SAFETY OFF clause on the principal server C Create mirroring endpoints on both partner servers Use the ALTER ENDPOINT statement along with the ENCRYPTION=DISABLED clause D XCreate mirroring endpoints on both partner servers On the principal, use the ALTER DATABASE statement along with the PARTNER SAFETY OFF clause Question 45 You administer a SQL Server 2008 instance that contains a database named AdventureWorks The AdventureWorks database contains the Products table You create a Merge Replication topology and a Publication to replicate the Products table to the SQL Server instances at remote locations The Publication has a 21-day retention period When a user returns from a one-month vacation, she discovers that her database does not contain the most recent data The Windows Event log states the following error message: "Replication: expired subscription dropped." You need to obtain the most recent data in the database of the user You also need to ensure that future data changes are appropriately replicated What should you do? A Upload unsynchronized changes B X Reinitialize the publication and immediately generate a new snapshot C Recreate the publication D Upload unsynchronized changes, and then reinitialize the publication Question 46 You administer three SQL Server 2008 instances named Instance1, Instance2, and Instance3 Each of the three instances runs on a separate server A mission-critical database is mirrored between Instance1 and Instance2 Instance3 is configured as the witness Instance1 is configured as the Principal You plan to apply an update to the servers that run Instance1 and Instance2 The update requires a restart You need to ensure that the servers meet the following requirements during the update process: Complete the update process in the least amount of time The database must be available on one server during the update of another server The update process must not cause an automatic failover of the database What should you do? A Remove the mirroring session Run the SQL Server 2008 Upgrade Advisor Install the update on both servers Re-establish the mirroring session A Suspend the mirroring session Install the update on both servers B XSuspend the mirroring session Install the update on the server that runs Instance2 Resume the mirroring session Perform a manual failover of the mirroring session Install the update on the server that runs Instance1 C Install the update on the server that runs Instance2 Perform a manual failover of the mirroring session Install the update on the server that runs Instance1 D Remove the mirroring session Install the update on both servers Re-establish the mirroring session Question 47 You maintain a SQL Server 2008 instance that contains a database named Finance Minimally logged operations are performed on the Finance database You need to verify that the database can be restored to a specific point in time What should you do? E X Verify that the database uses the full recovery model F Verify that the database uses the checksum page_verify option G Verify that the database uses the bulk-logged recovery model H Verify that the database uses the simple recovery model Question 48 You design a maintenance plan for a SQL Server 2008 instance that contains a database named SalesDB The SalesDB database includes spatial indexes to support queries on spatial data You need to perform physical consistency checks on SalesDB You also need to ensure that the performance effect on the SalesDB database is minimized Which Transact-SQL statement should you execute? A DBCC SYS_CHECK (SalesDB); B X DBCC CHECKDB (SalesDB); C DBCC SQLPERF (SalesDB); D DBCC REPAIRDB (SalesDB); Question 49 You maintain a SQL Server 2008 instance that contains a database named Finance In your absence, a user with a login named Rob will maintain the database snapshots.You need to grant the appropriate permissions to the user to delete the database snapshots for the Finance database.Which database permission should you grant? A CONTROL B X DROP DATABASE C DELETE D ALTER ANY DATASPACE Question 50 Note: This question is part of a series of questions that use the same or similar answer choices An answer choice may be correct for more than one question in the series Each question is independent of the other questions in this series Information and details provided in a question apply only to that question You administer a Microsoft SQL Server 2008 R2 instance The instance has a database named CustomerOrders The database is backed up by using the weekly scheduled SQL Server Agent jobs The backup schedule is shown in the following table: A drive fails and the CustomerOrders database goes into suspect mode on Tuesday at 09:00 hours You need to restore the backup.What should you do? A Restore the backup taken on Sunday only B X Restore the backups taken on Sunday and Monday C Restore the backup taken on Wednesday only D Restore the backups taken on Wednesday, Thursday at 09:00 hours, and Thursday at 18:00 hours E Restore the backups taken on Wednesday and Thursday at 09:00 hours F Restore the backups taken on Wednesday, Thursday, and Friday G Restore the backups taken on Wednesday and Friday H Restore the backup taken Wednesday, Friday, and Saturday Question 51 Note: This question is part of a series of questions that use the same or similar answer choices An answer choice may be correct for more than one question in the series Each question is independent of the other questions in this series Information and details provided in a question apply only to that question You administer a Microsoft SQL Server 2008 R2 instance The instance has a database named CustomerOrders The database is backed up by using the weekly scheduled SQL Server Agent jobs The backup schedule is shown in the following table: A drive fails and the CustomerOrders database goes into suspect mode on Monday at 09:00 hours You need to restore the backup What should you do? A X Restore the backup taken on Sunday only B Restore the backups taken on Sunday and Monday C Restore the backup taken on Wednesday only D Restore the backups taken on Wednesday, Thursday at 09:00 hours, and Thursday at 18:00 hours E Restore the backups taken on Wednesday and Thursday at 09:00 hours F Restore the backups taken on Wednesday, Thursday, and Friday G Restore the backups taken on Wednesday and Friday H Restore the backup taken Wednesday, Friday, and Saturday Question 52 Note: This question is part of a series of questions that use the same or similar answer choices An answer choice may be correct for more than one question in the series Each question is independent of the other questions in this series Information and details provided in a question apply only to that question You administer a Microsoft SQL Server 2008 R2 instance The instance has a database named CustomerOrders The database is backed up by using the weekly scheduled SQL Server Agent jobs The backup schedule is shown in the following table: A drive fails and the CustomerOrders database goes into suspect mode on Sunday at 09:00 hours You need to restore the backup.What should you do? A Restore the backup taken on Sunday only B Restore the backups taken on Sunday and Monday C Restore the backup taken on Wednesday only D Restore the backups taken on Wednesday, Thursday at 09:00 hours, and Thursday at 18:00 hours E Restore the backups taken on Wednesday and Thursday at 09:00 hours F Restore the backups taken on Wednesday, Thursday, and Friday G Restore the backups taken on Wednesday and Friday H X Restore the backup taken Wednesday, Friday, and Saturday Question 53 You administer a Microsoft SQL Server 2008 R2 database instance that supports a sales management application Occasionally, users of the application report that they receive a deadlock error You plan to troubleshoot this error You need to ensure that the instance is configured to capture troubleshooting information that will create an XML document detailing the deadlock condition Which two actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.) Select Correct Answer: and Place: Question 54 You upgrade an instance of Microsoft SQL Server 2000 to SQL Server 2008 The SQL Server Agent service is configured to use the LocalSystem account A job uses a CMDExec step to access a file located on a remote network share After the upgrade, the job step fails to complete execute You need to configure the job step so that it can successfully complete execution What should you do? A Configure the SQL Server Agent service to use a local Windows account B Configure a certificate C X Configure the job step to use a proxy account D Configure the SQL Server Agent service to use the NetworkService account Question 55 You configure a SQL Server 2008 instance that contains a database named Customers The Customers database experiences deadlock problems You need to capture the deadlock information to the SQL Server error log What should you do? A Enable the Windows Event Collector service B Enable file system auditing C Configure a Data Collector Set and then restart the SQL Server instance D X Configure trace flags and then restart the SQL Server instance Question 56 You manage a SQL Server 2008 instance You need to verify whether or not a database integrity check (DBCC CHECKDB) was run for a particular database Which log file should you examine? A X ERRORLOG B log.trc C SQLAGENT D default.trc Question 57 A SQL Server login named Mary with the password "Me#43&21" is used by a user to access the database on Instance1 You create the same SQL Server login on Instance2 The user attempts to access the AdventureWorks database on Instance2 by using the SQL Server login Mary However, the user receives an error message which indicates that the access to the AdventureWorks database is denied You need to ensure that the user can access the AdventureWorks database Which Transact-SQL statements should you execute on Instance2? A USE AdventureWorks; ALTER LOGIN Mary ENABLE; B USE AdventureWorks; ALTER LOGIN Mary WITH PASSWORD = "Me#43&21" UNLOCK; C X USE AdventureWorks; ALTER USER Mary WITH LOGIN = Mary; D USE AdventureWorks; ALTER LOGIN Mary WITH DEFAULT_DATABASE = AdventureWorks; Question 58 You administer a Microsoft SQL Server 2008 R2 database You configure the disk drives according to the following table: You discover that the Windows application log is being filled with entries from a SQL Server Audit process named DatabaseAudit The volume of these events is causing older events to be removed from the log.You need to ensure that the following requirements are met: SQL Server Audit information is stored in the D:\AuditLogs folder No data is currently lost in the Windows application log What should you do? A Create a folder named AuditLogs on drive D Open the Windows Server Manager Browse to the Diagnostics\Event Viewer\Windows Logs folder Right-Click Application Log, and then click Properties Change the Log path to D:\AuditLogs\Application.evtx B XCreate a folder named AuditLogs on drive D Open Microsoft SQL Server Management Studio and connect to the server Browse to the Security\Audits folder and double-click the DatabaseAudit object Change the Audit Destination to File and specify D\:AuditLogs as the file path C Open Microsoft SQL Server Management Studio and connect to the server Browse to the Security\Audits folder Right-click the DatabaseAudit object, and then select Disable Audit Continue to troubleshoot the issue When the issue is resolved, browse to the Security\Audits folder Right-click the DatabaseAudit object, and then select Enable Audit D Open the Windows Server Manager Browse to the Diagnostic\Event Viewer\Windows Log folder Right-Click Application Log, and then click Properties Enable the Clear Log option Question 59 You maintain multiple SQL Server 2008 instances on the same physical computer.Users can connect to the default instance but are unable to connect to the named instances You verify that currently all SQL Server instances run.You need to start the service required to connect to the named instance Which Service should you start? AU Server AV SQL Active Directory Helper AW SQL Server Agent AX X SQL Server Browser Question 60 You administer a SQL Server 2008 instance named SQL1 SQL1 contains a database named DB1 You create a new user named User1 in the DB1 database No additional permissions have been assigned to User1 or the public role User1 will interact with database objects stored in a new schema named Reporting The other objects in the DB1 database are owned by the dbo and are contained in a schema named Operations You need to grant the minimum necessary permissions to User1 to create tables and stored procedures in the Reporting schema You also need to ensure that User1 cannot alter any of the objects in the Operations schema Which Transact-SQL statements should you execute? A X GRANT CREATE TABLE, CREATE PROCEDURE TO User1; DENY CONTROL ON SCHEMA::Operations TO User1; B ALTER AUTHORIZATION ON SCHEMA::Reporting TO User1; C GRANT CONTROL ON SCHEMA::Reporting TO User1; DENY CONTROL ON SCHEMA::Operations TO User1; D GRANT CREATE TABLE, CREATE PROCEDURE ON SCHEMA::Reporting TO User1; Question 61 You administer a SQL Server 2008 instance named DB1 DB1 contains a table named Table1 The DB1 database includes a stored procedure named Procedure1 Procedure1 uses a sp_executesql Transact-SQL statement to select data from Table1 According to business requirements, users are not allowed to access tables directly in any database When a user executes Procedure1, the following exception is raised: "Msg 229, Level 14, State 5, Line The SELECT permission was denied on the object 'Table1', database "DB1', schema 'dbo'." You need to ensure that the user can successfully execute Procedure1 without violating the business requirements What should you do? AY Execute the GRANT SELECT ON dbo.Table1 TO User1 Transact-SQL statement AZ Execute the GRANT SELECT ON dbo.Procedure1 TO User1 Transact-SQL statement BA X Alter Procedure1 and add the WITH EXECUTE AS OWNER option to its header BB Alter Procedure1 and add the EXECUTE AS USER = 'dbo' option immediately before the call to the sp_executesql procedure Question 62 You administer a SQL Server 2008 instance You use an internal application based on SQL Server 2008 The application uses Analysis Services and Reporting Services.Company security requires that the surface area for all the deployed components of SQL Server 2008 be configured.You need to implement the security policy and devise a method to evaluate the security policy against other database servers.What should you do? BC X Create policies based on the appropriate facets Apply the policies against a server group that includes the database servers that need to be configured BD Create a Transact-SQL script based on the sp_configure stored procedure Use a configuration server to run the script against a server group that includes the database servers that need to be configured BE Use the SQL Server Best Practices Analyzer (BPA) to analyze your database servers Implement the recommendations of the BPA BF Edit the RSReportServer.config configuration file Distribute the file to all database servers that need to be configured Question 63 You administer a SQL Server 2008 instance that runs a Windows Server 2003 computer That instance uses mixed authentication mode.You need to ensure that the SQL Server 2008 authentication logins follow the same password complexity rules that are enforced by Windows Server 2003 You also need to ensure that the password complexity rules continue to be enforced.Which two actions should you perform? (Each correct answer presents part of the solution Choose TWO.) BG Create a SQL Server Agent job that runs periodically to raise an alert if a rule violation is detected BH X Use Policy-Based Management to create a policy that prevents any violation of these rules BI Use the ALTER LOGIN CHECK_EXPIRATION = ON statement to modify all logins Use the ALTER LOGIN HASHED statement to modify all logins BJ X Use the ALTER LOGIN CHECK_POLICY = ON statement to modify all logins Question 64 You maintain a SQL Server 2008 instance that contains a database named CustomerDB The CustomerDB database stores customer data for the company The customers use a Web application to access their profile data You need to protect the customer data such that data files, log files, and subsequent backups are as secure as possible even if the backup media is lost You want to achieve this goal without affecting the Web application What should you do? A Make the CustomerDB database accessible only through stored procedures and functions B Enable Transparent Database Encryption for both the CustomerDB database and the master database C X Enable Transparent Database Encryption for the CustomerDB database and back up the transaction log D Encrypt the sensitive data at the cell level by using the built-in encryption functions Question 65 You administer a SQL Server 2008 instance for a company named Contoso Ltd The instance contains a database named DB1 A Windows group named CONTOSO\Managers can access the DB1 database CONTOSO\Managers is a member of the db_owner role in the DB1 database A Windows user named User1 is a member of the CONTOSO\Managers group You need to ensure that User1 is unable to access the SQL Server instance Which Transact-SQL statement(s) should you execute in the DB1 database? A X CREATE LOGIN "CONTOSO\User1" FROM Windows; DENY CONNECT SQL TO "CONTOSO\User1"; B DROP LOGIN "CONTOSO\User1"; C EXEC dbo.sp_droprolemember 'db_owner', 'CONTOSO\User1'; D EXEC dbo.sp_revokedbaccess 'CONTOSO\User1'; EXEC dbo.sp_revokelogin 'CONTOSO\User1'; Question 66 You administer a SQL Server 2008 instance that contains a very large database named FinanceDB You plan to create a maintenance plan that meets the following objectives for the FinanceDB database:  It executes the DBCC CHECKDB statement It rebuilds all the indexes  It updates all the index statistics You need to ensure that the maintenance plan is executed in the minimum amount of time Which two actions should you perform? A X Use the Rebuild Index task B Use the Update Statistics task C Use the Shrink Database task D Use the Reorganize Index task E X Use the Check Database Integrity task Question 67 You manage a SQL Server 2008 instance.You upgrade a SQL Server 7.0 database to the SQL Server instance You need to ensure the early detection of suspect pages in the database What should you do? A X Set the PAGE_VERIFY database option to CHECKSUM for the database B Set the PAGE_VERIFY database option to TORN_PAGE_DETECTION for the model database C Set the database compatibility level option to 10 for the database D Turn on the TRUSTWORTHY database option for the database QUESTION 68 You maintain a SQL Server instance You use the Resource Governor to manage processor resources on the server for a newly deployed application named NewApp NewApp is assigned to a custom workload group named OurApp You need to monitor processor resources What should you do? BK Use the sys.dm_os_performance_counters to monitor the CPU usage % counter of the SQLServer:Workload Group Stats performance object for the default workload group BL Use the request_max_cpu_time_sec column of the sys.resource_governor_workload_groups catalog view BM Use the sys.dm_resource_workload_groups dynamic management view to monitor the CPU usage for the default workload group BN X Use the sys.dm_os_performance_counters to monitor the CPU usage % counter of the SQLServer:Workload Group Stats performance object for the OurApp workload group

Ngày đăng: 18/10/2016, 11:18

Từ khóa liên quan

Mục lục

  • Question 1:

  • Question 2:

  • Question 3:

  • Question 4

  • Question 5

  • Question 6

  • Question 7

  • Question 8

  • Question 9

  • Question 10

  • Question 11

  • Question 12

  • Question 13

  • Question 14

  • Question 15

  • Question 16

  • Question 17

  • Question 18

  • Question 19

  • Question 20

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

Tài liệu liên quan