Infrastructure Security

A device is already connected to AWS IoT Core and subscribed to its topics. Which AWS IoT policy actions authorize it to publish MQTT messages and to have messages delivered to it? (Choose two.)

Choose 2 answers

Show the answer

Correct answersC. iot:PublishD. iot:Receive

AWhy not this: Returns the AWS IoT endpoint address rather than authorizing MQTT message exchange.

BWhy not this: Authorizes retrieving a device shadow rather than general MQTT message exchange.

CWhy this is right: Authorizes publishing MQTT messages to permitted topic resources.

DWhy this is right: Authorizes delivery of MQTT messages on permitted topic resources.

EWhy not this: Authorizes establishing a connection to AWS IoT Core, which the device already has.

FWhy not this: Authorizes subscribing to topic filters, which the device has already done; delivery needs iot:Receive.

iot:Publish authorizes sending MQTT messages, and iot:Receive authorizes delivery of messages to the device. Because the device is already connected and subscribed, iot:Connect and iot:Subscribe are already in place and do not authorize message delivery themselves.