DVA-C02 · Question #336
DVA-C02 Question #336: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #336. The question stem and answer options stay visible for context.
Question
A developer is creating a simple proof-of-concept demo by using AWS CloudFormation and AWS Lambda functions. The demo will use a CloudFormation template to deploy an existing Lambda function. The Lambda function uses deployment packages and dependencies stored in Amazon S3. The developer defined an AWS::Lambda::Function resource in a CloudFormation template. The developer needs to add the S3 bucket to the CloudFormation template. What should the developer do to meet these requirements with the LEAST development effort?
Options
- AAdd the function code in the CloudFormation template inline as the code property.
- BAdd the function code in the CloudFormation template as the ZipFile property.
- CFind the S3 key for the Lambda function. Add the S3 key as the ZipFile property in the
- DAdd the relevant key and bucket to the S3Bucket and S3Key properties in the CloudFormation
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.