How should you complete the GROUP BY clause to meet the Streaming Analytics requirements?
A. GROUP BY HoppingWindow(Second, 60, 30)
B. GROUP BY TumblingWindow(Second, 30)
C. GROUP BY SlidingWindow(Second, 30)
D. GROUP BY SessionWindow(Second, 30, 60)
Correct Answer: B
Scenario: You plan to use a 30-second period to calculate the average temperature reading of the sensors.
Tumbling window functions are used to segment a data stream into distinct time segments and perform a function against them, such as the example below. The key differentiators of a Tumbling window are that they repeat, do not overlap,
and an event cannot belong to more than one tumbling window.
Incorrect Answers:
A: Hopping window functions hop forward in time by a fixed period. It may be easy to think of them as Tumbling windows that can overlap, so events can belong to more than one Hopping window result set.
You need to recommend a solution to keep device properties synced to IoT Hub. The solution must minimize data loss caused by the connectivity issues.
What should you include in the recommendation?
A. Azure Event Grid
B. a cloud-to-device message
C. IoT Hub device twins
D. the IoT Hub direct method
Correct Answer: C
Scenario: You discover connectivity issues between the IoT gateway devices and iothub1, which cause IoT devices to lose connectivity and messages.
To synchronize state information between a device and an IoT hub, you use device twins. A device twin is a JSON document, associated with a specific device, and stored by IoT Hub in the cloud where you can query them. A device twin contains desired properties, reported properties, and tags.
What should you create on iothub1 before you deploy Time Series Insights?
A. a new message route
B. a new consumer group
C. a new shared access policy
D. an IP filter rule
Correct Answer: B
Create a dedicated consumer group in the IoT hub for the Time Series Insights environment to consume from. Each Time Series Insights event source must have its own dedicated consumer group that isn't shared with any other consumer. If
multiple readers consume events from the same consumer group, all readers are likely to exhibit failures.
What should you do to identify the cause of the connectivity issues?
A. Send cloud-to-device messages to the IoT devices.
B. Use the heartbeat pattern to send messages from the IoT devices to iothub1.
C. Monitor the connection status of the device twin by using an Azure function.
D. Enable the collection of the Connections diagnostics logs and set up alerts for the connected devices count metric.
Correct Answer: D
Scenario: You discover connectivity issues between the IoT gateway devices and iothub1, which cause IoT devices to lose connectivity and messages.
To log device connection events and errors, turn on diagnostics for IoT Hub. We recommend turning on these logs as early as possible, because if diagnostic logs aren't enabled, when device disconnects occur, you won't have any
information to troubleshoot the problem with.
Step 1:
Sign in to the Azure portal.
Browse to your IoT hub.
Select Diagnostics settings.
Select Turn on diagnostics.
Enable Connections logs to be collected.
For easier analysis, turn on Send to Log Analytics (see pricing).
Step 2:
Set up alerts for device disconnect at scale
To get alerts when devices disconnect, configure alerts on the Connected devices (preview) metric.
You need to enable telemetry message tracing through the entire IoT solution.
What should you do?
A. Monitor device lifecycle events.
B. Upload IoT device logs by using the File upload feature.
C. Enable the DeviceTelemetry diagnostic log and stream the log data to an Azure event hub.
D. Implement distributed tracing.
Correct Answer: D
IoT Hub is one of the first Azure services to support distributed tracing. As more Azure services support distributed tracing, you'll be able trace IoT messages throughout the Azure services involved in your solution.
Note:
Enabling distributed tracing for IoT Hub gives you the ability to:
Precisely monitor the flow of each message through IoT Hub using trace context. This trace context includes correlation IDs that allow you to correlate events from one component with events from another component. It can be applied for a
subset or all IoT device messages using device twin.
Automatically log the trace context to Azure Monitor diagnostic logs.
Measure and understand message flow and latency from devices to IoT Hub and routing endpoints.
Start considering how you want to implement distributed tracing for the non-Azure services in your IoT solution.
During the POV phase, telemetry from IoT Hub stops flowing to the hot path. The cold path continues to work.
What should you do to restore the hot path?
A. Disable the fallback route.
B. Run the Test all routes action.
C. Create an explicit route for the hot path.
D. Modify cold-route to send only some telemetry data to the cold path.
Correct Answer: C
Question 8:
You need to recommend the format of telemetry messages to meet the POV requirements. What should you recommend?
A. XML
B. Avro
C. JSON
Correct Answer: C
Scenario: POV Requirements
Ensure that all message content during this phase is human readable to simplify debugging.
Avro uses a binary format, so it is not human readable.
The more lightweight JSON (Javascript object notation) has become a popular alternative to XML for various reasons. A couple obvious ones are:
Less verbose- XML uses more words than necessary
JSON is faster- Parsing XML software is slow and cumbersome.
Reference:
https://blog.cloud-elements.com/json-better-xml
Question 9:
You need to store the real-time alerts generated by Stream Analytics to meet the technical requirements. Which type of Stream Analytics output should you configure?
A. Azure Blob storage
B. Microsoft Power BI
C. Azure Cosmos DB
D. Azure SQL Database
Correct Answer: A
When you create a Time Series Insights Preview pay-as-you-go (PAYG) SKU environment, you create two Azure resources:
An Azure Storage general-purpose V1 blob account for cold data storage.
An Azure Time Series Insights Preview environment that can be configured for warm data storage.
You need to use message enrichment to add additional device information to messages sent from the IoT gateway devices when the reported temperature exceeds a critical threshold.
How should you configure the enrich message values? To answer, select the appropriate options in the answer area.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your AZ-220 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.