DEA-C01 Question 102
Single answerYou are designing a serverless data processing pipeline for a video streaming application. The pipeline involves extracting metadata from uploaded videos, storing the metadata in a database, and notifying users when processing is complete. The solution must be highly scalable, cost-effective, and must not require server management. Which AWS service combination is best suited to orchestrate this workflow in a serverless manner?
- A
AWS Step Functions, AWS Lambda, Amazon DynamoDB, and Amazon SNS
- B
Amazon EC2, AWS Lambda, Amazon RDS, and Amazon SQS
- C
AWS Glue, Amazon S3, Amazon RDS, and Amazon SNS
- D
Amazon EMR, Amazon DynamoDB, AWS Step Functions, and Amazon SQS
Show answer and explanation
Correct answer: A
Explanation
The best approach to create a fully serverless and scalable workflow involves using AWS Step Functions for orchestration, AWS Lambda for executing the metadata extraction, Amazon DynamoDB for storing the metadata, and Amazon SNS for notifying users. This combination aligns with the requirements of being cost-effective, serverless, and scalable.
- A. Correct.
This is the correct answer. AWS Step Functions can be used to orchestrate the workflow as a serverless state machine. AWS Lambda handles the metadata extraction, Amazon DynamoDB stores the metadata, and Amazon SNS notifies users, all in a scalable and serverless manner.
- B. Incorrect.
This is incorrect. While AWS Lambda is serverless, Amazon EC2 and Amazon RDS involve server management, which does not align with the requirement of a fully serverless solution.
- C. Incorrect.
This is incorrect. AWS Glue and Amazon S3 are primarily used for ETL and data storage, respectively, and are not ideal for orchestrating a serverless workflow. Amazon RDS is also not serverless.
- D. Incorrect.
This is incorrect. Amazon EMR is not serverless and is overkill for the described task. While AWS Step Functions and Amazon DynamoDB are suitable, Amazon SQS is not ideal for user notifications in this scenario.