AZ-204 · Question #577
AZ-204 Question #577: Real Exam Question with Answer & Explanation
The correct answer is B: Request options. https://learn.microsoft.com/en- us/dotnet/api/microsoft.azure.documents.client.requestoptions.sessiontoken?view=azure-dotnet
Question
You manage an Azure Cosmos DB for a NoSQL API account named account1. The account contains a database named db1, which contains a container named container1. You configure account1 with a session consistency level. You plan to develop an application named App1 that will access container1. Individual instances of App1 must perform reads and writes. App1 must allow multiple nodes to participate in the same session. You need to configure an object to share the session token between the nodes. Which object should you use?
Options
- ADocument response
- BRequest options
- CFeed options
- DConnection policy
Explanation
https://learn.microsoft.com/en- us/dotnet/api/microsoft.azure.documents.client.requestoptions.sessiontoken?view=azure-dotnet
Community Discussion
No community discussion yet for this question.