Q234.A company is using a HTTP webhook from its source control platform to perform code vulnerability scanning. The vulnerability scanning is done by an application running in AWS Lambda which is invoked by Amazon API Gateway w

欢迎免费使用小程序搜题/刷题/查看解析,提升学历,成考自考报名,论文代写、论文查重请加客服微信skr-web


Q234.A company is using a HTTP webhook from its source control platform to perform code vulnerability scanning. The vulnerability scanning is done by an application running in AWS Lambda which is invoked by Amazon API Gateway when the webhook is received. The source control platform requires an HT TP 200 response from the webhook destination within 30 seconds otherwise the webhook is re-sent. Code vulnerability scanning can take up to 10 minutes to complete depending on the size of the codebase being scanned.The company wants to ensure that only one vulnerability scan is triggered for each webhook.Which solution would achieve the company's requirement?

A.Change the API Gateway integration type to AWS_ PROXY for the Lambda function. Modify the Lambda code to return an HTTP 200 response as soon as it is invoked before continuing to perform the vulnerability scanning.
B.Create a new Lambda function invoked by API Gateway to write the webhook to an Amazon SQS FIFO queue with message deduplication then return an HTTP 200 response. Trigger the code vulnerability scanner from messages in the SQS FIFO queue.
C.Configure API Gateway to invoke the Lambda function asynchronously. Add an integration response to API Gateway to return an HTTP 200 response once the Lambda function has been invoked.
D.Configure API Gateway to invoke the Lambda function asynchronously. Modify the Lambda code to return an HTTP 200 response as soon as it is invoked before continuing to perform the vulnerability scanning.
正确答案B
访客
邮箱
网址

通用的占位符缩略图

人工智能机器人,扫码免费帮你完成工作


  • 自动写文案
  • 自动写小说
  • 马上扫码让Ai帮你完成工作
通用的占位符缩略图

人工智能机器人,扫码免费帮你完成工作

  • 自动写论文
  • 自动写软件
  • 我不是人,但是我比人更聪明,我是强大的Ai
Top