exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 77 discussion

Actual exam question from Microsoft's AZ-204
Question #: 77
Topic #: 2
[All AZ-204 Questions]

You are developing a microservices-based application that uses Azure Container Apps. The application consists of several containerized services that handle tasks, such as processing orders, managing inventory, and generating reports. You deploy two microservices named serviceA and serviceB to support managing inventory.

You have the following requirements:

• serviceA and serviceB must publish events to a single Azure Event Hub by using the Event Hubs SDK.
• serviceA must publish 1,000 events per second.
• serviceB must publish 3,000 events per second.
• Costs must be minimized.

You need to support the publishing of events.

What should you do?

  • A. Create four partitions. Update serviceA to use one partition and serviceB to use three partitions.
  • B. Enable and configure Azure Event Hubs Capture.
  • C. Create an Azure Event Hubs dedicated cluster. Configure the capacity units to one and the scaling units to two.
  • D. Create and configure an Azure Schema Registry in Event Hubs. Update serviceA and serviceB to validate message schemas.
  • E. Create four consumer groups. Update serviceA to use one consumer group and serviceB to use three consumer groups.
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
peterbuza
6 days, 22 hours ago
Selected Answer: A
1 TU = up to 1 MB/sec or 1,000 events/sec ingress, and 2 MB/sec egress. To support 4,000 events/sec, you need at least 4 TUs, which you can distribute across 4 partitions.
upvoted 1 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 ...