ExamQuestions.com

Register
Login
Microsoft Azure IoT Developer (AZ-220) Exam Questions

Microsoft

Microsoft Azure IoT Developer (AZ-220)

61 / 125

Question 61:

You are building a solution with several pressure sensors connected to an edge device. Because of the large amount of incoming data, you decide to deploy a Stream Analytics job to the edge device, which can also reset the sensor device in case of errors. Telemetry data from PressureSensor must be sent to IoT Hub and to the Stream Analytics job. The alert messages must go to the IoT Hub and to the PressureSensor module to force a reset command on the device. 
<pre class="brush:java;"># deployment manifest
{
"modulesContent": {
"$edgeAgent": { ... },
"$edgeHub": {
"properties.desired": {
"schemaVersion": "1.1",
"routes": {
"telemetryToCloud": {
"route": "&lt;.............Script1.................&gt;",
"priority": 0,
"timeToLiveSecs": 100
},
 "telemetryToAsa": {
"route": "FROM &lt;source&gt; WHERE &lt;condition&gt; INTO &lt;sink&gt;",
"priority": 0,
"timeToLiveSecs": 100
}
},
 "alertsToReset": {
"route": "FROM &lt;source&gt; WHERE &lt;condition&gt; INTO &lt;sink&gt;",
"priority": 0,
}
},
 "alertsToCloud": {
"route": "FROM &lt;source&gt; WHERE &lt;condition&gt; INTO &lt;sink&gt;",
"priority": 0,
}
},
"storeAndForwardConfiguration": {
"timeToLiveSecs": 10
}
}
},
"module1": { ... },
"module2": { ... }
}
}
</pre>
Which of the following parameters goes to Script1?

Answer options:

A.FROM /messages/modules/PressureSensor/* INTO $upstream
B.FROM /messages/modules/{myAsaModule}/* INTO $upstream
C.FROM /messages/modules/{myAsaModule}/* INTO BrokeredEndpoint("/modules/PressureSensor/inputs/control")
D.FROM $downstream INTO /messages/modules/PressureSensor/*