ladderlore
လမ်းညွှန် တောင်းဆိုရန်
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

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

S3 as the ML data lake

Lay out buckets and prefixes by stage, partition, version, tier and trigger from S3 events.

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

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

  • Buckets hold objects with keys. S3 is strongly consistent and built for 11 nines of durability.
  • Event notifications start a pipeline when an object arrives.
  • Versioning keeps old copies. Lifecycle rules move data to cheaper classes.
Solutions Architect Associate သင်ခန်းစာကို ဖတ်ရန်
Raw
Curated
Features
Models
  1. 1A job cleans raw data and writes typed Parquet to curated.
  2. 2Another job builds model-ready features.
  3. 3Training reads features and writes model artifacts.
Data moves through four stages, each with its own prefix.

အဆင့်ဆင့်

  1. 1A job cleans raw data and writes typed Parquet to curated.
  2. 2Another job builds model-ready features.
  3. 3Training reads features and writes model artifacts.

Data moves through four stages, each with its own prefix.

  • Read in every training run

    Storage class
    S3 Standard
    Note
    No retrieval fee
  • Access pattern unknown

    Storage class
    Intelligent-Tiering
    Note
    Moves objects by use
  • Old data, rarely reused

    Storage class
    Glacier Instant Retrieval
    Note
    Milliseconds to read
  • Compliance archive

    Storage class
    Glacier Deep Archive
    Note
    Restore before reading
Storage class by how often training data is read.

ဘာလဲ

Treat S3 as stages of one lake. Raw holds data as it arrived and is never edited. Curated holds cleaned, typed data, usually as Parquet. Features holds model-ready data. Models holds trained model artifacts. Use one prefix per stage, or one bucket per stage when access rules differ. Inside a stage, partition the prefix by the columns that jobs filter on, in the Hive style, such as year=2026/month=11/. Athena and Glue then read only the folders they need. Spread requests over many prefixes: S3 supports at least 3,500 write and 11,000 read requests per second per partitioned prefix.

ဘာလဲ

To reproduce a dataset, turn on versioning and record the version IDs of the objects a training run used, or copy the training set to a dated prefix and keep it. A lifecycle rule can expire old noncurrent versions. Lifecycle rules also move data between classes: by default, objects under 128 KB do not transition, so pack many tiny files into larger ones.

ဘာလဲ

An S3 event notification can send events to Lambda, SQS, SNS or EventBridge. An EventBridge rule can then start a Step Functions workflow or a SageMaker pipeline when new data lands. A SageMaker training job reads from S3 through an input channel. The channel names an S3 prefix, which means all objects under it, or a manifest file that lists exact objects. The job role needs read access and the bucket should be in the same Region.

မှတ်ထားရန်

  • Stages: raw, curated, features, models. Raw is never edited.
  • Hive-style partitions (year=2026/month=11/) let jobs skip folders.
  • At least 3,500 writes or 11,000 reads per second per partitioned prefix.
  • Reproduce a dataset with versioning and recorded version IDs, or a dated copy.

မှတ်ထားရန်

  • Lifecycle: objects under 128 KB do not transition by default.
  • A channel is an S3 prefix or a manifest file. Events start pipelines.

စာမေးပွဲမှာ

  • “Prove which data trained a model” points to S3 versioning with recorded version IDs, or a dated copy of the training set.
  • “Start retraining when new files arrive” points to an S3 event notification through EventBridge to a pipeline.
  • “Queries scan the whole bucket each day” points to partitioned prefixes.