nerdexam
Amazon

SAP-C02 · Question #767

A company is migrating its on-premises IoT platform to AWS. The platform consists of the following components: - A MongoDB cluster as a data store for all collected and processed IoT data. - An…

The correct answer is A. Create AWS Step Functions state machines with AUS Lambda tasks to prepare the reports and D. Connect the IoT devices to AWS IoT Core to publish messages. Create an AWS IoT rule that E. Migrate the MongoDB cluster to Amazon DocumentDB (with MongoDB compatibility). To migrate the IoT platform with minimal operational overhead, Amazon DocumentDB should replace the MongoDB cluster, AWS IoT Core should manage device connectivity and data collection, and AWS Step Functions with Lambda tasks should handle periodic report generation and web…

Submitted by kim_seoul· Mar 6, 2026Migrate Workloads and Modernize Solutions

Question

A company is migrating its on-premises IoT platform to AWS. The platform consists of the following components:

  • A MongoDB cluster as a data store for all collected and processed IoT

data.

  • An application that uses Message Queuing Telemetry Transport (MQTT)

to connect to IoT devices every 5 minutes to collect data.

  • An application that runs jobs periodically to generate reports from

the IoT data. The jobs take 120-600 seconds to finish running.

  • A web application that runs on a web server. End users use the web

application to generate reports that are accessible to the general public. The company needs to migrate the platform to AWS to reduce operational overhead while maintaining performance. Which combination of steps will meet these requirements with the LEAST operational overhead? (Choose three.)

Options

  • ACreate AWS Step Functions state machines with AUS Lambda tasks to prepare the reports and
  • BCreate an AWS Lambda function. Program the Lambda function to connect to the IoT devices.
  • CConfigure an Amazon Elastic Kubernetes Service (Amazon EKS) cluster with Amazon EC2
  • DConnect the IoT devices to AWS IoT Core to publish messages. Create an AWS IoT rule that
  • EMigrate the MongoDB cluster to Amazon DocumentDB (with MongoDB compatibility).
  • FMigrate the MongoDB cluster to Amazon EC2 instances.

How the community answered

(42 responses)
  • A
    57% (24)
  • B
    5% (2)
  • C
    12% (5)
  • F
    26% (11)

Why each option

To migrate the IoT platform with minimal operational overhead, Amazon DocumentDB should replace the MongoDB cluster, AWS IoT Core should manage device connectivity and data collection, and AWS Step Functions with Lambda tasks should handle periodic report generation and web application backend logic.

ACreate AWS Step Functions state machines with AUS Lambda tasks to prepare the reports andCorrect

AWS Step Functions state machines, integrated with AWS Lambda tasks, can orchestrate the complex and potentially long-running periodic report generation jobs (120-600 seconds) and serve as a scalable, serverless backend for the web application's reporting functionality, significantly reducing operational overhead.

BCreate an AWS Lambda function. Program the Lambda function to connect to the IoT devices.

An AWS Lambda function is typically event-driven and better suited for reacting to messages published by devices rather than actively connecting to devices every 5 minutes, which might lead to concurrency and state management challenges compared to AWS IoT Core.

CConfigure an Amazon Elastic Kubernetes Service (Amazon EKS) cluster with Amazon EC2

Configuring an Amazon Elastic Kubernetes Service (Amazon EKS) cluster would introduce significant operational overhead for managing the Kubernetes control plane and worker nodes, which contradicts the requirement for the least operational overhead.

DConnect the IoT devices to AWS IoT Core to publish messages. Create an AWS IoT rule thatCorrect

Connecting IoT devices to AWS IoT Core allows for secure, scalable communication using MQTT and enables the creation of AWS IoT rules to ingest, transform, and route collected data to other AWS services, effectively replacing the on-premises MQTT application with minimal operational overhead.

EMigrate the MongoDB cluster to Amazon DocumentDB (with MongoDB compatibility).Correct

Migrating the MongoDB cluster to Amazon DocumentDB (with MongoDB compatibility) provides a fully managed, scalable, and highly available database service that is compatible with MongoDB APIs, reducing the operational overhead associated with managing a self-hosted MongoDB cluster.

FMigrate the MongoDB cluster to Amazon EC2 instances.

Migrating the MongoDB cluster to Amazon EC2 instances would mean self-managing the database, including patching, backups, and scaling, which directly increases operational overhead compared to a fully managed service like Amazon DocumentDB.

Concept tested: Serverless Architecture, Managed Databases (DocumentDB), IoT Core, Workflow Orchestration (Step Functions)

Source: https://docs.aws.amazon.com/documentdb/latest/developerguide/what-is.html

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice