How should you complete the code?

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:

microsoft-exams

2 thoughts on “How should you complete the code?

  1. 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);

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.