nerdexam
Amazon

SAP-C02 · Question #372

A company is developing a new serverless API by using Amazon API Gateway and AWS Lambda. The company integrated the Lambda functions with API Gateway to use several shared libraries and custom…

The correct answer is D. Deploy the shared libraries, custom classes, and code for the API's Lambda functions to a Docker. https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html

Submitted by krish.m· Mar 6, 2026Design for New Solutions

Question

A company is developing a new serverless API by using Amazon API Gateway and AWS Lambda. The company integrated the Lambda functions with API Gateway to use several shared libraries and custom classes. A solutions architect needs to simplify the deployment of the solution and optimize for code reuse. Which solution will meet these requirements?

Options

  • ADeploy the shared libraries and custom classes into a Docker image. Store the image in an S3
  • BDeploy the shared libraries and custom classes to a Docker image. Upload the image to Amazon
  • CDeploy the shared libraries and custom classes to a Docker container in Amazon Elastic
  • DDeploy the shared libraries, custom classes, and code for the API's Lambda functions to a Docker

How the community answered

(22 responses)
  • A
    14% (3)
  • C
    9% (2)
  • D
    77% (17)

Explanation

https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice