🔥 3-day streak
Microsoft Azure Cosmos DB Developer Specialty (DP-420)76 / 104
Question 76 of 104

A developer needs to ensure that every document written to a Cosmos DB container automatically gets a server-generated 'createdAt' timestamp field, regardless of which client SDK or application performs the insert. The logic must run within Cosmos DB itself before the document is persisted. Which server-side feature should be implemented, and how must it be invoked?

Reviewed for accuracy · Report an issueNext question