CertNote/ Commute Study Notes
Roadmap
KOEN
CLF-C02 · FoundationalCloud Practitioner - Foundational
DVA-C02 · AssociateDeveloper - Associate
SAA-C03 · AssociateSolutions Architect - Associate
SOA-C02 · AssociateCloudOps Engineer - Associate
SAP-C02 · ProfessionalSolutions Architect - Professional
DOP-C02 · ProfessionalDevOps Engineer - Professional
Linux Master 2 · 2급KAIT Linux Master - Level 2
SCS-C03 · SpecialtySecurity - Specialty
Linux Master 1 · 1급KAIT Linux Master - Level 1
MLA-C01 · AssociateMachine Learning Engineer - Associate
AIF-C01 · FoundationalAI Practitioner - Foundational
  • Week 1
    • 1.The Relationship and Differences Between AI, Machine Learning, and Deep Learning
    • 2.Learning Types: Supervised, Unsupervised, and Reinforcement Learning
    • 3.Problems Where ML Fits vs. Problems Where It Doesn't
    • 4.Key Terms: Model, Training, Inference, Feature, Label, Overfitting
    • 5.Week 1 Review: AI/ML Fundamentals
  • Week 2
  • Week 3
  • Week 4
  • Week 5
    • 1.Principles of Responsible AI: Fairness, Bias, Transparency, Explainability, Robustness, Privacy
    • 2.AWS Responsible AI Tools: SageMaker Clarify, Model Monitor, Bedrock Guardrails, AI Service Cards
    • 3.AI Security: IAM Least Privilege, Data Encryption, PII Protection, PrivateLink, the Shared Responsibility Model
    • 4.Data Governance and Compliance: Data Provenance and Quality, Model Governance, Auditing and Logging, Legal and Ethical Considerations of Generative AI
    • 5.Week 5 Comprehensive Review: Tying Responsible AI, Security, and Governance Together
  • Week 6
DEA-C01 · AssociateData Engineer - Associate
MLS-C01 · SpecialtyMachine Learning - Specialty
SQLD · 개발자SQL Developer (SQLD)

© CertNote · 주간랩스

  • About
  • Changelog
  • Contact
  • Terms
  • Privacy
← AIF-C01/Week 5/Day 5

Based on the AIF-C01 exam guide·Report an error

AIF-C01· AssociateWeek 5 · Day 5~35 min read

Day 5 - Week 5 Comprehensive Review: Tying Responsible AI, Security, and Governance Together

📌 Key Takeaways

  • Week 5 becomes more concrete and organized in the order principles → tools → security → governance. When you see a question, first decide "which layer is this question about?"
  • Principle-tool pairs: fairness and explanation → Clarify, operational monitoring → Model Monitor, safety and PII → Guardrails, transparency → AI Service Cards.
  • Security pairs: access → IAM, stored data → KMS, in transit → TLS, path → PrivateLink, PII → Macie, Comprehend, Guardrails.
  • Governance pairs: who did what → CloudTrail, how it behaves → CloudWatch, configuration compliance → Config, model version and documentation → Model Registry, Model Cards.
  • The premise of everything is the shared responsibility model. Data, access, and configuration are the customer's responsibility.

Week 5 on One Page

This week we looked in order at the principles of responsible AI (Day 1), the AWS tools that implement them (Day 2), technical defense (Day 3), and organizational management (Day 4). Because the exam asks in a way that ties these together, "which principle/tool/defense fits this scenario?", grasping the connections between concepts is the key.

[Day1] Principles (what must we uphold)
        Fairness/bias / Transparency/explainability / Robustness/privacy / Safety/HITL
          |  (how do we do these principles with AWS?)
          v
[Day2] Responsible AI tools (principles -> AWS implementation)
        Clarify (bias + explanation) / Model Monitor (operational monitoring)
        Guardrails (safety + PII) / AI Service Cards (transparency)
          |  (the foundation of trust needs technical defense)
          v
[Day3] Security (technical defense)
        Shared responsibility model / IAM least privilege / Encryption (at rest, in transit)
        PII protection (Macie, Comprehend) / PrivateLink
          |  (on top of defense, organizational management and proof)
          v
[Day4] Governance and compliance (manage, trace, prove)
        Data (provenance, quality) / Model (version, documentation, approval)
        Auditing (CloudTrail, CloudWatch, Config) / Legal and ethics of generative AI

This one flow reviews 80% of Week 5. Just remember that it becomes more concrete and organized as "principles → tools → security → governance."

Quick Summary of Key Terms

TermOne-line definition
FairnessResults that do not discriminate against specific groups
BiasPrejudice in data or models (the cause of unfairness)
TransparencyDisclosing the system's purpose and limits
ExplainabilityExplaining why a specific output came out
RobustnessStable even under abnormal input and attacks
PrivacyProtecting personal information (PII)
Human-in-the-LoopHuman review for high-risk decisions
SageMaker ClarifyBias measurement + explainability
Model MonitorPost-deployment drift and quality monitoring
Bedrock GuardrailsHarmful content, PII, and topic restriction
AI Service CardsTransparency documents for AWS AI services
Shared responsibility modelAWS = infrastructure, customer = data and access
IAM least privilegeGrant only as much permission as needed
KMSEncryption key management (encryption at rest)
MacieAutomatic PII detection in S3
Comprehend (PII)Detect and mask PII in text
PrivateLinkA private connection that does not pass through the internet
Data lineageTracing the origin and transformations of data
CloudTrailAPI call audit log

These terms last longer if you memorize them as pairs of "principle → the AWS means to uphold that principle." Fairness/bias → Clarify, safety and privacy → Guardrails, transparency → AI Service Cards, access → IAM, data protection → KMS, Macie, Comprehend, path → PrivateLink, proof → CloudTrail.

Decision Order: Ask Four Times and One Is Left

This week's services have many names, but they narrow down with four questions. Instead of memorizing tables, get this order into your bones.

(1) What is the question about?
   |- Whether the AI's "results" are correct and fair ----> Responsible AI (go to 2)
   |- "Who can touch" the data and models ----------------> Security (go to 3)
   `- Whether what was done can be "recorded and proven" -> Governance (go to 4)

(2) Responsible AI - which model, at what point?
   |- Traditional ML, bias measurement and prediction explanation -> SageMaker Clarify
   |- Traditional ML, monitoring change after deployment ---------> SageMaker Model Monitor
   |- Generative AI, filtering input and output ------------------> Bedrock Guardrails
   |- Checking the uses and limits of an AWS service -------------> AI Service Cards
   `- Results are serious and a person must check ----------------> Human-in-the-Loop

(3) Security - what are we protecting?
   |- Who can do it -------------------------> IAM (least privilege, roles)
   |- Stored content ------------------------> KMS encryption
   |- Content in motion ---------------------> TLS
   |- The path in motion --------------------> PrivateLink
   `- Personal information --> In S3: Macie / Text: Comprehend / Conversation: Guardrails

(4) Governance - what are we proving?
   |- Who did what --------------------------> CloudTrail
   |- Is it running well right now ----------> CloudWatch
   |- Does the configuration match the rules > AWS Config
   |- Which model version was approved ------> SageMaker Model Registry
   `- The history of this model and data ----> Model Cards / data lineage
  • If you skip (1), you get it wrong. A question like "block personal information in chatbot responses" is drawn to Macie because of the words personal information, but at the last line of (3) it splits off at "conversation" and becomes Guardrails.
  • The first fork in (2) (is it traditional ML or generative AI?) eliminates the most wrong answers. Clarify and Model Monitor are for models built with SageMaker, and Guardrails is for generative AI.

Comparison Summary

  • Transparency vs explainability: Transparency is "disclosing what this system is," explainability is "explaining why this decision came out." The former connects to AI Service Cards, the latter to Clarify.
  • Clarify vs Model Monitor: Clarify is bias measurement and explanation (mainly before and after training), Model Monitor is post-deployment drift and quality monitoring. The two are integrated, so bias drift is monitored too.
  • CloudTrail vs CloudWatch: CloudTrail = "who did what" (auditing and tracing), CloudWatch = "how the system behaves" (performance and metrics).
  • Encryption vs PrivateLink: Encryption protects the content (at rest, in transit), PrivateLink protects the path (bypassing the internet). Defenses at different layers.
  • Macie vs Comprehend PII: Macie detects PII in data stored in S3, Comprehend identifies and masks PII in text.

⚠️ Trap: The especially confusing ones. ① "Bias = bad intent" is not true (it is usually unintentional, entering through data). ② "With a lot of data, bias disappears" is wrong (if skewed, it is learned as is). ③ "Model Monitor automatically fixes the model" is wrong (it only detects and alerts). ④ "In the shared responsibility model, data access control is AWS's responsibility" is wrong (it is the customer's responsibility). ⑤ "Transparency and explainability are the same" is wrong.

Putting Similarly Named Things on the Same Axis

Besides the five pairs above, among the things we learned separately over four days, let us separate the ones that are easily mixed up once more by "the verb of what they do."

Service/conceptVerbWhat it does not do
SageMaker ClarifyMeasures bias and explains predictionsDoes not automatically remove bias
SageMaker Model MonitorDetects drift and notifiesDoes not retrain or redeploy
Bedrock GuardrailsBlocks or masks input and outputDoes not measure bias in training data
AI Service CardsAWS discloses the service's limitsDoes not document our model
SageMaker Model CardsWe document our own modelDoes not manage version approval status
SageMaker Model RegistryManages model versions and approval statusDoes not measure bias or performance
Amazon MacieFinds and reports sensitive data in S3Does not mask or delete the data it finds
Amazon ComprehendFinds and masks PII in textDoes not scan whole S3 buckets by itself
AWS KMSManages keys to encrypt stored dataDoes not change the network path
AWS PrivateLinkSends traffic over a private pathIs not a means of encrypting content
AWS CloudTrailRecords API activityDoes not measure performance metrics
Amazon CloudWatchMeasures metrics and sends alarmsIs not an audit record of who called
AWS ConfigEvaluates configuration stateIs not the main means of tracking who made a call
AWS ArtifactLets you download AWS's compliance reportsDoes not prove our company's compliance
  • The right-hand column is the material for wrong answer options. "Mask PII with Macie," "Model Monitor automatically retrains," and "Replace our company's audit with Artifact" are all sentences that ask for something they do not do.

AWS Service Mapping (the Connections Asked in AIF)

NeedAWS service/feature
Measure bias in data and models + explain decisionsSageMaker Clarify
Monitor quality and drift of deployed modelsSageMaker Model Monitor
Restrict harmful content, PII, and topics in generative AIBedrock Guardrails
Transparency documents on the uses and limits of AI servicesAI Service Cards
Minimize access permissionsIAM (least privilege)
Manage encryption keys for stored dataAWS KMS
Automatically detect PII in S3Amazon Macie
Detect and mask PII in textAmazon Comprehend
A private connection that does not pass through the internetAWS PrivateLink
API call audit logAWS CloudTrail
Manage model versions and approvalSageMaker Model Registry

🔍 Going deeper: Exam scenarios ask as "problem situation → suitable means." "Bias check" → Clarify, "detect post-deployment performance decline" → Model Monitor, "block profanity and personal information in output" → Guardrails, "audit who deployed the model" → CloudTrail, "keep data off the internet" → PrivateLink. If you memorize the pairs of keywords and services, you can solve variant questions too.

Overlaying Three Perspectives on the Lifecycle in One Line

Lay the same project out in time order and see what each of the three perspectives asks at each stage. Reading horizontally shows "what was missed at this stage."

StageResponsible AISecurityGovernance
Data collectionDoes the data cover diverse groups evenly?Where is the sensitive data (Macie), who accesses it (IAM)?Are provenance and licenses recorded (lineage, catalog)?
Data preparationAre the labels unskewed, measure pre-training bias (Clarify)Was PII masked (Comprehend), is stored data encrypted (KMS)?Were classification grades assigned?
Training and evaluationMeasure performance gaps between groups, explain predictions (Clarify)Does the training job use a least-privilege role?Were the evaluation results documented (Model Cards)?
DeploymentWas human review placed in high-risk decisions?Endpoint invocation permissions, private path (PrivateLink)Were only approved versions deployed (Model Registry)?
OperationDrift monitoring (Model Monitor), input/output filter (Guardrails)Encryption in transit, blocking prompt attacksWho did what (CloudTrail), configuration compliance (Config)
After the factCan we explain the reason for the decision to the user?In an incident, can we narrow the access path?Can we provide evidence to the auditor, and do we dispose of data after the retention period?
  • Not relying on a single means but layering permissions, encryption, paths, and monitoring is called defense in depth. This table extends that idea to responsible AI and governance.
  • Doing well on one cell alone does not create trust. For example, even if you filter output perfectly with Guardrails (operation, responsible AI), if you do not know the provenance of the training data (collection, governance), the copyright problem remains.

Scenario Practice: From Clue to Answer

These are situations that do not overlap with the practice questions. Cover the decisive clue column and answer first.

SituationDecisive clueAnswerOptions eliminated and why
Before training a hiring model, we want to see the gender ratio of the applicant data numerically"Before training"SageMaker Clarify (pre-training bias)Model Monitor: needs a deployed model
A credit model seems no longer as accurate as before, one year after launch"After launch," "as before"SageMaker Model MonitorClarify alone: it does a one-time measurement, but continuous monitoring is not its main role
An internal chatbot must not answer questions asking about HR evaluation content"Do not answer certain topics"Guardrails denied topicsPrompt instruction only: not enforcement
Among hundreds of S3 buckets across several teams, we do not know where national ID numbers are"S3," "where"Amazon MacieComprehend: you have to pass text one piece at a time
A medical institution cannot send Bedrock calls over the public internet"Public internet not allowed"AWS PrivateLinkKMS: encrypts stored data
A data scientist accidentally overwrote a production model. We need to know who it was"Who it was"AWS CloudTrailCloudWatch: metrics and alarms
A regulator says, "submit in writing this model's uses and evaluation results""Our model," "document"SageMaker Model CardsAI Service Cards: documents about AWS services
An auditor requests the security certification reports for AWS data centers"AWS's certification reports"AWS ArtifactCloudTrail: activity records of our account
Rejecting an insurance payout must always be finally confirmed by the person in charge"Must be a person"Human-in-the-LoopGuardrails: does not replace human review
We want to keep checking whether someone turned off encryption on the training data bucket"Keep checking the configuration state"AWS ConfigMacie: centered on sensitive data detection

Self-Check (Answer in Your Head)

  1. What is the relationship between fairness and bias in one sentence?
  2. What is the difference between transparency and explainability?
  3. What are two common misconceptions about bias?
  4. What is the difference in role between Clarify and Model Monitor?
  5. What are three things the customer is responsible for in the shared responsibility model?
  6. Why is the IAM least privilege principle important?
  7. What are the means of encryption at rest and in transit, respectively?
  8. What is the difference in target between Macie and Comprehend PII?
  9. What problem does PrivateLink solve?
  10. What is the difference between CloudTrail and CloudWatch?
  11. What are three legal and ethical issues of generative AI?
  12. What is the safeguard that reinforces high-risk decisions?

If any item stumps you, go back to that day's notes. Below are one-line answers. Answer yourself first, then check.

No.One-line answerWhere to go back
1Bias is the cause and unfairness is its resultDay 1
2Transparency is disclosing what the system is, explainability is the reason for an individual decisionDay 1
3It only arises with bad intent; it disappears with lots of dataDay 1
4Clarify is measurement and explanation, Model Monitor is continuous post-deployment monitoringDay 2
5Data (classification, encryption), access permissions (IAM), configuration (network, etc.)Day 3
6The broader the permissions, the larger the blast radius of mistakes and breachesDay 3
7At rest, encrypt with KMS keys; in transit, TLSDay 3
8Macie is data stored in S3, Comprehend is text passed to itDay 3
9The problem of traffic passing through the public internetDay 3
10CloudTrail is who did what, CloudWatch is how it behavesDay 4
11Copyright, misinformation from hallucination, deepfakes (bias, privacy, and disclosure obligations are also possible)Day 4
12Human-in-the-LoopDay 1

As a hypothetical case, a fintech launched a generative AI loan consultation service responsibly. ① It checked the provenance and quality of the training data and masked PII with Comprehend (governance + privacy), ② measured and mitigated bias against particular groups with Clarify (fairness), ③ protected data with IAM least privilege, KMS encryption, and PrivateLink (security), ④ blocked inappropriate investment and financial advice and PII in the output with Bedrock Guardrails (safety), ⑤ had people review high-risk decisions such as loan rejections (HITL) and provided explanations (explainability), and ⑥ logged all work with CloudTrail and monitored operations with Model Monitor (governance and auditing). It is a case where all the pieces of Week 5 mesh together in one system.

Reduced to three sentences, Week 5 is this. Responsible AI implements principles such as fairness, transparency, explainability, and privacy with SageMaker Clarify, Model Monitor, Bedrock Guardrails, and AI Service Cards. It defends technically with IAM, encryption, PII protection, and PrivateLink. It traces and proves with data and model governance and CloudTrail auditing.

Next week is the final week. We will go back over the five domains in order and finish with mock questions and exam-day strategy.

📖 Glossary

  • Defense in depth: A security approach that does not rely on a single means but layers permissions, encryption, paths, and monitoring.
  • Bias drift: The phenomenon in which the gap in results between groups for a deployed model grows over time.
  • Audit: Checking, based on records, whether set rules were followed.
  • Traceability: The property of being able to trace back which data, model, and work a result came from.
  • Denied topics: Topics set in Guardrails so that a generative AI application does not cover them.
  • High-risk decision: A decision such as a loan, hiring, or medical one, where being wrong has a large impact on people.
  • Configuration compliance: The state in which a resource's settings match the rules set by the organization.

📝 Practice Questions

Click a choice to reveal the answer and explanation.

Question 1

Integrating Week 5's flow, which connects "principle → AWS implementation tool" correctly?

Question 2

Which is hardest to call "customer responsibility" under the shared responsibility model?

Question 3

A team wants to detect deployed model performance drop over time and simultaneously watch if bias increases (bias drift). Most appropriate combination?

Question 4

Which of these traps is correct (true)?

Question 5

A company wants to responsibly launch a generative AI service. Least appropriate measure?

PreviousData Governance and Compliance: Data Provenance and Quality, Model Governance, Auditing and Logging, Legal and Ethical Considerations of Generative AIWeek 5 · Day 4Next Domain Review 1: AI/ML Fundamentals + Generative AI Fundamentals: Critical SummaryWeek 6 · Day 1

Official references

  • AIF-C01 official exam page(opens in a new tab)
  • AWS CloudTrail documentation(opens in a new tab)
  • Amazon SageMaker AI documentation(opens in a new tab)
  • Amazon Macie documentation(opens in a new tab)
  • AWS IAM documentation(opens in a new tab)
  • Amazon S3 documentation(opens in a new tab)

On this page

  • Key Takeaways
  • Week 5 on One Page
  • Quick Summary of Key Terms
  • Decision Order: Ask Four Times and One Is Left
  • Comparison Summary
  • Putting Similarly Named Things on the Same Axis
  • AWS Service Mapping (the Connections Asked in AIF)
  • Overlaying Three Perspectives on the Lifecycle in One Line
  • Scenario Practice: From Clue to Answer
  • Self-Check (Answer in Your Head)
  • Glossary
  • Practice Questions