DOP-C02 Question 178
Select 2A company is designing a serverless architecture to process data from IoT devices in real-time. The architecture should ensure minimal operational overhead, scalability, and compliance with regional data residency requirements. The solution must process incoming data, enrich it, and store it in a database for querying. Which combination of services should the company use to achieve this?
- A
Amazon Kinesis Data Streams for ingesting IoT data and AWS Lambda for processing and enriching the data
- B
AWS Lambda for ingesting IoT data and processing it directly
- C
Amazon DynamoDB for storing processed data and Amazon Athena for querying it
- D
AWS Glue for enriching real-time data before storing it in Amazon S3
- E
Amazon S3 for storing raw IoT data and AWS Lambda for triggering data enrichment
Show answer and explanation
Correct answers: A, C
Explanation
The combination of Amazon Kinesis Data Streams for real-time data ingestion, AWS Lambda for data processing/enrichment, and Amazon DynamoDB for storage ensures a scalable, serverless solution with minimal operational overhead. Amazon Athena provides a flexible querying mechanism for data stored in DynamoDB, aligning with the requirements of scalability and regional compliance.
- A. Correct.
Correct: Amazon Kinesis Data Streams allows real-time ingestion of high-velocity data, and AWS Lambda can process and enrich the data with minimal operational overhead, making it ideal for this use case.
- B. Incorrect.
Incorrect: AWS Lambda cannot directly ingest data from IoT devices at scale; a dedicated service like Amazon Kinesis or IoT Core is needed for reliable data ingestion.
- C. Correct.
Correct: Amazon DynamoDB is a serverless NoSQL database that can store processed data, and Amazon Athena can query data stored in DynamoDB using SQL, ensuring scalability and compliance with the serverless architecture.
- D. Incorrect.
Incorrect: AWS Glue is primarily used for ETL jobs and batch processing, not for real-time data enrichment or processing.
- E. Incorrect.
Incorrect: While Amazon S3 can store raw data and trigger Lambda, it's not ideal for storing structured or processed IoT data, as DynamoDB is more suitable for this purpose.