Killtest题库

专业IT认证题库学习资料,助您通过IT认证考试!

« killtest题库网提供最新的650-177题库下载!最新的9L0-007题库下载!(killtest题库网提供) »

killtest题库网提供最新的70-433题库免费下载!

MCITP认证70-433考试题库由我们专业IT认证讲师及产品专家精心打造,包括了当前最新的全真试题,全部附有正确答案。题库的覆盖率在96%以上,在认证厂商对考题做出变化时,网站都将在第一时间内更新题库,确保考生能一次通过考试。

  考试代号:70-433

  认证名称:TS: Microsoft SQL Server 2008, Database Development

版本号:V8.02

考题数量:141

更新日期:2010-8-14

1. You have a user named John. He has SELECT access to the Sales schema. You need to eliminate John's SELECT access rights from the Sales.SalesOrder table without affecting his other permissions.

Which Transact-SQL statement should you use?

A. DROP USER John;

B. DENY SELECT ON Sales.SalesOrder TO John;

C. GRANT DELETE ON Sales.SalesOrder TO John;

D. REVOKE SELECT ON Sales.SalesOrder FROM John;

Answer: B

2. You need to create a column that allows you to create a unique constraint.

Which two column definitions should you choose? (Each correct answer presents a complete solution. ( Choose two.)

A. nvarchar(100) NULL

B. nvarchar(max) NOT NULL

C. nvarchar(100) NOT NULL

D. nvarchar(100) SPARSE NULL

Answer: AC

3. You manage a SQL Server 2008 database that is located at your company's corporate headquarters.  The database contains a table named dbo.Sales. You need to create different views of the dbo.Sales table that will be used by each region to insert, update, and delete rows. Each regional office must only be able to insert, update, and delete rows for their respective region.

Which view should you create for Region1?

A. CREATE VIEW dbo.Region1Sales

AS

SELECT SalesID,OrderQty,SalespersonID,RegionID

FROM dbo.Sales

WHERE RegionID = 1;

B. CREATE VIEW dbo.Region1Sales

AS

SELECT SalesID,OrderQty,SalespersonID,RegionID

FROM dbo.Sales

WHERE RegionID = 1

WITH CHECK OPTION;

C. CREATE VIEW dbo.Region1Sales

WITH SCHEMABINDING

AS

SELECT SalesID,OrderQty,SalespersonID,RegionID

FROM dbo.Sales

WHERE RegionID = 1;

D. CREATE VIEW dbo.Region1Sales

WITH VIEW_METADATA

AS

SELECT SalesID,OrderQty,SalespersonID,RegionID

FROM dbo.Sales

WHERE RegionID = 1;

Answer: B

4. You administer a SQL Server 2008 database that contains a table name dbo.Sales, which contains the following table definition:

CREATE TABLE [dbo].[Sales]( [SalesID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED,

[OrderDate] [datetime] NOT NULL,

[CustomerID] [int] NOT NULL,

[SalesPersonID] [int] NULL,

[CommentDate] [date] NULL);

This table contains millions of orders. You run the following query to determine when sales persons comment in the dbo.Sales table:

SELECT SalesID,CustomerID,SalesPersonID,CommentDate

FROM dbo.Sales WHERE CommentDate IS NOT NULL

AND SalesPersonID IS NOT NULL;

You discover that this query runs slow. After examining the data, you find only 1% of rows have comment dates and the SalesPersonID is null on 10% of the rows. You need to create an index to optimize the query. The index must conserve disk space while optimizing your query.

Which index should you create?

A. CREATE NONCLUSTERED INDEX idx1

ON dbo.Sales (CustomerID)

INCLUDE (CommentDate,SalesPersonID);

B. CREATE NONCLUSTERED INDEX idx1

ON dbo.Sales (SalesPersonID)

INCLUDE (CommentDate,CustomerID);

C. CREATE NONCLUSTERED INDEX idx1

ON dbo.Sales (CustomerID)

INCLUDE(CommentDate)

WHERE SalesPersonID IS NOT NULL;

D. CREATE NONCLUSTERED INDEX idx1

ON dbo.Sales (CommentDate, SalesPersonID)

INCLUDE(CustomerID)

WHERE CommentDate IS NOT NULL;

Answer: D

5. Your database is 5GB and contains a table named SalesHistory. Sales information is frequently inserted and updated.

You discover that excessive page splitting is occurring.

You need to reduce the occurrence of page splitting in the SalesHistory table.

Which code segment should you use?.

A. ALTER DATABASE Sales

MODIFY FILE

(NAME = Salesdat3,

SIZE = 10GB);

B. ALTER INDEX ALL ON Sales.SalesHistory

REBUILD WITH (FILLFACTOR = 60);

C. EXEC sys.sp_configure 'fill factor (%)', '60';

D. UPDATE STATISTICS Sales.SalesHistory(Products)

WITH FULLSCAN, NORECOMPUTE;

Answer: B

6. You have a table named Customer. You need to ensure that customer data in the table meets the following requirements:

credit limit must be zero unless customer identification has been verified.

credit limit must be less than 10,000. Which constraint should you use?

A. CHECK (CreditLimt BETWEEN 1 AND 10000)

B. CHECK (Verified = 1 AND CreditLimt BETWEEN 1 AND 10000)

C. CHECK ((CreditLimt = 0 AND Verified = 0) OR (CreditLimt BETWEEN 1 AND 10000 AND Verified = 1))

D. CHECK ((CreditLimt = 0 AND Verified = 0) AND (CreditLimt BETWEEN 1 AND 10000 AND Verified =

1))

Answer: C

 如需下载更多的题库,可登陆killtest题库网

 

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最近发表

Powered By Z-Blog 1.8 Arwen Build 81206

Copyright xxxx-xxxx Your WebSite. Some Rights Reserved.