BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam DVA-C02 Topic 1 Question 26 Discussion

Actual exam question for Amazon's DVA-C02 exam
Question #: 26
Topic #: 1
[All DVA-C02 Questions]

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 anAWS 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?

Show Suggested Answer Hide Answer
Suggested Answer: D

S3BucketandS3Key:These properties in a CloudFormationAWS::Lambda::Functionresource specify the location of the function's code in S3.

Least Development Effort:This solution minimizes code changes, relying on CloudFormation to reference the existing S3 deployment package.


AWS::Lambda::Function Resourcehttps://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html

Contribute your Thoughts:

Raul
5 months ago
Alright, looks like D is the way to go then.
upvoted 0 times
...
Francisca
5 months ago
Yes, adding them directly seems like the easiest and most logical way.
upvoted 0 times
...
Reuben
5 months ago
Option B confused me too. But adding the S3 details directly made more sense.
upvoted 0 times
...
Raul
5 months ago
Seems like a common choice. I was torn between options B and D.
upvoted 0 times
...
Francisca
5 months ago
I chose the same. I believe it requires the least development effort.
upvoted 0 times
...
Reuben
6 months ago
I went with option D. It says to add the relevant key and bucket to the S3Bucket and S3Key properties.
upvoted 0 times
...
Raul
6 months ago
What was your answer?
upvoted 0 times
...
Reuben
6 months ago
I think it's pretty straightforward. The S3 bucket integration is key.
upvoted 0 times
...
Francisca
6 months ago
Yes, I did. It's quite confusing, isn't it?
upvoted 0 times
...
Raul
6 months ago
Have you seen the question about AWS Lambda functions in the exam?
upvoted 0 times
...

Save Cancel