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/…
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)- A8% (3)
- B75% (30)
- C3% (1)
- D15% (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
Community Discussion
No community discussion yet for this question.