[section_inner padding=”20px”] [/section_inner]

Social

.

Contact us

QUESTION 11
You use SQL Server 2016 to maintain the data used by applications at your company.
You want to execute two statements.
You need to guarantee that either both statements succeed, or both statements fail together as a batch.
Which code should you use?A. Option A
B. Option B
C. Option C
D. Option D
E. Option E
Correct Answer: D
Explanation
Explanation/Reference:
Structure should be:
BEGIN TRY
BEGIN TRANSACTION
COMMIT TRANSACTION
END TRY
BEGIN CATCH
ROLLBACK TRANSACTION
END CATCH.
Reference: TRY…CATCH (Transact-SQL)
QUESTION 12
You are the administrator for a SQL Server 2016 instance that stores the data for an online transaction processing sales system.
The company takes full backups every week; differential backups on the days with no full backups; and hourly transaction backups. These backups are stored on
a backup server in the company’s data center.
Every week, the company places the full backup on a tape and sends it to a third-party backup storage system.
The company is worried that a disaster might occur that could destroy their computer center and cause them to lose orders.
You need to determine the best method for providing the smallest amount of data loss and downtime without leasing or purchasing additional physical locations.
What should you do? More than one answer choice may achieve the goal. Select the BEST answer.
A. Set up SQL Server Always On with a SQL Azure database as a replica.
B. Set up SQL Server Always On by using a SQL Server on a Windows Azure Virtual Machine.
C. Put the differential backup on tape and send it to the third-party backup storage system.
D. Use the Microsoft SQL Server Backup to Microsoft Windows Azure Tool to direct all backups to a different geographical location.
Correct Answer: D
ExplanationExplanation/Reference:
SQL Server 2012 was the first version to provide the ability to back up databases to the Cloud, and SQL Server 2016 improves on the process.
Microsoft SQL Server Backup to Windows Azure Tool enables backup to Windows Azure Blob Storage and encrypts and compresses SQL Server backups stored
locally or in the cloud.
Reference:
Smart, Secure, Cost-Effective: SQL Server Back Up to Windows Azure – SQL Server Team Blog – Site Home – TechNet Blogs

CONTACT US

Our Customer Team provides the best service in the industry. We’re passionate about our work as well as our followers.
We are always happy to help find the solution for your needs.