Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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
12 months ago
Alright, looks like D is the way to go then.
upvoted 0 times
...
Francisca
1 years ago
Yes, adding them directly seems like the easiest and most logical way.
upvoted 0 times
...
Reuben
1 years ago
Option B confused me too. But adding the S3 details directly made more sense.
upvoted 0 times
...
Raul
1 years ago
Seems like a common choice. I was torn between options B and D.
upvoted 0 times
...
Francisca
1 years ago
I chose the same. I believe it requires the least development effort.
upvoted 0 times
...
Reuben
1 years 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
1 years ago
What was your answer?
upvoted 0 times
...
Reuben
1 years ago
I think it's pretty straightforward. The S3 bucket integration is key.
upvoted 0 times
...
Francisca
1 years ago
Yes, I did. It's quite confusing, isn't it?
upvoted 0 times
...
Raul
1 years ago
Have you seen the question about AWS Lambda functions in the exam?
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77