Multiple Choice
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?
A) Create an AWS Lambda function to pull logs from the RDS databases and consolidate the log files in an Amazon S3 bucket. Set a lifecycle policy to expire the objects after 90 days.
B) Modify the RDS databases to publish log to Amazon CloudWatch Logs. Change the log retention policy for each log group to expire the events after 90 days.
C) Write a stored procedure in each RDS database to download the logs and consolidate the log files in an Amazon S3 bucket. Set a lifecycle policy to expire the objects after 90 days.
D) Create an AWS Lambda function to download the logs from the RDS databases and publish the logs to Amazon CloudWatch Logs. Change the log retention policy for the log group to expire the events after 90 days.
Correct Answer:

Verified
Correct Answer:
Verified
Q146: An Amazon RDS EBS-optimized instance with Provisioned
Q147: A financial services company is developing a
Q148: A retail company is about to migrate
Q149: An online advertising website uses an Amazon
Q150: A startup company is building a new
Q151: A large financial services company requires that
Q152: A company is running its line of
Q153: A company is concerned about the cost
Q154: A gaming company is designing a mobile
Q156: A banking company recently launched an Amazon