HOTSPOT
You are creating a C# application named Application1 that will process loT data from 100,000 devices. Each loT device can submit hundreds of data transactions per second Application1 runs on Windows Server.
You need to create a performance counter in Windows Server that will display the number of data transactions processed per second.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
I think correct should be
var countersDC = new CounterCreationDataCollection();
var IOTDataRate = new CounterCreationData();
IOTDataRate.CounterName = “Data Trans/Sec”;
IOTDataRate.CounterHelp = “Data transactions per second.”;
IOTDataRate.CounterType = PerformanceCounterType.RateOfCountsPerSecond64;
countersDC.Add(IOTDataRate);
PerformanceCounterCategory.Create(“Application1”, “Application1 category for IOT data”,
PerformanceCounterCategoryType.SingleInstance, countersDC);
Correct.