Deal of The Day! 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

Posted by Antonette on May 10, 2024 at 09:04 PM

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?

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

Get Premium DVA-C02 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
26 comments · newest first
BR
Brittani 11 months ago
Adding inline code seems like too much hassle, go with D!
KA
Kate 11 months ago
I think C could work too, but D is definitely cleaner.
RO
Royce 11 months ago
Wait, can you really just add the S3 bucket like that?
BE
Bettina 11 months ago
I agree, D is straightforward and effective!
RO
Rocco 12 months ago
Option D seems like the best choice for minimal effort.
ED
Eden 12 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.
DI
Dierdre 1 year 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.
LO
Lonny 1 year 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.
AS
Asuncion 1 year ago
I remember that using the S3 bucket directly in the CloudFormation template is usually the best practice for deployment.
LE
Lennie 1 year 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.
LA
Laurel 1 year 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.
BE
Ben 1 year 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.
CA
Carmelina 1 year 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.
CA
Carmen 1 year 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.
DA
Dannette 1 year ago
Hmm, I'm a bit confused on this one. Is it the Execute permission that allows you to enter a directory?
MA
Marylin 1 year 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.
RA
Raul 2 years ago
Alright, looks like D is the way to go then.
FR
Francisca 2 years ago
Yes, adding them directly seems like the easiest and most logical way.
RE
Reuben 2 years ago
Option B confused me too. But adding the S3 details directly made more sense.
RA
Raul 2 years ago
Seems like a common choice. I was torn between options B and D.
FR
Francisca 2 years ago
I chose the same. I believe it requires the least development effort.
RE
Reuben 2 years ago
I went with option D. It says to add the relevant key and bucket to the S3Bucket and S3Key properties.
RA
Raul 2 years ago
What was your answer?
RE
Reuben 2 years ago
I think it's pretty straightforward. The S3 bucket integration is key.
FR
Francisca 2 years ago
Yes, I did. It's quite confusing, isn't it?
RA
Raul 2 years ago
Have you seen the question about AWS Lambda functions in the exam?
0/2000 characters

Save Cancel