A credit card processing application, hosted on an on-premises server, needs to communicate directly with a database hosted on an Amazon EC2 instance running in a private subnet of a VPC. Compliance requirements state that end-toend communication should be encrypted.
Which solution will ensure that this requirement is met?
A. Use HTTPS for traffic over VPC peering between the VPC and the on-premises datacenter.
B. Use HTTPS for traffic over the Internet between the on-premises server and the Amazon EC2 instance.
C. Use HTTPS for traffic over a VPN connection between the VPC and the on-premises datacenter.
D. Use HTTPS for traffic over gateway VPC endpoints that have been configured for the Amazon EC2 instance.