[Free] Download New Updated (February 2016) Microsoft 70-459 Practice Tests Topic 2, Contoso Ltd

Ensurepass

Topic 2, Contoso Ltd

 

Overview

Application Overview

Contoso, Ltd., is the developer of an enterprise resource planning (ERP) application.

 

Contoso is designing a new versionof the ERP application. The previous version of the ERP application used SQL Server 2008 R2. The new version will use SQL Server 2012.

 

The ERP application relies on an import process to load supplier data. The import process updates thousands of rows simultaneously, requires exclusive access to the database, and runs daily.

 

You receive several support calls reporting unexpected behavior in the ERP application. After analyzing the calls, you conclude that users made changes directly to the tables in the database.

 

Tables

The current database schema contains a table named OrderDetails. The OrderDetails table contains information about the items sold for each purchase order. OrderDetails stores the product ID, quantities, and discounts applied to each product in a purchase order. The product price is stored in a table named Products.

 

The Products table was defined by using the SQL_Latinl_General_CP1_CI_AS collation. A column named ProductName was created by using the varchar data type.

 

The database containsa table named Orders. Orders contains alt of the purchase orders from the last 12 months. Purchase orders that are older than 12 months are stored in a table named OrdersOld.

 

The previous version of the ERP application relied on table-level security.


 

Stored Procedures

The current version of the database contains stored procedures that change two tables. The following shows the relevant portions of the two stored procedures:

 

clip_image002

 

Customer Problems

Installation Issues

The current version of the ERPapplication requires that several SQL Server logins be set up to function correctly. Most customers set up the ERP application in multiple locations and must create logins multiple times.

 

Index Fragmentation Issues

Customers discover that clustered indexes often are fragmented. To resolve this issue, the customers defragment the indexes more frequently.

 

All of the tables affected by fragmentation have the following columns that are used as the clustered index key:

 

clip_image004

 

Backup Issues

Customers who have large amounts of historical purchase order data report that backup time is unacceptable.

 

Search Issues

Users report that when they search product names, the search results exclude product names that contain accents, unless the search string includes the accent.

 

Missing Data Issues

Customers report that when they make a price change in the Products table, they cannot retrieve the price that the item was sold for in previous orders.

 

Query Performance Issues

Customers report that query performance degrades veryquickly. Additionally, the customers report that users cannot run queries when SQL Server runs maintenance tasks.

 

Import Issues

During the monthly import process, database administrators receive many supports call from users who report that they cannot access the supplier data. The database administrators want to reduce the amount of time required to import the data.

 

Design Requirements

File Storage Requirements

The ERP database stores scanned documents that are larger than 2 MB. These files must onlybe accessed through the ERP application. File access must have the best possible read and write performance.

 

Data Recovery Requirements

If the import process fails, the database must be returned to its prior state immediately.

 

Security Requirements

You must provide users with the ability to execute functions within the ERP application, without having direct access to the underlying tables.

 

Concurrency Requirements

You must reduce the likelihood of deadlocks occurring when Sales.Proc1 and Sales.Proc2 execute.

 

 

QUESTION 8

You need to recommend a solution that addresses the concurrency requirement. What should you recommend?

 

A.

Make calls to Sales.Proc1 and Sales.Proc2 synchronously.

B.

Modify the stored procedures to update tables in the same orderfor all of the stored procedures.

C.

Call the stored procedures in a Distributed Transaction Coordinator (DTC) transaction.

D.

Break each stored procedure into two separate procedures, one that changes Sales.Table1 and one that changes Sales.Table2.

 

Correct Answer: B

Explanation:

References:

http://msdn.microsoft.com/en-us/library/ms191242%28v=SQL.105%29.aspx

http://msdn.microsoft.com/en-us/library/bb677357.aspx

http://msdn.microsoft.com/en-us/library/ms378149.aspx

 

 

QUESTION 9

You need to recommend a solution thataddresses the backup issue. The solution must minimize the amount of development effort. What should you include in the recommendation?

 

A.

filegroups

B.

indexed views

C.

table partitioning

D.

indexes

 

Correct Answer: A

Explanation:

References:

http://msdn.microsoft.com/en-us/library/ms187048.aspx

http://msdn.microsoft.com/en-us/library/ms189563.aspx

http://msdn.microsoft.com/en-us/library/ms190174.aspx

http://msdn.microsoft.com/en-us/library/ms190787.aspx

http://msdn.microsoft.com/en-us/library/ms175049.aspx

 

 

QUESTION 10

You need to recommend a solution that addresses the index fragmentation and index width issue. What should you include in the recommendation? (Each correct answer presents part of the solution. Choose all that apply.)

 

A.

Change the data type of the lastModified column to smalldatetime.

B.

Remove the modifiedBy column from the clustered index.

C.

Change the data type of the id column to bigint.

D.

Remove the lastModified column from the clustered index.

E.

Change the data type of the modifiedBy column totinyint.

F.

Remove the id column from the clustered index.

 

Correct Answer: BCD

Explanation:

References:

http://technet.microsoft.com/en-us/library/ms190639.aspx

http://msdn.microsoft.com/en-us/library/ms190457.aspx

http://msdn.microsoft.com/en-us/library/ms186342.aspx

http://msdn.microsoft.com/en-us/library/ms189280.aspx

http://stackoverflow.com/questions/255569/sql-data-type-for-primary-key-sql-server

http://sqlservernet.blogspot.com/2012/01/which-data-type-is-good-for-primary-key.html

http://msdn.microsoft.com/en-us/library/jj591574.aspx

http://www.informit.com/articles/article.aspx?p=25862&seqNum=5

 

 

QUESTION 11

You need to recommend a solution that meets the data recovery requirement. What should you include in the recommendation?

 

A.

a differential backup

B.

snapshot isolation

C.

a transaction log backup

D.

a database snapshot

 

Correct Answer: D

Explanation:

References:

http://msdn.microsoft.com/en-us/library/ms175158.aspx

http://msdn.microsoft.com/en-us/library/ms378149.aspx

http://msdn.microsoft.com/en-us/library/ms187048.aspx

 

 

 

QUESTION 12

You need to recommend changes to the ERP application to resolve the search issue. The solution must minimize the impact on other queries generated from the ERP application. What should you recommend changing?

 

A.

the data type of the ProductName column

B.

the collation of the Products table

C.

the collation of the ProductName column

D.

the index on the ProductName column

 

Correct Answer: C

Explanation:

References:

http://msdn.microsoft.com/en-us/library/ff848763.aspx

http://msdn.microsoft.com/en-us/library/ms143726.aspx

http://msdn.microsoft.com/en-us/library/ms190920.aspx

 

Free VCE & PDF File for Microsoft 70-459 Real Exam

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…