A company has written a Java AWS Lambda function to be triggered whenever a user uploads an image to an Amazon S3 bucket. The function converts the original image to several different formats and then copies the resulting images to another Amazon S3 bucket. The Developers find that no images are being copied to the second Amazon S3 bucket. They have tested the code on an Amazon EC2 instance with 1GB of RAM, and it takes an average of 500 seconds to complete. What is the MOST likely cause of the problem?
A) The Lambda function has insufficient memory and needs to be increased to 1 GB to match the Amazon EC2 instance
B) Files need to be copied to the same Amazon S3 bucket for processing, so the second bucket needs to be deleted.
C) Lambda functions have a maximum execution limit of 300 seconds, therefore the function is not completing.
D) There is a problem with the Java runtime for Lambda, and the function needs to be converted to node.js.
Correct Answer:
Verified
Q157: A developer is using AWS CodeDeploy to
Q158: A company has an application where reading
Q159: A Developer has implemented a Lambda function
Q160: What are the steps to using the
Q161: Given the source code for an AWS
Q163: A web application is using Amazon Kinesis
Q164: A legacy service has an XML-based SOAP
Q165: The release process workflow of an application
Q166: An organization must store thousands of sensitive
Q167: A Developer created a Lambda function for
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents