Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
Microsoft · AI-200

Cosmos DB, SDK, RUs, and indexing

AI-200 · Lesson 4 of 13 · 28:38

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

In this lesson

Prepare for the AI-200 exam (Microsoft Certified: Azure AI Cloud Developer Associate). In this lesson: the Python SDK for Azure Cosmos DB for NoSQL, point reads and parameterized queries, request units and partition keys, indexing policies and composite indexes, and the five consistency levels. Includes three original practice questions.

Preview the topics
  • An app reads one ticket at a time, and it always knows the ticket ID and the customer ID, which is the partition key. Which call costs the fewest request units?
  • A container stores support tickets with a large text body that no query ever filters on. Writes cost too many request units. What should the team change?
  • A dashboard shows product view counts. A few seconds of delay is fine, and the order of updates does not matter, but reads must be as cheap and fast as possible. The account uses session consistency. What should the dashboard’s client do?