[CLF-C02 Practice Questions Q23] Threat Detection (Amazon GuardDuty)

CLF-C02 Practice Questions Q23 Threat Detection (Amazon GuardDuty) Certification

“The service that finds threats, the one that looks for vulnerabilities, and the one that keeps records are all named after security, and I mix them up.”
“CloudTrail keeps a record of operations, so I assume it can find suspicious activity too.”

AWS Certified Cloud Practitioner (exam code CLF-C02, CLF below) asks you to choose the detection service by telling apart “suspicious activity (threats),” “software weaknesses (vulnerabilities),” “sensitive data,” and “a record of operations” from the words in the question. The deciding factor is which word in the question points to which service.

This article is Question 23 of a series that explains CLF practice questions one at a time. The author wrote the questions to match the scope of the exam; they are not actual exam questions. Choose your answer first, then read the explanation.


Question

A security officer at a company wants to notice suspicious activity in its AWS account early. Examples of signs are an EC2 instance suddenly launched in a Region the company has never used, and an EC2 instance communicating with a malicious IP address. The company wants to detect such threats continuously without building its own log analysis system. Which AWS service should it use?

  • A. Amazon Macie
  • B. AWS CloudTrail
  • C. Amazon GuardDuty
  • D. Amazon Inspector

Once you have chosen your answer, open the section below.

Show the answer (click to open)

Answer: C

Once you enable it, Amazon GuardDuty automatically analyzes CloudTrail management events, VPC Flow Logs, and DNS logs, and continuously detects suspicious activity (threats). You do not have to build a log analysis system yourself.


The answer is C

The correct answer is C.

  • Amazon GuardDuty is a service that detects threats
  • Once you enable it, it analyzes logs automatically and finds suspicious activity

Let’s look at the options one at a time.


Explanation of each option

A: Macie is for sensitive data in S3 (incorrect)

On the left, Amazon Macie: "Finds sensitive data in S3." In the middle, "Looks at: inside S3 buckets": it detects sensitive data (e.g., PII) inside S3 buckets with machine learning and pattern matching. On the right, a red box titled "Signs in this question" lists a launch in a Region never used before and traffic with a malicious IP address, with a cross mark on "Does not look at account activity"

Amazon Macie is a service that finds sensitive data inside Amazon S3 buckets. As shown in the middle of the diagram, it detects personally identifiable information and similar data with machine learning and pattern matching.

What it looks at is the data stored in S3. It does not detect suspicious activity inside the account.

B: CloudTrail only records (incorrect)

On the left, AWS CloudTrail: "Records API calls." In the middle, "Record of actions (a log ledger)": a table of when, who, and what (10:02 user-a RunInstances, 10:05 user-b CreateUser, 10:09 user-a DeleteBucket), with an arrow to "GuardDuty uses this record as material to analyze." On the right, a red box lists the signs in this question (a launch in a Region never used before and traffic with a malicious IP address), with a cross mark on "Only records. Does not analyze to detect"

AWS CloudTrail is a service that records API calls. As shown in the middle of the diagram, it keeps a ledger of when, who, and what.

However, it only records. It does not analyze the records to find threats. GuardDuty is the service that uses these records as material to find threats.

C: GuardDuty analyzes logs automatically (correct)

From the three basic data sources on the left (CloudTrail management events, VPC Flow Logs, and DNS logs), arrows converge on Amazon GuardDuty in the middle. Inside GuardDuty are threat intelligence (lists of malicious IPs, etc.) and machine learning. The findings on the right are a launch in a Region never used before, traffic with a malicious IP address, and leaked credentials, etc. At the bottom: "Just turn it on. No need to build your own log analysis"

Amazon GuardDuty is a threat detection service. It automatically analyzes the logs on the left of the diagram (CloudTrail management events, VPC Flow Logs, and DNS logs) without the customer preparing anything. Using lists of malicious IP addresses and machine learning, it finds suspicious activity like that on the right of the diagram.

All the customer has to do is enable GuardDuty. You do not have to build a log analysis system yourself.

D: Inspector looks for vulnerabilities (incorrect)

On the left, Amazon Inspector: "Finds software weaknesses (vulnerabilities)." In the middle, "Looks at: software weaknesses": it continuously scans EC2 instances, container images, and Lambda functions for CVEs, to find and fix in advance weak spots that might be exploited. On the right, a red box lists the signs in this question (a launch in a Region never used before and traffic with a malicious IP address), with a cross mark on "Does not look at activity happening now"

Amazon Inspector is a service that looks for software weaknesses, that is, vulnerabilities. It continuously scans EC2 instances, container images, and Lambda functions. It is meant for finding and fixing, in advance, weak spots that might be used in an attack.

A vulnerability is a weak spot. It does not detect the suspicious activity that is happening now.


How to tell the four services apart

Suspicious activity (a threat) is GuardDuty, a software weakness (a vulnerability) is Inspector, sensitive data in S3 is Macie, and a record of operations is CloudTrail. On the exam, you tell them apart by the words threat, vulnerability, sensitive data, and record.

What you want to findServiceWhat it looks at
Suspicious activity (threats)Amazon GuardDutyCloudTrail management events, VPC Flow Logs, DNS logs
Software weaknesses (vulnerabilities)Amazon InspectorEC2, container images, Lambda
Sensitive data (such as personal information)Amazon MacieInside S3 buckets
Keeping a record of operationsAWS CloudTrailAPI calls

Key points

  • Continuously detecting suspicious activity (threats) = Amazon GuardDuty
  • Once enabled, it automatically analyzes CloudTrail, VPC Flow Logs, and DNS logs
  • Vulnerabilities = Inspector, sensitive data in S3 = Macie, record of operations = CloudTrail

The course articles explain in detail the roles of GuardDuty, Inspector, and Macie and when to use which, and how CloudTrail keeps records.

  • Lecture 10, Part 8: Detection and investigation services
  • Lecture 9, Part 2: AWS CloudTrail

You can read all 14 lectures of AWS Cloud Practitioner Exam Prep in order from its series page.


The CLF-C02 Practice Questions series (100 questions)

All 100 questions with a reading guide: CLF-C02 Practice Questions

In this group (Questions 19–30: The shared responsibility model and security):

This series is the English edition of 【CLF-C02 試験対策問題】, originally written in Japanese.

コメント

Copied title and URL