Q46 Event Hubs Domain 3 · 20–25% of exam Priority · Real Exam

Telemetry for a given vehicle must be processed in order. How is that achieved?

  1. A Enable sessions on the event hub
  2. B Set the partition key to the vehicle id (correct answer)
  3. C Use a single partition for the whole hub
  4. D Increase the throughput units

Shortcut: Event Hubs guarantees ordering only within a partition. Hashing a stable partition key such as the vehicle id co-locates that vehicle's events in one partition. Sessions are a Service Bus feature, and a single partition would cap throughput at one consumer.