AWS Cloud Practitioner · Security and Compliance · medium

A security team wants continuous, automated threat detection that analyzes AWS CloudTrail management events, Amazon VPC Flow Logs, and DNS logs to identify cryptocurrency mining or compromised credentials. Which service should they enable?

Published · Last updated · checked before publication — how we verify questions

Options

  • AAmazon GuardDuty managed intelligent threat detection serviceCorrect answer
  • BAWS Secrets Manager service for rotating database credentials
  • CAWS Service Catalog for publishing pre-approved CloudFormation products
  • DAmazon Macie service for discovering sensitive PII inside S3 buckets

Answer: A. Amazon GuardDuty managed intelligent threat detection service

Amazon GuardDuty is the AWS managed threat detection service that continuously analyzes foundational data sources, including CloudTrail management events, VPC Flow Logs, and DNS query logs, using machine learning, anomaly detection, and threat intelligence feeds. It produces findings for activity such as cryptocurrency mining, communication with known malicious IP addresses, and use of compromised credentials. It is enabled with a few clicks, needs no agents or sensors, and does not require you to turn on or manage the log sources yourself, which is why it fits a requirement for continuous, automated detection. The exam concept is matching the described capability to the right security service: GuardDuty detects threats, Macie discovers sensitive data, Inspector scans for vulnerabilities, and Detective investigates root cause. The most common trap is picking a service that sounds security-related but handles a different job, such as secrets storage or sensitive data discovery, instead of the one that analyzes logs for malicious behavior.

Why the other options are wrong

  • B. AWS Secrets Manager service for rotating database credentials — AWS Secrets Manager is a service for storing, retrieving, and automatically rotating secrets such as database credentials and API keys. It does not analyze CloudTrail, VPC Flow Logs, or DNS logs, so it cannot detect cryptocurrency mining or compromised credentials.
  • C. AWS Service Catalog for publishing pre-approved CloudFormation products — AWS Service Catalog lets organizations publish and govern pre-approved CloudFormation-based products for self-service deployment. It is a governance and provisioning tool, not a threat detection service, and it does not analyze logs for malicious activity.
  • D. Amazon Macie service for discovering sensitive PII inside S3 buckets — Amazon Macie uses machine learning and pattern matching to discover and protect sensitive data such as PII in Amazon S3 buckets. It focuses on data classification and not on analyzing network or DNS logs for threats, so it would not identify cryptocurrency mining or compromised credentials.

All Security and Compliance questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.