nerdexam
Amazon

SAP-C02 · Question #823

A video processing company uses an AWS Lambda function to handle image processing tasks. An Amazon EventBridge rule that matches the event pattern when a new image is uploaded to an Amazon S3 bucket i

The correct answer is D. Create a new Amazon ECS deployment with the Fargate launch type. Configure the ECS task E. Create a new AWS Step Functions state machine. Configure the state machine to use the new. Moving the processing to Amazon ECS with the Fargate launch type helps by using containers without needing to manage EC2 instances. The Fargate option handles scaling automatically, reducing operational overhead. EventBridge can be configured to trigger ECS tasks when new files a

Submitted by kwame.gh· Mar 6, 2026Continuous Improvement for Existing Solutions

Question

A video processing company uses an AWS Lambda function to handle image processing tasks. An Amazon EventBridge rule that matches the event pattern when a new image is uploaded to an Amazon S3 bucket invokes the Lambda function. The processing task initially operated without errors. The Lambda function now encounters frequent timeout errors. The Lambda function is configured with the maximum timeout value. A solutions architect must refactor the application's architecture to mitigate invocation failures. Which combination of steps will meet these requirements with the LEAST operational overhead? (Choose two.)

Options

  • ABuild a Docker container image with the application code for deployment. Store the container
  • BBuild a Docker container image with the application code for deployment. Store the container
  • CCreate a new Amazon ECS deployment with the Amazon EC2 launch type. Configure the ECS
  • DCreate a new Amazon ECS deployment with the Fargate launch type. Configure the ECS task
  • ECreate a new AWS Step Functions state machine. Configure the state machine to use the new

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    24% (7)
  • C
    14% (4)
  • D
    59% (17)

Explanation

Moving the processing to Amazon ECS with the Fargate launch type helps by using containers without needing to manage EC2 instances. The Fargate option handles scaling automatically, reducing operational overhead. EventBridge can be configured to trigger ECS tasks when new files arrive in S3. AWS Step Functions allows the orchestration of complex workflows. Refactoring the Lambda function to trigger a state machine can help offload the work from the Lambda function and allow for better handling of timeouts and retries. Step Functions can manage the image processing flow and integrate with other AWS services, offering a scalable solution.

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice