You work as a Distributed Systems Developer for MDFT Pro, a well-known training agency that delivers certification courses to students worldwide. Mark, the Data Architecture Lead, has deployed an Azure Cosmos DB for NoSQL API account named StudentDataAccount that contains a database LearningDB with a container EnrollmentRecords. The account is configured with session consistency level to balance performance and consistency. You’re developing a Student Enrollment Portal application that will be deployed across multiple nodes for high availability and load balancing. Each node instance must perform both read and write operations to the enrollment records container. To maintain session consistency across all nodes—ensuring that after a student updates their enrollment, all nodes can immediately read the updated data—the application must share session tokens between nodes so they all participate in the same logical session.
Which Cosmos DB SDK object should you use to extract and share the session token between application nodes?
Choose the correct answer from the options below.
Explanations for each answer: