
Answer-first summary for fast verification
Answer: Create new Amazon DynamoDB tables for the application with on-demand capacity. Use a gateway VPC endpoint for DynamoDB to connect to the DynamoDB tables
Creating new Amazon DynamoDB tables with on-demand capacity and using a gateway VPC endpoint for DynamoDB addresses all the company's requirements effectively. 1. **Private Subnet without Internet Connection**: Using a gateway VPC endpoint for DynamoDB allows instances in a private subnet to access DynamoDB without needing an Internet Gateway, NAT device, or VPN connection. This fits the requirement of hosting EC2 instances in a private subnet without an internet connection. 2. **Encrypted Connectivity**: AWS VPC endpoints automatically encrypt data between EC2 instances in the VPC and DynamoDB, ensuring that all connectivity between the application and the database is encrypted. 3. **Scalability**: DynamoDB supports on-demand capacity, which allows the database to scale automatically based on demand. This ensures that the database can handle varying levels of traffic without manual intervention. By leveraging these features, the solution meets the company’s need for secure, scalable, and private connectivity to the database.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company is migrating a legacy application from an on-premises data center to AWS. The application uses MongoDB as a key-value database. According to the company's technical guidelines, all Amazon EC2instances must be hosted in a private subnet without an internet connection. In addition, all connectivity between applications and databases must be encrypted. The database must be able to scale based on demand. Which solution will meet these requirements?
A
Create new Amazon DocumentDB (with MongoDB compatibility) tables for the application with Provisioned lOPS volumes Use the instance endpoint to connect to Amazon DocumentDB
B
Create new Amazon DynamoDB tables for the application with on-demand capacity. Use a gateway VPC endpoint for DynamoDB to connect to the DynamoDB tables
C
Create new Amazon DynamoDB tables for the application with on-demand capacity. Use an interface VPC endpoint for DynamoDB to connect to the DynamoDB tables
D
Create new Amazon DocumentDB (with MongoDB compatibility) tables for the application with Provisioned IOPS volumes. Use the cluster endpoint to connect to Amazon DocumentDB