What should you do?

You administer a Microsoft SQL Server 2014 database. You need to ensure that the size of the transaction log file does not exceed 2 GB.

What should you do?
A . Execute sp_configure ‘max log size’, 2
C . use the ALTER DATABAS
D . ..SET LOGFILE command along with the maxsize parameter.
E . In SQL Server Management Studio, right-click the instance and select Database Settings. Set the maximum size of the file for the transaction log.
F . in SQL Server Management Studio, right-click the database, select Properties, and then click Files. Open the Transaction log Autogrowth window and set the maximum size of the file.

Answer: B

Explanation:

You can use the ALTER DATABASE (Transact-SQL) statement to manage the growth of a transaction log file

To control the maximum the size of a log file in KB, MB, GB, and TB units or to set growth to UNLIMITED, use the MAXSIZE option.

However, there is no SET LOGFILE subcommand.

References: https://technet.microsoft.com/en-us/library/ms365418(v=sql.110).aspx#ControlGrowth

Latest 70-765 Dumps Valid Version with 243 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments