Exam AZ-204 All QuestionsBrowse all questions from this exam
Question 295

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 section, 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 data 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?

    Correct Answer: B

    Provisioning an Azure Event Hub and configuring the machine identifier as the partition key would not meet the requirements due to the limitation on the number of partitions. Event Hubs has a maximum limit of 1024 partitions, which is insufficient for the scenario described where each device needs a unique partition based on its identifier. With up to 5 devices per store across 2,000 stores, this could require up to 10,000 partitions, exceeding Event Hub's capabilities. Therefore, another solution that can handle a larger number of partitions would be more suitable for this requirement.

Discussion
edengoforit

When the question comes in the exam, then we need to pray to God

huislaw

Let's pray the question doesn't appear.

Stel0Papad4

Lol, that's some 50/50 shit! As if the exam itself wasn't enough of a 50/50 risk. We have this too! :P

jay158Option: B

Answer is NO How many partitions event hub can have? NOT MORE than 1024 https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-quotas

AndresCH

"does not reach goal". See topic5 / question 5

Mev4953

Question 5 is not the same. Asking about "Provision an Azure Notification Hub. Register all devices with the hub."

DefaultName2

Answer is YES :) Why do you want to have so many partitions? For me, it would be pretty strange to have so many concurrent groups. In the Event HUB output group you can have whether you want a Service bus, account storage, stream analytics (to aggregate data) and more ...

hromadkam

I have to agree. You don't need as many partitions as there are devices. Partition key is used in function to determine partition (like hashing function). So you could have 2000 devices and for example 10 partitions. https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-features#publishing-an-event

hromadkam

So the answer is YES

troy89

But when you use Event Hubs cluster then you can purchase up to 20 Capacity Units and every Capacity Unit can have 2000 partitions.

8fe085a

"Configure the machine identifier as the partition key"= 2000 x 5 machine = 10.000 partitions

vovap0vovap

Why do you need partition for every store or terminal?

8fe085a

"Configure the machine identifier as the partition key"

tmurasOption: A

This question was on exam on 17/02/23. Answered Yes. Score 860

SulzirshaOption: A

Partition key is consistently used to assign related events to a partition.Partition key doesn’t create unique partitions.So answer is ‘Yes’.

ldenouterOption: A

1000 Partition Key doesn't lead to 1000 partitions.

dom271219Option: B

Azure Event Hub is primarily designed for handling high-throughput, real-time event streaming, such as telemetry data and event-driven architectures. It's not the best choice for storing large volumes of static data like 2 MB of POS device data per device per day

8fe085aOption: B

The solution mentions "Configure the machine identifier as the partition key" that means up to 10,000 partitions. That would mean a dedicated cluster with up t0 5 CUs. The solutions does not state a dedicated cluster the max partitions are that 1024.

Stel0Papad4Option: B

Copilot: The proposed solution uses Azure Event Hubs with capture enabled to store POS device data in Azure Blob Storage. Technically, this is feasible. However, it might not be the most efficient or cost-effective method. Despite this, if we disregard best practices, the solution could work.

Stel0Papad4

Since Microsoft always considers best practices to be the correct ones, I choose B as my Answer.

oskx2Option: A

The recommendation from Microsoft: https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-features#mapping-of-events-to-partitions "A per-device or user unique identity makes a good partition key, but other attributes such as geography can also be used to group related events into a single partition." The correct answer is YES.

FeriAZOption: A

The solution scales well to accommodate the current load and future expansions as more stores open. Using the device identifier as the partition key ensures that data correlation is straightforward and efficient. By enabling the Capture feature, the data is automatically saved to Azure Blob storage, meeting the storage requirement. Event Hubs has a feature called Capture, which automatically captures the streaming data and saves it to a storage account (Azure Blob storage or Azure Data Lake Storage), without requiring any additional coding or services to process the data. This directly aligns with the requirement to store the device data in Azure Blob storage.

zeugoOption: A

The theoretical partition limit for a Eventhub is 1024, and it can hold up to 1000 event hubs per namespace. It's totally fine to scale out within a namespace/scope to add more partitions to handle incoming data. plz see the different tiers: https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-quotas and read about namespaces: https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-features

zeugo

So the answer is yes

nardkOption: B

Jay158 is rigth

DianahuOption: A

https://www.examtopics.com/discussions/microsoft/view/22503-exam-az-204-topic-6-question-2-discussion/ is not the solution https://www.examtopics.com/discussions/microsoft/view/25308-exam-az-204-topic-6-question-29-discussion/ also not the solution so it must be the hub

EliteAllenOption: A

Azure Event Hub is suitable for the given scenario because it is designed to handle large-scale data ingestion from numerous devices, allowing efficient correlation based on device identifiers, and can automatically capture and store the data in Azure Blob storage.

adilkhanOption: A

Yes is correct

Twiddling5623Option: B

Answer is No. According to the solution each machine identifier is going to be a partition key and with 1 to 5 machines this will create at least 2000 partitions. The max is 1024 for the biggest price tier. Ref: https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-quotas#basic-vs-standard-vs-premium-vs-dedicated-tiers

charthouse

Is there a difference between device identifier (Solution) and machine identifier (Requirement)?