Operating, Monitoring, and Securing ML and AI Solutions
Monitoring models, controlling cost and performance, and protecting data, endpoints and credentials.
4.1Task
Monitor ML and AI model inference and performance.
သင်လုပ်နိုင်ရမည့်အရာ: Watch models and workflows in production: drift, anomalies, A/B tests, foundation model quality and agent behavior.
4.1Task
Monitor ML and AI model inference and performance.
သင်လုပ်နိုင်ရမည့်အရာ: Watch models and workflows in production: drift, anomalies, A/B tests, foundation model quality and agent behavior.
4.1 Monitor ML and AI model inference and performance.
- CloudWatch generative AI observability and Bedrock metricsBedrock sends runtime metrics to CloudWatch on its own. Invocation logs need setup, and the dashboards read both.AIF-C01 အပေါ် ဆက်လေ့လာရန်
- Monitoring FM quality in productionInfrastructure metrics cannot tell if answers are good. Sample live traffic, score it, and alarm on the scores.
- Monitoring workflows for errors and anomaliesRoute failures and odd metrics from pipelines, jobs and endpoints to the people who fix them.SAA-C03 အပေါ် ဆက်လေ့လာရန်
- Agent monitoring and AgentCore ObservabilityTraces show each reasoning step and tool call, so you can find loops, failing tools and handoffs that went wrong.
4.2Task
Optimize and manage ML and AI infrastructure costs and performance.
သင်လုပ်နိုင်ရမည့်အရာ: Keep infrastructure fast and affordable: instance families, dashboards, quotas, cost tools, purchasing options and token costs.
4.2Task
Optimize and manage ML and AI infrastructure costs and performance.
သင်လုပ်နိုင်ရမည့်အရာ: Keep infrastructure fast and affordable: instance families, dashboards, quotas, cost tools, purchasing options and token costs.
- Inference instance familiesMatch the family to the model: CPU for light models, GPU for deep nets and LLMs, Inferentia for compiled models.AIF-C01 အပေါ် ဆက်လေ့လာရန်
- Inference Recommender and right-sizingLet a load test pick the instance type, then trim idle capacity by sharing endpoints or going serverless.
4.2 Optimize and manage ML and AI infrastructure costs and performance.
- CloudWatch metrics and dashboards for MLKnow which endpoint and training metrics exist, where they live, and how to turn them into dashboards and alarms.SAA-C03 အပေါ် ဆက်လေ့လာရန်
- Logs and tracing to troubleshoot ML systemsRead the signal first: logs for container errors, traces for slow hops, CloudTrail for denied or failed API calls.SAA-C03 အပေါ် ဆက်လေ့လာရန်
- Capacity, quotas and throttlingQuotas cap how much you can run, throttling caps how fast you can call, and capacity errors mean the Region has none to give.SAA-C03 အပေါ် ဆက်လေ့လာရန်
- Cost tools, tags and spending limitsTag everything, activate the tags, then watch spend with Cost Explorer and Budgets. Use inference profiles to split Bedrock costs.SAA-C03 အပေါ် ဆက်လေ့လာရန်
- Purchasing options for ML infrastructureSteady use earns a Savings Plan, interruptible training earns Spot, and a must-have capacity needs a reservation.SAA-C03 အပေါ် ဆက်လေ့လာရန်
- FM inference costs and token monitoringWork out cost from tokens, choose the model tier and buying mode by traffic shape, and count tokens by tag.AIF-C01 အပေါ် ဆက်လေ့လာရန်
4.2 Optimize and manage ML and AI infrastructure costs and performance.
4.3Task
Secure ML and AI workloads and model endpoints.
သင်လုပ်နိုင်ရမည့်အရာ: Secure ML and AI systems: least privilege, IAM, encryption, VPC isolation, auditing, credentials and guardrails.
4.3Task
Secure ML and AI workloads and model endpoints.
သင်လုပ်နိုင်ရမည့်အရာ: Secure ML and AI systems: least privilege, IAM, encryption, VPC isolation, auditing, credentials and guardrails.
- Scanning code and images in CI/CDScan code, dependencies and container images in the pipeline, and stop the release when findings are too severe.AIF-C01 အပေါ် ဆက်လေ့လာရန်
- Least privilege for ML artifactsGive each role the smallest S3 prefix, key, registry and data permission it needs, and use tags to scale the rules.SAA-C03 အပေါ် ဆက်လေ့လာရန်
4.3 Secure ML and AI workloads and model endpoints.
- IAM roles for SageMaker and ML workloadsTwo identities are involved: the person or app who calls the API, and the execution role SageMaker assumes. PassRole joins them.SAA-C03 အပေါ် ဆက်လေ့လာရန်
- Bedrock access controlIAM decides which models and profiles a caller may invoke. SCPs and a guardrail condition enforce the rules for everyone.AIF-C01 အပေါ် ဆက်လေ့လာရန်
- Credential types for BedrockProduction uses IAM roles. A Bedrock API key is a bearer token: short-term for tools, long-term for trying things out.
- Auditing, logging and compliance for MLCloudTrail answers who did what, Config answers whether a setting is compliant, and model documents show how a model was built.SAA-C03 အပေါ် ဆက်လေ့လာရန်
- Troubleshooting ML security issuesWork out whether a failure is a permission or a network path, then read the error and the CloudTrail event.
- Isolating ML systems with VPCsRun ML in private subnets, reach AWS services through endpoints, and turn on network isolation where code must not call out.SAA-C03 အပေါ် ဆက်လေ့လာရန်
4.3 Secure ML and AI workloads and model endpoints.
- Encryption and data protection for MLEncrypt data at rest with KMS in each place ML touches it, encrypt traffic in transit, and keep secrets out of code.SAA-C03 အပေါ် ဆက်လေ့လာရန်
- AI and ML security risksKnow the attacks by name, what each damages, and the control that stops it.AIF-C01 အပေါ် ဆက်လေ့လာရန်
Amazon Bedrock GuardrailsSet content filter strengths, topics, words, PII handling and grounding thresholds, and call the guardrail on any model.AIF-C01 အပေါ် ဆက်လေ့လာရန်