Question 86:
You operate an IoT solution for a plant manufacturing ceramic filter inserts for the automotive industry. The critical part of the technology where the products are being baked in high-temperature ovens. A large number of temperature data is collected from several ovens by sensors. It is important when the average temperature exceeds a certain threshold, an alarm has to be triggered and a reset command to the alert output if the average machine temperature in a 30-second window reaches 200 degrees. You have two solution candidates: # OPTION2 <pre class="brush:java;">SELECT `reset` AS command INTO alert FROM temperature TIMESTAMP BY timeCreated GROUP BY TumblingWindow(second,30) HAVING Avg(machine.temperature) > 200 </pre> # OPTION1 <pre class="brush:java;">SELECT `reset` AS command INTO alert FROM temperature TIMESTAMP BY timeCreated GROUP BY HoppingWindow(second,30,30) HAVING Avg(machine.temperature) > 200 </pre> Which one of the above code should you use?
Answer options:
A.Only OPTION1 B.Only OPTION2 C.Either OPTION1 or OPTION2 D.Neither OPTION1 nor OPTION2