exam questions

Exam AZ-203 All Questions

View all questions & answers for the AZ-203 exam

Exam AZ-203 topic 3 question 17 discussion

Actual exam question from Microsoft's AZ-203
Question #: 17
Topic #: 3
[All AZ-203 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this question, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are developing an Azure solution to collect point-of-sale (POS) device data from 2,000 stores located throughout the world. A single device can produce 2 megabytes (MB) of data every 24 hours. Each store location has one to five devices that send data.
You must store the device in Azure Blob storage. Device data must be correlated based on a device identifier. Additional stores are expected to open in the future.
You need to implement a solution to receive the device data.
Solution: Provision an Azure Event Hub. Configure the machine identifier as the partition key and enable capture.
Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
References:
https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-programming-guide

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
Larry616
Highly Voted 4 years, 10 months ago
Answer should be B-No Because total partitions has a max# of 32, but in the question it uses machine idetifier as partation key, there're 2000 * 5 = 10,000 machines here https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-features#partitions The number of partitions is specified at creation and must be between 2 and 32
upvoted 12 times
Brak
4 years, 5 months ago
Wrong. See my response above.
upvoted 1 times
...
clarionprogrammer
4 years, 2 months ago
This is wrong. You're confusing Partition Keys with creating partitions.
upvoted 4 times
...
...
Secure01
Highly Voted 4 years, 7 months ago
1. Partition Key is not mapped 1:1 to partition. 2. Store not accumulate data per each device. Each device send data separately. 3. 2MB per 24 hours are not sent at once. 4. Event Hub supposed to take events/messages from big amount of devices. 5. Event still a message (small one). You can put information you need to store in Blob. 6. To store message in Blob with Event Hub is easy. Just switch on capture setting.
upvoted 8 times
Brak
4 years, 5 months ago
Correct. Event Hub + Capture is a no-code solution that can scale.
upvoted 1 times
...
...
meoukg
Most Recent 3 years, 3 months ago
Got it on 03/2022, I chose A. Yes
upvoted 2 times
...
RahulKate
4 years, 5 months ago
Partitions - 2000 per CU - Dedicated Plan - So we can have 2K+ partitions in Event Hub Size allowed - Yes https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-dedicated-overview#event-hubs-dedicated-quotas-and-limits
upvoted 2 times
Esward
2 years, 4 months ago
Yes is the correct answer https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-dedicated-overview#event-hubs-dedicated-quotas-and-limits
upvoted 1 times
...
...
ExamStudent123
4 years, 10 months ago
It is not Event Hub for the following reasons: - "The event data has information about what happened but doesn't have the data that triggered the event." https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services - "Maximum size of Event Hubs event: 1 MB (standard)". From the question "A single device can produce 2 megabytes (MB) of data every 24 hours. Each store location has one to five devices that send data." That means the max size from one store could be 2MB to 10MB. Service Bus is correct for the following reasons: - "A message is raw data produced by a service to be consumed or stored elsewhere." - "Order processing and financial transactions" https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services
upvoted 7 times
...
godsbane
4 years, 12 months ago
Answer should be NO. https://azure.microsoft.com/es-es/blog/events-data-points-and-messages-choosing-the-right-azure-messaging-service-for-your-data/
upvoted 5 times
LTiwana
4 years, 11 months ago
In this like MS is talking about using device identity for partition key under Event Hub: The temperature sensors discussed earlier each emit a distinct stream that will be kept together using the Event Hub partitioning model, using the identity of the device as the partitioning key.
upvoted 1 times
...
...
nickbilak
5 years ago
but, if we should transfer each sale from POS (not the entire daily batch at once), I'd go with Service Bus
upvoted 1 times
...
nickbilak
5 years ago
scratch that, eventdatabatch.tryadd is not for service bus, but for event hub. SB has 256K limit. then the right solution could be event grid triggered event for consumers upon blob upload, that event will have id/link to the blob with 2MB of POS data. Event hub can have only up to 32 partitions, so answer A has no sense.
upvoted 2 times
Brak
4 years, 5 months ago
32 is the limit for physical partitions. Each device id is hashed to choose a physical partition.
upvoted 1 times
...
...
nickbilak
5 years ago
I think Service Bus is correct as it's used for financial transactions (with guaranteed delivery) and allows batches up to 4MB - https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicebus.messaging.eventdatabatch.tryadd?view=azure-dotnet#remarks
upvoted 5 times
...
nickbilak
5 years ago
The event hub message size limit is 1MB. How can be answer A be correct, if the requirement is 2MB of data?
upvoted 2 times
LTiwana
4 years, 11 months ago
But the question mentions 2MB data every 24 hours and doesn't specify if the data needs to batched or streamed (Event Hub accepts both). It's confusion, but the answer might be correct. Here is a good comparison between the three services: https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services
upvoted 6 times
rrongcheng
4 years, 11 months ago
I think it's Yes. In this linked doc, it gives an example at the end. The example use Event hubs to 'Capture file' to Storage, and then 'Capture event' to next step.
upvoted 3 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 ...