Exam4Training

How should you complete the CLI statements?

HOTSPOT

You have a database named db1 in an Azure Cosmos DB for NoSQL account named account1. The db1 database has a manual throughput of 4,000 request units per second (RU/s).

You need to move db1 from manual throughput to autoscale throughput by using the Azure CLI. The solution must provide a minimum of 4,000 RU/s and a maximum of 40,000 RU/s.

How should you complete the CLI statements? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Answer:

Explanation:

Migrate

40000

According to the Azure CLI reference1, you need to use the az cosmosdb sql database

throughput migrate command to migrate the throughput of the SQL database between autoscale and manually provisioned. You also need to use the –throughput-type parameter to specify the type of throughput to migrate to, and the –max-throughput parameter to specify the maximum throughput resource can scale to (RU/s).

To complete the CLI statements, you should replace the missing values with:

✑ –throughput-type autoscale

✑ –max-throughput 40000

The final command should look like this:

az cosmosdb sql database throughput migrate –account-name account1

–name db1

–resource-group rg1

–throughput-type autoscale

–max-throughput 40000

Latest DP-420 Dumps Valid Version with 51 Q&As

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

Exit mobile version