New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon DVA-C02 Exam - 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:

0/2000 characters
Brittani
3 months ago
Adding inline code seems like too much hassle, go with D!
upvoted 0 times
...
Kate
3 months ago
I think C could work too, but D is definitely cleaner.
upvoted 0 times
...
Royce
3 months ago
Wait, can you really just add the S3 bucket like that?
upvoted 0 times
...
Bettina
4 months ago
I agree, D is straightforward and effective!
upvoted 0 times
...
Rocco
4 months ago
Option D seems like the best choice for minimal effort.
upvoted 0 times
...
Eden
4 months ago
I’m a bit confused about the ZipFile property. I thought that was for inline code, but I’m not sure how it relates to S3 in this case.
upvoted 0 times
...
Dierdre
4 months ago
This question feels similar to one we practiced where we had to specify S3 locations for Lambda functions. I think option D sounds right.
upvoted 0 times
...
Lonny
4 months ago
I’m not entirely sure, but I think adding the S3 bucket and key properties might be the simplest way to reference the existing Lambda function.
upvoted 0 times
...
Asuncion
5 months ago
I remember that using the S3 bucket directly in the CloudFormation template is usually the best practice for deployment.
upvoted 0 times
...
Lennie
5 months ago
I'm a bit confused by the question. Are we supposed to include the function code in the template, or just reference the S3 location? I'm leaning towards option D, but I want to make sure I fully understand the requirements first.
upvoted 0 times
...
Laurel
5 months ago
Option D looks like the way to go. Adding the S3 bucket and key directly to the template is probably the least development effort, as the question asks for.
upvoted 0 times
...
Ben
5 months ago
Hmm, I'm a little unsure about this one. I'm trying to decide between options C and D. I'll need to double-check the CloudFormation documentation to make sure I understand the differences between those approaches.
upvoted 0 times
...
Carmelina
5 months ago
This seems pretty straightforward. I think the key is to add the S3 bucket and key to the CloudFormation template, so I'd go with option D.
upvoted 0 times
...
Carmen
5 months ago
I'm a bit confused by the wording of the question. What exactly does "router-on-a-stick" mean? And why would configuring an IP address on the Gi2 interface resolve the issue? I'll need to do some more research on this before answering.
upvoted 0 times
...
Dannette
5 months ago
Hmm, I'm a bit confused on this one. Is it the Execute permission that allows you to enter a directory?
upvoted 0 times
...
Marylin
5 months ago
Hmm, I think the key here is the auditor's computer knowledge and expertise. That's going to be a big factor in how we use CAATs.
upvoted 0 times
...
Raul
2 years ago
Alright, looks like D is the way to go then.
upvoted 0 times
...
Francisca
2 years ago
Yes, adding them directly seems like the easiest and most logical way.
upvoted 0 times
...
Reuben
2 years ago
Option B confused me too. But adding the S3 details directly made more sense.
upvoted 0 times
...
Raul
2 years ago
Seems like a common choice. I was torn between options B and D.
upvoted 0 times
...
Francisca
2 years ago
I chose the same. I believe it requires the least development effort.
upvoted 0 times
...
Reuben
2 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
2 years ago
What was your answer?
upvoted 0 times
...
Reuben
2 years ago
I think it's pretty straightforward. The S3 bucket integration is key.
upvoted 0 times
...
Francisca
2 years ago
Yes, I did. It's quite confusing, isn't it?
upvoted 0 times
...
Raul
2 years ago
Have you seen the question about AWS Lambda functions in the exam?
upvoted 0 times
...

Save Cancel