What should you do first?

You have an Azure Cosmos DB account named Account1. Account1 includes a database named DB1 that contains a container named Container 1. The partition key tor Container1 is set to /city.

You plan to change the partition key for Container1

What should you do first?
A . Delete Container1
B . Create a new container in DB1
C . Regenerate the keys for Account1.
D . Implement the Azure CosmosD
E . NET SDK

Answer: B

Explanation:

The good news is that there are two features, the Change Feed Processor and Bulk Executor Library, in Azure Cosmos DB that can be leveraged to achieve a live migration of your data from one container to another. This allows you to re-distribute your data to match the desired new partition key scheme, and make the relevant application changes afterwards, thus achieving the effect of “updating your partition key”.

Reference: https://devblogs.microsoft.com/cosmosdb/how-to-change-your-partition-key/

Latest AZ-303 Dumps Valid Version with 206 Q&As

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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments