- Shared Responsibility: clarifies what AWS manages (cloud infrastructure) vs. what customers manage (guest OS, application, data, configuration).
- Governance & compliance services in this guide: services for evidence collection, continuous monitoring, access controls, vulnerability scanning, data management, and model explainability.
Shared Responsibility
- The AWS Shared Responsibility Model defines which security and compliance controls AWS is responsible for and which ones the customer must manage.
- Practical rule of thumb: if you can configure or log in to a resource, you are responsible for securing and patching it; if you cannot, AWS usually handles it.
- AWS provides many management and monitoring tools to help you fulfill your responsibilities, but customers must configure and operate those tools correctly.
- AWS Artifact is available in every AWS account and provides direct access to AWS third‑party compliance reports and regulatory attestations, such as PCI DSS and ISO/IEC 27001.
- Use Artifact to supply auditors with AWS-provided evidence and reduce the audit scope that focuses on AWS-managed controls.
- For regulatory work you often need to inspect the data itself: search for PII, measure completeness, or identify anomalies. Tools include AWS Glue DataBrew, SageMaker Data Wrangler, and custom Jupyter notebooks (pandas, scikit-learn, seaborn).
- These tools support data profiling, visualization, and cleansing—key activities before applying governance controls or producing evidence.

When preparing datasets for compliance reviews, capture profiling outputs (counts, null rates, histograms) as artifacts. These visuals help demonstrate data quality and lineage to auditors.
- Lake Formation provides centralized, fine-grained access control on top of S3-backed data lakes. It supports permissions at database, table, column, and row levels (including row-level filtering).
- This level of granularity enables least-privilege access patterns required for sensitive analytical workloads and simplifies access management across analytics services.

- Use S3 storage classes and lifecycle policies for cost-effective retention and to meet regulatory retention requirements. Transition objects between classes based on access patterns and apply
Object Lockto enforce immutability for evidence retention. - Lifecycle rules and object lock are commonly used as part of an organizational retention policy to ensure data cannot be modified or deleted during a legal or compliance retention period.

- SageMaker Clarify helps analyze training data and model predictions for bias and provides feature importance and explainability artifacts.
- Combine Clarify with SageMaker Model Monitor to detect data drift or model performance degradation at runtime and produce monitoring artifacts that auditors or compliance reviewers can evaluate.
- AWS Config records resource configurations and changes over time and evaluates resource states against managed or custom rules.
- Use Config to detect drift from your intended state (for example, public security groups) and trigger automated remediation workflows (Lambda, Systems Manager) where appropriate.
- Example use case: enforce a rule to prohibit EC2 security groups with 0.0.0.0/0 SSH access and create a remediation action to lock it down.

- Amazon Inspector automates security assessments for EC2 instances, container images, and Lambda functions. It identifies common vulnerabilities and exposures (CVEs) and security misconfigurations.
- Inspector reports and findings can feed into your incident and remediation processes to reduce exposure for AI model runtime environments (e.g., containerized inference).

- AWS Audit Manager automates evidence collection and organizes artifacts to support assessments against specific frameworks. It streamlines evidence gathering (from CloudTrail, Config, Inspector, and other services) so you can produce audit-ready reports faster.
- Note: Audit Manager collects and organizes evidence; it does not itself certify compliance. Use it to centralize artifacts and reduce manual collection effort during audits.

- AWS CloudTrail records control-plane API calls made in your account (console, SDKs, CLI, and many AWS services). It’s essential for forensic investigations, change tracking, and compliance reporting.
- CloudTrail does not capture in-guest OS activity or direct database queries—use host-based logging and database auditing in addition to CloudTrail.
- Best practice: enable CloudTrail for all accounts and deliver logs to a centralized, access-controlled, and immutable S3 bucket (optionally with AWS Lake Formation or AWS Organizations policies to centralize access).
Enable CloudTrail for every account and send logs to a centralized, access-controlled S3 bucket. Centralized CloudTrail logs are a non-negotiable best practice for enterprise auditing and incident response.

- AWS Trusted Advisor runs checks across security, cost, performance, fault tolerance, and service limits. It helps identify misconfigurations, underutilized resources, and potential quota constraints.
- Full set of checks requires Business or Enterprise support plans; however, many critical security and cost checks are available to lower support tiers as well.

- S3 Object Lock: enable when creating a bucket or set via bucket-level configuration to retain objects immutably for a legal hold or retention period.
- AWS Config: use managed rules like
restricted-common-portsto detect open ports and tie remediation actions to Systems Manager documents or Lambda. - Audit evidence: configure CloudTrail, Config, Inspector, and GuardDuty to forward findings into Audit Manager or an evidence store for consolidated reporting.
- This lesson covered a practical set of AWS services used for governance and compliance: AWS Artifact; DataBrew/Data Wrangler/Jupyter for profiling; Lake Formation for fine-grained access; S3 lifecycle and Object Lock for retention and immutability; SageMaker Clarify and Model Monitor for model explainability and drift detection; AWS Config for continuous compliance; Amazon Inspector for vulnerability scanning; Audit Manager for evidence collection; CloudTrail for activity logging; and Trusted Advisor for best-practice recommendations.
- These services form a practical starting point. For production-ready compliance, combine them with organizational policies, automation (IaC), centralized logging, and regular audits. Consult AWS documentation and hands-on labs to implement controls specific to your regulatory requirements.
- AWS Compliance Center
- AWS Artifact documentation
- Amazon S3 lifecycle configuration examples
- AWS Config developer guide