Easily Pass 70-464 Exam With Lead2pass Latest Microsoft 70-464 VCE And PDF Dumps (51-60)

By | May 6, 2015

Need The Newest 70-464 Exam Dumps? Why not try Lead2pass 70-464 vce or pdf exam dumps? You can get all the new 70-464 exam questions and answers you need, we ensure high pass rate and money back guarantee.

QUESTION 51
You need to add a new column named Confirmed to the Attendees table.
The solution must meet the following requirements:

– Have a default value of false.
– Minimize the amount of disk space used.
Which code block should you use?
 

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: B
Explanation:
http://msdn.microsoft.com/en-us/library/ms177603.aspx
QUESTION 52
You execute usp_TestSpeakers.
You discover that usp_SelectSpeakersByName uses inefficient execution plans.
You need to update usp_SelectSpeakersByName to ensure that the most efficient execution plan is used.
What should you add at line 30 of Procedures.sql?

A.    OPTION (FCRCESCAN)
B.    OPTION (FCRCESEEX)
C.    OPTION (OPTIMIZE FOR UNKNOWN)
D.    OPTION (OPTIMIZE FOR (@lastName = ‘Anderson’))

Answer: C
Explanation:
http://msdn.microsoft.com/en-us/library/ms181714.aspx
QUESTION 53
You need to create the object used by the parameter of usp_InsertSessions.
Which statement should you use?

A.    CREATEXML SCHEMA COLLECTION SessionDataTable
B.    CREATETYPE SessionDataTable AS Table
C.    CREATESCHEMA SessionDataTable
D.    CREATETABLE Sessior.EataTable

Answer: C
QUESTION 54
Developers report that usp_UpdateSessionRoom periodically returns error 3960.
You need to prevent the error from occurring. The solution must ensure that the stored procedure returns the original values to all of the updated rows.
What should you configure in Procedures.sql?

A.    Replace line 46 with the following code:
        SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
B.    Replace line 46 with the following code:
        SETTRANSACTIONISOLATIONLEVELREPEATABLEREAD
C.    Move the SELECT statement at line 49 to line 57.
D.    Move the SET statement at line 46 to line 53.

Answer: A
QUESTION 55
You discover that usp.SelectSpeakersByName executes slowly if usp_UpdateSpeakerName executes simultaneously.
You need to minimize the execution time of usp.SelectSpeakersByName.
The solution must not affect the performance of the other stored procedures.
What should you update?

A.    Usp_UpdateSpeakerName to use the NOLOCK query hint
B.    Usp_UpdateSpeakerName to use snapshot isolation
C.    Usp_SelectSpeakersByName to use the NOLOCK query hint
D.    Usp_SelectSpeakersByName to use snapshot isolation

Answer: C
Explanation:
NOLOCK
Is equivalent to READUNCOMMITTED.
READUNCOMMITTED
Specifies that dirty reads are allowed.
QUESTION 56
While testing usp.GetFutureSessions, you discover that IX_Sessions is accessed by a scan rather than a seek.
You need to minimize the amount of time it takes to execute usp_GetFutureSessions.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
 

A.    Option A
B.    Option B
C.    Option C
D.    Option D
E.    Option E
F.    Option F

Answer: BE
Explanation:
Future delivery dates.
QUESTION 57
You need to ensure that if any of the statements in usp_UpdateSpeakerName return an error message, all of the changes executed by usp_UpdateSpeakerName are not committed to the database.
What should you do in Procedures.sql? (Each correct answer presents part of the solution. Choose all that apply.)
 
A.    Option A
B.    Option B
C.    Option C
D.    Option D
E.    Option E

Answer: BD
Case Study 2: Scenario 2 (Question 58 ~ Question 68)
All Information
Your company receives invoices in XML format from customers. Currently, the invoices are stored as files and processed by a desktop application. The application has several performance and security issues. The application is being migrated to a SQL Server-based solution. A schema named InvoiceSchema has been created for the invoices xml. The data in the invoices is sometimes incomplete. The incomplete data must be stored and processed as-is. Users cannot filter the data provided through views.
You are designing a SQL Server database named DB1 that will be used to receive, process, and securely store the invoice data. A third-party Microsoft .NET Framework component will be purchased to perform tax calculations. The third-party tax component will be provided as a DLL file named Treytax.dll and a source code file named Amortize.cs. The component will expose a class named TreyResearch and a method named Amortize(). The files are located in c:\temp\.
The following graphic shows the planned tables:
 
You have a sequence named Accounting.InvoiceID_Seq. You plan to create two certificates named CERT1 and CERT2. You will create CERT1 in master. You will create CERT2 in DB1. You have a legacy application that requires the ability to generate dynamic T-SQL statements against DB1. A sample of the queries generated by the legacy application appears in Legacy.sql.
Application Requirements
The planned database has the following requirements:
– All stored procedures must be signed.
– The original XML invoices must be stored in the database.
– An XML schema must be used to validate the invoice data.
– Dynamic T-SQL statements must be converted to stored procedures.
– Access to the .NET Framework tax components must be available to T-SQL objects.
– Columns must be defined by using data types that minimize the amount of space used by each table.
– Invoices stored in the InvoiceStatus table must refer to an invoice by the same identifier used by the Invoice table.
– To protect against the theft of backup disks, invoice data must be protected by using the highest level of encryption.
– The solution must provide a table-valued function that provides users with the ability to filter invoices by customer.
– Indexes must be optimized periodically based on their fragmentation by using the minimum amount of administrative effort.
Usp_InsertInvoices.sql
 
Invoices.xml
All customer IDs are 11 digits. The first three digits of a customer ID represent the customer’s country. The remaining eight digits are the customer’s account number. The following is a sample of a customer invoice in XML format:

InvoiceByCustomer.sql

Legacy.sql

CountryFromID.sql
 
IndexManagement.sql

QUESTION 58
You need to modify InsertInvoice to comply with the application requirements.
Which code segment should you execute?

A.    OPEN CERT1;
        ALTER PROCEDURE Accounting.usp_AuthPayment
        WITH ENCRYPTION;
        CLOSE CERT1;
B.    OPEN CERT2;
        ALTER PROCEDURE Accounting,usp_AuthPayment
        WITH ENCRYPTION;
        CLOSE CERT2;
C.    ADD SIGNATURE TO Accounting.usp_AuthPayment
        BY CERTIFICATE CERT1;
D.    ADD SIGNATURE TO Accounting.usp_AuthPayment
        BY CERTIFICATE CERT2;

Answer: D
Explanation:
http://msdn.microsoft.com/en-us/library/bb669102.aspx
QUESTION 59
Which data type should you use for CustomerID?

A.    varchar(11)
B.    bigint
C.    nvarchar(11)
D.    char(11)

Answer: D
Explanation:
Invoices.xml
All customer IDs are 11 digits. The first three digits of a customer ID represent the customer’s country. The remaining eight digits are the customer’s account number.
int: -2^31 (-2,147,483,648) to 2^31-1 (2,147,483,647) (just 10 digits max) bigint: -2^63 (-9,223,372,036,854,775,808) to 2^63-1 (9,223,372,036,854,775,807)
http://msdn.microsoft.com/en-us/library/ms176089.aspx
http://msdn.microsoft.com/en-us/library/ms187745.aspx
QUESTION 60
You need to modify the function in CountryFromlD.sql to ensure that the country name is returned instead of the country ID.
Which line of code should you modify in CountryFromlD.sql?

A.    06
B.    04
C.    19
D.    05

Answer: C
Explanation:
http://msdn.microsoft.com/en-us/library/ms186755.aspx
http://msdn.microsoft.com/en-us/library/ms191320.aspx

[100% Valid] Most accurate Microsoft 70-464  exam practice test, helping a lot candidate pass the exam in their first attempt. Free download 70-464 191q exam dumps on Lead2pass.com.

http://www.lead2pass.com/70-464.html