exam questions

Exam AWS Certified Data Engineer - Associate DEA-C01 All Questions

View all questions & answers for the AWS Certified Data Engineer - Associate DEA-C01 exam

Exam AWS Certified Data Engineer - Associate DEA-C01 topic 1 question 191 discussion

A data engineer maintains custom Python scripts that perform a data formatting process that many AWS Lambda functions use. When the data engineer needs to modify the Python scripts, the data engineer must manually update all the Lambda functions.

The data engineer requires a less manual way to update the Lambda functions.

Which solution will meet this requirement?

  • A. Store the custom Python scripts in a shared Amazon S3 bucket. Store a pointer to the custom scripts in the execution context object.
  • B. Package the custom Python scripts into Lambda layers. Apply the Lambda layers to the Lambda functions.
  • C. Store the custom Python scripts in a shared Amazon S3 bucket. Store a pointer to the customer scripts in environment variables.
  • D. Assign the same alias to each Lambda function. Call each Lambda function by specifying the function's alias.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
HagarTheHorrible
4 months, 1 week ago
Selected Answer: B
text book example of Lambda Layers ...
upvoted 2 times
...
kupo777
5 months, 3 weeks ago
Correct Answer: B Lambda layers allow you to package common code and dependencies that can be shared across multiple Lambda functions. By placing the custom Python scripts in a layer, you can update the layer once and then update the version used by each Lambda function without needing to modify the function code directly. This approach reduces redundancy, streamlines updates, and ensures that all functions using the layer have access to the latest version of the scripts with minimal manual effort.
upvoted 3 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