Lead2pass provides you with the most reliable practice exams to master Microsoft 70-459 Certification. Our Microsoft questions and answers are certified by the senior lecturer and experienced technical experts in the Microsoft field. These test questions provide you with the experience of taking the actual test.
You have a database hosted on SQL Azure.
You are developing a script to create a view that will be used to update the data in a table.
The following is the relevant portion of the script. (Line numbers are included for reference only.)
You need to ensure that the view can update the data in the table, except for the data in Columnl.
Which code segment should you add at line 06?
A. WITH VIEW_METADATA
B. WITH ENCRYPTION
C. WITH CHECK OPTION
D. WITH SCHEMABINDING
You have a text file that contains an XML Schema Definition (XSD).
You have a table named Schema1.Table1.
You have a stored procedure named Schema1.Proc1 that accepts an XML parameter named Param1.
You need to store validated XML data in Schema1.Table1.
The solution must ensure that only valid XML data is accepted by Param1.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Use the modify method to insert the XML schema into each row of the XML column in Table1.
B. Define an XML column in Table1 by using an XML schema collection.
C. Declare Param1 var1 as type XML and associate the variable to the XML schema collection.
D. Create an XML schema collection in the database from the text file.
You have an index for a table in a SQL Azure database.
The database is used for Online Transaction Processing (OLTP).
You discover that many page splits occur when records are inserted or updated in the table.
You need to minimize the number of page splits.
What should you set from the index options?
A. FILLFACTOR = 0
B. STATISTICS_NORECOMPUTE = ON
C. STATISTICS_NORECOMPUTE = OFF
D. FILLFACTOR = 80
You have a SQL Azure database.
You execute the following script:
You add 1 million rows to Table1.
Approximately 85 percent of all the rows have a null value for Column2.
You plan to deploy an application that will search Column2.
You need to create an index on Table1 to support the planned deployment.
The solution must minimize the storage requirements.
Which code segment should you execute?
A. CREATE INDEX IX_Table1 ON Table1 (Column1)
B. CREATE INDEX IX_Table1 ON Table1 (Coiumn2)
WHERE Column2 IS NOT NULL
C. CREATE INDEX IX_Table1 ON Table1 (Column2)
WHERE Column2 IS NULL
D. CREATE INDEX IX_Table1 ON Table1 (Column2)
You are creating a table named Orders.
You need to ensure that every time a new row is added to the Orders table, a table that is used for auditing is updated.
What should you use? More than one answer choice may achieve the goal. Select the BEST answer.
A. a DEFAULT constraint
B. a Data Definition Language (DDL) trigger
C. a CHECK constraint
D. a FOREIGN KEY constraint
E. a data manipulation language (DML) trigger
Drag and Drop Question
You execute the following code:
CREATE TA3LS Customers
id int primary key,
You discover that the Customers table was created in the dbo schema.
You need to create a code segment to move the table to another schema named Schema2.
What should you create? To answer, drag the appropriate code segments to the correct location in the answer area. (Answer choices may be used once, more than once, or not at all.)
You have a database named database1.
Database developers report that there are many deadlocks.
You need to implement a solution to monitor the deadlocks.
The solution must meet the following requirements:
– Support real-time monitoring.
– Be enabled and disabled easily.
– Support querying of the monitored data.
What should you implement? More than one answer choice may achieve the goal. Select the BEST answer.
A. a SQL Server Profiler template
B. an Extended Events session
C. log errors by using trace flag 1204
D. log errors by using trace flag 1222
You execute the following code.
You need to reduce the amount of time it takes to execute the query.
What should you do?
A. Change SUBSTRING(JobTitle,1, 1) = `c’ to JobTitle LIKE `c%1′.
B. Partition the table and use the JobTitle column for the partition scheme.
C. Replace IX_Employees with a clustered index.
D. Change SUBSTRING (JobTitle, 1, 1) = V to LEFT(JobTitle ,1) = ‘c’.
You have a SQL Server 2012 database named DB1.
You have a backup device named Device1.
You discover that the log file for the database is full.
You need to ensure that DB1 can complete transactions.
The solution must not affect the chain of log sequence numbers (LSNs).
Which code segment should you execute?
A. BACXUP LOG DB1 TO Device1 WITH TRUNCATE_ONLY
B. BACKUP LOG DB1 TO Device1 WITH COPY_ONLY
C. BACKUP LCG DB1 TO Device1 WITH NORECOVERY
D. BACKUP LOG DB1 TO Device1
You have a server that has SQL Server 2012 installed.
You need to identify which parallel execution plans are running in serial.
Which tool should you use?
A. Performance Monitor
B. Database Engine Tuning Advisor
C. Extended Events
D. Data Profile Viewer
Exam 70-459 Q&A from Lead2pass include:
Comprehensive questions with complete details.
100% Accurate and Verified Answers .
Most of Exam Answesrs with Explanations.
Printable questions and answers.
Complete coverage of exam objectives.
Regular Updates to Reflect Current Exam Material.