exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 2 question 24 discussion

Actual exam question from Microsoft's DP-203
Question #: 24
Topic #: 2
[All DP-203 Questions]

DRAG DROP -
You have an Azure Stream Analytics job that is a Stream Analytics project solution in Microsoft Visual Studio. The job accepts data generated by IoT devices in the JSON format.
You need to modify the job to accept data generated by the IoT devices in the Protobuf format.
Which three actions should you perform from Visual Studio on sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Step 1: Add an Azure Stream Analytics Custom Deserializer Project (.NET) project to the solution.

Create a custom deserializer -
1. Open Visual Studio and select File > New > Project. Search for Stream Analytics and select Azure Stream Analytics Custom Deserializer Project (.NET). Give the project a name, like Protobuf Deserializer.

2. In Solution Explorer, right-click your Protobuf Deserializer project and select Manage NuGet Packages from the menu. Then install the
Microsoft.Azure.StreamAnalytics and Google.Protobuf NuGet packages.
3. Add the MessageBodyProto class and the MessageBodyDeserializer class to your project.
4. Build the Protobuf Deserializer project.
Step 2: Add .NET deserializer code for Protobuf to the custom deserializer project
Azure Stream Analytics has built-in support for three data formats: JSON, CSV, and Avro. With custom .NET deserializers, you can read data from other formats such as Protocol Buffer, Bond and other user defined formats for both cloud and edge jobs.
Step 3: Add an Azure Stream Analytics Application project to the solution
Add an Azure Stream Analytics project
1. In Solution Explorer, right-click the Protobuf Deserializer solution and select Add > New Project. Under Azure Stream Analytics > Stream Analytics, choose
Azure Stream Analytics Application. Name it ProtobufCloudDeserializer and select OK.
2. Right-click References under the ProtobufCloudDeserializer Azure Stream Analytics project. Under Projects, add Protobuf Deserializer. It should be automatically populated for you.
Reference:
https://docs.microsoft.com/en-us/azure/stream-analytics/custom-deserializer

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
zarga
Highly Voted 3 years, 5 months ago
The third one is wrong because the stream analytics application already exist in the project. The goal is to modify the current stream analytics application in order to read protobuff data. I think the right answer is the first one in the list (update input.json file and reference dll)
upvoted 66 times
17lan
23 hours, 58 minutes ago
Custom .net deserializer for Azure Stream Analytics will be retired on 30th September 2024. After that date, it won't be possible to use the feature. Please transition to a JSON, AVRO, or CSV built-in deserializer by that date.
upvoted 1 times
...
Marcus1612
3 years, 3 months ago
Absolutely: https://docs.microsoft.com/en-us/azure/stream-analytics/custom-deserializer
upvoted 6 times
kamil_k
2 years, 9 months ago
this is a tricky question.. technically document here https://docs.microsoft.com/en-us/azure/stream-analytics/custom-deserializer describes it as follows: 1. Add custom deserializer project 2. Add the MessageBodyProto class and the MessageBodyDeserializer class to your project (it's actually merged with point 1) 3. add an Azure Stream Analytics project 4. Configure a Stream Analytics job (including changing input.json) Technically, the question asks for 3 steps so we might to either skip the "add code" as a separate step, and include point 4 as the last step (i.e. 1,3,4 above) or we stop at 3 and then the answer is as listed.. As usual, the description of the question is confusing.
upvoted 6 times
...
...
...
HaliBrickclay
Highly Voted 3 years, 1 month ago
1 Add an Azure Stream Analytics Customer Deserializer Project(.net) project to the Solution 2 Add .net deseriliaizer Code to ProtoBuf to customer deserializer project 3. Change the event Serialization format to protobuf in the input.json File of the job and reference the DLL.
upvoted 62 times
...
seranvijay
Most Recent 1 month ago
1 Add an Azure Stream Analytics Customer Deserializer Project(.net) project to the Solution 2 Add .net deseriliaizer Code to ProtoBuf to customer deserializer project 3. Change the event Serialization format to protobuf in the input.json File of the job and reference the DLL. https://learn.microsoft.com/en-us/azure/stream-analytics/custom-deserializer#configure-a-stream-analytics-job
upvoted 1 times
...
jpgsa11
6 months, 4 weeks ago
I bet even the Microsoft arquitect that turned goose farmer has nightmares with this question
upvoted 7 times
...
Momoanwar
1 year ago
Chatgpt : To modify an Azure Stream Analytics job in Visual Studio to accept data in Protobuf format from IoT devices, you would typically need to: 1. **Add an Azure Stream Analytics Custom Deserializer Project (.NET project) to the solution**: This sets up a project that can include the custom deserialization logic. 2. **Add .NET deserializer code for Protobuf to the custom deserializer project**: Here, you would implement the Protobuf deserialization logic within the project you added in the previous step. 3. **Change the Event Serialization Format to Protobuf in the input.json file of the job and reference the DLL**: Finally, you need to update the job configuration to use the custom deserializer by changing the serialization format and pointing it to the compiled DLL from your custom deserializer project. These actions will enable the Azure Stream Analytics job to deserialize and process data in Protobuf format instead of JSON.
upvoted 4 times
...
Lscranio
1 year ago
1- Add Azure Stream Analyticst Custon Deserializer Project (.NET) project to the Solution; 2 - Add an Azure Stream Analytics Application project to the solution; 3 - Change... "Iput.json" is necessary your modification;
upvoted 1 times
...
kkk5566
1 year, 3 months ago
1. Add Azure Stream Analytics Custom Deserializer Project (.NET) 2. Add Azure Stream Analytics Application 3. Configure a Stream Analytics job in Input.json
upvoted 1 times
...
janaki
1 year, 6 months ago
Correct answer is: Add an Azure Stream Analytics Customer Deserializer Project(.net) project to the Solution Add .net deserializer Code to ProtoBuf to the customer deserializer project Change the event Serialization format to protobuf in the input.json File of the job and reference the DLL
upvoted 3 times
...
bakamon
1 year, 6 months ago
1. Add an Azure Stream Analytics Custom Deserializer Project (.NET) project to the solution. 2. Add .NET deserializer code for Protobuf to the custom deserializer project. 3. Change the Event Serialization Format to Protobuf in the input.json file of the job and reference the DLL. This will allow you to create a custom deserializer project and add .NET deserializer code for Protobuf to it. Then, you can change the Event Serialization Format to Protobuf in the input.json file of the job and reference the DLL containing the custom deserializer code.
upvoted 2 times
...
Rossana
1 year, 7 months ago
Chat GPT: B-C-A
upvoted 3 times
...
hiyoww
1 year, 8 months ago
guessing seem not for DP203, anyone agree?
upvoted 6 times
ELJORDAN23
11 months ago
It seems that not anymore, I think that as of january 16 of 2024, there is nothing related to .NET and ProtoBuf in the learning path of DP-203
upvoted 2 times
...
...
esaade
1 year, 9 months ago
To modify the Azure Stream Analytics job to accept data generated by the IoT devices in the Protobuf format, follow these steps in sequence: Add an Azure Stream Analytics Custom Deserializer Project (.NET) project to the solution. Add .NET deserializer code for Protobuf to the custom deserializer project. Change the Event Serialization Format to Protobuf in the input.json file of the job and reference the DLL.
upvoted 1 times
...
zorko10
2 years, 1 month ago
According to the documentation: 1- Create a custom deserializer for protocol buffer. 2- Add an Azure Stream Analytics project 3- Configure a Stream Analytics job ( in here you specify reference the dll...) ==> Change the event Serialization format to protobuf in the input.json File of the job and reference the DLL. https://learn.microsoft.com/en-us/azure/stream-analytics/custom-deserializer
upvoted 3 times
Lscranio
1 year ago
I Agree; 1- Add Azure Stream Analyticst Custon Deserializer Project (.NET) project to the Solution; 2 - Add an Azure Stream Analytics Application project to the solution; 3 - Change... "Iput.json" is necessary your modification;
upvoted 1 times
...
...
nadahef
2 years, 1 month ago
As stated in the documentation : 1- Create a custom deserializer project 2- Add an azure stream alaytics project 3- Configure a stream analytics job, ( in this configuration, the dll is referenced) ==> update input.json file and reference dll https://learn.microsoft.com/en-us/azure/stream-analytics/custom-deserializer
upvoted 1 times
...
ExamTopicsAshwin
2 years, 2 months ago
I am still practicing and have not seen the answer yet. Have put my answer as 3-2-1. Will see the right answer in the end.
upvoted 1 times
...
Franz58
2 years, 4 months ago
As described in https://docs.microsoft.com/en-us/azure/stream-analytics/custom-deserializer: 1. Add Azure Stream Analytics Custom Deserializer Project (.NET) 2. Add Azure Stream Analytics Application 3. Configure a Stream Analytics job in Input.json
upvoted 7 times
Paulkuzzio
1 year, 5 months ago
Yes, I think your answer is correct following this link : https://learn.microsoft.com/en-us/azure/stream-analytics/custom-deserializer
upvoted 1 times
...
...
Johno1393
3 years, 1 month ago
Has this question come up in the DP-203 exam?
upvoted 16 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago