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

Câu 54: AWS Certified Developer - Associate DVA-C02(New)

A developer is designing a serverless application with two AWS Lambda functions to process photos. One Lambda function stores objects in an Amazon S3 bucket and stores the associated metadata in an Amazon DynamoDB table. The other Lambda function fetches the objects from the S3 bucket by using the metadata from the Dy…

Nội dung câu hỏi

A developer is designing a serverless application with two AWS Lambda functions to process photos. One Lambda function stores objects in an Amazon S3 bucket and stores the associated metadata in an Amazon DynamoDB table. The other Lambda function fetches the objects from the S3 bucket by using the metadata from the DynamoDB table. Both Lambda functions use the same Python library to perform complex computations and are approaching the quota for the maximum size of zipped deployment packages. What should the developer do to reduce the size of the Lambda deployment packages with the LEAST operational overhead?

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. Package each Python library in its own .zip file archive. Deploy each Lambda function with its own copy of the library.
  2. B. Create a Lambda layer with the required Python library. Use the Lambda layer in both Lambda functions. — đáp án hiện tại
  3. C. Combine the two Lambda functions into one Lambda function. Deploy the Lambda function as a single .zip file archive.
  4. D. Download the Python library to an S3 bucket. Program the Lambda functions to reference the object URLs.

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ề