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

Which authentication method avoids storing a SAS key in the consumer application?

  1. A Connection string in app settings
  2. B Managed identity with the Event Hubs Data Receiver role (correct answer)
  3. C Shared access policy in code
  4. D Anonymous access

Shortcut: Identity-based connections let the SDK obtain an Entra ID token via managed identity, so no shared access signature or key needs to exist in configuration.