သဘောတရား · CLF-C02 အပေါ် ဆက်လေ့လာရန်
Protecting S3 data
Encryption options, locks against deletion, replication, and the access features you pick between.
ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။
Cloud Practitioner မှ သင်သိပြီးသားများ
- S3 buckets are private by default, and Block Public Access prevents accidental exposure.
- Versioning keeps every version. Object Lock gives write once, read many.
- Replication copies objects to another bucket or Region.
SSE-S3
- Keys held by
- AWS
- Choose it when
- Default, no key control needed
SSE-KMS
- Keys held by
- KMS, your key policy
- Choose it when
- Audit trail and key control
SSE-C
- Keys held by
- You, sent with every request
- Choose it when
- You must hold the key
Client-side
- Keys held by
- You
- Choose it when
- AWS must never see plaintext
| Option | Keys held by | Choose it when |
|---|---|---|
| SSE-S3 | AWS | Default, no key control needed |
| SSE-KMS | KMS, your key policy | Audit trail and key control |
| SSE-C | You, sent with every request | You must hold the key |
| Client-side | You | AWS must never see plaintext |
1 / 2
SSE-S3
- Keys held by
- AWS
- Choose it when
- Default, no key control needed
SSE-KMS
- Keys held by
- KMS, your key policy
- Choose it when
- Audit trail and key control
SSE-C
- Keys held by
- You, sent with every request
- Choose it when
- You must hold the key
| Option | Keys held by | Choose it when |
|---|---|---|
| SSE-S3 | AWS | Default, no key control needed |
| SSE-KMS | KMS, your key policy | Audit trail and key control |
| SSE-C | You, sent with every request | You must hold the key |
2 / 2
Client-side
- Keys held by
- You
- Choose it when
- AWS must never see plaintext
| Option | Keys held by | Choose it when |
|---|---|---|
| Client-side | You | AWS must never see plaintext |
Stop public exposure
- Block Public Access
Recover from delete or overwrite
- Versioning
No deletion for years, by anyone
- Object Lock, compliance mode
Share one object for a while
- Presigned URL
Different rules for each team
- Access points
Copy to another Region
- Cross-Region replication
| Goal | Control |
|---|---|
| Stop public exposure | Block Public Access |
| Recover from delete or overwrite | Versioning |
| No deletion for years, by anyone | Object Lock, compliance mode |
| Share one object for a while | Presigned URL |
| Different rules for each team | Access points |
| Copy to another Region | Cross-Region replication |
1 / 2
Stop public exposure
- Block Public Access
Recover from delete or overwrite
- Versioning
No deletion for years, by anyone
- Object Lock, compliance mode
Share one object for a while
- Presigned URL
| Goal | Control |
|---|---|
| Stop public exposure | Block Public Access |
| Recover from delete or overwrite | Versioning |
| No deletion for years, by anyone | Object Lock, compliance mode |
| Share one object for a while | Presigned URL |
2 / 2
Different rules for each team
- Access points
Copy to another Region
- Cross-Region replication
| Goal | Control |
|---|---|
| Different rules for each team | Access points |
| Copy to another Region | Cross-Region replication |
ဘာလဲ
Encryption at rest: SSE-S3 is the default, and AWS manages the keys. SSE-KMS uses your KMS key, adds key policy control and an audit trail in CloudTrail, but uses KMS quota. SSE-C means you send your own key with each request. Since April 2026, S3 blocks SSE-C by default on new buckets. You must turn it back on for a bucket before you can use it. DSSE-KMS applies two layers of encryption with KMS keys, for compliance rules that ask for dual-layer encryption. A bucket policy can deny uploads that lack the encryption header.
ဘာလဲ
Block Public Access is a switch at account and bucket level. Versioning protects against overwrites and deletes. MFA Delete adds a required MFA code to permanent deletes. Object Lock needs versioning. In governance mode, users with special permission can still remove the lock. In compliance mode, nobody can delete the object or shorten the retention, not even the root user. A legal hold has no end date.
ဘာလဲ
To see who accessed objects, turn on S3 server access logs, which write request records to another bucket at no extra charge, delivered on a best-effort basis. CloudTrail data events log object-level API calls with more detail but cost extra and are off by default.
ဘာလဲ
A presigned URL gives time-limited access to one object using the signer’s permissions. An access point is a named endpoint with its own policy, which keeps one huge bucket policy short and can limit access to a VPC. Replication needs versioning on both buckets. Cross-Region replication (CRR) serves compliance, latency and disaster recovery. Same-Region replication (SRR) serves log aggregation and separating test from production data.
မှတ်ထားရန်
- SSE-S3 default. SSE-KMS for audit and key control. SSE-C when you must supply the key (off by default on new buckets).
- Block Public Access at account and bucket level.
- Versioning plus MFA Delete guards against deletion.
- Object Lock: governance can be overridden by permitted users. Compliance cannot be, even by root.
မှတ်ထားရန်
- Presigned URL: temporary access to one object, with the signer’s rights.
- CRR for another Region. SRR for the same Region. Both need versioning.
စာမေးပွဲမှာ
- “Objects must not be deleted by anyone for seven years” points to Object Lock in compliance mode.
- “Audit every use of the key that encrypts the data” points to SSE-KMS.
- “Give a customer a download link that expires” points to a presigned URL.
- “Copy data to another Region for compliance” points to cross-Region replication.
ဒါတွေနဲ့ မရောပါနဲ့
- Encryption at rest and in transitEnvelope encryption, the defaults that each service gives you, and where TLS ends.
AWS Key Management Service (AWS KMS)Who may use a key, which key type, how keys rotate and delete, and where KMS limits you.
AWS BackupCross-Region and cross-account copies, Vault Lock, point-in-time recovery, and when to use backup instead of replication.