Courseiva

AIF-C01 Practice Question: Security, Compliance, and Governance for AI Solutions

A company wants to automatically discover sensitive data such as credit card numbers in their Amazon S3 training datasets before using them for model training. Which AWS service should they use?

⚠ Common exam trap

AIF-C01 often tests the confusion between data classification services (Macie) and threat detection or compliance services (GuardDuty, Config, Audit Manager), so candidates must map 'sensitive data in S3' directly to Macie.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Amazon Macie

Amazon Macie is a fully managed data security service that uses machine learning and pattern matching to automatically discover, classify, and protect sensitive data stored in Amazon S3. It is purpose-built to detect PII such as credit card numbers, social security numbers, and API keys in S3 buckets, making it the correct choice for scanning training datasets before use.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Amazon Macie

    Why this is correct

    Amazon Macie uses machine learning and pattern matching to automatically discover, classify and alert on sensitive data such as credit card numbers stored in Amazon S3. It directly satisfies the requirement to scan S3 training datasets before use, providing continuous visibility without manual inspection or custom scripts.

  • ✗

    AWS Config

    Why it's wrong here

    AWS Config records resource configuration changes and evaluates compliance rules; it does not inspect object contents for credit card numbers. It tempts because it audits S3 bucket settings, but detecting sensitive data inside objects requires Amazon Macie, which uses pattern matching and machine learning to identify PII in S3.

  • ✗

    Amazon GuardDuty

    Why it's wrong here

    GuardDuty detects anomalous activity and threats in accounts, workloads and logs; it does not scan S3 object contents for credit card numbers. It tempts because it monitors S3 for suspicious behaviour, but data discovery of sensitive content requires Amazon Macie's managed identifiers and custom data identifiers.

  • ✗

    AWS Audit Manager

    Why it's wrong here

    Audit Manager collects evidence and assesses controls against frameworks; it does not scan S3 objects for credit card numbers. It tempts because it supports compliance reporting, but discovering sensitive data within datasets is Amazon Macie's function, using pattern matching and machine learning classification of S3 objects.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every AIF-C01 question from scratch — 862 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint

This AIF-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AIF-C01 exam.