ladderlore
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

သဘောတရား · SAA-C03 အပေါ် ဆက်လေ့လာရန်

Encryption and data protection for ML

Encrypt data at rest with KMS in each place ML touches it, encrypt traffic in transit, and keep secrets out of code.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

Solutions Architect Associate မှ သင်သိပြီးသားများ

  • KMS creates and controls encryption keys, and logs every use in CloudTrail.
  • A key policy is required, and IAM works only if the key policy allows it.
  • Keys can be customer managed, AWS managed or AWS owned.
Solutions Architect Associate သင်ခန်းစာကို ဖတ်ရန်
  • Training data in S3

    Protect with
    SSE-KMS
    Setting
    Bucket default encryption
  • Training instance storage

    Protect with
    KMS key
    Setting
    Volume KMS key
  • Model artifacts

    Protect with
    KMS key
    Setting
    Output KMS key
  • Endpoint instance storage

    Protect with
    KMS key
    Setting
    Endpoint config key
  • Traffic between nodes

    Protect with
    Encryption
    Setting
    Inter-container encryption
  • Credentials

    Protect with
    Secrets Manager
    Setting
    Fetch at run time
Every place ML data rests or moves has its own setting.

1 / 2

  • Training data in S3

    Protect with
    SSE-KMS
    Setting
    Bucket default encryption
  • Training instance storage

    Protect with
    KMS key
    Setting
    Volume KMS key
  • Model artifacts

    Protect with
    KMS key
    Setting
    Output KMS key

2 / 2

  • Endpoint instance storage

    Protect with
    KMS key
    Setting
    Endpoint config key
  • Traffic between nodes

    Protect with
    Encryption
    Setting
    Inter-container encryption
  • Credentials

    Protect with
    Secrets Manager
    Setting
    Fetch at run time
Every place ML data rests or moves has its own setting.

ဘာလဲ

ML data rests in several places, and each has its own key setting. S3 buckets that hold training data and models use SSE-KMS. A training job takes a volume KMS key for the storage attached to its instances, and an output KMS key for the model artifacts it writes. An endpoint configuration takes a KMS key for the storage volume of the endpoint instances. Studio storage and Bedrock customization output can also use your own key. Choose a customer managed key when you need control over who can use it, rotation and audit.

ဘာလဲ

In transit, SageMaker AI and Bedrock APIs use TLS. Enforce it on buckets with a Deny when aws:SecureTransport is false. Distributed training sends data between containers, and the option EnableInterContainerTrafficEncryption encrypts it, at the price of longer training time.

Secrets such as database passwords or third-party API keys belong in AWS Secrets Manager. Code reads them at run time with its role, and rotation changes them without a deploy. Do not put them in notebooks, environment variables or the image. For sensitive data in the data itself, Amazon Macie scans S3 buckets for personal data and reports findings, and you then mask or remove it before training.

မှတ်ထားရန်

  • S3: SSE-KMS for data and models.
  • Training: volume key and output key. Endpoint config: key for the instance volume.
  • Customer managed keys for control, rotation and audit.
  • TLS in transit. Deny aws:SecureTransport false.
  • Inter-container traffic encryption for distributed training: slower.

မှတ်ထားရန်

  • Secrets Manager for credentials. Macie for personal data.

စာမေးပွဲမှာ

  • “Encrypt the storage attached to training instances” points to the volume KMS key on the training job.
  • “Encrypt traffic between nodes of a distributed job” points to inter-container traffic encryption.
  • “Database password used by a training script” points to AWS Secrets Manager.
  • “Find personal data in the training bucket” points to Amazon Macie.