A company is using the IoT service for storing data from multiple IoT devices.
They want to ensure that they can get the state of a device even if it is disconnected from the IoT service.
Which of the following can help achieve this?
Click on the arrows to vote for the correct answer
A. B. C. D.Answer - A.
The AWS Documentation mentions the following.
A device's shadow is a JSON document that is used to store and retrieve current state information for a device.
The Device Shadow service maintains a shadow for each device you connect to AWS IoT.
You can use the shadow to get and set the state of a device over MQTT or HTTP, regardless of whether the device is connected to the Internet.
Option B is incorrect since this is used for devices to Interact with other AWS services.
Option C is incorrect since this is used to define a set of remote operations that are sent to and executed on one or more devices connected to AWS IoT.
Option D is incorrect since this is used to audit the configuration of your devices, monitor connected devices to detect abnormal behavior, and to mitigate security risks.
For more information on Device shadows, please refer to the below URL.
https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.htmlThe AWS Documentation mentions the following.
You use an analysis to create and interact with visuals and stories.
You can think of an analysis as a container for a set of related visuals and stories, for example ones that are all applicable to a given business goal or key performance indicator.
You can use multiple data sets in an analysis, although any given visual can only use one of those data sets.
For more information on working with Analysis, please refer to the below URL.
https://docs.aws.amazon.com/quicksight/latest/user/working-with-analyses.htmlThe correct answer is A. Using Device shadows.
AWS IoT Device Shadows is a service that allows the user to store and retrieve the latest state of a device even if it is not currently connected to the IoT service. The state of the device is represented as a JSON document and stored in the cloud. Device Shadows can be used to synchronize the state of the device with the cloud, making it possible to update the state of the device when it is online again.
Device Shadows provide a virtual representation of a physical device. The virtual representation can be updated even if the physical device is not connected to the internet. When the device comes back online, it can synchronize its state with the virtual representation.
Rules, Jobs, and Device Defender are not related to storing the state of a disconnected device. Rules are used to route messages from IoT devices to AWS services, Jobs are used to perform operations on IoT devices, and Device Defender is used for security and compliance monitoring of IoT devices.
In summary, to ensure that a company can get the state of a disconnected device, they can use AWS IoT Device Shadows.