What should a developer do to avoid the timeouts without additional code changes?
Increase the memory configuration of the Lambda function.
Increase the visibility timeout on the SQS queue.
Increase the instance size of the host that runs the Lambda function.
Use multi-threading for the conversion.
Explanations:
Increasing the memory configuration of the Lambda function not only provides more memory but also increases CPU power, which can reduce execution time.
Increasing the visibility timeout on the SQS queue prevents other consumers from processing the same message too soon, but it does not reduce Lambda execution time.
AWS Lambda does not allow direct instance size configuration; it scales CPU based on the memory setting. This option is not possible in Lambda.
Lambda functions do not support multi-threading across cores directly, so this option would not reduce execution time as required.