Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Configure database automatic tuning

A worked example

Yes or no

An administrator manages several user databases that are hosted on an Azure SQL Managed Instance. The administrator plans to configure automatic tuning for these databases.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

StatementYesNo
The administrator can configure the CREATE INDEX automatic tuning option for the databases on the managed instance.

CREATE INDEX is unavailable on Azure SQL Managed Instance.

Correct
The administrator can configure the FORCE LAST GOOD PLAN automatic tuning option for the databases on the managed instance.

FORCE LAST GOOD PLAN (automatic plan correction) is the one automatic tuning option that is supported for SQL Managed Instance databases.

Correct
The administrator can enable automatic tuning for the databases on the managed instance by running an ALTER DATABASE T-SQL statement.

For Azure SQL Managed Instance, automatic tuning is enabled by using the ALTER DATABASE T-SQL statement, for example SET AUTOMATIC_TUNING (FORCE_LAST_GOOD_PLAN = ON).

Correct
Why

Azure SQL Managed Instance supports a single automatic tuning option, FORCE LAST GOOD PLAN, which forces the last known good plan when a regressed plan is detected. Azure SQL Managed Instance supports neither the CREATE INDEX nor the DROP INDEX automatic tuning option. On a managed instance, automatic tuning is configured with the ALTER DATABASE T-SQL statement.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free