A tramway-maintenance log stores large Cosmos items. Operators must update only the lastInspected field without rewriting the entire document and risking clobbered concurrent edits. Which SDK approach fits best?
Select an answer to reveal the explanation.
Short Explanation
Don’t rewrite the whole novel to change one date stamp. Patch the lastInspected path and leave the rest of the tram log alone.
Full Explanation
Cosmos DB patch operations update selected paths without a full document replace, reducing overwrite risk when items are large or concurrently edited. Full replace with partial payloads can clear fields; delete-and-recreate is disruptive; Application Insights is telemetry, not the system of record for the maintenance log fields.