Question 9:
As part of an IoT solution, you have to deploy image recognition logic to certain field devices, in order to complete computation-intensive tasks locally. The devices are already registered in the IoT Hub as edge devices. Your task is to go on with their configuration and deploy the runtime logic. You have to deploy 2 interdependent custom modules (TempSensor, Filter) to your device. To define the flow of data between them, you add the following configuration to your deployment manifest: <pre class="brush:java;">"$edgeAgent": { "properties.desired": { "schemaVersion": "1.1", "routes": { "sensorToFilter": { "route": "FROM /messages/modules/TempSensor/outputs/temperatureOutput INTO BrokeredEndpoint(\"/modules/Filter/inputs/inp1\")", "priority": 0, }, "filterToIoTHub": { "route": "FROM /messages/modules/Filter/outputs/output1 INTO $upstream", "priority": 1, "timeToLiveSecs": 1800 } }, "storeAndForwardConfiguration": { "timeToLiveSecs": 100 } } } </pre> Does the code do its job as expected?
Answer options:
A.No. It must be part of the $edgeHub config B.No. The TempSensor’s source should be set to $downstream C.No. The timeToLiveSecs from sensorToFilter route is missing D.Yes, it is correct.