You have an Azure Stream Analytics workspace that contains a Stream Analytics job. You need to create a JavaScript user-defined aggregate (UDA) method that will recalculate the UDA state based on the previous state and the current event values. The UDA method must be called when an event leaves a SLIDINGWINDOW. Which UDA method should you use?

QuestionsCategory: AZ-220You have an Azure Stream Analytics workspace that contains a Stream Analytics job. You need to create a JavaScript user-defined aggregate (UDA) method that will recalculate the UDA state based on the previous state and the current event values. The UDA method must be called when an event leaves a SLIDINGWINDOW. Which UDA method should you use?
Admin Staff asked 4 months ago
You have an Azure Stream Analytics workspace that contains a Stream Analytics job.
You need to create a JavaScript user-defined aggregate (UDA) method that will recalculate the UDA state based on the previous state and the current event values. The UDA method must be called when an event leaves a SLIDINGWINDOW.
Which UDA method should you use?

A. deaccumulateState()

B. accumulate()

C. computeResult()

D. deaccumulate()








 

Suggested Answer: D



This question is in AZ-220 Microsoft Azure IoT Developer Exam
For getting Microsoft Certified: Azure IoT Developer Specialty Certificate





Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Microsoft. 
The website does not contain actual questions and answers from Microsoft's Certification Exams.
Trademarks, certification & product names are used for reference only and belong to Microsoft.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.