QuestionQ19

VerifiedData Operations and Support

A data engineer needs to deploy a serverless data pipeline. In the pipeline, CSV files are uploaded to an Amazon S3 bucket, which invokes an AWS Lambda function. The Lambda function transforms the CSV files to JSON format and stores the results in a second S3 bucket.

The data engineer has created an AWS Serverless Application Model (AWS SAM) template that includes the Lambda function. The data engineer wants to use AWS SAM for the pipeline deployment.

Which solution will package and deploy this serverless data pipeline?

Explanation

The standard AWS SAM workflow adds the S3 event source to the SAM template, runs sam build to prepare a deployment package (installing dependencies and creating a build artifact), and then sam deploy --guided to package and deploy the stack interactively. Options that call aws cloudformation deploy or configure the S3 trigger manually bypass SAM's built-in packaging and transformation logic, adding unnecessary manual steps. Learn more: AWS SAM deploying applications

Community Discussion

No comments yet. Be the first to start the discussion!