Which combination of steps should the Database Specialist take to meet the logging and retention requirements?

A company is using Amazon RDS for PostgreSQL. The Security team wants all database connection requests to be logged and retained for 180 days. The RDS for PostgreSQL DB instance is currently using the default parameter group. A Database Specialist has identified that setting the log_connections parameter to 1 will enable connections logging.
Which combination of steps should the Database Specialist take to meet the logging and retention requirements? (Choose two.)
A. Update the log_connections parameter in the default parameter group
B. Create a custom parameter group, update the log_connections parameter, and associate the parameter with the DB instance
C. Enable publishing of database engine logs to Amazon CloudWatch Logs and set the event expiration to 180 days
D. Enable publishing of database engine logs to an Amazon S3 bucket and set the lifecycle policy to 180 days
E. Connect to the RDS PostgreSQL host and update the log_connections parameter in the postgresql.conf file

Amazon AWS Certified Database – Specialty (DBS-C01)

Free dumps for CLF-C01 in Printable PDF format.

High quality PDF and software. VALID exam to help you pass.

amazon-exams

4 thoughts on “Which combination of steps should the Database Specialist take to meet the logging and retention requirements?

  1. The correct answer is B,C because the how to set and retention period is the key. You can’t modify the default parameter group, therefore it is required to create another group. Regarding retention period, default max value to keep the logs is seven days. But we can export the logs to cloudwatch and keep it for indefinite time

    https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.Concepts.PostgreSQL.html#USER_LogAccess.PostgreSQL.log_retention_period

    https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.Concepts.PostgreSQL.html#USER_LogAccess.PostgreSQL.PublishtoCloudWatchLogs

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.