![]() |
set-1 |
1. What is AWS S3?
AWS S3 (Simple Storage Service) is a scalable object storage service that allows users to store and retrieve any amount of data from anywhere on the web.
2.What is a bucket in AWS S3?
A bucket is a container for storing objects in S3. Each bucket can hold an unlimited number of objects and is uniquely identified within an AWS account.
3.What is the maximum size of an object that can be stored in S3?
The maximum size of a single object in S3 is 5 TB.
4.What are the different storage classes available in S3?
S3 offers several storage classes, including:
S3 Standard: For frequently accessed data.
S3 Intelligent-Tiering: For data with unknown access patterns.
S3 Standard-IA (Infrequent Access): For infrequently accessed data.
S3 One Zone-IA: For infrequent access data stored in a single Availability Zone.
S3 Glacier: For archival storage with retrieval times ranging from minutes to hours.
S3 Glacier Deep Archive: The lowest-cost storage for long-term archival.
5.When should you use S3 Glacier?
Use S3 Glacier for long-term archival storage where retrieval times of several hours are acceptable.
6.How do you control access to an S3 bucket?
Access can be controlled using bucket policies, IAM policies, and Access Control Lists (ACLs).
7.What is a bucket policy?
A bucket policy is a resource-based policy that allows you to manage permissions for the entire bucket and the objects within it.
8.How does S3 handle data replication?
S3 offers cross-region replication (CRR) and same-region replication (SRR) to automatically replicate objects across different regions or within the same region.
9.Can you disable versioning once enabled?
No, once versioning is enabled on a bucket, it cannot be disabled; however, you can suspend it.
10.How do you restore a deleted object with versioning?
You can restore a deleted object by retrieving its previous version from the versioned bucket.
11.A company needs to store large video files that are accessed infrequently. Which S3 storage class should they use?
They should use the S3 Standard-IA or S3 Glacier for cost-effective storage of infrequently accessed files.
12.How can you automatically delete old object versions?
You can set up lifecycle policies in S3 to automatically delete old versions after a specified period.
13.How does S3 Intelligent-Tiering optimize costs?
It automatically moves objects between two access tiers when access patterns change, ensuring cost savings without performance impact