exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 59 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 59
Topic #: 1
[All AWS Certified Developer Associate Questions]

A developer is using Amazon S3 as the event source that invokes a Lambda function when new objects are created in the bucket. The event source mapping information is stored in the bucket notification configuration. The developer is working with different versions of the Lambda function, and has a constant need to update notification configuration so that Amazon S3 invokes the correct version.
What is the MOST efficient and effective way to achieve mapping between the S3 event and Lambda?

  • A. Use a different Lambda trigger.
  • B. Use Lambda environment variables.
  • C. Use a Lambda alias.
  • D. Use Lambda tags.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
mattia_besharp
Highly Voted 3 years, 2 months ago
Selected Answer: C
You can assign an alias to a specific version and link the S3 trigger to that alias. If you want to change the version of the Lambda triggered by S3, you just need to edit the alias
upvoted 11 times
...
claudiadlr
Highly Voted 3 years, 3 months ago
I'll go with "C" - https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html "A Lambda alias is like a pointer to a specific function version. Users can access the function version using the alias Amazon Resource Name (ARN)"
upvoted 6 times
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: C
C) Correct - You can update the alias to point to a new version of the Lambda function without changing the S3 notification configuration.
upvoted 1 times
...
Lucas_Luke
1 year, 6 months ago
Selected Answer: C
The correct answer is the C
upvoted 1 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: C
The correct answer is the C, we can create an alias that points to a specific lambda version and reffer by using the lambda alias instead of the version from S3. In this way, it the version changes, the alias remain the same and no update is needed anymore
upvoted 1 times
...
duong23
2 years ago
Selected Answer: C
ANSWER IS C
upvoted 1 times
...
GARGMOH
2 years, 1 month ago
Selected Answer: C
ANSWER IS C
upvoted 1 times
...
MMaquis
2 years, 2 months ago
Selected Answer: C
Answer is C
upvoted 1 times
...
michele_scar
2 years, 3 months ago
Selected Answer: C
Answer: C A is not the solution, during code changes the dev have to update only the alias:version but on S3 bucket the situation still the same during these tests.
upvoted 1 times
...
sichilam
2 years, 3 months ago
C it is Using aliases Each alias has a unique ARN. An alias can point only to a function version, not to another alias. You can update an alias to point to a new version of the function. Event sources such as Amazon Simple Storage Service (Amazon S3) invoke your Lambda function. These event sources maintain a mapping that identifies the function to invoke when events occur. If you specify a Lambda function alias in the mapping configuration, you don't need to update the mapping when the function version changes. For more information, see Lambda event source mappings.
upvoted 1 times
...
CollinsWolf
2 years, 5 months ago
The correct answer is B. Aliases is to manage versions not configuration like the question stated
upvoted 1 times
...
Arnaud92
2 years, 6 months ago
Selected Answer: C
Answer C : https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#using-aliases
upvoted 1 times
...
Krishna8686868246
2 years, 7 months ago
B is the answer "constant need to update notification configuration"
upvoted 4 times
CollinsWolf
2 years, 5 months ago
True, the answer is B
upvoted 1 times
...
...
warriorYup
2 years, 7 months ago
Selected Answer: C
Seems like C but why is this marked as A?
upvoted 1 times
anthonyq98
2 years, 6 months ago
So many questions are marked wrong. I almost exclusively go with the community votes for the correct answer. Correct answer is C.
upvoted 6 times
...
...
juaneks
2 years, 9 months ago
this is C
upvoted 1 times
...
JP_PA
3 years, 2 months ago
Selected Answer: C
ANS: C
upvoted 1 times
...
denccc
3 years, 3 months ago
It's c
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago