AWS Certification Practice Questions with Detailed Explanation

AWS Certification Practice Questions With Detailed Explanation

Question 1: A company called TCS has a backup policy stating that backups need to be easily available for 6 months and then be sent to long-term archiving. How would TCS use S3 to accomplish this goal?

1. Write an AWS command-line tool to backup the data and send it to the glacier after 6 months

2. Use S3 bucket policies to manage the data

3. This is automatically handled by AWS

4. Use bucket Lifecycle policies and set the files to go to glacier storage after 6 month

Ans: 4

Exp: Lifecycle management defines how Amazon S3 manages objects during their lifetime. Some objects that you store in an Amazon S3 bucket might have a well-defined lifecycle:

If you are uploading periodic logs to your bucket, your application might need these logs for a week or a month after creation, and after that, you might want to delete them.

Some documents are frequently accessed for a limited period of time. After that, you might not need real-time access to these objects, but your organization might require you to archive them for a longer period and then optionally delete them later. Digital media archives, financial and healthcare records, raw genomic sequence data, long-term database backups, and data that must be retained for regulatory compliance are some kinds of data that you might upload to Amazon S3 primarily for archival purposes.

For such objects, you can define rules that identify the affected objects, a timeline, and specific actions you want Amazon S3 to perform on the objects.

Amazon S3 manages object lifetimes with a lifecycle configuration, which is assigned to a bucket and defines rules for individual objects. Each rule in a lifecycle configuration consists of the following:

An object key prefix that identifies one or more objects to which the rule applies.

An action or actions that you want Amazon S3 to perform on the specified objects.

A date or a time period, specified in days since object creation, when you want Amazon S3 to perform the specified action.

You can add these rules to your bucket using either the Amazon S3 console or programmatically.

Question 2: You are going to create an Amazon Relational Database Services (RDS) for your production applications, and for that, you require fast and consistent I/O performance. 

For more AWS Certification Practice Questions and Answers: Visit the link