
Answer-first summary for fast verification
Answer: Use AWS SAM CLI to initialize a new project, define the resources in a template.yaml file, and deploy using 'sam deploy --guided'.
AWS SAM is designed to simplify the deployment of serverless applications. Using the AWS SAM CLI to initialize a project, define resources in a template.yaml file, and deploy with 'sam deploy --guided' is the most efficient and recommended approach for deploying a serverless data pipeline.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are tasked with deploying a serverless data pipeline using AWS SAM that includes Lambda functions, Step Functions, and DynamoDB tables. Which of the following steps would you take to package and deploy this pipeline?
A
Use AWS SAM CLI to initialize a new project, define the resources in a template.yaml file, and deploy using 'sam deploy --guided'.
B
Manually create each resource in the AWS Management Console and link them together.
C
Write a custom script to create and configure each resource programmatically.
D
Use AWS CloudFormation to define and deploy the entire stack.