SAP-C02 · Question #270
A company processes environmental data. The company has set up sensors to provide a continuous stream of data from different areas in a city. The data is available in JSON format. The company wants…
The correct answer is B. Use Amazon Kinesis Data Streams to send the data to Amazon DynamoDB. To process a continuous stream of JSON data in real time and store it in a schema-less database, the solution should use Amazon Kinesis Data Streams to ingest the data, with Amazon DynamoDB as the NoSQL destination.
Question
A company processes environmental data. The company has set up sensors to provide a continuous stream of data from different areas in a city. The data is available in JSON format. The company wants to use an AWS solution to send the data to a database that does not require fixed schemas for storage. The data must be sent in real time. Which solution will meet these requirements?
Options
- AUse Amazon Kinesis Data Firehose to send the data to Amazon Redshift.
- BUse Amazon Kinesis Data Streams to send the data to Amazon DynamoDB
- CUse Amazon Managed Streaming for Apache Kafka (Amazon MSK) to send the data to Amazon
- DUse Amazon Kinesis Data Firehose to send the data to Amazon Keyspaces (for Apache
How the community answered
(59 responses)- A7% (4)
- B78% (46)
- C12% (7)
- D3% (2)
Why each option
To process a continuous stream of JSON data in real time and store it in a schema-less database, the solution should use Amazon Kinesis Data Streams to ingest the data, with Amazon DynamoDB as the NoSQL destination.
Amazon Redshift is a data warehouse that requires a fixed schema, which contradicts the requirement for a database that does not require fixed schemas.
Amazon Kinesis Data Streams provides a real-time streaming data service, and Amazon DynamoDB is a fully managed NoSQL database that supports flexible schemas, perfectly meeting the requirements for continuous real-time JSON data ingestion into a schema-less store.
While Amazon MSK is a real-time streaming service, the destination "to Amazon" is incomplete, and Kinesis Data Streams with DynamoDB is a more common and direct serverless solution for this specific problem.
Kinesis Data Firehose is typically for near real-time loading (buffering), which may not strictly meet the "real time" requirement as well as Kinesis Data Streams, although Amazon Keyspaces is a suitable schema-less database.
Concept tested: Real-time streaming to NoSQL database
Source: https://docs.aws.amazon.com/streams/latest/dev/introduction.html
Community Discussion
No community discussion yet for this question.