S3 interview questions.

1. What is s3 and explain it?

S3 (simple storage service) is storage service provided by the aws. It stores the objects like document, text, images etc. in a bucket it can access over the internet.

  • S3 provides the highly durable and available solution by replicating data in multiple regions.

  • Data uploaded in a region never leaves until it delete by owner.

  • Read-after-consistency.

  • Eventually consistency.

  • It follows the hierarchy while storing the data.

2. Does s3 maintain the versioning?

Yes. But we need to enable that setting.

3. What is Bucket?

It is like container in the s3, it stores the objects. By default we can 100 bucket per account.

4. What is life cycle management in s3?

A lifecycle configuration is a set of rules that define the actions applied by S3 to a group of objects.

Actions:

  • Transition : to transition from one storage class to another storage class.

    Ex: Standard-IA to Glacier

  • Expiration: objects expired and deleted.

5.Define all types of Storage Classes in AWS S3?

  • Amazon S3 Standard (S3 Standard):

    S3 Standard offers high durability, availability, and performance object storage for frequently accessed data. Because it delivers low latency and high throughput.

  • Amazon S3 Intelligent-Tiering (S3 Intelligent-Tiering):

    is the first cloud storage that automatically reduces your storage costs on a granular object level by automatically moving data to the most cost-effective access tier based on access frequency, without performance impact, retrieval fees, or operational overhead. S3 Intelligent-Tiering delivers milliseconds latency and high throughput performance for frequently, infrequently, and rarely accessed data in the Frequent, Infrequent, and Archive Instant Access tiers. You can use S3 Intelligent-Tiering as the default storage class for virtually any workload, especially data lakes, data analytics, new applications, and user-generated content.

  • Amazon S3 Standard-Infrequent Access (S3 Standard-IA):

    S3 Standard-IA is for data that is accessed less frequently, but requires rapid access when needed. S3 Standard-IA offers the high durability, high throughput, and low latency of S3 Standard. This combination of low cost and high performance make S3 Standard-IA ideal for long-term storage, backups, and as a data store for disaster recovery files.

  • Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA):

    One Zone-IA is for data that is accessed less frequently, but requires rapid access when needed. Unlike other S3 Storage Classes which store data in a minimum of three Availability Zones (AZs), S3 One Zone-IA stores data in a single AZ and costs 20% less than S3 Standard-IA. S3 One Zone-IA is ideal for customers who want a lower-cost option for infrequently accessed data but do not require the availability and resilience of S3 Standard or S3 Standard-IA. It’s a good choice for storing secondary backup copies of on-premises data or easily re-creatable data.

  • Amazon S3 Glacier storage classes:

    • Glacier Instant Retrieval:

      Amazon S3 Glacier Instant Retrieval is an archive storage class that delivers the lowest-cost storage for long-lived data that is rarely accessed and requires retrieval in milliseconds.

    • Glacier Flexible Retrieval:

      S3 Glacier Flexible Retrieval delivers low-cost storage, up to 10% lower cost (than S3 Glacier Instant Retrieval), for archive data that is accessed 1—2 times per year and is retrieved asynchronously.

  • Glacier Deep Archive:

    Glacier Deep Archive is Amazon S3’s lowest-cost storage class and supports long-term retention and digital preservation for data that may be accessed once or twice in a year. It is designed for customers—particularly those in highly-regulated industries, such as financial services, healthcare, and public sectors—that retain data sets for 7—10 years or longer to meet regulatory compliance requirements.

6. What is the maximum size of S3 bucket?

In S3 bucket you can store unlimited volume of data and number of objects.In single upload request You can put an object of around 5 GB but you must have to enable Multipart Upload capability.