[April-2016-New]Braindump2go New Microsoft 70-465 Dumps Guarantee 100% Pass
2016 April New: Microsoft 70-465 Exam Questions and Answers Updated in Braidump2go.com Online Study Website!
You need to recommend a backup process for an Online Transaction Processing (OLTP) database.
The process must meet the following requirements:
– Ensure that if a hardware failure occurs, you can bring the database online with a minimum amount of data loss.
– Minimize the amount of administrative effort required to restore any lost data.
What should you include in the recommendation? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Answer:
QUESTION
You use SQL Server 2014 Enterprise Edition.
Your database contains a partitioned table named AuditData.
AuditData is partitioned by year.
Partition 1 contains data from the year 2010 and prior.
Management has decided to archive all AUDITDATA records from 2010 and prior.
Management wants the records to be removed from the database entirely and provided to the backup team as a zipped text file.
The data must no longer reside in the database.
There is very little tolerance for performance degradation in your environment.
You need to remove all 2010 and prior data from the AuditData table by using the least amount of system resources possible.
Develop the solution by selecting and arranging the required SQL actions in the correct order.
You may not need all of the actions.
Answer:
Explanation:
Note:
– Create a new partitioned table with the partition function you want, and then insert the data from the old table into the new table by using an INSERT INTO…SELECT FROM statement.
– SPLIT RANGE ( boundary_value )
Adds one partition to the partition function. boundary_value determines the range of the new partition, and must differ from the existing boundary ranges of the partition function. Based on boundary_value, the Database Engine splits one of the existing ranges into two.
Of these two, the one where the new boundary_value resides is considered the new partition.
– BCP can be used top produce the zipped text file.
– Example:
plitting a partition of a partitioned table or index into two partitions
The following example creates a partition function to partition a table or index into four partitions. ALTER PARTITION FUNCTION splits one of the partitions into two to create a total of five partitions.
CREATE PARTITION FUNCTION myRangePF1 (int)
AS RANGE LEFT FOR VALUES ( 1, 100, 1000 );
GO
–Split the partition between boundary_values 100 and 1000
–to create two partitions between boundary_values 100 and 500
–and between boundary_values 500 and 1000.
ALTER PARTITION FUNCTION myRangePF1 ()
SPLIT RANGE (500);
QUESTION
Drag and Drop Question
You are planning to deploy a database to Windows Azure SQL Database.
You need to design a stored procedure to update rows.
The stored procedure must meet the following requirements:
– If more than one row is updated, an error must be raised to the application and the update must be discarded.
– The stored procedure must be designed to maximize concurrency.
What should you include in the design? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Answer:
Explanation:
Box 1: Begin an explicit transaction.
Box 2: Perform an update in a try block.
Box 3: Read the @@ROWCOUNT system variable.
Box 4: Raise an error and roll back the transaction if the row count is less than 1.
Box 5: Commit the transaction in a finally block.
Note:
– Read Committed is SQL Server’s default isolation level.
– @@ROWCOUNT
eturns the number of rows affected by the last statement.
– Using TRY…CATCH in a transaction
The following example shows how a TRY…CATCH block works inside a transaction.
The statement inside the TRY block generates a constraint violation error.
– BEGIN TRANSACTION;
– BEGIN TRY
— Generate a constraint violation error.
DELETE FROM Production.Product
WHERE ProductID = 980;
END TRY
BEGIN CATCH
SELECT
ERROR_NUMBER() AS ErrorNumber
,ERROR_SEVERITY() AS ErrorSeverity
,ERROR_STATE() AS ErrorState
,ERROR_PROCEDURE() AS ErrorProcedure
,ERROR_LINE() AS ErrorLine
,ERROR_MESSAGE() AS ErrorMessage;
IF @@TRANCOUNT > 0
ROLLBACK TRANSACTION;
END CATCH;
IF @@TRANCOUNT > 0
COMMIT TRANSACTION;
GO
QUESTION
You are designing a monitoring application for a new SQL Server 2014 instance.
You need to recommend a solution to generate a report that displays the 10 most frequent wait types that occur for the instance.
What should you include in the recommendation? More than one answer choice may achieve the goal. Select the BEST answer.
A. The SQL Server error log
B. The sys.dm_os_wait_stats dynamic management view
C. The DBCC SQLPERF(WAITSTATS) command
D. SQL Server Profiler
Answer: B
Explanation:
sys.dm_os_wait_stats
Returns information about all the waits encountered by threads that executed.
You can use this aggregated view to diagnose performance issues with SQL Server and also with specific queries and batches.
Columns include:
waiting_tasks_count
Number of waits on this wait type.
This counter is incremented at the start of each wait.
QUESTION
Drag and Drop Question
You have two servers named SQL1 and SQL2 that have SQL Server 2012 installed.
SQL1 contains a database that is mirrored asynchronously to SQL2.
The database contents are updated once a month.
You need to upgrade the database to SQL Server 2014.
The solution must minimize downtime.
Which upgrade steps should you recommend? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Answer:
Explanation:
Box 1: Fail over.
Box 2: Upgrade SQL1.
Box 3: Upgrade SQL2.
Box 4: Establish a mirror.
Note:
– To perform the rolling upgrade
Step 1: For each mirroring session whose mirror server instance has just been upgraded, wait for the session to synchronize. Then, connect to the principal server instance, and manually fail over the session.
Step 2: Upgrade each server instance that is now the mirror server in all mirroring sessions in which it is a partner.
Step 3: Resume the mirroring session.
– When upgrading server instances to SQL Server 2014, you can reduce downtime for each mirrored database to only a single manual failover by performing a sequential upgrade, known as a rolling upgrade. A rolling upgrade is a multi-stage process that in its simplest form involves upgrading the server instance that is currently acting as the mirror server in a mirroring session, then manually failing over the mirrored database, upgrading the former principal server, and resuming mirroring
Reference: Minimize Downtime for Mirrored Databases When Upgrading Server Instances
QUESTION
You deploy a database by using SQL Server 2012.
The database contains a table named Table1.
You need to recommend a solution that meets the following requirements:
– Stores the most recent data from Table1 by using the fastest storage solution possible.
– Stores the historical data from Table1 by using a slower storage solution.
What should you recommend?
A. partitioned views
B. a database snapshot
C. change data capture
D. table partitioning
Answer: D
QUESTION
Drag and Drop Question
You plan to deploy SQL Server 2014.
Your company identifies the following monitoring requirements for the database:
– An e-mail message must be sent when a user logs in.
– An e-mail message must be sent if CPU utilization exceeds 90 percent.
You need to identify which feature meets each monitoring requirement.
Which features should you identify? To answer, drag the appropriate feature to the correct monitoring requirement in the answer area.
Answer:
QUESTION
You are creating a database that will store usernames and passwords for an application.
You need to recommend a solution to store the passwords in the database.
What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.
A. One-way encryption
B. Transparent Data Encryption (TDE)
C. Encrypting File System (EFS)
D. Reversible encryption
Answer: C
Explanation:
– Transparent Data Encryption (TDE) is a special case of encryption using a symmetric key.
TDE encrypts an entire database using that symmetric key called the database encryption key. The database encryption key is protected by other keys or certificates which are protected either by the database master key or by an asymmetric key stored in an EKM module.
– SQL Server provides the following mechanisms for encryption:
– Transact-SQL functions
– Asymmetric keys
– Symmetric keys
– Certificates
– Transparent Data Encryption
QUESTION
Drag and Drop Question
You have a SQL Azure database named Database1.
You need to design the schema for a table named table1.
Table1 will have less than one million rows.
Table1 will contain the following information for each row:
The solution must minimize the amount of space used to store each row.
Which data types should you recommend for each column? To answer, drag the appropriate data type to the correct column in the answer area.
Answer:
Explanation:
http://msdn.microsoft.com/en-US/library/ms187752.aspx
QUESTION
Drag and Drop Question
You need to recommend the actions that are required to partition a table.
In which order should the four actions be performed? To answer, move the actions from the list of actions to the answer area and arrange them in the correct order.
Answer:
Explanation:
http://technet.microsoft.com/en-us/library/ms188730.aspx
2016 New Microsoft 70-465 Exam Preparation Materials:
1.2016 Latest 70-465 Exam PDF and VCE Dumps 160Q&As – All New Questions Included: http://www.braindump2go.com/70-465.html [70-465 Exam 100% Pass Guaranteed!]
2.2016 70-465 Exam Questions and Answers PDF – Google Drive Files:https://drive.google.com/folderview?id=0B9YP8B9sF_gNVGJOa0pteHZWMXM&usp=sharing