1. Trang chủ
  2. » Công Nghệ Thông Tin

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

41 1,2K 0

Đ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

Thông tin cơ bản

Định dạng
Số trang 41
Dung lượng 1,08 MB
File đính kèm [70-432] DBA QA (109).zip (1 MB)

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

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

Trang 1

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 ofSQL Server

B The Deprecation Announcement event class reveals that a feature will be removed in the next important release ofSQL Server

C X The Deprecation Announcement event class reveals that a feature will be removed in an upcoming edition ofSQL Server

D The Deprecation Final Support event class reveals that a feature will be removed in an upcoming edition of SQLServer

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 theinstance’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 4

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 X FILESTREAM data is not encrypted even though you have enabled transparent data encryption

B FILESTREAM data is only encrypted when you have transparent data encryption enabled

Trang 2

C X FILESTREAM data must be stored in FILESTREAM filegroups contains file system directories instead of thefiles themselves.

D FILESTREAM data must be stored in a stored procedure

Question 5

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 arethen 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 6

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 animportant 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 7

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 previouslyaccessed the database using specific credentials, and would like to make use of those same credentials to access thedatabase

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 LOGINargument

B You should consider making use of ALTER DATABASE Transact-SQL statement that includes the WITHLOGIN 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 8

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 databaseintegrity 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

Trang 3

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 9

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

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

Trang 4

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 do 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 onchange

B You should consider generating a condition that targets the name of the stored procedure, which is evaluated onchange

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 databasenamed 2hi_Sales Minimal changes to the information in 2hi_Sales take place on a daily basis You have been instructed todevise 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 adatabase named 2hi_Prod1 You have been instructed to devise a strategy that produces a read-only duplication of2hi_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

Trang 5

named 2hi_Sales Minimal changes to the information in 2hi_Sales take place on a daily basis You have been instructed todevise a solution that fully logs all transactions and keeps the transaction log records until after they are backed up Thesolution 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 beeninstructed 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 thetransaction log of the instance on a daily basis On this particular day you are presented with information regarding tornpage 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 havepreviously configured a SQL Server 2008 R2 cluster You then disconnect the network cable(s) from the active node, aswell 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 R2instance includes a database that has a table, named 2hi_Tbl, which is partitioned on the ProID column The partitioningcharacteristics are as follows:

 Partition 1 includes integer values between 5 and 30,000

 Partition 2 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

Trang 6

instructions to create a third partition on the table This partition must be able to include the integer values in excess of60,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 partitionscheme

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 tablesthat 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 databasenamed 2hi_Prod You have been instructed to join two tables on a column called 2hi_Common You have to ensure that thevalues 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

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 adatabase 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

Trang 7

Question 24

You work as a database administrator at ABC.com It is using a SQL Server 2008 R2 instance After receiving a complaintfrom user regarding the sluggish execution of the applications on the server, you decide not to make use of the table scans toobtain 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

These searches are run via SQL Server Management Studio You have been instructed to make sure that the CPU utilizationfor searches done by the SQL Server Management Studio should not be more than 40 % You also have to make sure that inthe event of the applications requiring all of the CPU resources, they are permitted to do 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

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 R2instance includes a database named 2hi_DB that makes use of the bulk-logging recovery model You have employed a

Trang 8

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 insize 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

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 itsdatabase You have received instruction from management to create a strategy that makes use of the data collector isutilized 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 toadminister 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 reserveand remove performance information

B X You should consider setting a management data warehouse process on every instance to reserve and removeperformance information in one database for all the instances

C You should consider creating a single SQL Service Integration Services (SSIS) package process to reserve andremove 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 animportant cluster, which necessitates continuous accessibility, on a pair of cluster- ready nodes, you are instructed to makesure 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

Trang 9

D You should consider configuring failover with the Prevent failback during business hours option.

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 DBCCINDEXDEFRAG 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 1

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 2

You administer a Microsoft SQL Server 2008 database for an order-processing application Users report intermittent poorperformance You identify the cause as large reports being run by members of the Reporting group The following Transact-SQL 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

Trang 10

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 ofthe available RAM

Which four Transact-SQL statements should you use? (To answer, move the appropriate SQL statements from the list ofstatements to the answer area and arrange them in the correct order.)

Select and Place:

Correct Answer:

Trang 11

Question 3

You administer a Microsoft SQL Server 2008 R2 database instance The service account used by SQL Server services mustnot have administrative permissions You configure a new SQL Server Agent job to run every night One of the steps in thejob runs a Powershell (Operating System - CmdExec) step The job continuously fails on this step and throws the followingerror message:

"The process could not be created for step 1 of job (reason: A required privilege is not held by the client) The step failed."You need to ensure that the SQL Server Agent Job executes successfully

Which four actions should you perform in sequence?

Select and Place:

Trang 12

Correct Answer:

Trang 13

Question 4

Note: This question is part of a series of questions that use the same or similar answer choices An answer choice may becorrect 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 You need to check the physical consistency of the database.What should you do?

I Execute sp_helpfile

J X Execute DBCC CHECKDB.

K Examine the msdb suspect_pages table

L Execute DBCC CHECKDB along with the REPAIR_FAST clause.

M Execute DBCC CHECKDB along with the REPAIR_REBUILD clause.

N Restore the database from the most recent full backup Apply any differential and log backups

O Use the ALTER DATABASE statement along with the SET EMERGENCY clause.

P Use the RESTORE DATABASE statement along with the PAGE clause Create a new log backup Apply all

differential and log backups, including the most recent backup

Q Use the RESTORE DATABASE statement along with the PAGE clause Apply any differential and log

backups Create a new log backup and then restore the new log backup

Trang 14

Question 5

Note: This question is part of a series of questions that use the same or similar answer choices An answer choice may becorrect 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 You need to rectify a damaged index without losing any data.What should you do?

R Execute sp_helpfile

S Execute DBCC CHECKDB

T Examine the msdb suspect_pages table

U Execute DBCC CHECKDB along with the REPAIR_FAST clause.

V X Execute DBCC CHECKDB along with the REPAIR_REBUILD clause.

W Restore the database from the most recent full backup Apply any differential and log backups

X Use the ALTER DATABASE statement along with the SET EMERGENCY clause.

Y Use the RESTORE DATABASE statement along with the PAGE clause Create a new log backup Apply all

differential and log backups, including the most recent backup

Z Use the RESTORE DATABASE statement along with the PAGE clause Apply any differential and log

backups Create a new log backup and then restore the new log backup

Question 6

Note: This question is part of a series of questions that use the same or similar answer choices An answer choice may becorrect 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 A disk drive that contains the files for the database is lost Thedrive has been replaced, but the data files have been irrevocably lost You need to restore the database What should youdo?

A Execute sp_helpfile

AA.Execute DBCC CHECKDB

BB Examine the msdb suspect_pages table

CC Execute DBCC CHECKDB along with the REPAIR_FAST clause.

DD.Execute DBCC CHECKDB along with the REPAIR_REBUILD clause.

EE.X Restore the database from the most recent full backup Apply any differential and log backups

FF Use the ALTER DATABASE statement along with the SET EMERGENCY clause.

GG Use the RESTORE DATABASE statement along with the PAGE clause Create a new log backup Apply all

differential and log backups, including the most recent backup

A Use the RESTORE DATABASE statement along with the PAGE clause Apply any differential and log backups.

Create a new log backup and then restore the new log backup

Question 7

You administer a Microsoft SQL Server 2008 R2 database instance Occasionally, the following problems occur:

Trang 15

The SQL Server service fails to start.

A query from the application runs slower than expected

You need to be able to diagnose each of these problems Which tool or tools should you use?

Select and Place:

Correct Answer:

Question 8

You administer three SQL Server 2008 instances on separate servers named Server1, Server2 and Server3

The AdventureWorks database is configured for mirroring between the instances In the mirroring session, Sever1 andServer2 act as partners and Server3 as the witness

You have the following requirements:

All three servers run a maintenance process that requires occasional restart of the computer

The SQL Server service on each server is shut down only during the actual restart of the computer

After completion of the maintenance process, re-enable automatic failover and synchronize the mirroring session inminimum possible time

Trang 16

You need to ensure that automatic failover is disabled during the maintenance process What should you do first?

A Suspend the mirroring session

B Configure the mirroring session with the SAFETY option set to ON

C X Remove the witness server from the mirroring session

D Remove mirroring from the database

Question 9

You administer two SQL Server 2008 instances on separate servers named Server1 and Server2 The AdventureWorksdatabase is set up for synchronous mirroring between the two instances

You need to configure the database to support automatic failover What should you do?

A Configure the mirroring session by using the FAILOVER option

B X Configure the mirroring session by adding a witness server to it

C Configure the mirroring session with the SAFETY option set to OFF

D Configure the mirroring session with the SAFETY option set to FULL

Question 10

You administer a Microsoft SQL Server 2008 R2 instance that contains two databases named Northwind2008R2 andAdventureWorks

The Northwind2008R2 database uses the SQL_Latin1_General_CP1_CI_AS collation

The AdventureWorks database uses the SQL_Latin1_General_CP1_CS_AS collation

You need to write a query that returns all customers having the same name in each database You also need to ensure thatthe query is not case-sensitive

Which Transact-SQL query should you use?

A X SELECT* FROM AdventureWorks.dbo.customer adv INNER JOIN Northwind2008R2.dbo.customer nrt ONadv.CustomerName = nrt.CustomerName COLLATE SQL_Latin1_General_CP1_CI_AS;

B SELECT* FROM AdventureWorks.dbo.customer adv INNER JOIN Northwind2008R2.dbo.customer nrt ONadv.CustomerName = nrt.CustomerName USING COLLATION SQL_Latin1_General_CP1_CI_AS;

C SET COLLATE SQL_Latin1_General_CP1_CI_AS; SELECT* FROMAdventureWorks.dbo.customer advINNER JOIN Northwind2008R2.dbo.customer nrt ON adv.CustomerName = nrt.CustomerName

D SELECT * FROM AdventureWorks.dbo.customer adv INNER JOIN Northwind2008R2.dbo.customer nrt ONadv.CustomerName = nrt.CustomerName COLLATE SQL_Latin1_General_CP1_CS_AS;

Question 11

You administer a Microsoft SQL Server 2008 instance that has TCP/IP enabled You need to verify the port that the SQLServer instance listens on

What should you do?

A X Open SQL Server Configuration Manager Expand the SQL Server Network Configuration services Select theProtocols for (InstanceName) service In the right panel, right click TCP/IP, select the Properties option, and thenselect the IP Addresses tab

B Open SQL Server Configuration Manager Expand the SQL Native Client 10.0 Configuration service Select theClient Protocols service Set the Properties option

C Open SQL Server Configuration Manager Select the SQL Server Service service In the right panel, right clickSQL Server (InstanceName), right-click Properties and then select the Advanced tab

Trang 17

D Open SQL Server Configuration Manager Select the SQL Server Service service In the right panel, right clickSQL Server Browser, right-click Properties, and then select the Advanced tab.

Question 12

You administer a database for an online ordering system

You plan to create a disaster recovery plan that uses transaction log backups by using only Microsoft SQL Server nativetools You need to ensure that the transaction log backup schedule meets the following requirements:

 Log backups occur every 15 minutes between 9:00 hours and 17:00 hours

 Log backups occur every hour between 17:00 hours and 9:00 hours

What should you do?

A Create two SQL Server Integration Services (SSIS) packages by using a single schedule

B Create a single SQL Server Integration Services (SSIS) package by using two schedules

C Insert a new row to dm_os_schedulers

D X Create a database maintenance plan by using the Database Maintenance Wizard

Question 13

You administer a Microsoft SQL Server 2008 R2 instance by using a database named AdventureWorks2008R2 You need

to implement transparent data encryption for a database hosted by the server

Which four Transaction-SQL statements should you use?

Select and Place:

Trang 18

QUESTION 14

You administer two SQL Server 2008 instance that contains a database named DB1 DB1 contains a table namedSales.Table1 You need to obtain the effective permissions of a user named User1 to access the Sales.Table1 table Which Transact-SQL statement(s) should you execute in the DB1 database?

A EXEC sp_helprotect 'Sales.Table1', 'User1';

B X EXECUTE AS USER = 'User1'; SELECT * FROM sys.fn_my_permissions('Sales.Table1', 'OBJECT');

C SELECT * FROM sys.database_permissions WHERE class_desc = OBJECT_ID('Sales.Table1') ANDgrantee_principal_id = USER_ID('User1');

D SELECT * FROM sys.sysprotects WHERE uid = USER_ID('User1') AND id = OBJECT_ID('Sales.Table1');

Question 15

You administer a Microsoft SQL Server 2008 R2 database installed along with the default settings

You want to migrate a database from a SQL Server 2000 server that is being decommissioned The application executes anumber of Windows command-line calls from stored procedures in the database You need to configure SQL Server 2008R2 to allow command-line calls from the database

Which three actions should you perform in sequence?

Select and Place:

Trang 19

Correct Answer:

Trang 20

Question 16

You administer two SQL Server 2008 instances named Instance1 and Instance2 A database named Customers resides onInstance1 You move the Customers database from Instance1 to Instance2.The user attempts to access the Customersdatabase on Instance2 by using the SQL Server login User1 However, the user receives an error message which indicatesthat the access to the Customers database is denied You need to ensure the User1 can access the Customers database.Which Transact-SQL statements should you execute on Instance2?

A USE Customers; ALTER USER User1 ENABLE;

B USE Customers; ALTER LOGIN User1 WITH PASSWORD = '111999' UNLOCK;

C X USE Customers; ALTER USER User1 WITH LOGIN = User1;

D USE Customers; ALTER LOGIN User1 WITH DEFAULT_DATABASE = Customers;

Question 17

Note: This question is part of a series of questions that use the same or similar answer choices An answer choice may becorrect 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 database that contains an OrderItems table The table has the followingdefinition:

CREATE TABLE [OrderItems] (OrderID INT NOT NULL, OrderDate DATETIME NOT NULL,

OrderLine INT NOT NULL, ProductID INT NOT NULL, Quantity INT NOT NULL, PriceEach MONEY NOT NULL,

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

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm

w