exam questions

Exam DP-420 All Questions

View all questions & answers for the DP-420 exam

Exam DP-420 topic 4 question 9 discussion

Actual exam question from Microsoft's DP-420
Question #: 9
Topic #: 4
[All DP-420 Questions]

You have a container in an Azure Cosmos DB Core (SQL) API account.
Data update volumes are unpredictable.
You need to process the change feed of the container by using a web app that has multiple instances. The change feed will be processed by using the change feed processor from the Azure Cosmos DB SDK. The multiple instances must share the workload.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Configure the same processor name for all the instances
  • B. Configure a different processor name for each instance
  • C. Configure a different instance name for each instance
  • D. Configure a different lease container configuration for each instance
  • E. Configure the same instance name for all the instances
  • F. Configure the same lease container configuration for all the instances
Show Suggested Answer Hide Answer
Suggested Answer: ACF 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Nath2
Highly Voted 2 years ago
Selected Answer: ACF
Answer is correct: " To take advantage of the compute distribution within the deployment unit, the only key requirements are: All instances should have the same lease container configuration. All instances should have the same processorName. Each instance needs to have a different instance name (WithInstanceName). " From: https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/change-feed-processor?tabs=dotnet#dynamic-scaling
upvoted 7 times
...
[Removed]
Highly Voted 1 year, 2 months ago
Selected Answer: ACF
https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/change-feed-processor#dynamic-scaling
upvoted 6 times
...
azuredemo2022three
Most Recent 1 year, 4 months ago
Selected Answer: BCF
upvoted 1 times
...
[Removed]
1 year, 6 months ago
Selected Answer: BCF
Configuring the same processor name for all instances would not allow multiple instances to share the workload, as each instance would try to grab and process the same leases. Instead, a different processor name should be configured for each instance, while using the same instance name and lease container configuration.
upvoted 1 times
xRiot007
10 months ago
Incorrect. The processor knows how to do parallelization: If these three conditions apply, then the change feed processor distributes all the leases that are in the lease container across all running instances of that deployment unit, and it parallelizes compute by using an equal-distribution algorithm https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/change-feed-processor?tabs=dotnet#dynamic-scaling
upvoted 1 times
...
...
andicoro
2 years ago
Selected Answer: BEF
I think it is B,E,F Sharing the lease container You can share the lease container across multiple deployment units, each deployment unit would be listening to a different monitored container or have a different processorName. With this configuration, each deployment unit would maintain an independent state on the lease container. Review the request unit consumption on the lease container to make sure the provisioned throughput is enough for all the deployment units.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago