Microsoft Azure Iot Certification Exam Prep Test

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Alfredhook3
A
Alfredhook3
Community Contributor
Quizzes Created: 2924 | Total Attempts: 2,398,774
Questions: 61 | Attempts: 332

SettingsSettingsSettings
Microsoft Azure Iot Certification Exam Prep Test - Quiz

.


Questions and Answers
  • 1. 

    You have an Azure IoT solution that includes an Azure IoT hub, a Device Provisioning Service instance, and 1,000 connected IoT devices. All the IoT devices are provisioned automatically by using one enrollment group. You need to temporarily disable the IoT devices from the connecting to the IoT hub. Solution: From the Device Provisioning Service, you disable the enrollment group, and you disable device entries in the identity registry of the IoT hub to which the IoT devices are provisioned. Does the solution meet the goal?

    • A.

      Yes

    • B.

      No

    Correct Answer
    A. Yes
    Explanation
    You may ¦nd it necessary to deprovision devices that were previously auto-provisioned through the Device Provisioning Service.
    In general, deprovisioning a device involves two steps:
    1. Disenroll the device from your provisioning service, to prevent future auto-provisioning. Depending on whether you want to revoke access
    temporarily or permanently, you may want to either disable or delete an enrollment entry.
    2. Deregister the device from your IoT Hub, to prevent future communications and data transfer. Again, you can temporarily disable or
    permanently delete the device's entry in the identity registry for the IoT Hub where it was provisioned.
    Reference:
    https://docs.microsoft.com/bs-latn-ba/azure/iot-dps/how-to-unprovision-devices

    Rate this question:

  • 2. 

    You have an Azure IoT solution that includes an Azure IoT hub, a Device Provisioning Service instance, and 1,000 connected IoT devices. All the IoT devices are provisioned automatically by using one enrollment group. You need to temporarily disable the IoT devices from the connecting to the IoT hub. Solution: You delete the enrollment group from the Device Provisioning Service. Does the solution meet the goal?

    • A.

      Yes

    • B.

      No

    Correct Answer
    B. No
    Explanation
    Instead, from the Device Provisioning Service, you disable the enrollment group, and you disable device entries in the identity registry of the IoT hub to which the IoT devices are provisioned.

    Rate this question:

  • 3. 

    You have an Azure IoT hub. You plan to deploy 1,000 IoT devices by using automatic device management. The device twin is shown below. You need to con¦gure automatic device management for the deployment. Which target Condition should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.  

    • A.

      Properties.desired.wrapDriveType="WM105a"

    • B.

      Properties.reported.wrapDriveType="WM105a"

    • C.

      Tag.engine.wrapDriveType="WM105a"

    Correct Answer
    C. Tag.engine.wrapDriveType="WM105a"
    Explanation
    Box 1: tags.engine.warpDriveType='VM105a'
    Use tags to target twins. Before you create a con¦guration, you must specify which devices or modules you want to affect. Azure IoT Hub
    identi¦es devices and using tags in the device twin, and identi¦es modules using tags in the module twin.
    Box 2: properties.desired.warpOperating
    The twin path, which is the path to the JSON section within the twin desired properties that will be set.
    For example, you could set the twin path to properties.desired.chiller-water and then provide the following JSON content:
    {
    "temperature": 66,
    "pressure": 28
    }
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-automatic-device-management

    Rate this question:

  • 4. 

    You have an Azure IoT hub. You plan to deploy 1,000 IoT devices by using automatic device management. The device twin is shown below. You need to con¦gure automatic device management for the deployment. Which Device Twin Path should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.  

    • A.

      Properties.desired.wrapOperating

    • B.

      Properties.reported.wrapOperating

    • C.

      Properties.wrapOperating

    Correct Answer
    A. Properties.desired.wrapOperating
  • 5. 

    You plan to deploy a standard tier Azure IoT hub. You need to perform an over-the-air (OTA) update on devices that will connect to the IoT hub by using scheduled jobs. What should you use?

    • A.

      A device-to-cloud message

    • B.

      The device twin reported properties

    • C.

      A cloud-to-device message

    • D.

      A direct method

    Correct Answer
    D. A direct method
    Explanation
    Releases via the REST API. All of the operations that can be performed from the Console can also be automated using the REST API. You might do this to automate your build and release process, for example. You can build ¦rmware using the Particle CLI or directly using the compile source code API. Note: Over-the-air (OTA) ¦rmware updates are a vital component of any IoT system. Over-the-air ¦rmware updates refers to the practice of remotely updating the code on an embedded device. Reference: https://docs.particle.io/tutorials/device-cloud/ota-updates/

    Rate this question:

  • 6. 

    You plan to deploy an Azure IoT hub. The IoT hub must support the following: ✑ Three Azure IoT Edge devices ✑ 2,500 IoT devices Each IoT device will spend a 6 KB message every five seconds. You need to size the IoT hub to support the devices. The solution must minimize costs. What should you choose?

    • A.

      One unit of the S1 tier

    • B.

      One unit of the B2 tier

    • C.

      One unit of the B1 tier

    • D.

      One unit of the S3 tier

    Correct Answer
    D. One unit of the S3 tier
    Explanation
    2500* 6 KB * 12 = 180,000 KB/minute = 180 MB/Minute.
    B3, S3 can handle up to 814 MB/minute per unit.
    Incorrect Answers:
    A, C: B1, S1 can only handle up to 1111 KB/minute per unit
    B: B2, S2 can only handle up to 16 MB/minute per unit.
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-scaling

    Rate this question:

  • 7. 

    You have an IoT device that gathers data in a CSV file named Sensors.csv. You deploy an Azure IoT hub that is accessible at ContosoHub.azure-devices.net. You need to ensure that Sensors.csv is uploaded to the IoT hub. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

    • A.

      Upload Sensors.csv by using the IoT Hub REST API.

    • B.

      The Azure subscription, select the IoT hub, select Message routing, and then configure a route to storage.

    • C.

      From the Azure subscription, select the IoT hub, select File upload, and then configure a storage container.

    • D.

      Configure the device to use a GET request to ContosoHub.azure-devices.net/devices/ContosoDevice1/¦les/notifications.

    Correct Answer(s)
    A. Upload Sensors.csv by using the IoT Hub REST API.
    C. From the Azure subscription, select the IoT hub, select File upload, and then configure a storage container.
    Explanation
    To use the file upload functionality in IoT Hub, you must first associate an Azure Storage account with your hub. Select File upload to display a list of file upload properties for the IoT hub that is being modified. For Storage container: Use the Azure portal to select a blob container in an Azure Storage account in your current Azure subscription to associate with your IoT Hub. If necessary, you can create an Azure Storage account on the Storage accounts blade and blob container on the Containers A: IoT Hub has an endpoint specifically for devices to request a SAS URI for storage to upload a ¦le. To start the ¦le upload process, the device sends a POST request to {iot hub}.azure-devices.net/devices/{deviceId}/¦les with the following JSON body: { "blobName": "{name of the ¦le for which a SAS URI will be generated}" } Incorrect Answers: D: Deprecated: initialize a ¦le upload with a GET. Use the POST method instead. Reference: https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/iot-hub/iot-hub-con¦gure-¦le-upload.md

    Rate this question:

  • 8. 

    You have an Azure IoT solution that includes an Azure IoT hub, a Device Provisioning Service instance, and 1,000 connected IoT devices. All the IoT devices are provisioned automatically by using one enrollment group. You need to temporarily disable the IoT devices from connecting to the IoT hub. Solution: From the IoT hub, you change the credentials for the shared access policy of the IoT devices. Does the solution meet the goal?

    • A.

      Yes

    • B.

      No

    Correct Answer
    B. No
    Explanation
    The solution does not meet the goal. Changing the credentials for the shared access policy of the IoT devices will not temporarily disable the devices from connecting to the IoT hub. To temporarily disable the devices, you would need to modify the enrollment group's settings in the Device Provisioning Service instance to pause or disable device provisioning.

    Rate this question:

  • 9. 

    You create an Azure IoT hub by running the following command. az iot hub create --resource-group MyResourceGroup --name MyIotHub --sku B1 -- location westus --partition-count 4 What does MylotHub support?

    • A.

      Device Provisioning Service

    • B.

      Cloud-to-device messaging

    • C.

      Azure IoT Edge

    • D.

      Device twins

    Correct Answer
    A. Device Provisioning Service
    Explanation
    The Device Provisioning Service is included in the Basic Tiers (such as B1).
    Incorrect Answers:
    B, C, D: The Standard tier is needed for cloud-to-device messaging, Azure IoT Edge, and device twins.
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-scaling

    Rate this question:

  • 10. 

    You have an existing Azure IoT hub. You need to connect physical IoT devices to the IoT hub. You are connecting the devices through a ¦rewall that allows only port 443 and port 80. Which three communication protocols can you use? Each correct answer presents a complete solution  

    • A.

      MQTT over WebSocket

    • B.

      AMQP

    • C.

      AMQP over WebSocket

    • D.

      MQTT

    • E.

      HTTPS

    Correct Answer(s)
    A. MQTT over WebSocket
    C. AMQP over WebSocket
    E. HTTPS
    Explanation
    MQTT over WebSockets, AMQP over WebSocket, and HTTPS use port 443.
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-p

    Rate this question:

  • 11. 

    You have an Azure IoT solution that includes an Azure IoT hub and 100 Azure IoT Edge devices. You plan to deploy the IoT Edge devices to external networks. The firewalls of the external networks only allow trafic on port 80 and port 443. You need to ensure that the devices can connect to the IoT hub. The solution must minimize costs. What should you do?

    • A.

      Configure the devices for extended offline operations.

    • B.

      Configure the upstream protocol of the devices to use MQTT over WebSocket

    • C.

      Connect the external networks to the IoT solution by using ExpressRoute.

    • D.

      Configure the devices to use an HTTPS proxy.

    Correct Answer
    B. Configure the upstream protocol of the devices to use MQTT over WebSocket
    Explanation
    MQTT over WebSockets uses port 443.
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-protocols
    Provision and manage devices

    Rate this question:

  • 12. 

    You have devices that connect to an Azure IoT hub. Each device has a fixed GPS location that includes latitude and longitude. You discover that a device entry in the identity registry of the IoT hub is missing the GPS location. You need to con¦gure the GPS location for the device entry. The solution must prevent the changes from being propagated to the physical device. Solution: You use an Azure policy to apply tags to a resource group. Does the solution meet the goal?

    • A.

      Yes

    • B.

      No

    Correct Answer
    B. No
    Explanation
    Instead add the desired properties to the device twin.
    Note: Device Twins are used to synchronize state between an IoT solution's cloud service and its devices. Each device's twin exposes a set of
    desired properties and reported properties. The cloud service populates the desired properties with values it wishes to send to the device.
    When a device connects it requests and/or subscribes for its desired properties and acts on them.
    Reference:
    https://azure.microsoft.com/sv-se/blog/deep-dive-into-azure-iot-hub-noti¦cations-and-device-twin/

    Rate this question:

  • 13. 

    You have devices that connect to an Azure IoT hub. Each device has a fixed GPS location that includes latitude and longitude. You discover that a device entry in the identity registry of the IoT hub is missing the GPS location. You need to con¦gure the GPS location for the device entry. The solution must prevent the changes from being propagated to the physical device. Solution: Solution: You add tags to the device twin. Does the solution meet the goal?

    • A.

      Yes

    • B.

      No

    Correct Answer
    B. No
    Explanation
    Instead add the desired properties to the device twin.
    Note: Device Twins are used to synchronize state between an IoT solution's cloud service and its devices. Each device's twin exposes a set of
    desired properties and reported properties. The cloud service populates the desired properties with values it wishes to send to the device.
    When a device connects it requests and/or subscribes for its desired properties and acts on them.
    Reference:
    https://azure.microsoft.com/sv-se/blog/deep-dive-into-azure-iot-hub-noti¦cations-and-device-twin/

    Rate this question:

  • 14. 

    You have devices that connect to an Azure IoT hub. Each device has a fixed GPS location that includes latitude and longitude. You discover that a device entry in the identity registry of the IoT hub is missing the GPS location. You need to con¦gure the GPS location for the device entry. The solution must prevent the changes from being propagated to the physical device. Solution: You add the desired properties to the device twin. Does the solution meet the goal?

    • A.

      Yes

    • B.

      No

    Correct Answer
    A. Yes
    Explanation
    Device Twins are used to synchronize state between an IoT solution's cloud service and its devices. Each device's twin exposes a set of desired
    properties and reported properties. The cloud service populates the desired properties with values it wishes to send to the device. When a
    device connects it requests and/or subscribes for its desired properties and acts on them.
    Reference:
    https://azure.microsoft.com/sv-se/blog/deep-dive-into-azure-iot-hub-noti¦cations-and-device-twin/

    Rate this question:

  • 15. 

    You have three Azure IoT hubs named Hub1, Hub2, and Hub3, a Device Provisioning Service instance, and an IoT device named Device1. Each IoT hub is deployed to a separate Azure region. Device enrollment uses the Lowest latency allocation policy. The Device Provisioning Service uses the Lowest latency allocation policy. Device1 is auto-provisioned to Hub1 by using the Device Provisioning Service. Device1 regularly moves between regions. You need to ensure that Device1 always connects to the IoT hub that has the lowest latency. What should you do?

    • A.

       Con¦gure device attestation that uses X.509 certi¦cates.

    • B.

      Implement device certificate rolling

    • C.

      Disenroll and reenroll Device1

    • D.

      Configure the re-provisioning policy.

    Correct Answer
    D. Configure the re-provisioning policy.
    Explanation
    Automated re-provisioning support.
    Microsoft added ¦rst-class support for device re-provisioning which allows devices to be reassigned to a different IoT solution sometime after
    the initial solution assignment. Re-provisioning support is available in two options:
    ✑ Factory reset, in which the device twin data for the new IoT hub is populated from the enrollment list instead of the old IoT hub. This is
    common for factory reset scenarios as well as leased device scenarios.
    ✑ Migration, in which device twin data is moved from the old IoT hub to the new IoT hub. This is common for scenarios in which a device is
    moving between geographies.
    Reference:
    https://azure.microsoft.com/en-us/blog/new-year-newly-available-iot-hub-device-provisioning-service-features/

    Rate this question:

  • 16. 

    You have an Azure subscription that contains a resource group named RG1. You need to deploy the Device Provisioning Service. The solution must ensure that the Device Provisioning Service can accept new device enrollments. You create a Device Provisioning Service instance. Which two actions should you perform next? Each correct answer presents part of the solution

    • A.

      From the Linked IoT hubs blade of the Device Provisioning Service, link an Azure IoT hub

    • B.

      From the Azure portal, create a new Azure IoT hub.

    • C.

       From the Manage allocation policy blade of the Device Provisioning Service, con¦gure an allocation policy.

    • D.

      From the Certi¦cates blade of the Device Provisioning Service, upload an X.509 certi¦cate to the Device Provisioning Service.

    Correct Answer
    D. From the Certi¦cates blade of the Device Provisioning Service, upload an X.509 certi¦cate to the Device Provisioning Service.
    Explanation
    A: The Device Provisioning Service can only provision devices to IoT hubs that have been linked to it.
    C: Allocation policy. The service-level setting that determines how Device Provisioning Service assigns devices to an IoT hub. There are three
    supported allocation policies:
    ✑ Lowest latency: devices are provisioned to an IoT hub with the lowest latency to the device.
    ✑ Evenly weighted distribution
    ✑ Static con¦guration via the enrollment list
    Reference:
    https://docs.microsoft.com/bs-latn-ba/azure/iot-dps/concepts-service

    Rate this question:

  • 17. 

    You have 10,000 IoT devices that connect to an Azure IoT hub. The devices do not support over-the-air (OTA) updates. You need to decommission 1,000 devices. The solution must prevent connections and autoenrollment for the decommissioned devices. Which two actions should you perform? Each correct answer presents part of the solution.

    • A.

      Update the connectionState device twin property on all the devices

    • B.

      Blacklist the X.509 root certi¦cation authority (CA) certi¦cate for the enrollment group.

    • C.

      Delete the enrollment entry for the devices.

    • D.

      Remove the identity certi¦cate from the hardware security module (HSM) of the devices.

    • E.

      Delete the device identity from the device registry of the IoT hub.

    Correct Answer(s)
    B. Blacklist the X.509 root certi¦cation authority (CA) certi¦cate for the enrollment group.
    C. Delete the enrollment entry for the devices.
    Explanation
    Correct Answer: BC
    B: X.509 certi¦cates are typically arranged in a certi¦cate chain of trust. If a certi¦cate at any stage in a chain becomes compromised, trust is
    broken. The certi¦cate must be blacklisted to prevent Device Provisioning Service from provisioning devices downstream in any chain that
    contains that certi¦cate.
    C: Individual enrollments apply to a single device and can use either X.509 certi¦cates or SAS tokens (in a real or virtual TPM) as the attestation
    mechanism.
    (Devices that use SAS tokens as their attestation mechanism can be provisioned only through an individual enrollment.) To blacklist a device
    that has an individual enrollment, you can either disable or delete its enrollment entry.
    To blacklist a device that has an individual enrollment, you can either disable or delete its enrollment entry.
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-dps/how-to-revoke-device-access-portal

    Rate this question:

  • 18. 

    You have an Azure IoT Central application. You need to connect an IoT device to the application. Which two settings do you require in IoT Central to con¦gure the device? Each correct answer presents part of the solution.

    • A.

      Group SAS Primary Key

    • B.

      The IoT hub name

    • C.

      Scope ID

    • D.

      Application Name

    • E.

      Device ID

    Correct Answer(s)
    C. Scope ID
    E. Device ID
    Explanation
    In your Azure IoT Central application, add a real device to the device template
    1. On the Devices page, select the Environmental sensor device template.
    2. Select + New.
    3. Make sure that Simulated is Off. Then select Create.
    Click on the device name, and then select Connect. Make a note of the device connection information on the Device Connection page - ID
    scope, Device ID, and
    Primary key. You need these values when you create your device code:

    Reference:
    https://docs.microsoft.com/bs-cyrl-ba/azure/iot-central/core/tutorial-connect-device-python

    Rate this question:

  • 19. 

    You have an Azure IoT hub. You need to recommend a solution to scale the IoT hub automatically. What should you include in the recommendation?

    • A.

      Create an SMS alert in IoT Hub for the Total number of messages used metric

    • B.

      Create an Azure function that retrieves the quota metrics of the IoT hub.

    • C.

      Configure autoscaling in Azure Monitor.

    • D.

      Emit custom metrics from the IoT device code and create an Azure Automation runbook alert.

    Correct Answer
    B. Create an Azure function that retrieves the quota metrics of the IoT hub.
    Explanation
    IoT Hub is scaled and priced based on an allowed number of messages per day across all devices connected to that IoT Hub. If you
    exceed the allowed message threshold for your chosen tier and number of units, IoT Hub will begin rejecting new messages. To date, there is
    no built-in mechanism for automatically scaling an IoT Hub to the next level of capacity if you approach or exceed that threshold.
    Reference:
    https://docs.microsoft.com/en-us/samples/azure-samples/iot-hub-dotnet-autoscale/iot-hub-dotnet-autoscale/

    Rate this question:

  • 20. 

    You have an Azure IoT hub that uses a Device Provisioning Service instance. You create a new individual device enrollment that uses symmetric key attestation. Which detail from the enrollment is required to auto provision the device by using the Device Provisioning Service?

    • A.

      The registration ID of the enrollment

    • B.

      The primary key of the enrollment

    • C.

      The device identity of the IoT hub

    • D.

      The hostname of the IoT hub

    Correct Answer
    C. The device identity of the IoT hub
    Explanation
    An enrollment is the record of devices or groups of devices that may register through auto-provisioning. The enrollment record contains
    information about the device or group of devices, including:
    ✑ the attestation mechanism used by the device
    ✑ the optional initial desired con¦guration
    ✑ desired IoT hub
    the desired device ID
    Note: Azure IoT auto-provisioning can be broken into three phases:
    1. Service con¦guration - a one-time con¦guration of the Azure IoT Hub and IoT Hub Device Provisioning Service instances, establishing them
    and creating linkage between them.
    2. Device enrollment - the process of making the Device Provisioning Service instance aware of the devices that will attempt to register in the
    future. Enrollment is accomplished by con¦guring device identity information in the provisioning service, as either an "individual enrollment" for
    a single device, or a "group enrollment" for multiple devices.
    3. Device registration and con¦guration
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-dps/concepts-service#enrollment

    Rate this question:

  • 21. 

    You have an existing Azure IoT hub. You use IoT Hub jobs to schedule long running tasks on connected devices. Which three operations do the IoT Hub jobs support directly? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

    • A.

      Trigger Azure functions.

    • B.

      Invoke direct methods.

    • C.

      Update desired properties.

    • D.

      Send cloud-to-device messages.

    • E.

      Disable IoT device registry entries

    • F.

      Update tags.

    Correct Answer(s)
    B. Invoke direct methods.
    C. Update desired properties.
    F. Update tags.
    Explanation
    Consider using jobs when you need to schedule and track progress any of the following activities on a set of devices:
    ✑ Invoke direct methods
    ✑ Update desired properties
    ✑ Update tags
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-jobs

    Rate this question:

  • 22. 

    You have an Azure IoT hub that uses a Device Provisioning Service instance to automate the deployment of Azure IoT Edge devices. The IoT Edge devices have a Trusted Platform Module (TPM) 2.0 chip. From the Azure portal, you plan to add an individual enrollment to the Device Provisioning Service that will use the TPM of the IoT Edge devices as the attestation mechanism. Which detail should you obtain before you can create the enrollment.

    • A.

      The scope ID and the Device Provisioning Service endpoint

    • B.

      The primary key of the Device Provisioning Service shared access policy and the global device endpoint

    • C.

      The X.509 device certi¦cate and the certi¦cate chain

    • D.

      The endorsement key and the registration ID

    Correct Answer
    D. The endorsement key and the registration ID
    Explanation
    The TPM simulator's Registration ID and the Endorsement key, are used when you create an individual enrollment for your device.
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-edge/how-to-auto-provision-simulated-device-linux
    Implement Edge

    Rate this question:

  • 23. 

    You develop a custom Azure IoT Edge module named temperature-module. You publish temperature-module to a private container registry named mycr.azurecr.io You need to build a deployment manifest for the IoT Edge device that will run temperature-module. Which three container images should you de¦ne in the manifest? Each correct answer presents part of the solution.

    • A.

      Mcr.microsoft.com/azureiotedge-simulated-temperature-sensor:1.0

    • B.

      Mcr.microsoft.com/azureiotedge-simulated-temperature-sensor:1.0

    • C.

      Mcr.microsoft.com/iotedgedev:2.0

    • D.

      Mycr.azurecr.io/temperature-module:latest

    • E.

      Mcr.microsoft.com/azureiotedge-hub:1.0

    Correct Answer(s)
    B. Mcr.microsoft.com/azureiotedge-simulated-temperature-sensor:1.0
    D. Mycr.azurecr.io/temperature-module:latest
    E. Mcr.microsoft.com/azureiotedge-hub:1.0
    Explanation
    Each IoT Edge device runs at least two modules: $edgeAgent and $edgeHub, which are part of the IoT Edge runtime. IoT Edge device can run
    multiple additional modules for any number of processes. Use a deployment manifest to tell your device which modules to install and how to
    con¦gure them to work together.
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-edge/module-composition

    Rate this question:

  • 24. 

    You have an Azure IoT solution that includes an Azure IoT Hub named Hub1 and an Azure IoT Edge device named Edge1. Edge1 connects to Hub1. You need to deploy a temperature module to Edge1.

    • A.

      From the Azure portal, navigate to Hub1 and select IoT Edge. Select Edge1, and then select Manage Child Devices. From a Bash prompt, run the following command: az iot edge set-modules -device-id Edge1 -hub-name Hub1 -content C:\deploymentMan1.json

    • B.

      Create an IoT Edge deployment manifest that speci¦es the temperature module and the route to $upstream. From a Bush prompt, run the following command: az iot hub monitor-events-device-id Edge1 -hub-name Hub1

    • C.

      From the Azure portal, navigate to Hub1 and select IoT Edge. Select Edge1, select Device Twin, and then set the deployment manifest as a desired property. From a Bash prompt, run the following command az iot hub monitor-events-device-id Edge1 -hub-name Hub1

    • D.

      Create an IoT Edge deployment manifest that speci¦es the temperature module and the route to $upstream. From a Bush prompt, run the following command: az iot edge set-modules -device-id Edge1 -hub-name Hub1 -content C:\deploymentMan1.json

    Correct Answer
    D. Create an IoT Edge deployment manifest that speci¦es the temperature module and the route to $upstream. From a Bush prompt, run the following command: az iot edge set-modules -device-id Edge1 -hub-name Hub1 -content C:\deploymentMan1.json
    Explanation
    You deploy modules to your device by applying the deployment manifest that you con¦gured with the module information.
    Change directories into the folder where your deployment manifest is saved. If you used one of the VS Code IoT Edge templates, use the
    deployment.json ¦le in the con¦g folder of your solution directory and not the deployment.template.json ¦le.
    Use the following command to apply the con¦guration to an IoT Edge device: az iot edge set-modules --device-id [device id] --hub-name [hub
    name] --content [¦le path]
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-edge/how-to-deploy-modules-cli

    Rate this question:

  • 25. 

    Your company is creating a new camera security system that will use Azure IoT Hub. You plan to use an Azure IoT Edge device that will run Ubuntu Server 18.04. You need to con¦gure the IoT Edge device. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Eg. 1 2 3

    Correct Answer
    2 5 3
    Explanation
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge-linux

    Rate this question:

  • 26. 

    You need to install the Azure IoT Edge runtime on a new device that runs Windows 10 IoT Enterprise. Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Eg. 1 2 3

    Correct Answer
    2 4 1 5
    Explanation
    https://docs.microsoft.com/en-us/azure/iot-edge/module-composition

    Rate this question:

  • 27. 

    You are implementing a proof of concept (POC) for an Azure IoT solution. You need to deploy an Azure IoT Edge device as part of the POC. On which two devices can you deploy IOT Edge? Each correct answer presents a complete solution.

    • A.

      Device 1

    • B.

      Device 2

    • C.

      Device 3

    • D.

      Device 4

    Correct Answer(s)
    B. Device 2
    C. Device 3
    Explanation
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-edge/support

    Rate this question:

  • 28. 

    You have 100 devices that connect to an Azure IoT hub. You plan to use Azure functions to process all the telemetry messages from the devices before storing the messages. You need to con¦gure the functions binding for the IoT hub. Which two con¦guration details should you use to con¦gure the binding? Each correct answer presents part of the solution

    • A.

      The name of the resource group that contains the IoT hub

    • B.

      The IoT hub's connection string shared access key that has Service connect permissions

    • C.

      The connection string of the Azure Event Hub-compatible endpoint from the IoT Hub built-in endpoints

    • D.

      The Azure Event-Hub compatible name  

    Correct Answer(s)
    C. The connection string of the Azure Event Hub-compatible endpoint from the IoT Hub built-in endpoints
    D. The Azure Event-Hub compatible name  
    Explanation
    EventHubName: Functions 2.x and higher. The name of the event hub. When the event hub name is also present in the connection string, that
    value overrides this property at runtime.
    Connection: The name of an app setting that contains the connection string to the event hub's namespace. Copy this connection string by
    clicking the Connection
    Information button for the namespace, not the event hub itself. This connection string must have send permissions to send the message to the
    event stream.
    Reference:
    https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-event-iot-output

    Rate this question:

  • 29. 

    You have an instance of Azure Time Series Insights and an Azure IoT hub that receives streaming telemetry from IoT devices. You need to con¦gure Time Series Insights to receive telemetry from the devices. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Eg. 1 2 3

    Correct Answer(s)
    5 3 1
    Explanation
    https://docs.microsoft.com/en-us/azure/time-series-insights/time-series-insights-how-to-add-an-event-source-iothub

    Rate this question:

  • 30. 

    You have 1,000 devices that connect to a standard tier Azure IoT hub. All the devices are commissioned and send telemetry events to the built-in IoT Hub endpoint. You configure message enrichment on the events endpoint and set the enrichment value to $twin.tags.ipV4. When you inspect messages on the events endpoint, you discover that all the messages are stamped with a string of "$twin.tags.ipV4". What are two possible causes of the issue? Each correct answer presents a complete solution.

    • A.

      The ipV4 tag is a restricted twin property that is unavailable for message enrichment.

    • B.

      B. A standard tier IoT hub does not support device twin properties in message enrichments.

    • C.

      The device sending the message has no device twin.

    • D.

      Message enrichment cannot be added to messages going to a built-in endpoint.

    • E.

      The device twin path used for the value of the enrichment does not exist.

    • F.

      The device twin property value used for message enrichment is set to "$twin.tags.ipV4".

    Correct Answer(s)
    C. The device sending the message has no device twin.
    E. The device twin path used for the value of the enrichment does not exist.
    Explanation
    In some cases, if you are applying an enrichment with a value set to a tag or property in the device twin, the value will be stamped as a string value. For example, if an enrichment value is set to $twin.tags.field, the messages will be stamped with the string "$twin.tags.field" rather than the value of that field from the twin. This happens in the following cases:
    ✑ (C) Your IoT Hub is in the standard tier, but the device sending the message has no device twin.
    ✑ (E) Your IoT Hub is in the standard tier, but the device twin path used for the value of the enrichment does not exist. For example, if the enrichment value is set to $twin.tags.location, and the device twin does not have a location property under tags, the message is stamped with the string "$twin.tags.location".
    ✑ Your IoT Hub is in the basic tier. Basic tier IoT hubs do not support device twins.
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-message-enrichments-overview
    Monitor, troubleshoot, and optimize IoT solutions

    Rate this question:

  • 31. 

    You have 10 IoT devices that connect to an Azure IoT hub named Hub1. From Azure Cloud Shell, you run az iot hub monitor-events --hub-name Hub1 and receive the following error message: "az iot hub: 'monitor-events' is not in the 'az iot hub' command group. See 'az iot hub --help'." You need to ensure that you can run the command successfully. What should you run ¦rst?

    • A.

      Az iot hub monitor-feedback --hub-name Hub1

    • B.

      Az iot hub generate-sas-token --hub-name Hub1

    • C.

      Az iot hub con¦guration list --hub-name Hub1

    • D.

      Az extension add -name azure-cli-iot-ext

    Correct Answer
    D. Az extension add -name azure-cli-iot-ext
    Explanation
    Execute az extension add --name azure-cli-iot-ext once and try again.
    In order to read the telemetry from your hub by CLI, you have to enable IoT Extension with the following commands:
    Add: az extension add --name azure-cli-iot-ext
    Reference:
    https://github.com/MicrosoftDocs/azure-docs/issues/20843

    Rate this question:

  • 32. 

    You have an Azure Stream Analytics job that connects to an Azure IoT hub named Hub1445 as a streaming data source. Hub1445 is con¦gured 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?  

    • A.

      Change the Route1 route query to true.

    • B.

      Enable the Route3 route.

    • C.

      Disable the Route2 route.

    • D.

      Enable the fallback route.

    Correct Answer
    A. Change the Route1 route query to true.
    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 con¦gured 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 the query). Reference: https://darenmay.com/blog/azure-iot-streaming-analytics-data-lake-analytics-and-json/

    Rate this question:

  • 33. 

    You are troubleshooting an Azure IoT hub. You discover that some telemetry messages are dropped before they reach downstream processing. You suspect that IoT Hub throttling is the root cause. Which log in the Diagnostics settings of the IoT hub should you use to capture the throttling error events?

    • A.

      Routes

    • B.

      DeviceTelemetry

    • C.

      Connections

    • D.

      C2DCommands

    Correct Answer
    B. DeviceTelemetry
    Explanation
    The device telemetry category tracks errors that occur at the IoT hub and are related to the telemetry pipeline. This category includes errors
    that occur when sending telemetry events (such as throttling) and receiving telemetry events (such as unauthorized reader). This category
    cannot catch errors caused by code running on the device itself.
    Note: The metric d2c.telemetry.ingress.sendThrottle is the number of throttling errors due to device throughput throttles.
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-monitor-resource-health

    Rate this question:

  • 34. 

    You have 20 devices that connect to an Azure IoT hub. You open Azure Monitor as shown in the exhibit.  You discover that telemetry is not being received from ¦ve IoT devices. You need to identify the names of the devices that are not generating telemetry and visualize the data. What should you do ¦rst?  

    • A.

      Add the Number of throttling errors metric and archive the logs to an Azure storage account

    • B.

      Con¦gure diagnostics for Routes and stream the logs to Azure Event Hubs.

    • C.

      Add the Telemetry messages sent metric and archieve the logs to an Azure Storage account

    • D.

      Con¦gure diagnostics for Connections and send the logs to Azure Log Analytics.

    Correct Answer
    D. Con¦gure diagnostics for Connections and send the logs to Azure Log Analytics.
    Explanation
    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.
    1. Sign in to the Azure portal.
    2. Browse to your IoT hub.
    3. Select Diagnostics settings.
    4. Select Turn on diagnostics.
    5. Enable Connections logs to be collected.
    6. For easier analysis, turn on Send to Log Analytics

    Reference:
    https://docs.microsoft.com/bs-cyrl-ba/azure/Iot-hub/iot-hub-troubleshoot-connectivity

    Rate this question:

  • 35. 

    You have an Azure IoT solution that includes a standard tier Azure IoT hub and an IoT device. The device sends one 100-KB device-to-cloud message every hour. You need to calculate the total daily message consumption of the device. What is the total daily message consumption of the device?

    • A.

      24

    • B.

      600

    • C.

      2400

    • D.

      4800

    Correct Answer
    B. 600
    Explanation
    100 KB * 24 is around 2,400 bytes.
    The 100 KB message is divided into 4 KB blocks, and it is billed for 25 messages. 25 times 24 is 600
    Note: The maximum message size for messages sent from a device to the cloud is 256 KB. These messages are metered in 4 KB blocks for the
    paid tiers so for instance if the device sends a 16 KB message via the paid tiers it will be billed as 4 messages.
    Reference:
    https://azure.microsoft.com/en-us/pricing/details/iot-hub/

    Rate this question:

  • 36. 

    You have 1,000 devices that connect to an Azure IoT hub. You are performing a scheduled check of deployed IoT devices. You plan to run the following command from the Azure CLI prompt. az iot hub query --hub-name hub1 --query-command "SELECT * FROM devices WHERE connectionState = 'Disconnected'" What does the command return?

    • A.

      The Device Disconnected events

    • B.

      The Device Disconnected events

    • C.

      The Connections logs

    • D.

      The device credentials

    Correct Answer
    A. The Device Disconnected events
    Explanation
    The IoT Hub publishes the Microsoft.Devices.DeviceDisconnected event type, which is published when a device is disconnected from an IoT
    hub.
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-event-grid#event-types

    Rate this question:

  • 37. 

    You have an Azure IoT solution that includes several Azure IoT hubs. A new alerting feature was recently added to the IoT devices. The feature uses a new device twin reported property named alertCondition. You need to send alerts to an Azure Service Bus queue named MessageAlerts. The alerts must include alertCondition and the name of the IoT hub. Which two actions should you perform? Each correct answer presents part of the solution.

    • A.

      Con¦gure File upload for each IoT hub. Con¦gure the device to send a ¦le to an Azure Storage container that contains the device name and status message.

    • B.

      Add the following message enrichments: Name = iotHubName Value = $twin.tag.location Endpoint = MessageAlert

    • C.

      Create an IoT Hub routing rule that has a data source of Device Twin Change Events and select the endpoint for MessageAlerts

    • D.

      Add the following message enrichments: Name = iotHubName Value = $iothubname Endpoint = MessageAlert

    • E.

      Create an IoT Hub routing rule that has a data source of Device Telemetry Messages and select the endpoint for MessageAlerts.

    Correct Answer(s)
    B. Add the following message enrichments: Name = iotHubName Value = $twin.tag.location Endpoint = MessageAlert
    D. Add the following message enrichments: Name = iotHubName Value = $iothubname Endpoint = MessageAlert
    Explanation
    B: Message enrichments is the ability of the IoT Hub to stamp messages with additional information before the messages are sent to the
    designated endpoint.
    One reason to use message enrichments is to include data that can be used to simplify downstream processing. For example, enriching device
    telemetry messages with a device twin tag can reduce load on customers to make device twin API calls for this information.
    D: Applying enrichments -
    The messages can come from any data source supported by IoT Hub message routing, including the following examples:
    ✑ -->device twin change noti¦cations -- changes in the device twin
    ✑ device telemetry, such as temperature or pressure
    ✑ device life-cycle events, such as when the device is created or deleted
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-message-enrichments-overview

    Rate this question:

  • 38. 

    You deploy an Azure IoT hub. You need to demonstrate that the IoT hub can receive messages from a device. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Eg 1 2 3

    Correct Answer(s)
    4 3 5
    Explanation
    To demonstrate that the IoT hub can receive messages from a device, you should perform the following actions in sequence:

    1. Connect the device to the IoT hub and ensure that it is sending messages.
    2. Set up a route in the IoT hub to direct incoming messages to a desired endpoint, such as a storage account or a function app.
    3. Monitor the incoming messages in the endpoint to verify that the IoT hub is successfully receiving them.

    Rate this question:

  • 39. 

    Case Study 1 -Q1 Existing Environment. Current State of Development Contoso produces a set of Bluetooth sensors that read the temperature and humidity. The sensors connect to IoT gateway devices that relay the data. All the IoT gateway devices connect to an Azure IoT hub named iothub1. Existing Environment. Device Twin You plan to implement device twins by using the following JSON sample. Existing Environment. Azure Stream Analytics Each room will have between three to five sensors that will generate readings that are sent to a single IoT gateway device. The IoT gateway device will forward all the readings to iothub1 at intervals of between 10 and 60 seconds. You plan to use a gateway pattern so that each IoT gateway device will have its own IoT Hub device identity. You draft the following query, which is missing the GROUP BY clause. SELECT AVG(temperature), System.TimeStamp() AS AsaTime FROM Iothub You plan to use a 30-second period to calculate the average temperature reading of the sensors. You plan to minimize latency between the condition reported by the sensors and the corresponding alert issued by the Stream Analytics job. Existing Environment. Device Messages The IoT gateway devices will send messages that contain the following JSON data whenever the temperature exceeds a specified threshold Existing Environment. Issues You discover connectivity issues between the IoT gateway devices and iothub1, which cause IoT devices to lose connectivity and messages. Requirements. Planning Changes
    • Contoso plans to make the following changes:
    • Use Stream Analytics to process and view data. Use
    • Azure Time Series Insights to visualize data.
    • Implement a system to sync device statuses and required settings. Add
    • extra information to messages by using message enrichment.
    • Create a notification system to send an alert if a condition exceeds a specified threshold. Implement a
    • system to identify what causes the intermittent connection issues and lost messages.
    Requirements. Technical Requirements
    • Contoso must meet the following requirements:
    • Use the built-in functions of IoT Hub whenever possible. Minimize
    • hardware and software costs whenever possible. Minimize
    • administrative effort to provision devices at scale. Implement a
    • system to trace message flow to and from iothub1.
    • Minimize the amount of custom coding required to implement the planned changes.
    • Prevent read operations from being negatively affected when you implement additional services
    New Question You create a new IoT device named device1 on iothub1. Device1 has a primary key of Uihuih76hbHb. How should you complete the device connection string? To answer, select the appropriate options in the answer area.  

    Correct Answer(s)
    iothub1 azure-devices.net device1
    Explanation
    Box 1: iothub1
    The Azure IoT hub is named iothub1.

    Box 2: azure-devices.net
    The format of the device connection string looks like:

    HostName={YourIoTHubName}.azure-devices.net;DeviceId=MyNodeDevice;SharedAccessKey={YourSharedAccessKey} Box
    1: device1

    Device1 has a primary key of Uihuih76hbHb.
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-control-device-dotnet

    Rate this question:

  • 40. 

    Case Study 1 -Q5 Existing Environment. Current State of Development Contoso produces a set of Bluetooth sensors that read the temperature and humidity. The sensors connect to IoT gateway devices that relay the data. All the IoT gateway devices connect to an Azure IoT hub named iothub1. Existing Environment. Device Twin You plan to implement device twins by using the following JSON sample. Existing Environment. Azure Stream Analytics Each room will have between three to five sensors that will generate readings that are sent to a single IoT gateway device. The IoT gateway device will forward all the readings to iothub1 at intervals of between 10 and 60 seconds. You plan to use a gateway pattern so that each IoT gateway device will have its own IoT Hub device identity. You draft the following query, which is missing the GROUP BY clause. SELECT AVG(temperature), System.TimeStamp() AS AsaTime FROM Iothub You plan to use a 30-second period to calculate the average temperature reading of the sensors. You plan to minimize latency between the condition reported by the sensors and the corresponding alert issued by the Stream Analytics job. Existing Environment. Device Messages The IoT gateway devices will send messages that contain the following JSON data whenever the temperature exceeds a specified threshold Existing Environment. Issues You discover connectivity issues between the IoT gateway devices and iothub1, which cause IoT devices to lose connectivity and messages. Requirements. Planning Changes
    • Contoso plans to make the following changes:
    • Use Stream Analytics to process and view data. Use
    • Azure Time Series Insights to visualize data.
    • Implement a system to sync device statuses and required settings. Add
    • extra information to messages by using message enrichment.
    • Create a notification system to send an alert if a condition exceeds a specified threshold. Implement a
    • system to identify what causes the intermittent connection issues and lost messages.
    Requirements. Technical Requirements
    • Contoso must meet the following requirements:
    • Use the built-in functions of IoT Hub whenever possible. Minimize
    • hardware and software costs whenever possible. Minimize
    • administrative effort to provision devices at scale. Implement a
    • system to trace message flow to and from iothub1.
    • Minimize the amount of custom coding required to implement the planned changes.
    • Prevent read operations from being negatively affected when you implement additional services
    New Question 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.  

    Correct Answer(s)
    $twin.tags temperature.reported
    Explanation
    Explanation:
    Scenario:Youplanto usea 30-second periodtocalculate theaveragetemperature reading ofthe
    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.
    InAnswers:
    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.
    Reference:
    https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-window-functions

    Rate this question:

  • 41. 

    Case Study 2 - Q1 Requirements. Planned Changes ADatum is developing an Azure IoT solution to monitor environmental conditions. The IoT solution consists of hardware devices and cloud services. All the devices will communicate directly to Azure IoT Hub. The hardware devices will be deployed to the branch offices and will collect data about various environmental conditions such as temperature, humidity, air quality, andnoise level. The devices will be wired by using Power over Ethernet (PoE) connections. ADatum is developing the solution in the following three phases: proof of value (POV), pilot, and production. Requirements. POV Requirements The POV phase will demonstrate that a technical solution is viable. During this phase, 100 devices will be deployed to the main office and Azure Stream Analytics will be connected to an IoT hub to generate real-time alerts. Stream Analytics will perform the following processing: Calculate the median rate of the telemetry across the entire devices that exceed the median rate by a factor of 4. Compare the current telemetry to the specified thresholds and issue alerts when telemetry values are out of range. Ensure that all message content during this phase is human readable to simplify debugging. Requirements. Pilot Requirements During the pilot phase, devices will be deployed to 10 offices. Each office will have up to 1,000 devices. During this phase, you will add Azure Time Series Insights in parallel to Stream Analytics to support real-time graphs and queries in a dashboard web app. The pilot deployment must minimize operating costs. Requirements. Production Requirements The production phase will include all the offices. The production deployment will have one IoT hub in each Azure region. Devices must connect to the IoT hub in their region. The production phase must meet the following requirements: Ensure that the IoT solution can support performance and scale targets. Ensure that the IoT solution support up to 1,000 devices per office. Minimize operating costs of the IoT solution. Requirements. Technical Requirements Datum identifies the following requirements for the planned IoT solution: The solution must generate real-time alerts when a fire condition is detected in an office. All the devices in that office must trigger an audible alarm siren within 10 seconds of the alert. A dashboard UI must display alerts and the system status in real time and must allow device operators to make adjustments to the system. Each device will send hourly updates to IoT Hub. Condition alerts will be sent immediately. Multiple types of devices will collect telemetry that has different schemas. IoT Hub must perform message routing based on the message body. Direct methods must be used for cloud-to-device communication. Reports must be provided monthly, quarterly, and annually. Stored data queries must be as efficient as possible. The device message size will be under 4 KB. Development effort must be minimized. The relevant throttles and quotas for various IoT Hub tiers are shown in the following table. Requirements. IoT Hub Routing You plan to implement IoT Hub routing during the POV phase as shown in the following exhibit. New Question You need to configure Stream Analytics to meet the POV requirements. What are two ways to achieve the goal?EachAnswer presents a complete solution. NOTE: Each correct selection is worth one point.  

    • A.

      From IoT Hub, create a custom event hub endpoint, and then configure the endpoint as an input to Stream Analytics.

    • B.

      Create a Stream Analytics module and then deploy the module to all IoT Edge devices in the fleet.

    • C.

      Create an input in Stream Analytics that uses the built-in events endpoint of IoTHub as the source.

    • D.

      Route telemetry to an Azure Blob storage custom endpoint, and then configure the Blob storage as a reference input for Stream Analytics.

    Correct Answer(s)
    A. From IoT Hub, create a custom event hub endpoint, and then configure the endpoint as an input to Stream Analytics.
    C. Create an input in Stream Analytics that uses the built-in events endpoint of IoTHub as the source.
    Explanation
    To meet the POV requirements, two ways to configure Stream Analytics are:

    1. From IoT Hub, create a custom event hub endpoint, and then configure the endpoint as an input to Stream Analytics. This allows Stream Analytics to receive the telemetry data from the IoT devices through the custom event hub endpoint.

    2. Create an input in Stream Analytics that uses the built-in events endpoint of IoT Hub as the source. This enables Stream Analytics to directly receive the telemetry data from the IoT Hub's built-in events endpoint.

    By implementing both of these configurations, Stream Analytics will be able to receive and process the telemetry data in real-time, calculate the median rate, compare telemetry to thresholds, and issue alerts when necessary.

    Rate this question:

  • 42. 

    Case Study 1 -Q6 Existing Environment. Current State of Development Contoso produces a set of Bluetooth sensors that read the temperature and humidity. The sensors connect to IoT gateway devices that relay the data. All the IoT gateway devices connect to an Azure IoT hub named iothub1. Existing Environment. Device Twin You plan to implement device twins by using the following JSON sample. Existing Environment. Azure Stream Analytics Each room will have between three to five sensors that will generate readings that are sent to a single IoT gateway device. The IoT gateway device will forward all the readings to iothub1 at intervals of between 10 and 60 seconds. You plan to use a gateway pattern so that each IoT gateway device will have its own IoT Hub device identity. You draft the following query, which is missing the GROUP BY clause. SELECT AVG(temperature), System.TimeStamp() AS AsaTime FROM Iothub You plan to use a 30-second period to calculate the average temperature reading of the sensors. You plan to minimize latency between the condition reported by the sensors and the corresponding alert issued by the Stream Analytics job. Existing Environment. Device Messages The IoT gateway devices will send messages that contain the following JSON data whenever the temperature exceeds a specified threshold Existing Environment. Issues You discover connectivity issues between the IoT gateway devices and iothub1, which cause IoT devices to lose connectivity and messages. Requirements. Planning Changes
    • Contoso plans to make the following changes:
    • Use Stream Analytics to process and view data. Use
    • Azure Time Series Insights to visualize data.
    • Implement a system to sync device statuses and required settings. Add
    • extra information to messages by using message enrichment.
    • Create a notification system to send an alert if a condition exceeds a specified threshold. Implement a
    • system to identify what causes the intermittent connection issues and lost messages.
    Requirements. Technical Requirements
    • Contoso must meet the following requirements:
    • Use the built-in functions of IoT Hub whenever possible. Minimize
    • hardware and software costs whenever possible. Minimize
    • administrative effort to provision devices at scale. Implement a
    • system to trace message flow to and from iothub1.
    • Minimize the amount of custom coding required to implement the planned changes.
    • Prevent read operations from being negatively affected when you implement additional services
    New Question Youneedtoenabletelemetry 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 Device Telemetry diagnostic log and stream the log data to an Azure event hub

    • D.

      Implement distributed tracing.

    Correct Answer
    D. Implement distributed tracing.
    Explanation
    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. Itcanbe appliedforasubsetor allIoTdevicemessages using devicetwin.
    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.
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-distributed-tracing

    Rate this question:

  • 43. 

    Case Study 1 -Q2 Existing Environment. Current State of Development Contoso produces a set of Bluetooth sensors that read the temperature and humidity. The sensors connect to IoT gateway devices that relay the data. All the IoT gateway devices connect to an Azure IoT hub named iothub1. Existing Environment. Device Twin You plan to implement device twins by using the following JSON sample. Existing Environment. Azure Stream Analytics Each room will have between three to five sensors that will generate readings that are sent to a single IoT gateway device. The IoT gateway device will forward all the readings to iothub1 at intervals of between 10 and 60 seconds. You plan to use a gateway pattern so that each IoT gateway device will have its own IoT Hub device identity. You draft the following query, which is missing the GROUP BY clause. SELECT AVG(temperature), System.TimeStamp() AS AsaTime FROM Iothub You plan to use a 30-second period to calculate the average temperature reading of the sensors. You plan to minimize latency between the condition reported by the sensors and the corresponding alert issued by the Stream Analytics job. Existing Environment. Device Messages The IoT gateway devices will send messages that contain the following JSON data whenever the temperature exceeds a specified threshold Existing Environment. Issues You discover connectivity issues between the IoT gateway devices and iothub1, which cause IoT devices to lose connectivity and messages. Requirements. Planning Changes
    • Contoso plans to make the following changes:
    • Use Stream Analytics to process and view data. Use
    • Azure Time Series Insights to visualize data.
    • Implement a system to sync device statuses and required settings. Add
    • extra information to messages by using message enrichment.
    • Create a notification system to send an alert if a condition exceeds a specified threshold. Implement a
    • system to identify what causes the intermittent connection issues and lost messages.
    Requirements. Technical Requirements
    • Contoso must meet the following requirements:
    • Use the built-in functions of IoT Hub whenever possible. Minimize
    • hardware and software costs whenever possible. Minimize
    • administrative effort to provision devices at scale. Implement a
    • system to trace message flow to and from iothub1.
    • Minimize the amount of custom coding required to implement the planned changes.
    • Prevent read operations from being negatively affected when you implement additional services
    New Question 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 heart beat 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. Enable the collection of the Connections diagnostics logs and set up alerts for the connected devices count metric
    Explanation
    Scenario: You discover connectivity issues between the IoT gateway devices and iothub1, which
    cause IoT devices to lose connectivity and messages.
    Tolog 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:
    1. Sign in to the Azureportal.
    2. Browse to your IoThub.
    3. Select Diagnostics settings.
    4. Select Turn on diagnostics.
    5. Enable Connections logs to becollected.
    6. For easier analysis, turn on Send to Log Analytics (see
    pricing). Step 2:
    Set up alerts for device disconnect at scale
    Togetalertswhendevicesdisconnect,configurealertsontheConnecteddevices(preview)metric.
    Reference:
    https://docs.microsoft.com/bs-cyrl-ba/azure/iot-hub/iot-hub-troubleshoot-connectivity

    Rate this question:

  • 44. 

    Case Study 1 -Q3 Existing Environment. Current State of Development Contoso produces a set of Bluetooth sensors that read the temperature and humidity. The sensors connect to IoT gateway devices that relay the data. All the IoT gateway devices connect to an Azure IoT hub named iothub1. Existing Environment. Device Twin You plan to implement device twins by using the following JSON sample. Existing Environment. Azure Stream Analytics Each room will have between three to five sensors that will generate readings that are sent to a single IoT gateway device. The IoT gateway device will forward all the readings to iothub1 at intervals of between 10 and 60 seconds. You plan to use a gateway pattern so that each IoT gateway device will have its own IoT Hub device identity. You draft the following query, which is missing the GROUP BY clause. SELECT AVG(temperature), System.TimeStamp() AS AsaTime FROM Iothub You plan to use a 30-second period to calculate the average temperature reading of the sensors. You plan to minimize latency between the condition reported by the sensors and the corresponding alert issued by the Stream Analytics job. Existing Environment. Device Messages The IoT gateway devices will send messages that contain the following JSON data whenever the temperature exceeds a specified threshold Existing Environment. Issues You discover connectivity issues between the IoT gateway devices and iothub1, which cause IoT devices to lose connectivity and messages. Requirements. Planning Changes
    • Contoso plans to make the following changes:
    • Use Stream Analytics to process and view data. Use
    • Azure Time Series Insights to visualize data.
    • Implement a system to sync device statuses and required settings. Add
    • extra information to messages by using message enrichment.
    • Create a notification system to send an alert if a condition exceeds a specified threshold. Implement a
    • system to identify what causes the intermittent connection issues and lost messages.
    Requirements. Technical Requirements
    • Contoso must meet the following requirements:
    • Use the built-in functions of IoT Hub whenever possible. Minimize
    • hardware and software costs whenever possible. Minimize
    • administrative effort to provision devices at scale. Implement a
    • system to trace message flow to and from iothub1.
    • Minimize the amount of custom coding required to implement the planned changes.
    • Prevent read operations from being negatively affected when you implement additional services
    New Question You plan to deploy Azure Time Series Insights. 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. A new consumer group
    Explanation
    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.
    Reference:
    https://docs.microsoft.com/en-us/azure/time-series-insights/time-series-insights-how-to-add-an- eventsource- iothub

    Rate this question:

  • 45. 

    Case Study 1 -Q3 Existing Environment. Current State of Development Contoso produces a set of Bluetooth sensors that read the temperature and humidity. The sensors connect to IoT gateway devices that relay the data. All the IoT gateway devices connect to an Azure IoT hub named iothub1. Existing Environment. Device Twin You plan to implement device twins by using the following JSON sample. Existing Environment. Azure Stream Analytics Each room will have between three to five sensors that will generate readings that are sent to a single IoT gateway device. The IoT gateway device will forward all the readings to iothub1 at intervals of between 10 and 60 seconds. You plan to use a gateway pattern so that each IoT gateway device will have its own IoT Hub device identity. You draft the following query, which is missing the GROUP BY clause. SELECT AVG(temperature), System.TimeStamp() AS AsaTime FROM Iothub You plan to use a 30-second period to calculate the average temperature reading of the sensors. You plan to minimize latency between the condition reported by the sensors and the corresponding alert issued by the Stream Analytics job. Existing Environment. Device Messages The IoT gateway devices will send messages that contain the following JSON data whenever the temperature exceeds a specified threshold Existing Environment. Issues You discover connectivity issues between the IoT gateway devices and iothub1, which cause IoT devices to lose connectivity and messages. Requirements. Planning Changes
    • Contoso plans to make the following changes:
    • Use Stream Analytics to process and view data. Use
    • Azure Time Series Insights to visualize data.
    • Implement a system to sync device statuses and required settings. Add
    • extra information to messages by using message enrichment.
    • Create a notification system to send an alert if a condition exceeds a specified threshold. Implement a
    • system to identify what causes the intermittent connection issues and lost messages.
    Requirements. Technical Requirements
    • Contoso must meet the following requirements:
    • Use the built-in functions of IoT Hub whenever possible. Minimize
    • hardware and software costs whenever possible. Minimize
    • administrative effort to provision devices at scale. Implement a
    • system to trace message flow to and from iothub1.
    • Minimize the amount of custom coding required to implement the planned changes.
    • Prevent read operations from being negatively affected when you implement additional services
    New Question How should you complete the GROUP BY clause to meet the Streaming Analytics requirements?

    • A.

      GROUP BY SessionWindow(Second, 30, 60)

    • B.

      GROUP BY TumblingWindow(Second, 30)

    • C.

      GROUP BY SlidingWindow(Second, 30)

    • D.

      GROUP BY SessionWindow(Second, 30, 60)

    Correct Answer
    B. GROUP BY TumblingWindow(Second, 30)
    Explanation
    Scenario:Youplanto usea 30-second periodtocalculate theaveragetemperature reading ofthe
    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.
    InAnswers:
    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.
    Reference:
    https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-window-functions

    Rate this question:

  • 46. 

    Case Study 2 - Q2 Requirements. Planned Changes ADatum is developing an Azure IoT solution to monitor environmental conditions. The IoT solution consists of hardware devices and cloud services. All the devices will communicate directly to Azure IoT Hub. The hardware devices will be deployed to the branch offices and will collect data about various environmental conditions such as temperature, humidity, air quality, andnoise level. The devices will be wired by using Power over Ethernet (PoE) connections. ADatum is developing the solution in the following three phases: proof of value (POV), pilot, and production. Requirements. POV Requirements The POV phase will demonstrate that a technical solution is viable. During this phase, 100 devices will be deployed to the main office and Azure Stream Analytics will be connected to an IoT hub to generate real-time alerts. Stream Analytics will perform the following processing: Calculate the median rate of the telemetry across the entire devices that exceed the median rate by a factor of 4. Compare the current telemetry to the specified thresholds and issue alerts when telemetry values are out of range. Ensure that all message content during this phase is human readable to simplify debugging. Requirements. Pilot Requirements During the pilot phase, devices will be deployed to 10 offices. Each office will have up to 1,000 devices. During this phase, you will add Azure Time Series Insights in parallel to Stream Analytics to support real-time graphs and queries in a dashboard web app. The pilot deployment must minimize operating costs. Requirements. Production Requirements The production phase will include all the offices. The production deployment will have one IoT hub in each Azure region. Devices must connect to the IoT hub in their region. The production phase must meet the following requirements: Ensure that the IoT solution can support performance and scale targets. Ensure that the IoT solution support up to 1,000 devices per office. Minimize operating costs of the IoT solution. Requirements. Technical Requirements Datum identifies the following requirements for the planned IoT solution: The solution must generate real-time alerts when a fire condition is detected in an office. All the devices in that office must trigger an audible alarm siren within 10 seconds of the alert. A dashboard UI must display alerts and the system status in real time and must allow device operators to make adjustments to the system. Each device will send hourly updates to IoT Hub. Condition alerts will be sent immediately. Multiple types of devices will collect telemetry that has different schemas. IoT Hub must perform message routing based on the message body. Direct methods must be used for cloud-to-device communication. Reports must be provided monthly, quarterly, and annually. Stored data queries must be as efficient as possible. The device message size will be under 4 KB. Development effort must be minimized. The relevant throttles and quotas for various IoT Hub tiers are shown in the following table. Requirements. IoT Hub Routing You plan to implement IoT Hub routing during the POV phase as shown in the following exhibit. New Question You need to add Time Series Insights to the solution to meet the pilot requirements. Which three actions should you perform in sequence? 

    Correct Answer
    2 1 5
    Explanation
    Explanation:
    Step 1: Provision Time Series Insights
    Select Provisionnew IoTHubtocreateanew IoThub.
    Step2:Route telemetry fromIoT Hubto a custom event.
    Step 3:Add a data access policy to TimeSeries Insights forthe dashboard web app
    Scenario: Requirements. PilotRequirements
    During the pilot phase, devices will be deployed to 10 offices. Each office will have up to 1,000
    devices.
    During this phase, you will add Azure Time Series Insights in parallel to Stream Analytics to support
    real-time graphs and queries in a dashboard web app.
    Thepilotdeploymentmustminimizeoperating costs. Incorrect
    Answers:
    No need touse an endpoint.
    Reference:
    https://docs.microsoft.com/en-us/azure/time-series-insights/time-series-insights-update-create- environment

    Rate this question:

  • 47. 

    Case Study 2 - Q3 Requirements. Planned Changes ADatum is developing an Azure IoT solution to monitor environmental conditions. The IoT solution consists of hardware devices and cloud services. All the devices will communicate directly to Azure IoT Hub. The hardware devices will be deployed to the branch offices and will collect data about various environmental conditions such as temperature, humidity, air quality, andnoise level. The devices will be wired by using Power over Ethernet (PoE) connections. ADatum is developing the solution in the following three phases: proof of value (POV), pilot, and production. Requirements. POV Requirements The POV phase will demonstrate that a technical solution is viable. During this phase, 100 devices will be deployed to the main office and Azure Stream Analytics will be connected to an IoT hub to generate real-time alerts. Stream Analytics will perform the following processing: Calculate the median rate of the telemetry across the entire devices that exceed the median rate by a factor of 4. Compare the current telemetry to the specified thresholds and issue alerts when telemetry values are out of range. Ensure that all message content during this phase is human readable to simplify debugging. Requirements. Pilot Requirements During the pilot phase, devices will be deployed to 10 offices. Each office will have up to 1,000 devices. During this phase, you will add Azure Time Series Insights in parallel to Stream Analytics to support real-time graphs and queries in a dashboard web app. The pilot deployment must minimize operating costs. Requirements. Production Requirements The production phase will include all the offices. The production deployment will have one IoT hub in each Azure region. Devices must connect to the IoT hub in their region. The production phase must meet the following requirements: Ensure that the IoT solution can support performance and scale targets. Ensure that the IoT solution support up to 1,000 devices per office. Minimize operating costs of the IoT solution. Requirements. Technical Requirements Datum identifies the following requirements for the planned IoT solution: The solution must generate real-time alerts when a fire condition is detected in an office. All the devices in that office must trigger an audible alarm siren within 10 seconds of the alert. A dashboard UI must display alerts and the system status in real time and must allow device operators to make adjustments to the system. Each device will send hourly updates to IoT Hub. Condition alerts will be sent immediately. Multiple types of devices will collect telemetry that has different schemas. IoT Hub must perform message routing based on the message body. Direct methods must be used for cloud-to-device communication. Reports must be provided monthly, quarterly, and annually. Stored data queries must be as efficient as possible. The device message size will be under 4 KB. Development effort must be minimized. The relevant throttles and quotas for various IoT Hub tiers are shown in the following table. Requirements. IoT Hub Routing You plan to implement IoT Hub routing during the POV phase as shown in the following exhibit. New Question 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. Azure Blob storage
    Explanation
    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.
    AnAzureTimeSeriesInsightsPreviewenvironmentthatcanbeconfiguredforwarmdatastorage.
    Reference:
    https://docs.microsoft.com/en-us/azure/time-series-insights/time-series-insights-update-storage- ingress

    Rate this question:

  • 48. 

    Case Study 2 - Q4 Requirements. Planned Changes ADatum is developing an Azure IoT solution to monitor environmental conditions. The IoT solution consists of hardware devices and cloud services. All the devices will communicate directly to Azure IoT Hub. The hardware devices will be deployed to the branch offices and will collect data about various environmental conditions such as temperature, humidity, air quality, andnoise level. The devices will be wired by using Power over Ethernet (PoE) connections. ADatum is developing the solution in the following three phases: proof of value (POV), pilot, and production. Requirements. POV Requirements The POV phase will demonstrate that a technical solution is viable. During this phase, 100 devices will be deployed to the main office and Azure Stream Analytics will be connected to an IoT hub to generate real-time alerts. Stream Analytics will perform the following processing: Calculate the median rate of the telemetry across the entire devices that exceed the median rate by a factor of 4. Compare the current telemetry to the specified thresholds and issue alerts when telemetry values are out of range. Ensure that all message content during this phase is human readable to simplify debugging. Requirements. Pilot Requirements During the pilot phase, devices will be deployed to 10 offices. Each office will have up to 1,000 devices. During this phase, you will add Azure Time Series Insights in parallel to Stream Analytics to support real-time graphs and queries in a dashboard web app. The pilot deployment must minimize operating costs. Requirements. Production Requirements The production phase will include all the offices. The production deployment will have one IoT hub in each Azure region. Devices must connect to the IoT hub in their region. The production phase must meet the following requirements: Ensure that the IoT solution can support performance and scale targets. Ensure that the IoT solution support up to 1,000 devices per office. Minimize operating costs of the IoT solution. Requirements. Technical Requirements Datum identifies the following requirements for the planned IoT solution: The solution must generate real-time alerts when a fire condition is detected in an office. All the devices in that office must trigger an audible alarm siren within 10 seconds of the alert. A dashboard UI must display alerts and the system status in real time and must allow device operators to make adjustments to the system. Each device will send hourly updates to IoT Hub. Condition alerts will be sent immediately. Multiple types of devices will collect telemetry that has different schemas. IoT Hub must perform message routing based on the message body. Direct methods must be used for cloud-to-device communication. Reports must be provided monthly, quarterly, and annually. Stored data queries must be as efficient as possible. The device message size will be under 4 KB. Development effort must be minimized. The relevant throttles and quotas for various IoT Hub tiers are shown in the following table. Requirements. IoT Hub Routing You plan to implement IoT Hub routing during the POV phase as shown in the following exhibit. New Question 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. JSON
    Explanation
    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 of obvious ones are:
    Less verbose- XML uses more words than necessary
    JSONisfaster-ParsingXMLsoftwareisslowandcumbersome.
    Reference:
    https://blog.cloud-elements.com/json-better-xml

    Rate this question:

  • 49. 

    Case Study 2 - Q5 Requirements. Planned Changes ADatum is developing an Azure IoT solution to monitor environmental conditions. The IoT solution consists of hardware devices and cloud services. All the devices will communicate directly to Azure IoT Hub. The hardware devices will be deployed to the branch offices and will collect data about various environmental conditions such as temperature, humidity, air quality, andnoise level. The devices will be wired by using Power over Ethernet (PoE) connections. ADatum is developing the solution in the following three phases: proof of value (POV), pilot, and production. Requirements. POV Requirements The POV phase will demonstrate that a technical solution is viable. During this phase, 100 devices will be deployed to the main office and Azure Stream Analytics will be connected to an IoT hub to generate real-time alerts. Stream Analytics will perform the following processing: Calculate the median rate of the telemetry across the entire devices that exceed the median rate by a factor of 4. Compare the current telemetry to the specified thresholds and issue alerts when telemetry values are out of range. Ensure that all message content during this phase is human readable to simplify debugging. Requirements. Pilot Requirements During the pilot phase, devices will be deployed to 10 offices. Each office will have up to 1,000 devices. During this phase, you will add Azure Time Series Insights in parallel to Stream Analytics to support real-time graphs and queries in a dashboard web app. The pilot deployment must minimize operating costs. Requirements. Production Requirements The production phase will include all the offices. The production deployment will have one IoT hub in each Azure region. Devices must connect to the IoT hub in their region. The production phase must meet the following requirements: Ensure that the IoT solution can support performance and scale targets. Ensure that the IoT solution support up to 1,000 devices per office. Minimize operating costs of the IoT solution. Requirements. Technical Requirements Datum identifies the following requirements for the planned IoT solution: The solution must generate real-time alerts when a fire condition is detected in an office. All the devices in that office must trigger an audible alarm siren within 10 seconds of the alert. A dashboard UI must display alerts and the system status in real time and must allow device operators to make adjustments to the system. Each device will send hourly updates to IoT Hub. Condition alerts will be sent immediately. Multiple types of devices will collect telemetry that has different schemas. IoT Hub must perform message routing based on the message body. Direct methods must be used for cloud-to-device communication. Reports must be provided monthly, quarterly, and annually. Stored data queries must be as efficient as possible. The device message size will be under 4 KB. Development effort must be minimized. The relevant throttles and quotas for various IoT Hub tiers are shown in the following table. Requirements. IoT Hub Routing You plan to implement IoT Hub routing during the POV phase as shown in the following exhibit. New Question During the POV phase, telemetry from IoTHub 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. Create an explicit route for the hot path
    Explanation
    To restore the hot path during the POV phase, you should create an explicit route for the hot path. This will ensure that telemetry from IoTHub flows to the hot path as intended. By creating a specific route for the hot path, you can direct the telemetry data to the appropriate processing and analytics components for real-time alerts and other required actions.

    Rate this question:

  • 50. 

    From the Device Provisioning Service, you create an enrollment as shown in the exhibit. (Click the Exhibit tab.) You need to deploy a new IoT device. What should you use as the device identity during attestation?

    • A.

      A self-signed X.509 certificate

    • B.

      The random string of alphanumeric characters

    • C.

       the HMACSHA256 hash of the device’s registration ID

    • D.

      The endorsement key of the device’s Trusted Platform Module (TPM)

    Correct Answer
    C.  the HMACSHA256 hash of the device’s registration ID
    Explanation
    Each device uses its derived device key with your unique registration ID to perform symmetric key attestation with the enrollment during provisioning. To generate the device key, use the key you copied from your DPS
    enrollment to compute an HMAC-SHA256 of the unique registration ID for the device and convert the result into Base64 format.
    Reference:
    https://docs.microsoft.com/en-us/azure/iot-edge/how-to-auto-provision-symmetric-keys

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jan 07, 2021
    Quiz Created by
    Alfredhook3
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.