exam questions

Exam AWS Certified Database - Specialty All Questions

View all questions & answers for the AWS Certified Database - Specialty exam

Exam AWS Certified Database - Specialty topic 1 question 56 discussion

Exam question from Amazon's AWS Certified Database - Specialty
Question #: 56
Topic #: 1
[All AWS Certified Database - Specialty Questions]

A marketing company is using Amazon DocumentDB and requires that database audit logs be enabled. A Database Specialist needs to configure monitoring so that all data definition language (DDL) statements performed are visible to the Administrator. The Database Specialist has set the audit_logs parameter to enabled in the cluster parameter group.
What should the Database Specialist do to automatically collect the database logs for the Administrator?

  • A. Enable DocumentDB to export the logs to Amazon CloudWatch Logs
  • B. Enable DocumentDB to export the logs to AWS CloudTrail
  • C. Enable DocumentDB Events to export the logs to Amazon CloudWatch Logs
  • D. Configure an AWS Lambda function to download the logs using the download-db-log-file-portion operation and store the logs in Amazon S3
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
leunamE
Highly Voted 3 years, 6 months ago
Option A.
upvoted 13 times
...
jeyp12
Highly Voted 3 years, 3 months ago
Looks like option C was added as a distractor. When the value of the audit_logs cluster parameter is enabled, you must also enable Amazon DocumentDB to export logs to Amazon CloudWatch. If you omit either of these steps, audit logs will not be sent to CloudWatch. Answer should be A
upvoted 13 times
...
MultiAZ
Most Recent 1 year, 4 months ago
Selected Answer: A
Option A - enable audit log - enable export to ClopudWatch Logs
upvoted 1 times
...
Pranava_GCP
1 year, 8 months ago
Selected Answer: A
A. Enable DocumentDB to export the logs to Amazon CloudWatch Logs https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html " When auditing is enabled, Amazon DocumentDB exports your cluster’s auditing records (JSON documents) to Amazon CloudWatch Logs. You can use Amazon CloudWatch Logs to analyze, monitor, and archive your Amazon DocumentDB auditing events."
upvoted 1 times
...
IhorK
1 year, 9 months ago
Selected Answer: A
Amazon DocumentDB auditing supports the following event categories: - Data Definition Language (DDL) - Data Manipulation Language(DML) Enabling auditing on a cluster is a two-step process. Step 1. Enable the audit_logs cluster parameter (done) Step 2. Enable Amazon CloudWatch Logs Export https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html
upvoted 1 times
...
adelcold
1 year, 11 months ago
Selected Answer: A
https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html
upvoted 1 times
...
f___16
2 years ago
The audit logs are for Document DB events. But to enable it, we must enable CloudWatch Logs exports on Document DB not Document DB Events.
upvoted 2 times
...
Pankaj24hrs
2 years ago
Option A Below is from AWS Documentation - https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html When the value of the audit_logs cluster parameter is enabled, you must also enable Amazon DocumentDB to export logs to Amazon CloudWatch. If you omit either of these steps, audit logs will not be sent to CloudWatch.
upvoted 2 times
...
backbencher2022
2 years, 2 months ago
Selected Answer: A
A is the correct option as this is a mandatory step besides changing the value of audit_logs parameter
upvoted 1 times
...
backbencher2022
2 years, 2 months ago
A is the correct answer
upvoted 1 times
...
Nice_Guy
2 years, 2 months ago
I don't know if this sounds like a silly question, but how about B?
upvoted 1 times
...
renfdo
2 years, 4 months ago
Selected Answer: A
Answer is A with sure. When you go to the console and hit on create a cluster, you will see an option to enable exports Profile and Audit logs to cloudwatch.
upvoted 1 times
...
Arun32
2 years, 6 months ago
Option A is correct. Just validated from AWS site: When the value of the audit_logs cluster parameter is enabled, you must also enable Amazon DocumentDB to export logs to Amazon CloudWatch. If you omit either of these steps, audit logs will not be sent to CloudWatch.
upvoted 2 times
...
awsjjj
2 years, 7 months ago
Selected Answer: A
I am leaning towards A.
upvoted 1 times
...
Chirantan
2 years, 10 months ago
I think Answer is A When auditing is enabled, Amazon DocumentDB exports your cluster’s auditing records (JSON documents) to Amazon CloudWatch Logs. You can use Amazon CloudWatch Logs to analyze, monitor, and archive your Amazon DocumentDB auditing events.
upvoted 3 times
...
kush_sumit
2 years, 10 months ago
Selected Answer: A
Answer A: https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html Step 2. Enable Amazon CloudWatch Logs Export When the value of the audit_logs cluster parameter is enabled, you must also enable Amazon DocumentDB to export logs to Amazon CloudWatch. If you omit either of these steps, audit logs will not be sent to CloudWatch. Do not get confused with "Amazon DocumentDB records Data Definition Language (DDL), authentication, authorization, and user management events to Amazon CloudWatch Logs." The above event start to get recorded when you enable auditing via enabling audit_log parameter.
upvoted 5 times
...
kush_sumit
2 years, 10 months ago
Answer A: https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html Step 2. Enable Amazon CloudWatch Logs Export When the value of the audit_logs cluster parameter is enabled, you must also enable Amazon DocumentDB to export logs to Amazon CloudWatch. If you omit either of these steps, audit logs will not be sent to CloudWatch. When creating a cluster, performing a point-in-time-restore, or restoring a snapshot, you can enable CloudWatch Logs by following these steps. Do not get confused with "Amazon DocumentDB records Data Definition Language (DDL), authentication, authorization, and user management events to Amazon CloudWatch Logs." The above event start to get recorded when you enable auditing via enabling audit_log parameter.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...