A retail company is modernizing its catalog query service by refactoring the legacy application to use Amazon API Gateway and AWS Lambda. The application queries an Amazon RDS MySQL database. During promotional events, traffic is expected to spike from requests per second (RPS) to over RPS within a few seconds. The Solutions Architect must ensure that database connections are not exhausted and that the traffic burst does not exhaust the AWS account's regional concurrent execution limit, which would throttle other critical services. The API must also only be accessible by the company's internal web application running in a separate VPC.
Which combination of steps should the Solutions Architect implement to meet these requirements? (Select TWO.)
- Configure Amazon RDS Proxy for the database, configure the Lambda function to connect through the RDS Proxy endpoint, and configure a reserved concurrency limit on the Lambda function.Answer
- Deploy an Amazon API Gateway private API, create an interface VPC endpoint (AWS PrivateLink) for API Gateway in the application VPC, and configure a resource policy on the private API that allows access only from the VPC endpoint.Answer
- CEstablish direct database connections from the Lambda function to the database, and leave the Lambda function concurrency settings at default to allow maximum auto-scaling capacity to absorb the bursts.
- DConfigure the Lambda function to send write traffic to the primary database instance and read traffic to the standby instance of the Multi-AZ deployment to distribute the query load.
- EDeploy a single NAT Gateway in one public subnet of the application VPC, and route all outbound Lambda traffic through this NAT Gateway to establish static IP validation for database security.
- FUse AWS CodeDeploy to configure a linear deployment strategy with a 10% traffic shift every minute, and configure the Lambda function to bypass VPC integration to eliminate cold-start latency.