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…
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)- A57% (24)
- B5% (2)
- C12% (5)
- F26% (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.
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.
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.
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.
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.
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.
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.