Wednesday 8 February 2023

Top 10 Interview Questions on S3 Classes, S3 Replication and EBS

 




1.  What are the S3 storage classes in AWS?

Answer:  Amazon S3 Standard, S3 Intelligent-Tiering, S3 One Zone, S3 Glacier Deep Archive, S3 Standard-Infrequent Access, and S3 Glacier.

 

2.  Which of the S3 storage classes in AWS offers a single, available zone, providing lower-cost data storage for infrequently accessed data?

Answer:  S3 One Zone

 

3. Which of the S3 storage classes class provides long-term data archiving with retrieval times within minutes?

Answer:  S3 Glacier

 

4. What is AWS S3 Replication?

Answer: S3 replication is used to replicate gadgets/object asynchronously. S3 can replicate object in an s3 bucket to another bucket within the same region to across regions.

 

5. What is CORS (Cross Origin Resource Sharing)?

Answer:  CORS is a mechanism in AWS that enables cross-domain calls between a web browser and a server (such as Amazon S3). In AWS, CORS can be used to grant permission or denial of a cross-origin requests from specified origins to your S3 bucket.

 

6. What type of website can s3 be used to host?

Answer: Static Website. A static website is a type of website that the content doesn’t change and uses HTML. Users can not effect any change other than a read access permission.

 

7. What are the differences between Amazon S3 and Amazon Elastic Block Store (EBS)?

Answer:

·        S3 can store objects, its highly scalable, object-based cloud storage service and it is designed for durability, availability, and scalability. While EBS is a block-level storage service which has to be used with EC2 instances for intensive workloads.

·        In S3, entity can be stored while with EBS is EC2 Instances file management tool.

·        With S3, data security is high while with EBS, the data security is very few.

· 

8. How do I control access to an S3 bucket?

Answer:

·        S3 Bucket Policies: Here, permissions are configured at the bucket level.

·        Access Control List (ACL): This is to control get proper access to S3 assets.

·        IAM: The use of AWS Identity and Access Management (IAM) Groups, Roles, and Users to grant permissions to S3 objects and files.

 

9. In what aspect is S3 used with Terraform for infrastructure provisioning?

Answer: S3 comes handy to manage terraform state file for collaboration using Remote BackEnd.

 

10. How is S3 versioning different from object lifecycle management?

Answer:

S3 versioning allows you to store multiple versions of your object within the same S3 bucket while Object lifecycle management helps to automate the movement of objects between S3 different storage classes based on the access patterns. Both features can be used together to manage S3 objects for the entire lifecycle.


This is just for the beginners, in my next post, we will explore other interview questions to land that IT job you desire.

References: Object Storage Classes – Amazon S3

4 comments:

  1. Thanks Emmanuel for posting this. Would you please elaborate on Remote Back end mentioned in answer 9? Thanks in advance.

    ReplyDelete
  2. Hi Emmie, i see that you wrote about s3 bucket. good job. Our 7 teams is having issues with the STATE FILE. They are making configuration changes each they implement terraform apply, it does not work. Could you share a tip on that. Thank you

    ReplyDelete
  3. @Uche, What type of issue is your team having? Don't forget you can only run a single application (terraform apply) at a time. However, you should ensure your team create a DynamoDB Table to be able to lock the state file while a team member is working on it.

    ReplyDelete
  4. @Hodalo, a remote backend is used to manage the state file with an s3 bucket in such a way that a DynamoDB Table is configured to ensure collaboration with other team members whenever a distributed task is performed.

    ReplyDelete

5 INTERVIEW QUESTIONS HANDY FOR AWS SOLUTION ARCHITECH

1. How Do You patch Linux on premises? Identify the patches that need to be applied to your Linux system and this can be achieved with the u...