nerdexam
MicrosoftMicrosoft

DP-420 · Question #195

DP-420 Question #195: Real Exam Question with Answer & Explanation

The correct answer is C: the FeedRange value. To enable parallel processing of the change feed with multiple threads, you should use the FeedRange value in the Azure Cosmos DB SDK. The FeedRange allows partitioning of the change feed, enabling multiple threads to process different ranges of the feed in parallel. This is esse

Integrate an Azure Cosmos DB solution

Question

You have an Azure Cosmos DB for NoSQL account. The account hosts a container that has the change feed enabled. You are building an app by using the Azure Cosmos DB SDK. The app will read items from the change feed by using a pull model. You need to ensure that multiple threads can read the change feed in parallel. What should you include?

Options

  • Athe ChangeFeedStartFrom value
  • Bthe pagesize value
  • Cthe FeedRange value
  • Da stream-based iterator

Explanation

To enable parallel processing of the change feed with multiple threads, you should use the FeedRange value in the Azure Cosmos DB SDK. The FeedRange allows partitioning of the change feed, enabling multiple threads to process different ranges of the feed in parallel. This is essential for scaling the processing of changes across multiple threads or even multiple instances of an application.

Topics

#Change Feed#Parallel Processing#Azure Cosmos DB SDK#Pull Model

Community Discussion

No community discussion yet for this question.

Full DP-420 PracticeBrowse All DP-420 Questions