Courseiva
Question 1,002 of 1,663
Database SecuritymediumMultiple ChoiceObjective-mapped

DBS-C01 Database Security Practice Question

A company has an Amazon RDS for PostgreSQL DB instance that needs to be accessed by an application running on an Amazon EC2 instance. Both resources are in the same VPC. The security team insists that all traffic between the application and the database be encrypted in transit. Which configuration ensures this?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Enable SSL/TLS on the RDS instance and configure the application to connect using SSL.

Enabling SSL/TLS on the RDS for PostgreSQL DB instance and configuring the application to connect using SSL ensures encryption in transit. Option A is incorrect because security group rules control access (firewall), not encryption. Option B is incorrect because a Site-to-Site VPN is used for on-premises to VPC connectivity, not for same-VPC communication. Option D is incorrect because VPC peering is for connecting separate VPCs, and both resources are already in the same VPC.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Add a security group rule that allows traffic only from the EC2 instance's private IP.

    Why it's wrong here

    Security groups do not encrypt traffic; they only filter it.

  • Create an AWS Site-to-Site VPN connection between the EC2 instance and the RDS instance.

    Why it's wrong here

    A VPN is unnecessary for same-VPC traffic and adds complexity.

  • Enable SSL/TLS on the RDS instance and configure the application to connect using SSL.

    Why this is correct

    SSL/TLS encrypts the database connection.

  • Set up VPC peering between the EC2 instance's VPC and the RDS instance's VPC.

    Why it's wrong here

    VPC peering does not encrypt traffic by default.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 20, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This DBS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DBS-C01 exam.