DVA-C02 practice question · Security
A company's compliance requirement states that CloudTrail logs must not be deletable or modifiable by any user…
A company's compliance requirement states that CloudTrail logs must not be deletable or modifiable by any user, including administrators, once written. Which combination of S3 features on the CloudTrail log bucket best supports this?
- AS3 Object Lock in compliance mode with versioning enabled on the bucket
- BA bucket policy that simply denies s3:DeleteObject to everyone except administrators
- CDisabling versioning on the bucket to save storage costs
- DS3 Transfer Acceleration
Show the answer and explanation
Correct answer: A) S3 Object Lock in compliance mode with versioning enabled on the bucket
Why each option is right or wrong
- A) Correct. Object Lock in compliance mode prevents an object's version from being deleted or overwritten by any user, including the account root, for the configured retention period, and requires versioning to be enabled — directly satisfying an "even administrators can't delete it" requirement.
- B) Incorrect. This still leaves administrators able to delete the logs, which doesn't satisfy a requirement that says logs must be immutable even to administrators.
- C) Incorrect. Object Lock actually requires versioning to be enabled; disabling it would prevent this compliance control from working at all.
- D) Incorrect. Transfer Acceleration speeds up data transfer; it has no relationship to enforcing immutability of stored log objects.
- Exam domain
- Security · 26% of DVA-C02
- Question type
- Multiple choice (one answer)
Related DVA-C02 questions
- A Lambda function's resource-based policy allows the s3.amazonaws.com service principal to invoke the function in…Security
- A mobile application authenticates users via a third-party OpenID Connect provider directly (not through Cognito user…Security
- A company wants Cognito to support a custom, non-password authentication flow, such as a one-time code sent via a…Security
- A security team wants to be alerted automatically to unusual AWS API activity, such as a sudden spike in IAM policy…Security
All 67 free DVA-C02 questions by domain · 15 sample questions on one page
Practise the full DVA-C02 exam
This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.
Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.