DVA-C02 practice question · Security
A security team wants to be alerted automatically to unusual AWS API activity, such as a sudden spike in IAM policy…
A security team wants to be alerted automatically to unusual AWS API activity, such as a sudden spike in IAM policy changes or a burst of failed API calls. They do not want to write and maintain a separate detection rule for every API pattern they might care about. Which feature meets this requirement?
- ACloudTrail Insights, which learns a baseline of normal API call rates and error rates and logs Insights events when activity deviates from it
- BCloudTrail log file integrity validation, which uses digest files to detect whether delivered log files were modified or deleted
- CCloudWatch Logs metric filters on the trail's log group, with a CloudWatch alarm configured for each API pattern the team wants to watch
- DAWS Config managed rules, which continuously evaluate whether recorded resource configurations comply with the settings the team wants
Show the answer and explanation
Correct answer: A) CloudTrail Insights, which learns a baseline of normal API call rates and error rates and logs Insights events when activity deviates from it
CloudTrail Insights builds a baseline of normal API call rates and error rates from management and data events, and automatically logs Insights events when activity deviates from it. No hand-written rule is needed for each pattern.
Why each option is right or wrong
- A) Correct. CloudTrail Insights analyzes past management and data events to build a baseline of normal API call rates and API error rates. It then generates Insights events when current activity deviates from that baseline, so the team does not need to write a rule for each pattern.
- B) Incorrect. Integrity validation shows whether log files were tampered with after delivery. It does not analyze API activity for unusual call volumes or error rates.
- C) Incorrect. Metric filters with alarms can alert on API activity, but someone must define a filter and threshold for every pattern in advance. That is the manual rule-writing the team wants to avoid.
- D) Incorrect. AWS Config rules check resource configuration compliance. They do not baseline API call rates or detect unusual spikes in API activity.
- Exam domain
- Security · 26% of DVA-C02
- Question type
- Multiple choice (one answer)
Related DVA-C02 questions
- A developer is writing a custom AWS Lambda rotation function for an AWS Secrets Manager secret that stores credentials…Security
- A developer's application runs under an IAM role in a member account of an AWS Organizations organization.Security
- Which AWS service should a developer use to manage user sign-up, sign-in, and access control for a mobile or web…Security
- A web application stores session tokens and needs to prevent them from being read by client-side JavaScript in the…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.