This page was exported from Braindump2go Free Exam Dumps with PDF and VCE Collection [ https://www.mcitpdump.com ] Export date:Sat Apr 20 7:33:42 2024 / +0000 GMT ___________________________________________________ Title: 70-464 Exam Pass 100% OR Money Back Download 70-464 New Exam Dumps From Braindump2go Instantly! (81-90) --------------------------------------------------- 100% Pass 70-464 Real Test is not a dream! Braindump2go Latest Released 70-464 Exam Practice Exam Dumps will help you pass 70-464 Exam one time easiluy! Free Sample Exam QAuestions and Answers are offered for free download now! Quickly having a try today! Never loose this valuable chance! Vendor: Microsoft Exam Code: 70-464 Exam Name: Developing Microsoft SQL Server 2014 Databases Exam QUESTION 81You need to provide referential integrity between the Offices table and Employees table. Which code segment or segments should you add at line 27 of Tables.sql? (Each correct answer presents part of the solution. Choose all that apply.) A.    Option AB.    Option BC.    Option CD.    Option D Answer: CDExplanation:http://msdn.microsoft.com/en-us/library/ms189049.aspx QUESTION 82You execute usp_SelectEmployeesByName multiple times, passing strings of varying lengths to @>LastName. You discover that usp_SelectEmployeesByName uses inefficient execution plans. You need to update usp_SelectEmployeesByName to ensure that the most efficient execution plan is used. What should you add at line 31 of StoredProcedures.sql? A.    OPTION (KEEPFIXED PLAN)B.    OPTION (KEEP PLAN)C.    OPTION (ROBUST PLAN)D.    OPTION (OPTIMIZE FOR UNKNOWN) Answer: DExplanation:http://msdn.microsoft.com/en-us/library/ms181714.aspx QUESTION 83You need to add a new column named Confirmed to the Employees table. The solution must meet the following requirements:- Have a default value of TRUE.- Minimize the amount of disk space used.Which code segment should you use? A.    Option AB.    Option BC.    Option CD.    Option D Answer: D QUESTION 84You need to recommend a solution to ensure that SQL1 supports the auditing requirements of usp_UpdateEmployeeName. What should you include in the recommendation? A.    change data captureB.    transactional replicationC.    change trackingD.    the Distributed Transaction Coordinator (DTC) Answer: D QUESTION 85You need to create the object used by the parameter of usp_UpdateEmployeeName. Which code segment should you use? A.    CREATE XML SCHEMA COLLECTION EmployeesInfoB.    CREATE TABLE EmployeesInfoC.    CREATE TYPE EmployeesInfo AS TableD.    CREATE SCHEMA EmployeesInfo Answer: CExplanation:Example Usage of Table-Valued Parameters (Database Engine) http://msdn.microsoft.com/en-us/library/bb510489.aspx(Benefits of using Table-Valued Parameters)- Create a table type. */CREATE TYPE LocationTableType AS TABLE( LocationName VARCHAR(50), CostRate INT );GO- Create a procedure to receive data for the table-valued parameter. - CREATE PROCEDURE dbo. usp_InsertProductionLocation @TVP LocationTableType READONLYASSET NOCOUNT ONINSERT INTO AdventureWorks2012.Production.Location (Name,CostRate,Availability,ModifiedDate)SELECT *, 0, GETDATE()FROM @TVP;GOAlso:http://msdn.microsoft.com/en-us/library/ms175007.aspx(CREATE TYPE *tabletypename* AS TABLE)http://msdn.microsoft.com/en-us/library/ms175010.aspx(table data types) Wrong Answers:http://msdn.microsoft.com/en-us/library/ms174979.aspx(CREATE TABLE) http://msdn.microsoft.com/en-us/library/ms189462.aspx(CREATE SCHEMA) http://msdn.microsoft.com/en-us/library/ms176009.aspx (CREATE XML SCHEMA COLLECTION) Case Study 5: Litware Inc (Question 86 ~ Question 96)General OverviewYou are a database developer for a company named Litware, Inc. Litware has a main office in Miami.Litware has a job posting web application named WebApp1. WebApp1 uses a database named DB1. DB1 is hosted on a server named Server1. The database design of DB1 is shown in the exhibit. (Click the Exhibit button.) WebApp1 allows a user to log on as a job poster or a job seeker. Candidates can search for job openings based on keywords, apply to an opening, view their application, and load their resume in Microsoft Word format. Companies can add a job opening, view the list of candidates who applied to an opening, and mark an application as denied.Users and RolesDB1 has five database users named Company, CompanyWeb, Candidate, CandidateWeb, and Administrator.DB1 has three user-defined database roles. The roles are configured as shown in the following table. Keyword SearchThe keyword searches for the job openings are performed by using the following stored procedure named usp_GetOpenings: Opening UpdateUpdates to the Openings table are performed by using the following stored procedure named usp_UpdateOpening: The Candidates role and the Companies role are assigned the GRANT EXECUTE permission for usp_UpdateOpening.Problems and Reported IssuesConcurrency ProblemsYou discover that deadlocks frequently occur.You identify that a stored procedure named usp_AcceptCandidate and a stored procedure named usp_UpdateCandidate generate deadlocks. The following is the code for usp_AcceptCandidate: Salary Query IssuesUsers report that when they perform a search for job openings without specifying a minimum salary, only job openings that specify a minimum salary are displayed.Log File Growth IssuesThe current log file for DB1 grows constantly. The log file fails to shrink even when the daily SQL Server Agent Shrink Database task runs.Performance IssuesYou discover that a stored procedure named usp_ExportOpenings takes a long time to run and executes a table scan when it runs.You also discover that the usp_GetOpenings stored procedure takes a long time to run and that the non-clustered index on the Description column is not being used.Page Split IssuesOn DB1, many page splits per second spike every few minutes.RequirementsSecurity and Application RequirementsLitware identifies the following security and application requirements:- Only the Administrator, Company, and CompanyWeb database users must be able to execute the usp_UpdateOpening stored procedure. - Changes made to the database must not affect WebApp1.Locking RequirementsLitware identifies the following locking requirements:- The usp_GetOpenings stored procedure must not be blocked by the usp_UpdateOpening stored procedure.- If a row is locked in the Openings table, usp_GetOpenings must retrieve the latest version of the row, even if the row was not committed yet.Integration RequirementsLitware exports its job openings to an external company as XML data. The XML data uses the following format: A stored procedure named usp_ExportOpenings will be used to generate the XML data. The following is the code for usp_ExportOpenings: The stored procedure will be executed by a SQL Server Integration Services (SSIS) package named Package1.The XML data will be written to a secured folder named Folder1. Only a dedicated Active Directory account named Account1 is assigned the permissions to read from or write to Folder1.Refactoring RequirementsLitware identifies the following refactoring requirements:New code must be written by reusing the following query: The results from the query must be able to be joined to other queries.Upload RequirementsLitware requires users to upload their job experience in a Word file by using WebApp1. WebApp1 will send the Word file to DB1 as a stream of bytes. DB1 will then convert the Word file to text before the contents of the Word file is saved to the Candidates table.A database developer creates an assembly named Conversions that contains the following:A class named Convert in the SqlConversions namespace A method named ConvertToText in the Convert class that converts Word files to textThe ConvertToText method accepts a stream of bytes and returns text. The method is used in the following stored procedure: Job Application RequirementsA candidate can only apply to each job opening once.Data Recovery RequirementsAll changes to the database are performed by using stored procedures. WebAppl generates a unique transaction ID for every stored procedure call that the application makes to the database.If a server fails, you must be able to restore data to a specified transaction. QUESTION 86You need to create a script that automates the export of the XML data. The script must meet the integration requirements.What should you include in the script? A.    The CREATE SERVER ROLE command and the sp_add_proxy, sp_add_job,sp_add_jobstep/ and sp_grant_proxy_to_subsystem system stored procedures.B.    The CREATE CREDENTIAL command and the sp_reassign_proxy, sp_add_job, sp_add_jobstep, and sp_grant_login_to_proxy system stored procedures.C.    The CREATE CREDENTIAL command and the sp_add_proxy, sp_add_job, sp_add_jobstep, and sp_grant_proxy_to_subsystem system stored procedures.D.    The CREATE SERVER ROLE command and the sp_reassign_proxy, sp_add_job, sp_add_jobstep, and sp_grant_login_to_proxy system stored procedures. Answer: C QUESTION 87You need to resolve the performance issues of the usp_ExportOpenings stored procedure. The solution must minimize the amount of hard disk space used.Which statement should you execute on DB1? A.    EXEC sp_dboption 'DB1', 'auto create statistics', 'TRUE';B.    CREATE INDEX IX_Exp_Openings ON Openings(PostDate, FilledDate) INCLUDE (Description, Title, Salary);C.    CREATE INDEX IX_Exp_Openings ON Openings(PostDate) INCLUDE (Description, Title, Salary) WHERE FilledDate IS NULL;D.    EXEC sp_recompile 'usp_ExportOpenings'; Answer: C QUESTION 88You need to implement a solution that meets the job application requirements.What should you do? A.    Create a one-to-one relationship between the Candidates table and the Applications table.B.    Create a one-to-one relationship between the Openings table and the Applications table.C.    Add a UNIQUE constraint to the Applications table on the OpeningID column and the CandidateID column.D.    Add a UNIQUE constraint to the Applications table on the ApplicationID column and CandidateID column. Answer: C QUESTION 89You need to identify the cause of the page split issues.Which SQL Server feature should you use? A.    DBCC TRACEOFFB.    DBCC REINDEXC.    Extended EventsD.    SQL Server Profiler Answer: C QUESTION 90You need to design a solution that meets the refactoring requirements.Which type of object should you include in the solution? A.    A table-valued functionB.    A distributed viewC.    An aggregate functionD.    An indexed view Answer: A For those who feel the overwhelming anxiety before their 70-464 exam,Braindump2go Latest updated 70-464 Exam Dumps will help you Pass 100% in a short time preparation! 70-464 Exam Dumps PDF & VCE Full Version Instant Download! http://www.braindump2go.com/70-464.html --------------------------------------------------- Images: http://www.itexamquiz.com/braindump2go/bdimages/ab15c34bbcf0_C2A9/1922.png http://www.itexamquiz.com/braindump2go/bdimages/ab15c34bbcf0_C2A9/wpsB112.tmp_thumb_thumb.png http://www.itexamquiz.com/braindump2go/bdimages/ab15c34bbcf0_C2A9/wpsD075.tmp_thumb_thumb.png http://www.itexamquiz.com/braindump2go/bdimages/ab15c34bbcf0_C2A9/wps3032.tmp_thumb_thumb.png http://www.itexamquiz.com/braindump2go/bdimages/ab15c34bbcf0_C2A9/wps50DD.tmp_thumb2_thumb.png http://www.itexamquiz.com/braindump2go/bdimages/ab15c34bbcf0_C2A9/wps8111.tmp_thumb_thumb.png http://www.itexamquiz.com/braindump2go/bdimages/ab15c34bbcf0_C2A9/wps53FA.tmp_thumb_thumb.png http://www.itexamquiz.com/braindump2go/bdimages/ab15c34bbcf0_C2A9/wps7FBC.tmp_thumb_thumb.png http://www.itexamquiz.com/braindump2go/bdimages/ab15c34bbcf0_C2A9/wpsB04E.tmp_thumb_thumb.png http://www.itexamquiz.com/braindump2go/bdimages/ab15c34bbcf0_C2A9/wpsD195.tmp_thumb_thumb.png http://www.itexamquiz.com/braindump2go/bdimages/ab15c34bbcf0_C2A9/wpsEF82.tmp_thumb2_thumb.png http://www.itexamquiz.com/braindump2go/bdimages/ab15c34bbcf0_C2A9/wps23DB.tmp_thumb_thumb.png http://www.itexamquiz.com/braindump2go/bdimages/ab15c34bbcf0_C2A9/1522.png --------------------------------------------------- --------------------------------------------------- Post date: 2015-03-03 05:51:47 Post date GMT: 2015-03-03 05:51:47 Post modified date: 2015-03-03 05:51:47 Post modified date GMT: 2015-03-03 05:51:47 ____________________________________________________________________________________________ Export of Post and Page as text file has been powered by [ Universal Post Manager ] plugin from www.gconverters.com