AIF-C01 Domains 4 and 5: Responsible AI and Security

Part 6 of the series

AWS Certified AI Practitioner (AIF-C01)

AWS Certified AI Practitioner Foundational badge

Part 6 of 6 in the AIF-C01 exam prep series for developers. Previous: Agentic AI on AWS.

The last two domains share one theme: trust. Domain 4 asks whether an AI system is fair, safe, and explainable. Domain 5 asks whether it's secure, auditable, and compliant. They overlap heavily. Bedrock Guardrails is named in both, and human oversight and transparency run through both, so this post covers them together.

Together they carry 28% of the exam, the same as Domain 3. For developers, Domain 5 is the easier half: IAM, encryption, and logging are familiar ground. Domain 4 is mostly vocabulary, but the exam likes pairs of near-synonyms, so precision matters.

Domains at a glance#

Domain 4: Responsible AIDomain 5: Security, compliance, governance
Weight14% (~7 questions)14% (~7 questions)
Tasks4.1 Develop AI systems responsibly · 4.2 Transparent and explainable models5.1 Secure AI systems · 5.2 Governance and compliance

Objective checklist#

#ObjectiveSection
4.1.1Features of responsible AIDimensions of responsible AI
4.1.2Tools to identify responsible AI features (Bedrock Guardrails)Amazon Bedrock Guardrails
4.1.3Responsible model selection, including sustainabilityChoosing a model responsibly
4.1.4Legal risks of generative AILegal risks
4.1.5Characteristics of datasetsDatasets, bias, and variance
4.1.6Effects of bias and varianceDatasets, bias, and variance
4.1.7Tools to detect and monitor bias, trustworthiness, and truthfulnessDetecting and monitoring bias
4.2.1Transparent and explainable models vs. those that aren'tTransparency and explainability
4.2.2Tools to identify transparent and explainable modelsTransparency and explainability
4.2.3Trade-offs between safety and transparencyTrade-offs
4.2.4Human-centered design for explainable AIHuman-centered design
5.1.1AWS services to secure AI systemsSecurity services
5.1.2Source citation and documenting data originsData origins and lineage
5.1.3Secure data engineeringSecure data engineering
5.1.4Security and privacy considerationsThreats, controls, and audit trails
5.1.5Hallucination detection and groundingHallucination detection and grounding
5.2.1AWS services for governance and complianceGovernance services
5.2.2Data governance strategiesData governance strategies
5.2.3Governance protocols, including the GenAI Security Scoping MatrixGovernance protocols

Responsible AI#

Dimensions of responsible AI#

The guide names six features:

FeatureMeaning
BiasSystematic skew in data or outputs that disadvantages certain groups
FairnessOutcomes that don't discriminate against individuals or groups
InclusivityThe system works well for diverse users, languages, and contexts
RobustnessReliable behavior under unexpected, noisy, or adversarial inputs
SafetyAvoids harmful outputs and harmful consequences for people and society
VeracityOutputs are truthful and accurate

AWS's broader responsible AI framework adds:

  • explainability: understanding why a model produced an output
  • privacy and security: control over how personal data is used
  • transparency: disclosing how the system works and its limits
  • governance: processes that enforce responsible practices
  • controllability: the ability to steer and correct model behavior

Amazon Bedrock Guardrails#

Guardrails is the tool the guide names for responsible AI (4.1.2), and it reappears as a security service in 5.1.1. It applies configurable safeguards to both user inputs and model outputs.

PolicyWhat it does
Content filtersDetect and block harmful text or images in categories such as hate, insults, sexual content, violence, and misconduct, with adjustable strength
Prompt attack detectionDetects prompt injection and jailbreak attempts
Denied topicsBlocks subjects you define, such as investment advice in a banking app
Word filtersBlocks exact words and phrases, such as profanity or competitor names
Sensitive information filtersBlock or mask PII (such as names, account numbers, and addresses) and custom patterns defined by regular expressions
Contextual grounding checksFlag responses that aren't supported by the source content or aren't relevant to the question; the main hallucination control for RAG
Automated Reasoning checksValidate responses against logical rules you define, with explainable results
Rendering diagram...

Figure: Guardrails check both directions. Input checks stop harmful or manipulative prompts; output checks catch harmful, sensitive, or ungrounded responses.

Guardrails works with models on Bedrock and, through its standalone API, with self-hosted and third-party models. It can also be enforced through IAM, so that every inference call must use a guardrail.

Choosing a model responsibly#

Objective 4.1.3 highlights environmental considerations and sustainability:

  • Right-size the model. A smaller model that meets the requirement uses far less energy per request.
  • Reuse before you train. Using or fine-tuning a pre-trained model avoids the enormous footprint of pre-training.
  • Use efficient hardware. AWS Trainium and AWS Inferentia are designed for energy-efficient training and inference.
  • Consider the model's whole life. Energy is spent in both training and every inference call.

Responsible selection also covers the model's documented intended uses, its known limitations, and its licensing terms.

RiskExampleMitigations
Intellectual property infringementOutput reproduces copyrighted text, code, or imagesCheck model provider indemnity and licensing; filter and review outputs; track data sources
Biased model outputsA hiring assistant ranks candidates unfairlyBias testing, diverse data, human review
Loss of customer trustA public chatbot gives offensive or wrong answersGuardrails, evaluation, disclosure that it's AI
End-user riskUsers act on harmful or incorrect adviceScope limits (denied topics), disclaimers, human escalation
HallucinationsFabricated facts presented as trueGrounding, citations, validation (see 5.1.5)

Datasets, bias, and variance#

Good datasets (4.1.5) are:

  • inclusive: they represent all the groups the model will serve.
  • diverse: varied sources, contexts, and conditions.
  • curated: from trustworthy, vetted sources.
  • balanced: no class or group is badly over- or under-represented.

Bias and variance (4.1.6) describe how a model fits its data:

UnderfittingGood fitOverfitting
BiasHighLowLow
VarianceLowLowHigh
SymptomPoor on training and test dataGood on bothExcellent on training, poor on new data
CauseModel too simple, too few featuresModel too complex, too little data, memorizing noise
FixesMore features, more complex model, train longerMore data, data augmentation, regularization, simpler model, early stopping

These errors aren't only statistical. If one demographic group is under-represented, a model can fit that group poorly while looking accurate overall, producing unfair outcomes for exactly the people the data missed.

Detecting and monitoring bias#

Objective 4.1.7 names three methods:

  • Analyzing label quality: wrong or inconsistent labels teach bias.
  • Human audits: people review samples of inputs and outputs.
  • Subgroup analysis: measure performance separately for each group, not just overall.

On AWS:

ToolRole
SageMaker ClarifyDetects bias in data before training and in predictions after training, and explains predictions with feature attributions (SHAP)
SageMaker Model MonitorWatches deployed models for data drift, quality drift, and bias drift
Bedrock Model EvaluationScores foundation models on responsible AI dimensions such as toxicity and robustness
Human review (human-in-the-loop)People check low-confidence or high-risk outputs

Transparency and explainability#

TermMeaning
TransparencyOpenness about how the system works: training data, intended use, limitations, and the fact that AI is involved
ExplainabilityThe ability to explain why the model produced a specific output
InterpretabilityHow easily a human can understand the model's internal logic directly
Transparent and explainableNot transparent or explainable
Linear and logistic regression, decision trees, rule-based systemsDeep neural networks, large language models, complex ensembles
You can trace why a decision was madeYou need external tools to approximate why

Tools to identify transparent and explainable models (4.2.2):

  • SageMaker Model Cards document a model: intended use, training data, evaluation results, risk rating, and limitations.
  • SageMaker Clarify explains predictions with feature attributions.
  • Bedrock Model Evaluations produce comparable quality and responsible AI scores for foundation models.
  • Open-source models, data, and licensing let you inspect weights, training data, and permitted uses.
  • AWS AI Service Cards are AWS's own documentation of intended uses and limitations for its AI services.

Trade-offs#

Objective 4.2.3 says transparency and safety don't always pull in the same direction:

  • Interpretability vs. performance. Simple, explainable models are often less accurate on complex tasks. Measure both and choose deliberately.
  • Transparency vs. security. Publishing too much about a model, its prompts, or its filters can help attackers evade them or expose intellectual property.
  • Safety filters vs. usefulness. Aggressive filtering blocks harm but also blocks legitimate requests.

Human-centered design#

Objective 4.2.4 names two principles, and a third follows naturally from them:

  • User-feedback mechanisms: let users rate, flag, and correct outputs, and feed that back into improvement.
  • AI decision transparency: show why, through citations, confidence, and key factors, and say clearly that AI is involved.
  • Keep humans in control: easy escalation to a person, the ability to override, and design that supports human decisions rather than replacing them in high-stakes cases.

Securing AI systems#

The shared responsibility model for AI#

Rendering diagram...

Figure: AWS secures the infrastructure; you secure what you put on it and how you use it. The more you manage yourself (EC2 over SageMaker over Bedrock), the more of the stack is yours.

Security services for AI#

Service or featureRole in securing AI
IAM roles, policies, and permissionsLeast-privilege access to models, data, and tools; one scoped role per application or agent
Encryption (AWS KMS)Encrypt data at rest, including training data, model artifacts, and logs, with keys you control; TLS protects data in transit
Amazon MacieUses ML to discover and classify sensitive data such as PII in S3, for example before that data goes into training or a knowledge base
AWS PrivateLinkPrivate connectivity from your VPC to services like Bedrock, so traffic never crosses the public internet
AWS Secrets ManagerStores and rotates credentials, such as API keys your application or agents use
Shared responsibility modelDefines what AWS secures and what you secure
Amazon Bedrock GuardrailsFilters harmful, sensitive, or ungrounded content in inputs and outputs
AgentCore IdentityAuthenticates who can invoke an agent and brokers scoped credentials when the agent acts for a user
Policy in AgentCoreDeterministic, Cedar-based rules on which tool calls an agent may make, enforced outside the model

Bedrock also doesn't use your prompts and outputs to train its base models or share them with model providers, and customized models stay private to your account.

Least privilege in practice: this IAM policy lets an application invoke exactly one approved model, and nothing else in Bedrock.

JSON
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "InvokeOneApprovedModel",
      "Effect": "Allow",
      "Action": [
        "bedrock:InvokeModel",
        "bedrock:InvokeModelWithResponseStream"
      ],
      "Resource": "arn:aws:bedrock:us-east-1::foundation-model/amazon.nova-lite-v1:0"
    }
  ]
}

Illustrative only; the exam never asks you to read policies. In a real account you'd also allow any inference profile the application uses.

Data origins and lineage#

Objective 5.1.2 is about knowing where data and answers come from:

ConceptWhat it meansAWS support
Source citationAnswers point to the documents they came fromBedrock Knowledge Bases citations
Data lineageTracking data from origin through every transformation into a modelPipeline metadata, SageMaker lineage tracking
Data catalogingA searchable inventory of datasets, schemas, and ownersAWS Glue Data Catalog
Model documentationRecording training data, intended use, and evaluationSageMaker Model Cards

Secure data engineering#

Practice (5.1.3)Examples
Assess data qualityValidate completeness, accuracy, consistency, and freshness before training or indexing
Privacy-enhancing technologiesMasking, tokenization, anonymization and pseudonymization, differential privacy
Data access controlIAM, fine-grained permissions with AWS Lake Formation, least privilege on S3 buckets
Data integrityValidation checks, checksums, versioning, and restricted write access so training data and knowledge sources can't be silently altered

Threats, controls, and audit trails#

Consideration (5.1.4)What it meansControls
Prompt injectionInput or retrieved content overrides instructionsGuardrails prompt attack filter; separate instructions from data; least privilege
Data leakage preventionSensitive data appears in outputs or reaches the wrong usersSensitive information filters; scoped retrieval; don't put secrets in prompts
Output filtering and validationChecking responses before they're shown or acted onGuardrails output checks; schema and business-rule validation
ToxicityHarmful, hateful, or abusive contentGuardrails content filters
Encryption at rest and in transitProtecting stored and moving dataKMS; TLS
Threat detection and vulnerability managementFinding attacks and weaknessesAmazon Inspector for vulnerabilities; monitoring and alerting
Infrastructure protectionNetwork-level isolationVPCs, security groups, PrivateLink
Audit trails and logging for AI interactionsRecording what happened, for investigation and complianceSee the diagram below
Rendering diagram...

Figure: Which service logs what. CloudTrail records API activity, not content. To keep the actual prompts and responses, turn on model invocation logging.

Hallucination detection and grounding#

Models predict plausible text, and plausible isn't the same as true. New objective 5.1.5 names three techniques for the gap (RAG grounding, output validation, confidence scoring), and several AWS features support them:

TechniqueHow it works
RAG groundingSupply authoritative retrieved content and instruct the model to answer only from it
CitationsRequire each claim to point to a source; claims without one are suspect
Contextual grounding check (Guardrails)Scores whether the response is supported by the source and relevant to the question, and blocks it below a threshold
Automated Reasoning checks (Guardrails)Verify responses against formal rules you define
Output validationCheck format, schema, and business rules, and cross-check facts against a system of record
Confidence scoringUse retrieval scores or model confidence to route low-confidence answers to a human
LLM-as-a-judgeA second model scores faithfulness continuously
Permission to say "I don't know"An explicit instruction; cheap and surprisingly effective

Governance and compliance#

Governance services#

ServiceWhat it doesScenario trigger
AWS ConfigRecords resource configurations over time and evaluates them against compliance rules"Track configuration changes," "is this resource compliant?"
Amazon InspectorAutomated vulnerability scanning of EC2 instances, container images, and Lambda functions"Find software vulnerabilities," "CVEs"
AWS ArtifactOn-demand access to AWS compliance reports (such as SOC and ISO) and agreements"Download AWS's compliance reports for our auditors"
AWS CloudTrailRecords API calls: who did what, when, and from where"Audit who invoked or changed a resource"
AWS Trusted AdvisorBest-practice checks across cost, performance, security, fault tolerance, and service limits"Recommendations to improve our account"
AWS Well-Architected ToolReviews workloads against AWS's architecture pillars"Review our architecture against best practices"

Data governance strategies#

Strategy (5.2.2)What it covers
Data lifecyclesHow data is created, stored, used, archived, and deleted
LoggingRecording data access and model interactions
ResidencyKeeping data in the Regions or countries the law requires
Monitoring and observationWatching data quality, access patterns, and model behavior over time
RetentionHow long data and logs are kept, and deleting them when the period ends

Governance protocols and the Scoping Matrix#

Objective 5.2.3 lists the processes that make governance real:

  • Policies: written rules for acceptable AI use.
  • Review cadence: scheduled reviews of models and applications.
  • Review strategies: what gets reviewed, how, and by whom.
  • Governance frameworks: such as the Generative AI Security Scoping Matrix.
  • Transparency standards: what gets documented and disclosed.
  • Team training requirements: everyone who builds or uses AI knows the rules.

The Generative AI Security Scoping Matrix classifies GenAI use by how much of it you own. The more you own, the more security, governance, and compliance responsibility you carry.

ScopeDescriptionExample
1. Consumer appUsing a public GenAI serviceEmployees using a public chatbot
2. Enterprise appA third-party SaaS product with GenAI featuresA CRM's built-in AI assistant
3. Pre-trained modelsBuilding your app on an existing model through an APIAn app on Amazon Bedrock base models
4. Fine-tuned modelsCustomizing an existing model with your dataA Bedrock model fine-tuned on your support tickets
5. Self-trained modelsTraining a model from scratch on your dataA model trained on SageMaker AI from the ground up

Service cheat sheet#

Service or featureOne line
Bedrock GuardrailsContent filters, prompt attacks, denied topics, word filters, PII, grounding and reasoning checks
SageMaker ClarifyBias metrics and feature-attribution explanations
SageMaker Model CardsDocumentation of a model's purpose, data, performance, and limits
SageMaker Model MonitorDrift and bias-drift monitoring in production
AWS AI Service CardsAWS's documentation of its AI services' intended uses and limits
IAMWho can do what to which resource
AWS KMSEncryption keys
Amazon MacieFinds sensitive data in S3
AWS PrivateLinkPrivate connectivity, off the public internet
AWS Secrets ManagerStores and rotates credentials
AWS CloudTrailAPI audit log
Bedrock model invocation loggingFull prompts and responses to CloudWatch Logs or S3
Amazon CloudWatchMetrics, logs, alarms
AWS ConfigConfiguration history and compliance rules
Amazon InspectorVulnerability scanning
AWS ArtifactAWS compliance reports and agreements
AWS Trusted AdvisorBest-practice recommendations
AWS Glue Data CatalogInventory of datasets and schemas
AWS Lake FormationFine-grained data lake permissions

Commonly confused#

If the scenario says…AnswerNot…Because
Explain which features drove a predictionSageMaker ClarifyModel CardsClarify measures; Model Cards document
Document intended use and limitations for auditorsSageMaker Model CardsClarifyDocumentation, not measurement
Record who called the Bedrock APICloudTrailModel invocation loggingAPI activity, not content
Retain every prompt and responseModel invocation loggingCloudTrailCloudTrail doesn't capture content
Track whether resource configurations stay compliantAWS ConfigCloudTrailConfig tracks state; CloudTrail tracks API calls
Find PII sitting in S3 bucketsAmazon MacieAmazon InspectorInspector finds software vulnerabilities
Download SOC 2 reports for an auditAWS ArtifactAWS Audit ManagerArtifact holds AWS's reports; Audit Manager isn't in scope
Store an API key an agent usesSecrets ManagerKMSKMS manages encryption keys, not application secrets
Keep Bedrock traffic off the internetPrivateLinkEncryptionNetwork path, not data protection
Great on training data, poor on new dataOverfitting (high variance)UnderfittingMemorized the training set
Poor on both training and test dataUnderfitting (high bias)OverfittingModel too simple
Block responses not supported by retrieved documentsContextual grounding checkDenied topicsGrounding, not subject matter
Agent must never do XPolicy in AgentCoreGuardrailsActions vs. content

Practice questions#

Q1 (matching). Match each requirement to the AWS service that meets it.

Requirement
1. Continuously evaluate whether resource configurations meet compliance rules
2. Scan container images and Lambda functions for known vulnerabilities
3. Download AWS's ISO and SOC compliance reports
4. Identify which user called a model-invocation API and when
5. Get recommendations on cost, security, and service limits

Services: AWS Artifact, AWS Trusted Advisor, AWS Config, AWS CloudTrail, Amazon Inspector.

Show answer

1 → Config, 2 → Inspector, 3 → Artifact, 4 → CloudTrail, 5 → Trusted Advisor.

Q2 (ordering). Order the Generative AI Security Scoping Matrix scopes from lowest to highest ownership.

  • A. Fine-tuned models
  • B. Consumer app
  • C. Self-trained models
  • D. Pre-trained models
  • E. Enterprise app
Show answer

B → E → D → A → C.

Consumer app, enterprise app, pre-trained models, fine-tuned models, self-trained models. Security and governance responsibility grows with each step.

Q3. An auditor asks a company to provide documentation of a credit model's intended use, training data, evaluation results, and known limitations. What should the company use?

  • A. SageMaker Clarify
  • B. SageMaker Model Cards
  • C. AWS Artifact
  • D. Amazon Macie
Show answer

Answer: B. Model Cards document a model's purpose, data, performance, and limitations.

  • A measures bias and explains predictions but isn't the documentation record.
  • C provides AWS's compliance reports, not yours.
  • D finds sensitive data in S3.

Q4 (multiple response). A bank's customer chatbot must never give investment advice and must never reveal customers' account numbers. Which TWO Bedrock Guardrails policies should the bank configure?

  • A. Denied topics
  • B. Contextual grounding check
  • C. Sensitive information filters
  • D. Word filters for the phrase "account number"
  • E. Automated Reasoning checks
Show answer

Answer: A and C. Denied topics block investment advice as a subject. Sensitive information filters block or mask account numbers, including through custom regex patterns.

  • B checks grounding, not subject matter.
  • D would block a phrase, not the numbers themselves.
  • E validates responses against logical rules, which is more than this requirement needs.

Q5. A model scores 99% accuracy on training data but 70% on new data. What is happening, and what helps?

  • A. Underfitting; use a simpler model
  • B. Overfitting; add more training data or apply regularization
  • C. Underfitting; train for fewer epochs
  • D. Data drift; retrain on the same data
Show answer

Answer: B. A large gap between training and test performance is overfitting (high variance). More data, regularization, a simpler model, or early stopping all help.

  • A and C describe the opposite problem and the wrong fixes.
  • D is about changes over time in production, not a training-versus-test gap.

Q6. A RAG-based HR assistant sometimes answers with policy details that don't exist in the retrieved documents. Which combination best reduces this?

  • A. Fine-tune the model on the HR documents
  • B. Instruct the model to answer only from retrieved content, and enable the Guardrails contextual grounding check
  • C. Increase the temperature
  • D. Switch to a larger model
Show answer

Answer: B. Grounding instructions plus a contextual grounding check detect and block unsupported answers.

  • A doesn't reliably prevent fabrication.
  • C makes it worse.
  • D doesn't address grounding.

Q7. Before using a large S3 dataset to fine-tune a model, a company must find any personally identifiable information in it. Which service should it use?

  • A. Amazon Macie
  • B. Amazon Inspector
  • C. AWS Config
  • D. AWS Trusted Advisor
Show answer

Answer: A. Macie discovers and classifies sensitive data in S3.

  • B scans for software vulnerabilities.
  • C tracks configuration compliance.
  • D gives account-level recommendations.

Q8. Security policy requires that traffic from an application in a VPC to Amazon Bedrock never traverses the public internet. What should the team use?

  • A. AWS KMS
  • B. AWS PrivateLink (a VPC interface endpoint)
  • C. Amazon Macie
  • D. AWS Artifact
Show answer

Answer: B. PrivateLink provides private connectivity from the VPC to Bedrock.

  • A encrypts data but doesn't change the network path.
  • C and D are unrelated to network traffic.

Q9. A healthcare company must retain the full text of every prompt sent to its Bedrock-based assistant, and every response, for compliance review. What should it enable?

  • A. AWS CloudTrail
  • B. Amazon Bedrock model invocation logging
  • C. AWS Config
  • D. SageMaker Model Monitor
Show answer

Answer: B. Model invocation logging captures request and response content and delivers it to CloudWatch Logs or S3.

  • A records API calls, not their content.
  • C tracks configuration.
  • D monitors SageMaker model drift.

Q10. A company fine-tunes an Amazon Bedrock foundation model with its own customer data. Which scope of the Generative AI Security Scoping Matrix applies?

  • A. Scope 2: Enterprise app
  • B. Scope 3: Pre-trained models
  • C. Scope 4: Fine-tuned models
  • D. Scope 5: Self-trained models
Show answer

Answer: C. Customizing an existing model with your own data is Scope 4.

  • B would be using the base model as-is.
  • D would mean training from scratch.

Key takeaways#

  • Responsible AI features: bias, fairness, inclusivity, robustness, safety, veracity. AWS adds explainability, privacy, transparency, governance, and controllability.
  • Guardrails filters inputs and outputs. Know each policy's trigger:
    • "Don't discuss X" → denied topics.
    • "Never show PII" → sensitive information filters.
    • "Stick to the sources" → contextual grounding check.
    • "Resist manipulation" → prompt attack detection.
  • Overfitting = high variance (great on training, poor on new data). Underfitting = high bias (poor everywhere).
  • Clarify measures bias and explains; Model Cards document. Both stay exam-relevant despite maintenance mode.
  • Shared responsibility: AWS secures the infrastructure; you secure data, access, configuration, and usage.
  • Security services: IAM for access, KMS for encryption, Macie for PII in S3, PrivateLink for private traffic, Secrets Manager for credentials. For agents, add AgentCore Identity and Policy.
  • Logging:
    • CloudTrail → who called what.
    • Model invocation logging → prompt and response content.
    • CloudWatch → metrics and alarms.
    • AgentCore Observability → agent traces.
  • Hallucinations: ground with RAG, validate outputs, score confidence, check grounding. Never fine-tune it away.
  • Governance five: Config, Inspector, Artifact, CloudTrail, Trusted Advisor. The Scoping Matrix's five scopes run from consumer app to self-trained model.

Series cram sheet#

The whole series in one table, for exam eve.

If you see…Think…
Deterministic rule, exact outcome requiredNo ML at all
Regulated industry plus explain each decisionTraditional ML (plus Clarify)
One large or slow request, answer laterAsynchronous inference
Whole dataset, offlineBatch inference
Intermittent traffic, scale to zeroServerless inference
Missing a positive is dangerousRecall
Sentiment or entities in textComprehend
Forms and tables from scanned documentsTextract
Speech → text / text → speechTranscribe / Polly
Images and video, moderationRekognition
Same long system prompt on every callPrompt caching
Mixed easy and hard trafficIntelligent Prompt Routing
Same question, different answersLower temperature
Current, proprietary, or citable factsRAG with Bedrock Knowledge Bases
Consistent tone or formatFine-tuning
Domain vocabulary gap, lots of unlabeled textContinued pre-training
One narrow task, inference too expensiveDistillation
Summarization / translation / paraphrase metricROUGE / BLEU / BERTScore
Open-ended quality at scaleLLM-as-a-judge
Prompts changing with no historyBedrock Prompt Management
Business stakeholder asks "was it worth it?"ROI, cost per interaction, task completion rate
Read-only Q&A vs. multi-step actionsRAG vs. agent
Fixed, auditable sequenceWorkflow / graph pattern
Connect agents to tools / to other agentsMCP / A2A
Agent degrades in long sessions or has too many toolsContext engineering
Build agent logic in code / run it in productionStrands Agents / AgentCore
Developer IDE / business-user workspace / legacy modernizationKiro / Amazon Quick / AWS Transform
Must never say / do / touchGuardrails / AgentCore Policy / IAM
Who called the API / what was saidCloudTrail / model invocation logging
PII in S3 / vulnerabilities / AWS compliance reportsMacie / Inspector / Artifact

That's the series. Good luck on the exam.

Sources#

Share:

Related Articles