AWS Certified Developer Associate DVA-C01 – Question137

A Developer must deploy a new AWS Lambda function using an AWS CloudFormation template.
Which procedures will deploy a Lambda function? (Choose two.)

A.
Upload the code to an AWS CodeCommit repository, then add a reference to it in an AWS::Lambda::Functionresource in the template.
B. Create an AWS::Lambda::Functionresource in the template, then write the code directly inside the CloudFormation template.
C. Upload a .ZIP file containing the function code to Amazon S3, then add a reference to it in an AWS::Lambda::Function resource in the template.
D. Upload a .ZIP file to AWS CloudFormation containing the function code, then add a reference to it in an AWS::Lambda::Functionresource in the template.
E. Upload the function code to a private Git repository, then add a reference to it in an AWS::Lambda::Functionresource in the template.

Correct Answer: BD