A retail company is modernizing its order fulfillment processing system by migrating its legacy database and order-receiving application to a serverless architecture on AWS. The system must process orders via a public HTTPS endpoint, run validation logic in AWS Lambda, and store transaction details in an Amazon Aurora PostgreSQL database. During seasonal promotional events, order volume spikes unpredictably. The solutions architect must ensure that the database is protected from connection exhaustion, outbound transactions to external credit card processors remain highly available, and the serverless components do not disrupt other critical applications in the same AWS region by exhausting shared concurrency limits.
Which TWO of the following actions should the Solutions Architect take to build a secure, resilient, and high-performing architecture?
- Deploy Amazon RDS Proxy in the private subnets of the VPC to manage and pool database connections from the Lambda functions to the Aurora PostgreSQL cluster.Answer
- Configure reserved concurrency on the validation Lambda function to limit its maximum concurrent executions and protect the regional concurrency pool.Answer
- CConfigure provisioned concurrency on the Lambda function without reserved concurrency to allow it to scale dynamically up to the regional limit without any throttling.
- DDeploy a single NAT Gateway in one Availability Zone to handle all outbound transaction traffic to the external payment processor from all private subnets.
- EStore the database credentials in AWS Secrets Manager encrypted with the default AWS managed KMS key, and configure cross-account resource policies on the key to grant the Lambda execution role access.