[CLF-C02 Practice Questions Q25] Discovering Sensitive Data in S3 (Amazon Macie)

CLF-C02 Practice Questions Q25 Discovering Sensitive Data in S3 (Amazon Macie) Certification

“I heard GuardDuty protects S3 too, so I feel it should find the personal information inside S3 as well.”
“Detective and Inspector both sound like ‘services that investigate,’ and I can’t tell what each one investigates.”

AWS Certified Cloud Practitioner (exam code CLF-C02, CLF below) asks you to tell apart the service that finds sensitive data inside S3 files from the services for threats, vulnerabilities, and investigating causes. The dividing line is whether it “inspects the contents of files” or “looks at activity and logs.”

This article is Question 25 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 company stores application forms received from customers as files in several Amazon S3 buckets. It wants to automatically check every day how many of the files contain personal information such as names, addresses, and passport numbers, and to get the results as a list. Which AWS service should it use?

  • A. Amazon Macie
  • B. Amazon Detective
  • C. Amazon GuardDuty
  • D. Amazon Inspector

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

Show the answer (click to open)

Answer: A

Amazon Macie is a service that finds sensitive data, such as personal information, in data stored in S3 by using machine learning and pattern matching. When you enable automated sensitive data discovery, it evaluates your buckets every day, selects files and inspects their contents, and lists the findings.


The answer is A

The correct answer is A.

  • Amazon Macie is a service that finds sensitive data such as personal information in data stored in S3

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


Explanation of each option

A: Macie detects sensitive data in S3 (correct)

On the left are multiple S3 buckets, each containing application files. Arrows converge on Amazon Macie in the middle, which has three stages: "Evaluates buckets daily," "Selects files (sampling) and inspects their contents," and "Managed data identifiers." The findings (list) on the right: app_0012.pdf has a passport number, app_0158.pdf has a credit card number, and app_0203.pdf has a passport number. It also evaluates S3 bucket encryption and public access. At the bottom: "Automatically finds sensitive data (e.g., PII) in file contents every day"

Amazon Macie is a data security service that finds sensitive data in S3 by using machine learning and pattern matching. When you enable automated sensitive data discovery, it evaluates your buckets every day and selects files to inspect their contents.

Passport numbers, credit card numbers, and the like can be found with the managed data identifiers that Macie provides. What it finds is listed as findings, as shown on the right of the diagram.

B: Detective investigates causes (incorrect)

On the left, Amazon Detective: "Investigates the cause of security findings." In the middle, "Material: logs and findings": from CloudTrail, VPC Flow Logs, and GuardDuty findings, it builds behavior graphs to investigate root causes, and after a finding appears, it traces back what happened. On the right, a red box titled "Requirements in this question" lists finding personal information inside files and checking automatically every day and listing the results, with a cross mark on "Investigates causes. Does not look inside files"

Amazon Detective is a service that investigates the causes of security findings. As shown in the middle of the diagram, it builds behavior graphs from material such as CloudTrail, VPC Flow Logs, and GuardDuty findings. You use them to trace back what happened.

It is not a service for finding personal information inside files.

C: GuardDuty detects suspicious activity (incorrect)

On the left, Amazon GuardDuty: "Finds suspicious activity (threats) in the account." In the middle, "Looks at: account activity": from CloudTrail management events, VPC Flow Logs, and DNS logs, it detects threats (suspicious activity), for example suspicious access to S3; it looks at who accessed what and how, not at what the files contain. On the right, a red box titled "Requirements in this question" lists finding personal information inside files and checking automatically every day and listing the results, with a cross mark on "Detects suspicious activity. Does not look inside files"

Amazon GuardDuty is a service that detects suspicious activity inside the account, that is, threats. It can find suspicious access to S3. However, it does not check whether files contain personal information.

GuardDuty looks at how data is accessed, and Macie looks at what is inside the files.

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 vulnerabilities, and does not inspect data stored in S3. On the right, a red box titled "Requirements in this question" lists finding personal information inside files and checking automatically every day and listing the results, with a cross mark on "Detects vulnerabilities. Does not look at S3 data"

Amazon Inspector is a service that scans for software weaknesses, that is, vulnerabilities. As shown in the middle of the diagram, its targets are EC2 instances, container images, and Lambda functions.

It does not inspect the contents of data stored in S3.


Choose by what you want to find

Sensitive data in S3 (for example, personal information) is Macie, suspicious activity (threats) is GuardDuty, software weaknesses (vulnerabilities) is Inspector, and investigating the cause of findings is Detective. On the exam, you tell them apart by the words sensitive data, threat, vulnerability, and investigation.

What you want to findServiceWhat it looks at
Sensitive data (such as personal information)Amazon MacieFiles inside S3 buckets
Suspicious activity (threats)Amazon GuardDutyCloudTrail management events, VPC Flow Logs, DNS logs
Software weaknesses (vulnerabilities)Amazon InspectorEC2, container images, Lambda
Investigating the cause of findingsAmazon DetectiveCloudTrail, VPC Flow Logs, GuardDuty findings

Key points

  • Finding personal information (sensitive data) in S3 = Amazon Macie
  • Automated sensitive data discovery evaluates buckets every day and inspects the contents of files
  • Threats = GuardDuty, vulnerabilities = Inspector, investigating causes = Detective

The course article explains in detail the roles of Macie, GuardDuty, Inspector, and Detective and when to use which.

  • Lecture 10, Part 8: Detection and investigation services

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