DBS-C01 Database Security Practice Question
Which TWO methods can be used to securely connect to an Amazon RDS for PostgreSQL DB instance from an EC2 instance in the same VPC? (Select TWO.)
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
✓
Use IAM database authentication.
Using SSL/TLS encrypts the connection. Using IAM database authentication provides a secure authentication mechanism. A security group allows traffic but does not encrypt. A VPC peering connection does not encrypt. A bastion host may add encryption but is not a method itself.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use IAM database authentication.
Why this is correct
IAM authentication provides secure authentication.
- ✗
Configure a security group that allows all traffic from the EC2 instance.
Why it's wrong here
Security groups do not encrypt.
- ✗
Use a bastion host to proxy the connection.
Why it's wrong here
Bastion host does not inherently encrypt the connection.
- ✓
Connect using SSL/TLS.
Why this is correct
SSL/TLS encrypts the connection.
- ✗
Set up a VPC peering connection between the EC2 VPC and the RDS VPC.
Why it's wrong here
VPC peering does not encrypt.
Go deeper
Related to this question
About these practice questions
One of 1,663 original DBS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.