Courseiva
Database SecurityhardMultiple SelectObjective-mapped

DBS-C01 Database Security Practice Question

A company uses Amazon RDS for MySQL with Multi-AZ deployment. The security team wants to audit all database logins and queries. Which TWO actions should be taken to enable auditing?

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

Publish MySQL logs to Amazon CloudWatch Logs.

Options C and D are correct. Setting the general_log parameter to 1 (D) captures all queries, and publishing MySQL logs to CloudWatch Logs (C) allows analysis. Option A is wrong because AWS CloudTrail data events capture API calls to RDS, not database queries. Option B is wrong because event notifications are for instance events, not queries. Option E is wrong because Enhanced Monitoring provides OS-level metrics, not query 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.

  • Enable AWS CloudTrail data events for RDS.

    Why it's wrong here

    Wrong because RDS does not support AWS CloudTrail for database queries (CloudTrail is for API calls).

  • Create an RDS event notification subscription.

    Why it's wrong here

    Wrong because event notifications are for instance events, not queries.

  • Publish MySQL logs to Amazon CloudWatch Logs.

    Why this is correct

    Correct because it allows analysis of database logs.

  • Set the general_log parameter to 1.

    Why this is correct

    Correct because it captures all queries.

  • Enable Enhanced Monitoring.

    Why it's wrong here

    Wrong because enhanced monitoring is for performance, not queries.

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.