Sample question 1 — Data Ingestion and Transformation
A data engineer ingests a stream of order events and must enrich each record with customer metadata before it lands in the data lake, while filtering out events from test accounts. The enrichment logic changes often and the team wants to write the transformation in SQL rather than deploy custom application code. Which AWS service should the team use?
- A. Amazon Kinesis Data Streams, which buffers records but leaves the enrichment logic to the consumer application.
- B. Amazon Managed Streaming for Apache Kafka, which stores the stream and requires a separate processor to transform records.
- C. AWS Glue DataBrew, which prepares data through a visual interface for batch jobs rather than continuous streams.
- D. Amazon Managed Service for Apache Flink, which runs SQL-based stream processing to enrich and filter records continuously.
Answer: D. Option D is correct. Amazon Managed Service for Apache Flink runs continuously streaming SQL applications that can join records with customer metadata and filter out test accounts before the data lands. Option A is incorrect because Data Streams only stores records and leaves transformation to a consumer. Option B is incorrect because MSK stores the stream and still requires a separate processing application. Option C is incorrect because DataBrew targets batch data preparation, not continuous stream enrichment.
