nerdexam
Amazon

DBS-C01 · Question #86

A company maintains several databases using Amazon RDS for MySQL and PostgreSQL. Each RDS database generates log files with retention periods set to their default values. The company has now…

The correct answer is B. Modify the RDS databases to publish log to Amazon CloudWatch Logs. Change the log retention. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.Procedural.Uplo adtoCloudWatch.htm https://aws.amazon.com/premiumsupport/knowledge-center/rds-aurora-mysql-logs-cloudwatch/…

Submitted by carter_n· Mar 6, 2026Management and Operations

Question

A company maintains several databases using Amazon RDS for MySQL and PostgreSQL. Each RDS database generates log files with retention periods set to their default values. The company has now mandated that database logs be maintained for up to 90 days in a centralized repository to facilitate real-time and after-the-fact analyses. What should a Database Specialist do to meet these requirements with minimal effort?

Options

  • ACreate an AWS Lambda function to pull logs from the RDS databases and consolidate the log
  • BModify the RDS databases to publish log to Amazon CloudWatch Logs. Change the log retention
  • CWrite a stored procedure in each RDS database to download the logs and consolidate the log
  • DCreate an AWS Lambda function to download the logs from the RDS databases and publish the

How the community answered

(40 responses)
  • A
    8% (3)
  • B
    75% (30)
  • C
    3% (1)
  • D
    15% (6)

Explanation

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.Procedural.Uplo adtoCloudWatch.htm https://aws.amazon.com/premiumsupport/knowledge-center/rds-aurora-mysql-logs-cloudwatch/ https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionP

Topics

#RDS logs#CloudWatch Logs#Log retention#Centralized logging

Community Discussion

No community discussion yet for this question.

Full DBS-C01 Practice