Event Hubs Producer SDK Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Azure Event Hubs

What you'll be asked

  1. Which class in the Azure Event Hubs SDK for .NET is primarily used to send events to an Event Hub?
  2. When using the EventHubProducerClient, why is it recommended to use EventDataBatch instead of sending individual EventData objects?
  3. If you need to ensure that a specific set of events are processed by the same partition, what property should you set on the EventData?
  4. What happens if you attempt to add an EventData object to an EventDataBatch that exceeds the maximum size allowed for that batch?
  5. In a high-throughput scenario, you notice that your producer is occasionally failing with a 'MessageSizeExceeded' error despite using batches. What is the most likely cause?

Answers and explanations come after you submit.