Carlos N-AZ-220: Microsoft Azure IoT Developer
What are the sections of a device twin file? -A device twin includes sections for Tags, Desired properties, Reported properties, and Device identity properties. -A device twin includes sections for Condition, Configuration, Identity, and State. -A device twin includes sections for IoT Hub properties, Device properties, Connection properties, and State properties.
A device twin includes sections for Tags, Desired properties, Reported properties, and Device identity properties. A device twin is a JSON document that includes sections for Tags, Desired properties, Reported properties, and Device identity properties.
In order for Time Series Insights to reliably read data from IoT Hub, what must be configured in IoT Hub? -An event source -A consumer group -A shared access policy
A consumer group An IoT Hub consumer group is used by the Time Series Insights event source to read IoT Hub data.
What does the term "visualization" refer to in Power BI? -The UI shell that is used to connect to data, construct a report, and share results. -A data chart or graph -A report that includes data charts and graphs.
A data chart or graph The term "visualization" refers to the data charts and graphs that appear on a report.
What is the relationship between an Azure Digital Twins model and a digital twin? -An ADT model is an instance of a digital twin. -A digital twin is an instance of an ADT model. -An ADT model contains the digital twins for your ADT environment.
A digital twin is an instance of an ADT model. Digital twins are created as an instance of a model.
A small company is in need of a fully managed IoT solution that can be started quickly and operated with minimal IoT experience. Which of the following options should they select? -A solution that implements IoT Hub, IoT Hub Device Provisioning Service, Stream Analytics, and Cosmos DB. -A solution that implements IoT Hub and Azure Blob storage. -A solution that implements IoT Central.
A solution that implements IoT Central. IoT Central provides a fully managed solution that can be operated by individuals with minimal IoT experience.
In the lab for this module, what type of module was deployed to the IoT Edge device? -A machine learning module. -A stream analytics job. -A custom module to aggregate readings from downstream devices.
A stream analytics job. In this lab, you deployed a module for a stream analytics job.
The Device Provisioning Service uses X.509 certificates to help ensure that device connections are secure. What type of certificate is used to verify proof of possession for the root certificate? -A leaf certificate. -An intermediate certificate. -A verification certificate.
A verification certificate. A verification certificate, which is created by using the root certificate and a DPS-generated verification code, is used to establish proof of possession.
Which of the following lists the custom endpoints that IoT Hub supports? -Azure Storage containers, Event Hubs, Service Bus Queues, Service Bus Topics -Azure Blob storage, Azure File storage, Azure Table storage, Azure Cosmos BD -Azure Storage containers, Event Hubs, Azure SQL Database, Azure Data Lake Gen 2
Azure Storage containers, Event Hubs, Service Bus Queues, Service Bus Topics In addition to the built-in endpoint, IoT Hub currently supports Azure Storage containers, Event Hubs, Service Bus Queues, and Service Bus Topics as additional endpoints.
In the lab for this module, why does the value assigned to GatewayHostName need to be Fully Qualified Domain Name rather than just the DNS name assigned to the gateway device? -The value assigned to GatewayHostName must always be a Fully Qualified Domain Name. -Because the gateway device is accessible via the Internet. -Because the gateway device is connected to a private network.
Because the gateway device is accessible via the Internet. Since the gateway device is publically accessible, the GatewayHostName must be assigned a Fully Qualified Domain Name.
Which of the following answers is a valid reason to use Event Grid in your solution? -Unlimited free access. -Built-in and Custom Events. -Built-in data backup and retrieval.
Built-in and Custom Events. Built-in and custom events speed development.
In the lab for this module, which of the following tools was used to install a security agent? -Cloud Shell -Visual Studio Code -Azure CLI
Cloud Shell The Cloud Shell was used to open an SSH session to the device VM and install the security agent.
A developer is setting up their first Azure Stream Analytics job. What are the components of an Azure Stream Analytics job? -FROM, WITH, and INTO -Input, Query, and Output -Input, Action, and Output
Input, Query, and Output The three components of an Azure Stream Analytics job are Input, Query, and Output.
In the lab for this module, what IoT Edge module was used to configure message routes? -IoT Edge agent -ObjectCountingModule -IoT Edge hub
IoT Edge hub The IoT Edge hub is used to configure communication routes.
Which of the following choices is a required component for an Azure IoT Edge implementation? -IoT Edge modules -IoT Edge gateway -Linux OS
IoT Edge modules The IoT Edge runtime includes two modules, both of which are required.
In the lab for this module, what tool was used to debug the IoT Edge module? -IoT Edge dev container -IoT EdgeHub dev tool -IoT Edge device container
IoT EdgeHub dev tool In the lab for this module, the IoT EdgeHub dev tool was used within the Visual Studio Code environment to set a debug break point.
Which of the following statements about IoT Hub Metrics is correct? -IoT Hub metrics help to assess the overall health of the IoT Hub service. -IoT Hub metrics will help to assess the overall health of the devices -connected to your IoT Hub. -IoT Hub metrics are disabled by default.
IoT Hub metrics help to assess the overall health of the IoT Hub service. IoT Hub metrics will help to assess the overall health of the IoT Hub service.
Which of the following accurately describes a capability of Azure IoT Hub? -IoT Hub message routing can be configured for multiple endpoints at an additional cost. -IoT Hub enables communication from device-to-cloud only. -IoT Hub scales to millions of simultaneously connected devices.
IoT Hub scales to millions of simultaneously connected devices. IoT Hub scales to millions of simultaneously connected devices and millions of events per second to support your IoT workloads.
IoT Edge modules share many characteristics with IoT devices. Which of the following choices accurately describes a characteristic of an IoT Edge module? -It can send device-to-cloud messages. -It can receive cloud-to-device messages. -It can use the file upload feature.
It can send device-to-cloud messages. An IoT Edge module can send messages to the cloud via the IoT Edge hub.
What does Azure Monitor do to help manage an IoT solution? -It monitors the IoT devices. -It monitors the IoT device telemetry. -It monitors the IoT Hub.
It monitors the IoT Hub. Azure Monitor is used to monitor Azure services like IoT Hub.
Reviewers notice the term "cloud gateway" listed on the architecture diagram for an IoT solution. What is the primary purpose of the cloud gateway? -It facilitates the execution of actions based on insights garnered from device telemetry data during stream processing. -It provides secure connectivity, telemetry and event ingestion, and device management capabilities. It provides immediate and long-term access to telemetry data.
It provides secure connectivity, telemetry and event ingestion, and device management capabilities. A cloud gateway, such as Azure IoT Hub, enables secure device connections and two-way communications that enable data ingestion and device management.
Which of the following choices describes why a developer would query the Azure Digital Twins diagnostics logs? -To troubleshoot Azure Digital Twins service issues and generate insights. -To manage the Azure Digital Twins environment, including models and twins. -To troubleshoot upstream and downstream service issues.
To troubleshoot Azure Digital Twins service issues and generate insights. A developer will query the Azure Digital Twins diagnostics logs to troubleshoot service issues and generate insights.
What is the purpose of the Time Series Insights Explorer? -To examine potential event sources when configuring the Time Series Insights environment. -To view time series data. -To simulate the data for an IoT hub consumer group in a test environment.
To view time series data. The Time Series Insights Explorer is used to view time series data.
When using Azure CLI for device management, which of the following command parameters would a developer use to instruct a device to take an action? -device-twin update -device-twin show -invoke-device-method
invoke-device-method This command parameter would be used to invoke a direct method, which instructs the device to complete some type of action.
Which of the following choices is an example of an on-device operation that could occur during the device management process? -Observe desired properties. -Receive twin notifications. -Replace desired properties.
Observe desired properties. A currently connected device can choose to be notified of updates to the desired properties when they happen.
When you use IoT Hub automatic device management, which approach to device management is implemented? -Either device twins or direct methods. -Only direct methods. -Only device twins.
Only device twins. IoT Hub automatic device management used device twins to manage devices at scale.
A developer wants to connect devices that aren't IP-enabled to an IoT hub using an IoT Edge gateway device. The developer wants only the IoT Edge gateway device to have an identity in IoT Hub. Which IoT Edge gateway pattern should the developer use? -Transparent -Protocol translation -Identity translation
Protocol translation When you use the Protocol translation gateway pattern, devices that don't support MQTT, AMQP, or HTTP can use a gateway device to send data to IoT Hub on their behalf. Only the gateway device has an identity in IoT Hub.
A company will be implementing an IoT solution that uses both IoT devices and IoT Edge devices, and they expect to process a little over 5 million messages per day. The company wants to minimize their cost. What IoT Hub tier and edition should they select and how many units will be required? -B1 with 8 units. -B2 with 1 unit. -S2 with 1 unit.
S2 with 1 unit. A Standard tier S2 edition IoT Hub will process 6 million messages per day and support both IoT devices and IoT Edge devices.
Which of the following lists the categories of developer tools that are commonly used to create IoT solution resources? -Azure IoT Hub, Azure Time Series Insights, Azure Stream Analytics, Azure Data Lake Gen 2. -SDKs, Visual Studio, Visual Studio Code, CLIs. -macOS, Linux, Windows.
SDKs, Visual Studio, Visual Studio Code, CLIs. The primary developer tools categories for Azure IoT include SDKs, Visual Studio, Visual Studio Code, CLIs.
A developer has started an investigation of Azure security tools. What is Microsoft Defender for Cloud intended to help with? -Securing the devices and securing device communications as they transmit over the wire. -Securing the network and the services. -Developing the threat models.
Securing the network and the services. Microsoft Defender for Cloud provides you the tools needed to harden your network, secure your services and make sure you're on top of your security posture.
A developer has deployed the Enhanced mode of Microsoft Defender for IoT, and they are now ready to implement security agents. Which of the following statements describe how security agents are used? -Security agents handle raw event collection from the device operating system. -Security agents are part of the IoT Edge device attestation mechanism for DPS. -Security agents require maximum available resources.
Security agents handle raw event collection from the device operating system. Security agents handle raw event collection from the device operating system.
A company is implementing a threat modeling process to help improve the security of their IoT solution. Which of the following answer choices lists the three primary areas of consideration within the threat modeling process? -Device security features, cloud security features, data security features. -Security and privacy features, features whose failures are security relevant, features that touch a trust boundary. -Hardware features, software features, cloud service features.
Security and privacy features, features whose failures are security relevant, features that touch a trust boundary. In addition to evaluating the solution as a whole, threat modeling for an IoT solution should focus on these three areas.
Security is an important consideration and should be included on the architecture diagram for an IoT solution. Where should security be referenced on the architecture diagram? -Security is associated primarily with communication between the Cloud Gateway and the other services/devices and should appear next to Cloud Gateway on the diagram. -Security is associated with all subsystems of the solution and should appear across the top of the diagram. -Security is associated primarily with cloud services and should appear on the cloud side of the diagram.
Security is associated with all subsystems of the solution and should appear across the top of the diagram. Security is a cross-cutting concern that is listed at the top of the diagram and applies to physical devices, cloud resources, and communication at each level.
A person opens the Azure Cloud Shell, ensures that Bash is selected as the environment, and then runs the following two commands: "az group create --name MyAZ220RG --location westus" and "az iot hub create --resource-group MyAZ220RG --name MyIotHub". Which of the following statements is correct? -The first command will fail to create a resource group because no subscription is provided. -The first command will create a resource group named MyAZ220RG in the westus region. -The second command will fail because no pricing tier is specified.
The first command will create a resource group named MyAZ220RG in the westus region. The command will succeed, using the resource group name and location provided.
Which of the following statements are true when creating an IoT Hub in the Azure portal? -The free scale tier (F1) is selected by default. -The following parameters are marked as required in the UI: Subscription, Resource group, IoT hub name, Region, scale tier. -Defender for IoT is set to Off by default and must be set to On (enabled) in order to create an instance of IoT Hub.
The following parameters are marked as required in the UI: Subscription, Resource group, IoT hub name, Region, scale tier. Subscription, Resource group, IoT hub name, Region, and scale tier are all marked as required fields in the UI and must be configured with a valid setting in order to create an IoT Hub instance. The S1 scale tier is selected by default, but can be changed. Additional parameters, such as Connectivity configuration, are also marked as required in the UI.
When you consider the lab for this module, which of the following choices is an accurate statement? -Microsoft Defender for IoT was evaluated using only the Built-in features for real-time monitoring of IoT Hub. -The lab installed a security agent and used key vault to securely store the symmetric key information used for authentication. -The lab used security agents and custom alerts.
The lab used security agents and custom alerts. In the lab for this module, you installed a security agent and created a custom alert.
What happens to the associated digital twins when a developer deletes a model? -The digital twins are automatically removed from the environment. -The properties of the digital twins can no longer be queried. -The properties of the digital twins can no longer be updated.
The properties of the digital twins can no longer be updated. When the model for a digital twin is deleted, the digital twin's properties can no longer be updated.
Which of the following choices describes the purpose of Azure Digital Twins metrics? -They provide access to properties of the Azure Digital Twins services and the properties of connected upstream and downstream resources. -They provide access to properties of the Azure Digital Twins services and the properties of the connected digital twins. -They provide an overview of the health of your service instance.
They provide an overview of the health of your service instance. The ADT metrics provide an overview of the health of your service instance and associated service resources.
In the lab for this module, what time period is assigned to the Time-to-Live setting? -7200 seconds (the default 2-hour TTL period) -1,209,600 seconds (a 2-week TTL period) -172,800 seconds (a 2-day TTL period)
1,209,600 seconds (a 2-week TTL period) TTL was set to 1,209,600 seconds, a 2-week TTL period.
What message size is used to calculate IoT hub's daily message quota for the Basic and Standard tiers? -0.5 KB -4 KB -256 KB
4 KB IoT hub uses message size of 4 KB to calculate the daily quota for Basic and Standard tiers, and a size of 0.5 KB for a free tier. The tier and number of units determine the maximum daily quota of messages that you can send.
Which of the following answers describes how a Logic App works? -A Logic App is started by a trigger, which fires when a specific event happens or when certain criteria is met. -A Logic App is started by an event, which is generated programmatically by an app or service. -A Logic App is started by an event, which fires when an app or user issues a command.
A Logic App is started by a trigger, which fires when a specific event happens or when certain criteria is met. A Logic App is started by a trigger, which fires when a specific event happens or when certain criteria is met.
Which of the following choices accurately describes Azure IoT Edge support for extended offline operations? -Full support is provided for all versions of Azure IoT Edge. -After an initial one-time sync with IoT Hub, IoT Edge devices can function indefinitely offline. -The Time-to-Live setting is used to set the time interval that an offline device uses when attempting to reconnect with IoT Hub.
After an initial one-time sync with IoT Hub, IoT Edge devices can function indefinitely offline. IoT Edge devices can function indefinitely offline after the initial, one-time sync. However, storage of messages depends on the time to live (TTL) setting and the available disk space for storing the messages.
What type of device can connect to IoT Hub directly without additional hardware? -A sensor device -An IP-enabled device -A non-IP enabled device
An IP-enabled device An IP-enabled device is a device that can establish a connection to a network (which provides access to the Internet for IoT solutions) and which has a unique identity on that network.
Which of the following answers correctly describes attestation and the attestation mechanisms supported by the IoT Hub Device Provisioning Service (DPS)? -Attestation is a process for linking DPS to one or more IoT hubs. -Attestation is a process for confirming a device's identity. -The attestation mechanisms supported by DPS are Symmetric Key and TPM.
Attestation is a process for confirming a device's identity. Attestation is a process for confirming a device's identity.
Which of the following statements about automatic device management is correct? -Automatic device management requires the Standard tier of the IoT Hub service. -Automatic device management uses a JSON document called a Manifest. -Automatic device management works with any tier of the IoT Hub service.
Automatic device management requires the Standard tier of the IoT Hub service. Automatic device management requires the Standard tier of the IoT Hub service.
In the lab activity for this module, what type of storage container was configured for the Output of the Azure Stream Analytics job? -Azure Data Lake Gen 2 -Azure Blob storage -Azure Function
Azure Blob storage In this lab, an Azure Blob storage container was configured as the Output of your ASA job.
In the lab activity for this module, what custom endpoint was configured for the IoT hub message route? -Azure Event Hubs -Azure Service Bus Queue -Azure Blob storage
Azure Blob storage In this lab, you configured an Azure Storage account for Azure Blob storage.
A developer needs to store time series data on a hot storage path. High availability and performance are critical, but they need the solution to be cost effective as well. The company must be able to use ASA to query the stored data as unstructured JSON. Which storage option should the developer select? -Azure Blob Storage -Azure Cosmos DB -Azure Data Lake Gen 2
Azure Cosmos DB Azure Cosmos DB is more expensive than Azure Blob storage or Azure Data Lake Gen 2, but it is the only choice listed that supports all of the requirements.
A developer has created an Azure Digital Twins instance in the Azure portal. In order to manage the Azure Digital Twins service and its data, what role assignment must be configured? -Azure Digital Twins Data Reader -Azure Digital Twins Data Owner -Owner
Azure Digital Twins Data Owner The Azure Digital Twins Data Owner role is required to manage the ADT service and data.
A digital twins environment includes twins that support telemetry coming from IoT hub devices. Which Azure service should be used to ingest telemetry from the upstream IoT hub? -Azure Device Provisioning Service -Azure Function -Azure Digital Twins Explorer
Azure Function An Azure Function is used to ingest telemetry (into ADT) from the upstream IoT hub.
Which of the following choices accurately describes Azure IoT Central? -Azure IoT Central is a helper service for IoT Hub that enables zero-touch, just-in-time provisioning to the right IoT hub without requiring human intervention. -Azure IoT Central is an IoT app platform that reduces the resources required to develop, manage, and maintain an IoT solution. -Azure IoT Central is a simple dashboard for reviewing Azure Monitor logs.
Azure IoT Central is an IoT app platform that reduces the resources required to develop, manage, and maintain an IoT solution. IoT Central is an IoT application platform that reduces the burden and cost of developing, managing, and maintaining enterprise-grade IoT solutions.
What needs to be completed in order to deprovision a single device from a group enrollment? -Disable or delete the device from the IoT hub's identity registry. -Create a disabled individual enrollment for the device's leaf certificate, disable or delete the device from the IoT hub's identity registry, and then delete the disabled individual enrollment for the device. -Create a disabled individual enrollment for the device's leaf certificate and then disable or delete the device from the IoT hub's identity registry.
Create a disabled individual enrollment for the device's leaf certificate and then disable or delete the device from the IoT hub's identity registry. The disabled individual enrollment blocks DPS from reprovisioning the device and deleting or disabling the device from IoT Hub prevents the device from connecting to the IoT hub.
What are four key jobs of Azure Time Series Insights? -Data ingestion, data queries, data storage, and data verification. -Data ingestion, data queries, data visualization, and data application. -Data ingestion, data queries, data storage, and data visualization.
Data ingestion, data queries, data storage, and data visualization. Data ingestion, data queries, data storage, and data visualization are four key jobs of Time Series Insights.
A company will be using the IoT Hub Device Provisioning Service (DPS) to provision a large number of devices. They will begin by creating a plan for device enrollments. What is device enrollment? -Device enrollment is a DPS-enabled process for automatically adding a single device or group of devices to the IoT Hub identity registry. -Device enrollment is a DPS-enabled process for creating a record of a single device or a group of devices that may at some point be registered with IoT Hub. -Device enrollment is a DPS-enabled process for creating a record of the devices connected to IoT Hub using the X.509 attestation mechanism.
Device enrollment is a DPS-enabled process for creating a record of a single device or a group of devices that may at some point be registered with IoT Hub. Device enrollment is a DPS-enabled process for creating a record of a single device or a group of devices that may at some point be registered with IoT Hub.
A company is investigating how to implement 2-way communication between devices and IoT Hub. Which of the following answers is a common example of sending information from devices to the cloud? -Device-to-cloud messages for scheduling firmware updates. -Device twin's reported properties for reporting device state information. -Device twin's proposed properties for requesting device state information.
Device twin's reported properties for reporting device state information. The device could send the device twin's reported properties for reporting device state information.
Which of the following event types occurs when a device is registered to an IoT hub? -DeviceConnected -DeviceCreated -DeviceTelemetry
DeviceCreated A DeviceCreated event occurs when a device is registered to an IoT hub.
What is the name of the coding format used to define Azure Digital Twins models? -Extensible Application Markup Language. -Azure Digital Twins Modeling Language. -Digital Twins Definition Language.
Digital Twins Definition Language. Digital Twins Definition Language (DTDL) is the name of the coding format used to define Azure Digital Twins models.
What are the two primary technologies that can be used to implement IoT device management? -Machine Learning and Artificial Intelligence. -Direct Methods and Device Twins. -Azure Functions and Logic Apps.
Direct Methods and Device Twins. Direct Methods and Device Twins are the two technologies that you would use to implement device management.
A company is in the process of deploying 700 devices when their plans change. Device enrollments have already been completed for all 700 devices. There are 500 devices that have been provisioned, but those devices must be moved to a different IoT Hub. The other 200 devices won't be provisioned due to a change in business requirements. Which of the following answer choices describes the initial actions that must be taken? -Disenroll the devices that haven't been provisioned. Leave the other enrollments unchanged. -Disenroll and deregister all 700 devices. -Disenroll all 700 devices. Deregister the 500 provisioned devices.
Disenroll all 700 devices. Deregister the 500 provisioned devices. This solution takes the step to correct enrollment and removes the devices that are registered to the wrong IoT hub.
Which of the following statements about Device Twins is correct? -Each device that is registered with IoT Hub has a Device Twin. -Device twins are XAML documents maintained by IoT Hub. -When you disable a device, the device twin is deleted.
Each device that is registered with IoT Hub has a Device Twin. When a device is registered with IoT Hub, IoT Hub assigns a Device Twin with default contents.
When you use IoT Hub jobs for device management, which approach to device management can be implemented? -Either device twins or direct methods. -Only direct methods. -Only device twins.
Either device twins or direct methods. IoT Hub jobs can be used to implement device management with device twins or direct methods.
A developer wants to deploy Microsoft Defender for IoT. Which of the following choices describe the differences between the Built-in and Enhanced deployment options? -Real-time monitoring is only available with the Enhanced option. -Built-in mode uses device agents on your devices to aggregate and analyze raw security events from your devices. -Enhanced mode uses device agents on your devices to aggregate and analyze raw security events from your devices.
Enhanced mode uses device agents on your devices to aggregate and analyze raw security events from your devices. Enhanced mode uses device agents on your devices to aggregate and analyze raw security events from your devices.
Which of the following Azure CLI instructions should be used to create an instance of the IoT Hub Device Provisioning Service? -Enter: az dps create -name MyDps --resource-group MyResourceGroup --location westus2 -Enter: az iotdps create -name MyDps --resource-group MyResourceGroup -Enter: az iot dps create -name MyDps --resource-group MyResourceGroup
Enter: az iot dps create -name MyDps --resource-group MyResourceGroup This command will create a Device Provisioning Service resource named MyDps in the resource group named MyResourceGroup.
In the lab for this module, which of the following choices was used when configuring the local storage location? -Environment Variable -Device twin properties -Deployment manifest
Environment Variable An Environment Variable and the HostConfig property were used to configure the storage location.
When someone creates a device enrollment, they must specify how they want to assign devices to IoT hubs. What is the default setting? -Evenly weighted distribution -Static configuration via the enrollment list -Lowest latency
Evenly weighted distribution This value is the default setting and will maintain a balanced workload as devices are provisioned and retired. If you are provisioning devices to only one IoT hub, you can keep this setting.
When delivering series event information from IoT hub to downstream services, what service should you use? -Event Grid -Event Hubs -Service Bus
Event Hubs Event Hubs is a big data pipeline that facilitates the capture, retention, and replay of telemetry and event stream data.
What are the three retry policies that are supported by the IoT SDKs? -Scheduled retry, Custom retry, No retry -Exponential back-off, Custom back-off, No retry -Exponential back-off, Custom retry, No retry
Exponential back-off, Custom retry, No retry The three retry policies provided by the IoT SDKs are Exponential back-off, Custom retry, No retry.
A developer is writing code that will implement the device connection "retry" pattern. The first step in the code is to detect an error. What is the next step in the process that the code should implement? -Retry according to the specified retry policy. -Filter by error type and decide if a retry is needed. -Determine whether the error is an unrecoverable error.
Filter by error type and decide if a retry is needed. The next step is to filter by error type and decide if a retry is needed.
In the lab for this module, which type of device management pattern is simulated? -Factory reset -Firmware update -Reporting progress and status
Firmware update This lab simulated the firmware update pattern using IoT Hub automatic device management.
When working to develop a secure IoT solution, which of the following tasks is typically assigned to the IoT developer role? -Make hardware tamper proof. -Protect against malicious activity. -Follow secure software development methodology.
Follow secure software development methodology. Among other things, the IoT developer is responsible for following a secure software development methodology.
When implementing device management using device twins, which two actions are performed on the device-side? -Handles desired property changed notifications and updates reported properties. -Handles reported property changed notifications and updates reported properties. -Updates desired and reported properties.
Handles desired property changed notifications and updates reported properties. The device side code handles desired property changed notifications and updates reported properties.
A developer needs to set up an Azure Stream Analytics Windowing function that will output results every 10 seconds. The results should be based on data from previous 30 seconds. Which one of the Windowing function types should the developer use to achieve the desired results? -Tumbling window. -Hopping window. -Sliding window.
Hopping window. A hopping window can include overlapping time segments.
What are the names of the two storage paths in an IoT lambda architecture? -High and low -Hot and cold -Large and small
Hot and cold The two data paths in the IoT lambda architecture are the hot path and cold path. The hot path storage is accessed frequently, often involving real-time data analytics, so performance is important. Cold path storage is for archiving large amounts of data for later analysis, so cost is important.
A developer wants to connect devices that aren't IP-enabled to an IoT hub using an IoT Edge gateway device. The developer wants each device to appear as a separate device in IoT Hub. Which IoT Edge gateway pattern should the developer use? -Transparent -Protocol translation -Identity translation
Identity translation When you use the Identity translation gateway pattern, non-IP enabled downstream devices appear in IoT Hub as first-class devices with twins and methods.
What is an IoT Edge deployment manifest used for? -It tells your device which modules to install and how to configure them to work together. -It tells your device to forward authentication requests to IoT Hub when a device first tries to connect. -It is a report that an IoT Edge device sends to IoT Hub indicating the status of instantiated modules.
It tells your device which modules to install and how to configure them to work together. The deployment manifest is a JSON document that tells your device which modules to install and how to configure them to work together.
A developer for a company has discovered that they are losing data during periods when the local WiFi signal is lost and devices are offline. The developer investigates whether IoT Edge provides a solution for this problem. Which of the following answer choices accurately describes using Azure Blob Storage for IoT Edge devices? -It uses a blob storage module to provide a block blob storage solution on your IoT Edge device. -It uses the IoT Edge hub module to provide a block blob storage solution on your IoT Edge device. -It uses IoT hub as the blob endpoint for any storage requests that are made by the IoT Edge device.
It uses a blob storage module to provide a block blob storage solution on your IoT Edge device. A blob storage module is used to provide a block blob storage solution for IoT Edge device and can be used for offline scenarios.
A developer wants to track the total number of devices that are connected to IoT Hub. They also want to track the percentage of deployed devices that are connected at any given time. What is the correct way to check the connected/disconnected state of a device? -Query the connectionState field of the IoT Hub identity registry. -Maintain a record of the last message received from each device. -Use device twin desired and reported properties that can be used to track connection state.
Maintain a record of the last message received from each device. If your IoT solution needs to know if a device is connected, you can maintain a record of "heartbeat messages" from the device to evaluate whether the device is currently connected.
Which of the following choices is a feature of Microsoft Defender for IoT? -Microsoft Defender for IoT is enabled by default when an IoT Hub resource is created. -Microsoft Defender for IoT requires Device agents. -Microsoft Defender for IoT includes a DPS enrollment pipeline.
Microsoft Defender for IoT is enabled by default when an IoT Hub resource is created. Microsoft Defender for IoT is enabled by default when an IoT Hub resource is created.
In the lab for this module, what container engine is used in the IoT Edge runtime environment? -Moby -Ruby -IoT Edge agent
Moby The Moby engine was used. It is the only container engine officially supported with Azure IoT Edge.
A company is investigating the IoT Hub Device Provisioning Service as an option for provisioning devices. Which of the following answer choices accurately describes support provided by the Device Provisioning Service? -Provides multi-hub support that allows the Device Provisioning Service to assign devices to more than one IoT hub and region. -Provides enrollment lists for the devices that are registered with each specific IoT Hub for a subscription. -Provides support for removing IoT and IoT Edge devices from the IoT hub registry for each IoT hub in a subscription.
Provides multi-hub support that allows the Device Provisioning Service to assign devices to more than one IoT hub and region. The IoT Hub Device Provisioning Service provides multi-hub support that allows it to assign devices to more than one IoT hub and region.
Direct methods are recommended for which of the following device management patterns? -Reboot and Factory Reset. -Configuration and Firmware Update. -Reporting Progress and Status.
Reboot and Factory Reset. Direct methods are recommended for the Reboot and Factory Reset patterns.
Which of the following choices is a step in the high-level deployment process for IoT Edge modules? -Remove the device identities from the IoT Hub registry. -Reprovision the devices after configuration. -Retrieve the status of the devices after configuration.
Retrieve the status of the devices after configuration. Retrieving the status of the devices after configuration helps to verify that the module deployed successfully.
A developer has built a digital twins (graph) environment and they want to create some sample queries. They run the following query: SELECT T, CT FROM DIGITALTWINS T JOIN CT RELATED T.rel_has_caves WHERE T.$dtId = 'factory_1' Assuming that the query runs as expected, what results are returned? -The "cave" digital twins that have a "rel_has_caves" relationship to the "factory" digital twin with an ID of "factory_1". -The "factory_1" digital twin and all digital twins that are related to it. -The "factory_1" digital twin and all of the digital twins that have a "rel_has_caves" relationship to it.
The "factory_1" digital twin and all of the digital twins that have a "rel_has_caves" relationship to it. The "factory_1" digital twin will be returned along with all of the digital twins that have a "rel_has_caves" relationship to it.
What is the Azure Dashboard? -The Azure dashboard is the first page presented to a new Azure services subscriber. -The Azure dashboard is a customizable view of the resources in your subscription that matter most to you. -The Azure dashboard is a web-based graphical user interface console that is used to manage your Azure subscription.
The Azure dashboard is a customizable view of the resources in your subscription that matter most to you. Dashboards can be customized to provide a focused view of the resources in your subscription that matter most to you. You can create other dashboards for your own use, or publish your customized dashboards and share them with other users in your organization.
Which of the following describes the Azure portal? -The Azure portal is a menu that can be docked or displayed as a flyout panel. -The Azure portal is a non-customizable page that compiles resources that help you get the most from your Azure subscription. -The Azure portal is a web-based graphical user interface console that is used to manage your Azure subscription.
The Azure portal is a web-based graphical user interface console that is used to manage your Azure subscription. The Azure portal is a web-based, unified console that provides an alternative to command-line tools. With the Azure portal, you can manage your Azure subscription using a graphical user interface.
Which of the following correctly describes differences between the Basic and Standard tiers of IoT Hub? -The Basic and Standard tiers support the same capabilities, but Standard provides higher throughput at an increased cost. -The Basic tier supports the full list of IoT Hub capabilities, while the Standard tier supports a subset. Equivalent levels of message throughput are available. -The Basic tier does not support IoT Edge devices or cloud-to-device messaging, while the Standard tier supports the full list of IoT Hub capabilities. Both tiers offer the same levels of message throughput.
The Basic tier does not support IoT Edge devices or cloud-to-device messaging, while the Standard tier supports the full list of IoT Hub capabilities. Both tiers offer the same levels of message throughput. The Standard tier supports the full list of IoT Hub capabilities, while the Basic tier offers a subset of capabilities at a lower cost. Both tiers offer the same levels of message throughput.
Which of the following answer choices accurately describes the support provided by the IoT Hub Device Provisioning Service SDKs? -The Device Provisioning Service SDKs provide support for the following programming languages: C, Java, Python, Go, Swift -The Device Provisioning Service SDKs provide support for managing the provisioning service and for managing device provisioning. -The Device Provisioning Service SDKs provide support for enrollments using X.509 certificates but don't support Trusted Platform Module (TPM).
The Device Provisioning Service SDKs provide support for managing the provisioning service and for managing device provisioning. The SDKs help you manage the service and the provisioning process.
What is the purpose of the IoT Edge agent? -The IoT Edge agent is responsible for deploying and monitoring the Edge modules for the IoT Edge device. -The IoT Edge agent is responsible for managing communication between modules and with downstream devices. -The IoT Edge agent is responsible for configuring device settings when the Edge device is configured as an Edge gateway.
The IoT Edge agent is responsible for deploying and monitoring the Edge modules for the IoT Edge device. The IoT Edge agent is responsible for deploying and monitoring the Edge modules for the IoT Edge device.
Which of the following choices describes the purpose of the IoT Edge hub? -The IoT Edge hub is responsible for deploying and monitoring the edge modules for the IoT Edge device. -The IoT Edge hub is responsible for managing communication between modules and with downstream devices. -The IoT Edge hub is responsible for configuring device settings when the Edge device is configured as an Edge gateway.
The IoT Edge hub is responsible for managing communication between modules and with downstream devices. The IoT Edge hub is responsible for managing communication between modules and with downstream devices.
What is the purpose of the IoT Hub identity registry? -The IoT Hub identity registry stores information about cloud apps and services that can connect to IoT Hub. -The IoT Hub identity registry stores the device ID and authentication data for devices that can connect to IoT Hub. -The IoT Hub identity registry stores device twin properties for devices that can connect to IoT Hub.
The IoT Hub identity registry stores the device ID and authentication data for devices that can connect to IoT Hub. The IoT Hub identity registry stores the device ID and authentication data for devices that are permitted to connect to IoT Hub.
A developer has detected instances when telemetry is not being received by IoT Hub. The issue always occurs during peak business periods. It appears that devices are connected to IoT hub when this issue occurs. Which of the following statements about message throttling is true? -The IoT Hub tier edition (1-3) determines the throttling limits that IoT Hub enforces on all operations. -All messaging attempts in excess of throttle limits are queued and eventually received. -IoT Hub caches incoming messages for later retrieval if the number of queued messages exceeds the queue size limit.
The IoT Hub tier edition (1-3) determines the throttling limits that IoT Hub enforces on all operations. IoT Hub tier edition determines the throttling limits. For example, an S2 IoT Hub will have higher throttling limits than an S1 IoT Hub.
Within an IoT solution, what is message enrichment? -An IoT hub feature that enables users to direct device messages to a service endpoint. -A real-time analytics and complex event-processing engine that accepts data from multiple sources simultaneously. -The ability of IoT hub to stamp messages with additional information before the message is sent a designated endpoint.
The ability of IoT hub to stamp messages with additional information before the message is sent a designated endpoint. Message enrichment is a feature of IoT hub that is used to stamp messages with additional information before the message is sent a designated endpoint.
An Azure IoT solution uses a common message format. Which of the following statements about the common message format is accurate? -The common message format enables IoT hub to interpret device-to-cloud messages that arrive unformatted. -Versions of the common message format are optimized for each of the messaging protocols supported by IoT hub. -The common message format is used across protocols for both device-to-cloud and cloud-to-device messages.
The common message format is used across protocols for both device-to-cloud and cloud-to-device messages. IoT Hub defines a common message format for all device-facing protocols. This message format is used for both device-to-cloud routing and cloud-to-device messages.
A company will be using X.509 certificates during the provisioning process. Under what conditions would they need to roll device certificates? -The company knows that they need to reprovision a device. -The company knows that a certificate is about to expire. -The company knows that they'll be moving a device between hubs.
The company knows that a certificate is about to expire. It's appropriate to roll device certificates before they expire.
The device enrollment process includes the option to specify the initial configuration of a device. What mechanism is used to specify initial device settings? -The enrollment process instructs IoT hub to trigger a direct method when the initial device connected event is detected. -The enrollment process includes an initial device twin state field that enables you to specify desired properties for the device. -The enrollment process uses a security token to request device access permission from IoT hub and pushes the initial configuration to the device directly.
The enrollment process includes an initial device twin state field that enables you to specify desired properties for the device. The Initial Device Twin State field contains JSON data that represents the initial configuration of desired properties for the device. When the device connects to IoT hub for the first time, it will read the desired properties and update itself.
What is the primary purpose of Power BI? -To visualize data, develop insights, and share reports. -To archive data that will be used for machine learning analysis. -To transform IoT hub data before it is read into Time Series Insights.
To visualize data, develop insights, and share reports. Power BI is a collection of software services, apps, and connectors that work together to turn your unrelated sources of data into coherent, visually immersive, and interactive insights. Power BI lets you easily connect to your data sources, visualize and discover what's important, and share that with anyone or everyone you want.
In the lab for this module, which gateway pattern was implemented? -Transparent -Protocol translation -Identity translation
Transparent This lab implemented the Transparent gateway pattern.
Which of the following tasks can be accomplished using the Azure portal (IoT Hub resource), Azure CLI extension for IoT, and the Azure IoT Hub Device SDK? -Automatic device management. -Update a device twin property. -Update a device twin desired property.
Update a device twin property. Updating a property of a device twin can be done using each of the three tools.
Which of the following is required to connect TSI to IoT Hub? -Use IoT Hub to create a custom endpoint that will be used exclusively by TSI. -Use IoT Hub to create a dedicated consumer group that will be used exclusively by TSI. -Use IoT Hub to create a consumer group that will be used by all downstream consumer services.
Use IoT Hub to create a dedicated consumer group that will be used exclusively by TSI. The TSI event source requires a dedicated IoT hub consumer group to reliably read IoT hub data.
Which of the following steps is commonly performed when creating a custom Edge module? -Use the Azure portal to create an Azure Container Registry for your Docker container images. -Use the IoT Edge dev tool to configure your production environment. -Use the IoT EdgeHub dev tool to install and configure the IoT Edge runtime.
Use the Azure portal to create an Azure Container Registry for your Docker container images. To create a custom Edge module, you will often use the Azure portal to create an Azure Container Registry for your Docker container images.
Within an IoT solution, under what conditions is the fallback route used? -When multiple routes would have directed a message to the same custom endpoint, the fallback route is used specify which route delivers the message. -When multiple routes would have directed a message to multiple endpoints, the fallback route is used specify which endpoint the message should be delivered to. -When multiple routes are defined, but a message doesn't match any query conditions, the fallback route sends the message to the built-in endpoint.
When multiple routes are defined, but a message doesn't match any query conditions, the fallback route sends the message to the built-in endpoint. The fallback route sends all the messages that don't satisfy query conditions on any of the existing routes to the built-in endpoint.