A financial services firm hosts a transaction processing application on Amazon EC2 instances in private subnets of a VPC. The instances must retrieve database credentials from AWS Secrets Manager and write transaction logs to an Amazon DynamoDB table. The architecture must prevent all traffic to these services from traversing the public internet, and data transfer costs must be minimized. Which TWO actions should a solutions architect take to meet these requirements? (Select TWO.)
- Create an interface VPC endpoint for AWS Secrets Manager in the private subnets and enable private DNS.Cevap
- Create a gateway VPC endpoint for Amazon DynamoDB and associate it with the private subnet route tables.Cevap
- CDeploy a NAT Gateway in a public subnet, and route all DynamoDB traffic through the NAT Gateway.
- DConfigure a security group for the Amazon DynamoDB table that allows inbound HTTPS traffic from the EC2 instances' security group.
- EAssociate a security group with the gateway VPC endpoint for DynamoDB to restrict traffic to the EC2 instances.
Cevap
The correct configurations are to create an interface VPC endpoint for AWS Secrets Manager with private DNS enabled, and to create a gateway VPC endpoint for Amazon DynamoDB associated with the private subnet route tables.
Creating an interface VPC endpoint for AWS Secrets Manager provides secure, private connectivity via PrivateLink and private DNS. Creating a gateway VPC endpoint for DynamoDB provides a secure, cost-free route to DynamoDB that is managed directly via the private subnet route tables, fulfilling both the isolation and cost-minimization requirements.
Adım Adım Çözüm
Anahtar Kavram
Private VPC access to AWS services using VPC endpoints (Gateway and Interface types) to secure traffic and optimize costs.