Courseiva
Database SecuritymediumMultiple SelectObjective-mapped

DBS-C01 Database Security Practice Question

A company uses Amazon RDS for PostgreSQL and wants to audit all database login attempts. Which TWO services can be used together to achieve 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 AWS CloudTrail.

To audit all database login attempts in RDS for PostgreSQL, you need to capture both the configuration changes (e.g., enabling audit logging) and the actual login events. AWS CloudTrail (Option A) records management API calls, such as modifying the DB parameter group to enable logging to CloudWatch Logs. Option E enables RDS for PostgreSQL to log login attempts directly to CloudWatch Logs. Together, they provide complete auditing: CloudTrail for the administrative actions and CloudWatch Logs for the login events. The other options do not capture login attempts.

Answer analysis

Option-by-option breakdown

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

  • Enable AWS CloudTrail.

    Why this is correct

    Correct. CloudTrail captures management API calls, including those that modify the DB parameter group to enable audit logging, which is part of the auditing process.

  • Enable VPC Flow Logs.

    Why it's wrong here

    Incorrect. VPC Flow Logs capture network traffic, not database login attempts.

  • Enable S3 access logs to capture API calls.

    Why it's wrong here

    Incorrect. S3 access logs capture object-level API calls in S3, not RDS login events.

  • Enable RDS Enhanced Monitoring.

    Why it's wrong here

    Incorrect. Enhanced Monitoring provides OS-level metrics, not database login attempts.

  • Enable RDS for PostgreSQL to log to CloudWatch Logs.

    Why this is correct

    Correct. RDS for PostgreSQL can log login attempts to CloudWatch Logs, directly capturing the required audit data.

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 →

How Courseiva writes practice questions · Editorial policy

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.