nerdexam
Amazon

SAP-C02 · Question #752

Accompany is building an application to collect and transmit sensor data from a factory. The application will use AWS IoT Core to send data from hundreds of devices to an Amazon S3 data lake. The…

The correct answer is A. Create a topic in AWS IoT Core to ingest the sensor data. Create an AWS Lambda function to. To cost-effectively enrich IoT sensor data from AWS IoT Core before storing it in S3, configure an IoT rule to invoke an AWS Lambda function for enrichment, which then writes to S3.

Submitted by obi.ng· Mar 6, 2026Design for New Solutions

Question

Accompany is building an application to collect and transmit sensor data from a factory. The application will use AWS IoT Core to send data from hundreds of devices to an Amazon S3 data lake. The company must enrich the data before loading the data into Amazon S3. The application will transmit the sensor data every 5 seconds. New sensor data must be available in Amazon S3 less than 30 minutes after the application collects the data. No other applications are processing the sensor data from AWS IoT Core. Which solution will meet these requirements MOST cost-effectively?

Options

  • ACreate a topic in AWS IoT Core to ingest the sensor data. Create an AWS Lambda function to
  • BUse AWS IoT Core Basic Ingest to ingest the sensor data. Configure an AWS IoT rule action to
  • CCreate a topic in AWS IoT Core to ingest the sensor data. Configure an AWS IoT rule action to
  • DUse AWS loT Core Basic Ingest to ingest the sensor data. Configure an AWS IoT rule action to

How the community answered

(50 responses)
  • A
    56% (28)
  • B
    12% (6)
  • C
    26% (13)
  • D
    6% (3)

Why each option

To cost-effectively enrich IoT sensor data from AWS IoT Core before storing it in S3, configure an IoT rule to invoke an AWS Lambda function for enrichment, which then writes to S3.

ACreate a topic in AWS IoT Core to ingest the sensor data. Create an AWS Lambda function toCorrect

Creating a standard topic in AWS IoT Core for data ingestion and then configuring an AWS IoT rule to invoke an AWS Lambda function is the most cost-effective and flexible solution for data enrichment. The Lambda function performs the required processing and then writes the enriched data to the Amazon S3 data lake, meeting the sub-30-minute availability requirement.

BUse AWS IoT Core Basic Ingest to ingest the sensor data. Configure an AWS IoT rule action to

Using AWS IoT Core Basic Ingest and sending *raw* data to S3 via an IoT rule action does not fulfill the critical requirement to enrich the data before storage.

CCreate a topic in AWS IoT Core to ingest the sensor data. Configure an AWS IoT rule action to

While creating a topic for ingestion is correct, sending *raw* data directly to S3 via an IoT rule action fails to meet the requirement for data enrichment prior to storage.

DUse AWS loT Core Basic Ingest to ingest the sensor data. Configure an AWS IoT rule action to

Although Basic Ingest can save on message costs, for custom processing like enrichment, the standard topic with a Lambda rule action (Option A) is a generally applicable and cost-effective pattern, and Basic Ingest bypasses the message broker which may not always be desired.

Concept tested: AWS IoT Core Rules with Lambda for data enrichment

Source: https://docs.aws.amazon.com/iot/latest/developerguide/iot-rules-lambda.html

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice