DBS-C01 Database Security Practice Question
A company uses Amazon RDS for PostgreSQL with Multi-AZ deployment. The security team wants to ensure that any access to the database is logged, including SELECT queries. What should be done to capture these logs?
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
✓
Modify the DB parameter group to enable query logging and publish logs to Amazon CloudWatch Logs.
Enabling RDS Enhanced Monitoring does not capture query logs. Enabling automatic backups does not log queries. Enabling RDS Performance Insights does not log queries. To capture SELECT queries, you need to enable PostgreSQL query logging by setting the appropriate parameter group parameters (e.g., log_statement = 'all' or 'mod') and then export logs to CloudWatch Logs.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Modify the DB parameter group to enable query logging and publish logs to Amazon CloudWatch Logs.
Why this is correct
This captures query logs and stores them in CloudWatch.
- ✗
Enable automated backups and export logs to Amazon S3.
Why it's wrong here
Backups do not contain query logs.
- ✗
Enable RDS Performance Insights.
Why it's wrong here
Performance Insights shows performance data, not full query text.
- ✗
Enable RDS Enhanced Monitoring.
Why it's wrong here
Enhanced Monitoring captures OS metrics, not SQL queries.
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.