CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 97: AWS Certified Developer Associate(Old)

A serverless application is using AWS Step Functions to process data and save it to a database. The application needs to validate some data with an external service before saving the data. The application will call the external service from an AWS Lambda function, and the external service will take a few hours to vali…

Nội dung câu hỏi

A serverless application is using AWS Step Functions to process data and save it to a database. The application needs to validate some data with an external service before saving the data. The application will call the external service from an AWS Lambda function, and the external service will take a few hours to validate the data. The external service will respond to a webhook when the validation is complete. A developer needs to pause the Step Functions workflow and wait for the response from the external service. What should the developer do to meet this requirement?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. Use the .wait ForTaskToken option in the Lambda function task state. Pass the token in the body. — đáp án hiện tại
  2. B. Use the .waitForTaskToken option in the Lambda function task state. Pass the invocation request.
  3. C. Call the Lambda function in synchronous mode. Wait for the external service to complete the processing.
  4. D. Call the Lambda function in asynchronous mode. Use the Wait state until the external service completes the processing.

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề