Easy ReviewCLF-C02
Cloud Technology and Services23

S3

Store objects and manage their access, encryption, replication, retention, and event processing.

Este conteúdo de estudo ainda não foi traduzido, então aparece em inglês. Ajude a traduzir

S3 stores data as objects in buckets. Versioning retains earlier copies, replication copies objects between buckets, and Object Lock protects retained versions. Access policies, encryption, lifecycle rules, and events control how that data is used and managed.

Buckets, objects, and durability

Amazon S3 stores data as objectsAn object is stored data together with metadata that describes it. in bucketsA bucket is a container for objects stored in S3.. It is built for any amount of data with very high durability, so it is the default place on AWS for files, backups, data lakes and static website content.

How it works

  1. Create a bucket in a Region.
  2. Upload objects. Each one is a file plus metadata, identified by a keyAn object key is the name used to identify an object within its bucket..
  3. S3 stores each object across at least three Availability Zones in most storage classesA storage class determines an object storage option with particular access, placement, and billing characteristics..
  4. Grant access explicitly with policies; everything starts private.
Storage type AWS example Holds
Object Amazon S3 Files plus metadata, accessed over HTTP by key
Block Amazon EBS, instance store Volumes attached to an instance
File Amazon EFS, Amazon FSx Shared file systems mounted over a network

Exam cues

  • If the question says store unlimited files, backups or static web content, think Amazon S3.
  • If the question says highest durability, think S3’s 11 nines.

Remember

  • Durability: 99.999999999%. S3 Standard availability: 99.99%.
  • Objects live in buckets; buckets live in a Region.

Trap: S3 is not a disk you mount on an instance. For a boot or database volume use block storage (Amazon EBS); for a shared file system use Amazon EFS or Amazon FSx.

Da documentação da AWS (15)
  • Amazon S3 is an object storage service for storing and protecting any amount of data for uses such as data lakes, websites, mobile applications, backup and restore, archive and big data analytics.
  • In Amazon S3 an object is a file and any metadata that describes it, and a bucket is a container for objects; each object has a key that identifies it uniquely within the bucket.
  • To store data in Amazon S3 you create a bucket, choosing its name and AWS Region, then upload data to it as objects.
  • S3 buckets and objects are private and accessible only when access is explicitly granted, through bucket policies, IAM policies, ACLs or access points.
  • Amazon S3 is designed for 99.999999999% (11 nines) durability, and S3 Standard for 99.99% availability.
  • S3 Standard, S3 Intelligent-Tiering, S3 Standard-IA and the S3 Glacier storage classes store objects redundantly on multiple devices across at least three Availability Zones in a Region.
  • S3 Versioning keeps multiple versions of an object in the same bucket, so accidentally deleted or overwritten objects can be restored.
  • S3 buckets have a flat structure, not a file system hierarchy; console folders are shared key name prefixes.
  • S3 Transfer Acceleration speeds up long-distance transfers to a bucket by routing them through CloudFront edge locations.
  • CloudTrail S3 data events record object-level API activity such as reads and writes.
  • CloudTrail does not log data events by default; they must be enabled and incur additional charges.
  • S3 Inventory produces daily or weekly object and metadata listings for an entire bucket or for keys with a selected prefix.
  • Multipart upload sends an object as independent parts, in any order and in parallel, which raises throughput and lets you retry only the parts that failed on an unreliable network.
  • Block Public Access settings constrain permissions granted through policies or ACLs; removing a block does not itself grant public access.
  • One source bucket can replicate to a single destination bucket or to multiple destination buckets, in the same Region or in different Regions.

Storage classes

Amazon S3 storage classesA storage class determines an object storage option with particular access, placement, and billing characteristics. trade access speed and frequency for price. All are designed for the same 11 nines of durability; they differ in availability, retrieval time, retrieval fees and minimum storage durationA minimum storage duration is the billed retention period that can still incur charges when data leaves a storage class early..

How it works

  1. Pick a class per objectAn object is stored data together with metadata that describes it., by how often and how fast it is read.
  2. The less often data is read, the cheaper the storage, with retrieval fees and minimum durations added.
  3. Lifecycle rules can move objects to cheaper classes as they age.
Class Access pattern Retrieval Min duration AZs
S3 Standard Frequent Milliseconds None 3 or more
S3 Intelligent-Tiering Unknown or changing Milliseconds; no retrieval fees None 3 or more
S3 Express One Zone Latency-sensitive Single-digit milliseconds None 1
S3 Standard-IA About once a month Milliseconds 30 days 3 or more
S3 One Zone-IA Once a month, re-creatable Milliseconds 30 days 1
S3 Glacier Instant Retrieval About once a quarter Milliseconds 90 days 3 or more
S3 Glacier Flexible Retrieval About once a year Minutes to hours 90 days 3 or more
S3 Glacier Deep Archive Less than once a year Hours 180 days 3 or more

Exam cues

  • If the question says unknown or changing access, think Intelligent-Tiering.
  • If the question says rarely accessed but needs immediate access, think Standard-IA or Glacier Instant Retrieval.
  • If the question says long-term archive, cheapest, hours are fine, think Glacier Deep Archive.
  • If the question says re-creatable data at lowest cost, think One Zone-IA.

Remember

  • All classes: 11 nines durability.
  • Minimums: Standard-IA and One Zone-IA 30 days, Glacier IR and Flexible 90 days, Deep Archive 180 days.
  • Availability: Standard 99.99%, Standard-IA and Intelligent-Tiering 99.9%, One Zone-IA 99.5%.

Trap: Cheaper classes are not always cheaper overall. Frequently read data in Standard-IA or Glacier pays retrieval fees that can exceed the storage savings.

Da documentação da AWS (13)
  • S3 Standard is the default storage class, for frequently accessed data (more than once a month) with millisecond access, no minimum storage duration and 99.99% designed availability.
  • S3 Intelligent-Tiering is for data with unknown, changing or unpredictable access patterns; it charges per-object monitoring and automation fees but no retrieval fees.
  • S3 Standard-IA is for long-lived, infrequently accessed data (about once a month) with millisecond access, a 30-day minimum storage duration and per-GB retrieval fees.
  • S3 One Zone-IA stores data in one Availability Zone for re-creatable, infrequently accessed data; it has a 30-day minimum and is not resilient to the loss of that AZ.
  • S3 Express One Zone gives single-digit millisecond access for latency-sensitive applications in one Availability Zone you choose.
  • S3 Glacier Instant Retrieval is for archive data accessed about once a quarter that needs millisecond access, with a 90-day minimum storage duration.
  • S3 Glacier Flexible Retrieval is for archives accessed about once a year, with retrieval in minutes to hours, a 90-day minimum, and objects restored before access.
  • S3 Glacier Deep Archive is for archives accessed less than once a year, with retrieval in hours and a 180-day minimum storage duration; it is the lowest-cost class.
  • All of these storage classes are designed for 99.999999999% durability.
  • Amazon S3 archives data at the lowest costs in S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive.
  • S3 storage classes are designed for different availability: S3 Standard 99.99%, Standard-IA, Intelligent-Tiering and Glacier Instant Retrieval 99.9%, and One Zone-IA 99.5%.
  • S3 Express One Zone stores objects in directory buckets in one Availability Zone you choose, so compute in that zone can be co-located with its storage for the lowest latency.
  • S3 Storage Class Analysis watches access patterns to help decide when to move data to STANDARD_IA; results appear after 24 to 48 hours and update daily, with optional daily export to a bucket.

S3 Lifecycle basics

S3 Lifecycle rules manage objectsAn object is stored data together with metadata that describes it. over time, moving them to cheaper storage and deleting them when no longer needed.

How it works

  1. Write a rule for a bucketA bucket is a container for objects stored in S3. or a prefixA prefix is the beginning of an object key used to select related object names..
  2. Transition actions move objects to cheaper classes after a number of days.
  3. Expiration actions delete objects at the end of their retention.

Exam cues

  • If the question says move old data to cheaper storage or delete it automatically, think S3 Lifecycle.

Remember

  • Transitions and expirations, by object age.

Trap: Lifecycle rules act on object age; they do not watch access patterns. S3 Intelligent-Tiering does that.

Da documentação da AWS (1)
  • S3 Lifecycle rules move objects to cheaper storage classes after a set time (transition actions) and delete them when they expire (expiration actions).

Flashcards

toque para virar
Resposta

·

Todos os 23 flashcards em lista

What kind of storage is Amazon S3, and what are its two main building blocks?

Object storage. Data is stored as objects (a file plus metadata, identified by a key) inside buckets.

What durability is Amazon S3 designed for?

99.999999999% (11 nines).

How does Amazon S3 Standard protect objects against the loss of a data center?

It stores objects redundantly across at least three Availability Zones in the Region.

A new Amazon S3 bucket is created without any policy. Can anyone on the internet read its objects?

No. Buckets and objects are private until access is explicitly granted.

Which use cases fit Amazon S3 object storage?

Data lakes, static websites, mobile app content, backup and restore, archives and big data analytics.

How can a company recover an Amazon S3 object that someone overwrote by mistake?

Turn on S3 Versioning. It keeps earlier versions in the bucket, so the old version can be restored.

Users around the world upload large files to one Amazon S3 bucket and uploads are slow. Which S3 feature speeds them up?

S3 Transfer Acceleration, which routes uploads through CloudFront edge locations.

Does Amazon S3 store objects in a folder hierarchy like a file system?

No. S3 is flat; folders in the console are shared key name prefixes.

An S3 audit needs object reads recorded while a scheduled job lists bucket contents. Which features fit?

Enable CloudTrail S3 data events for object activity and S3 Inventory for the listing. Data events are not logged by default; Inventory lists objects and metadata rather than access calls.

A 3 GB upload to Amazon S3 over a flaky network keeps restarting from zero. What should the client use?

Multipart upload, so only the failed parts are retried.

An Amazon S3 bucket has Block Public Access turned off but no policy or ACL grants public reads. Does turning off the block make its objects public?

No. Public reads still need an applicable policy or ACL grant.

Objects written to one S3 bucket must appear automatically in buckets in three other Regions. What provides this without custom copy code?

S3 Replication from the source bucket to each destination bucket. One source can replicate to multiple destination buckets across Regions.

A company's data is accessed in unpredictable patterns. Which Amazon S3 storage class moves it between tiers automatically without retrieval fees?

S3 Intelligent-Tiering.

Monthly reports are read about once a month but must open in milliseconds. Which Amazon S3 storage class fits at lower cost than S3 Standard?

S3 Standard-IA, with a 30-day minimum and per-GB retrieval fees.

A company must keep compliance archives for 10 years and reads them less than once a year; retrieval within hours is fine. Which Amazon S3 storage class is cheapest?

S3 Glacier Deep Archive, with retrieval in hours and a 180-day minimum.

Medical images are rarely read, but when needed they must open in milliseconds. Which Amazon S3 archive class fits?

S3 Glacier Instant Retrieval, for data accessed about once a quarter with millisecond access.

A company stores thumbnails it can regenerate from originals. Which Amazon S3 storage class is cheapest for infrequent access?

S3 One Zone-IA. It keeps data in one AZ, which is acceptable for re-creatable data.

Is S3 One Zone-IA as resilient as S3 Standard-IA?

No. One Zone-IA keeps data in a single AZ and is not resilient to that AZ's loss; Standard-IA uses at least three AZs.

How do Amazon S3 Standard and S3 Standard-IA differ in their intended access patterns?

S3 Standard is for frequently accessed data. S3 Standard-IA is for long-lived data accessed infrequently and charges retrieval fees.

What should a company consider before using Amazon S3 One Zone-IA for infrequently accessed data?

S3 One Zone-IA stores data in one Availability Zone and is not resilient to its loss. It suits data that can be recreated.

Which Amazon S3 storage class suits a latency-sensitive application that needs fast access to objects?

S3 Express One Zone provides single-digit millisecond access in one Availability Zone.

Which Amazon S3 storage class suits data with unpredictable access patterns?

S3 Intelligent-Tiering is designed for unknown or changing access patterns. It charges monitoring and automation fees but no retrieval fees.

Logs in S3 are read for 30 days, kept for a year, then deleted. How can costs drop automatically?

An S3 Lifecycle rule: transition to a cheaper class after 30 days, archive later, and expire after a year.

Você concluiu todos os tópicos da CLF-C02!

Seu badge ficou dourado. Próximo passo: agendar a prova na AWS. Depois de passar, adicione-se ao Quem passou.

Compartilhar

Conte que você concluiu esta certificação

Concluí todos os tópicos da AWS Certified Cloud Practitioner (CLF-C02) no Easy Review. Venha estudar também!