Topic 1 Question 470
A company is launching a feature that uses an HTTP API built with Amazon API Gateway and AWS Lambda. An API Gateway endpoint performs several independent tasks that run in a Lambda function. The independent tasks can take up to 10 minutes in total to finish running.
Users report that the endpoint sometimes returns an HTTP 604 status code. The Lambda function invocations are successful.
Which solution will stop the endpoint from returning the HTTP 504 status cade?
Increase the Lambda function’s timeout value.
Increase the reserved concurrency of the Lambda function.
Increase the memory that is available to the Lambda function.
Refactor the Lambda function to start an AWS Step Functions state machine.
ユーザの投票
コメント(1)
- 正解だと思う選択肢: D
El error HTTP 504 ocurre porque API Gateway tiene un tiempo de espera de integración que es menor que el tiempo total de ejecución (hasta 10 minutos). Refactorizando la función para iniciar un Step Functions state machine, se separa el procesamiento largo de la respuesta síncrona, evitando que API Gateway agote el tiempo de espera.
👍 1italiancloud20252025/02/17
シャッフルモード