Q40 Cosmos DB Domain 2 · 25–30% of exam Priority · Real Exam

Which SDK connectivity mode generally gives the lowest latency for a .NET application in the same region?

  1. A Gateway mode over HTTPS
  2. B Direct mode over TCP (correct answer)
  3. C REST API calls
  4. D ODBC

Shortcut: Direct mode connects straight to the replica nodes over TCP, avoiding the gateway hop. Gateway mode is simpler through restrictive firewalls but adds latency.