Learn how to configure Azure Functions with unique lease collections in Cosmos DB to efficiently handle con-product updates while meeting business and product catalog requirements.
Table of Contents
Question
You need to provide a solution for the Azure Functions notifications following updates to con-product. The solution must meet the business requirements and the product catalog requirements.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Configure the trigger for each function to use a different leaseCollectionPrefix
B. Configure the trigger for each function to use the same leaseCollectionName
C. Configure the trigger for each function to use a different leaseCollectionName
D. Configure the trigger for each function to use the same leaseCollectionPrefix
Answer
A. Configure the trigger for each function to use a different leaseCollectionPrefix
B. Configure the trigger for each function to use the same leaseCollectionName
Explanation
Using distinct lease collection prefixes or names for each Azure Function ensures separate leases are maintained for processing con-product updates. This prevents conflicts and ensures each function processes updates independently, meeting the business and product catalog requirements.
Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB DP-420 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB DP-420 exam and earn Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB DP-420 certification.