This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What is the purpose of the context object in a stored procedure in Azure Cosmos DB?
It provides access to the database schema and metadata.
It allows for the creation of new collections within the database.
It provides access to all operations that can be performed in Azure Cosmos DB, and access to the request and response objects.
What is the role of pretriggers in Azure Cosmos DB?
Pretriggers are automatically executed for each database operation.
Pretriggers are executed before modifying a database item and must be specified for each database operation where you want them to execute.
Pretriggers are used to execute operations after modifying a database item.
What is the purpose of the lease container in the Azure Cosmos DB change feed processor?
It stores the data from which the change feed is generated.
It processes the change feed across multiple workers.
It acts as a state storage and coordinates processing the change feed across multiple workers.
You must answer all questions before checking your work.
Was this page helpful?