exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 5 question 13 discussion

Actual exam question from Microsoft's AZ-304
Question #: 13
Topic #: 5
[All AZ-304 Questions]

You have an application that sends events to an Azure event hub by using HTTP requests over the internet.
You plan to increase the number of application instances.
You need to recommend a solution to reduce the overhead associated with sending events to the hub.
What should you recommend?

  • A. Configure the application to send events by using the AMQP protocol
  • B. Reduce the retention period of the event hub.
  • C. Replace the event hub with an Azure Service Bus instance.
  • D. Configure the application to send events by using the HTTPS protocol.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
iPilot
Highly Voted 4 years, 4 months ago
CORRECT If we send many events & throughput is a concern: use AMQP https://vincentlauzon.com/2018/06/05/event-hubs-ingestion-performance-and-throughput/
upvoted 16 times
...
donathon
Highly Voted 3 years, 7 months ago
Selected Answer: A
The choice to use AMQP or HTTPS is specific to the usage scenario. AMQP requires the establishment of a persistent bidirectional socket in addition to transport level security (TLS) or SSL/TLS. AMQP has higher network costs when initializing the session, however HTTPS requires additional TLS overhead for every request. AMQP has significantly higher performance for frequent publishers and can achieve much lower latencies when used with asynchronous publishing code. https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-features#publishing-an-event
upvoted 6 times
...
cfsxtuv33
Most Recent 3 years, 6 months ago
Correct...another question from my AZ-304 exam.
upvoted 1 times
...
syu31svc
3 years, 10 months ago
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-amqp-protocol-guide Answer is A
upvoted 3 times
...
cfsxtuv33
3 years, 11 months ago
Answer is correct (A)...AMQP protocol, nuff said.
upvoted 4 times
...
GR_new
3 years, 11 months ago
Correct: B Event Hubs' limit on data retention based on time is to prevent large volumes of historic customer data getting trapped in a deep store that is only indexed by a timestamp and only allows for sequential access. AMQP has higher network cost ... no pint to add it.
upvoted 2 times
...
GetulioJr
4 years, 1 month ago
This is correct, but only because it states that it will communicate with HTTP. if a https connection is required the overhead would be higher with amqp.
upvoted 5 times
...
moota
4 years, 3 months ago
Definitely NOT B and D
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...