nerdexam
Microsoft

AZ-220 · Question #38

AZ-220 Question #38: Real Exam Question with Answer & Explanation

The correct answer is A. Change the Route1 route query to true.. The device telemetry is usually passed as JSON from the device through the IoT Hub -this is handled nicely by Azure Streaming Analytics queries. The IoT Hub message routing should be configured as follows: Data source: Device Telemetry Messages Routing query: true (as the routing

Question

You have an Azure Stream Analytics job that connects to an Azure IoT hub named Hub1445 as a streaming data source. Hub1445 is configured as shown in the exhibit. (Click the Exhibit tab.) The Stream Analytics job fails to receive any messages from the IoT hub. What should you do to resolve the issue?

Exhibit

AZ-220 question #38 exhibit

Options

  • AChange the Route1 route query to true.
  • BEnable the Route3 route.
  • CDisable the Route2 route.
  • DEnable the fallback route.

Explanation

The device telemetry is usually passed as JSON from the device through the IoT Hub -this is handled nicely by Azure Streaming Analytics queries. The IoT Hub message routing should be configured as follows: Data source: Device Telemetry Messages Routing query: true (as the routing query is an expression that evaluates to true or false for each received message, the simplest way to send all messages to the endpoint is to just supply true as https://darenmay.com/blog/azure-iot-streaming-analytics-data-lake-analytics-and-json/

Community Discussion

No community discussion yet for this question.

Full AZ-220 Practice