A video processing company has an application that downloads images from an Amazon S3 bucket, processes the images, stores a transformed image in a second S3 bucket, and updates metadata about the image in an Amazon DynamoDB table. The application is written in Node.js and runs by using an AWS Lambda function. The Lambda function is invoked when a new image is uploaded to Amazon S3.
The application ran without incident for a while. However, the size of the images has grown significantly. The Lambda function is now failing frequently with timeout errors. The function timeout is set to its maximum value. A solutions architect needs to refactor the application's architecture to prevent invocation failures. The company does not want to manage the underlying infrastructure.
Which combination of steps should the solutions architect take to meet these requirements? (Choose two.)
A . Modify the application deployment by building a Docker image that contains the application code. Publish the image to Amazon Elastic Container Registry (Amazon ECR). - This step is necessary to package the application code in a container and make it available for running on ECS. B. Create a new Amazon Elastic Container Service (Amazon ECS) task definition with a compatibility type of AWS Fargate. Configure the task definition to use the new image in Amazon Elastic Container Registry (Amazon ECR). Adjust the Lambda function to invoke an ECS task by using the ECS taskdefinition when a new file arrives in Amazon S3.
Idella
1 month agoMonte
2 months agoDannette
2 months agoTawny
2 months agoLonna
2 months agoDevorah
3 months agoGracie
3 months agoLashon
3 months agoAlita
3 months agoSuzi
3 months agoEarlean
4 months agoJaclyn
4 months agoMan
4 months agoErnie
4 months agoReena
5 months agoNichelle
5 months agoLucina
5 months agoRoxanne
5 months agoBrice
5 months agoLawrence
6 months agoKassandra
6 months agoScarlet
1 month agoRosenda
1 month agoDelfina
4 months agoTamala
4 months agoDean
6 months agoTwanna
6 months agoJacob
6 months agoMichell
7 months ago