Topic 1 Question 531
A company needs to integrate with a third-party data feed. The data feed sends a webhook to notify an external service when new data is ready for consumption. A developer wrote an AWS Lambda function to retrieve data when the company receives a webhook callback. The developer must make the Lambda function available for the third party to call.
Which solution will meet these requirements with the MOST operational efficiency?
Create a function URL for the Lambda function. Provide the Lambda function URL to the third party for the webhook.
Deploy an Application Load Balancer (ALB) in front of the Lambda function. Provide the ALB URL to the third party for the webhook.
Create an Amazon Simple Notification Service (Amazon SNS) topic. Attach the topic to the Lambda function. Provide the public hostname of the SNS topic to the third party for the webhook.
Create an Amazon Simple Queue Service (Amazon SQS) queue. Attach the queue to the Lambda function. Provide the public hostname of the SQS queue to the third party for the webhook.
ユーザの投票
コメント(9)
- 正解だと思う選択肢: A
A function URL is a dedicated HTTP(S) endpoint for your Lambda function. When you create a function URL, Lambda automatically generates a unique URL endpoint for you.
👍 5TariqKipkemei2023/07/23 - 正解だと思う選択肢: A
The key points:
A Lambda function needs to be invoked by a third party via a webhook. Using a function URL provides a direct invoke endpoint for the Lambda function. This is simple and efficient. Options B, C, and D insert unnecessary components like ALB, SNS, SQS between the webhook and the Lambda function. These add complexity without benefit. A function URL can be generated and provided to the third party quickly without additional infrastructure.
👍 3Guru4Cloud2023/08/22 - 正解だと思う選択肢: A
Keyword "Lambda function" and "webhook". See https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas-furls.html#create-stripe-cfn-stack
👍 2james20332023/07/18
シャッフルモード