Practice Test

What is the maximum retention period for Amazon S3 Standard-IA stored data?

  • A. 30 days
  • B. 45 days
  • C. 60 days
  • D. There is no maximum limit

Answer: D. There is no maximum limit

Explanation: Amazon S3 Standard-IA does not limit the maximum data retention period so theoretically, the period could be indefinite.

True or False: Amazon Glacier automatically deletes archives that have expired according to their set retention policy.

Answer: False

Explanation: Amazon Glacier does not automatically delete archives after the retention period. Instead, it is the user’s responsibility to delete them.

True or False: Amazon RDS backup retention period can be configured to retain backups for any number of days.

Answer: False

Explanation: The backup retention period for Amazon RDS can be set from 0 to 35 days.

Which AWS service will be the best to classify and protect sensitive data?

  • A. AWS Data Pipeline
  • B. AWS Macie
  • C. AWS Athena
  • D. AWS Glue

Answer: B. AWS Macie

Explanation: AWS Macie uses machine learning to automatically discover, classify, and protect sensitive data like Personally Identifiable Information (PII).

True or False: It is not possible to modify the Amazon Redshift’s automatic snapshot retention period after it has been set.

Answer: False

Explanation: You can modify the automatic snapshot retention period for Amazon Redshift anytime.

True or False: AWS DMS retains all replication tasks history.

Answer: True

Explanation: AWS DMS retains the history of all tasks including load tasks, replication tasks and migration tasks.

Which of the following AWS services are designed for long-term data retention?

  • A. Amazon Glacier
  • B. Amazon S3
  • C. AWS Snowball
  • D. All of the above

Answer: D. All of the above

Explanation: All these services, Glacier for archiving, S3 for object storage, and Snowball for data transport, are designed for long-term data retention.

In AWS, data classification should be based on:

  • A. The age of the data
  • B. The sensitivity of the data
  • C. The size of the data
  • D. All of the above

Answer: B. The sensitivity of the data

Explanation: Data classification in AWS is primarily based on the sensitivity of the data.

True or False: An S3 bucket lifecycle policy can help save cost by moving files to Glacier after a set period of time.

Answer: True

Explanation: An S3 bucket lifecycle policy can transition objects to cheaper storage classes like Glacier to save costs.

What is the minimum file size that can be stored in S3 Intelligent-Tiering storage?

  • A. 128KB
  • B. 64KB
  • C. 256KB
  • D. 512KB

Answer: A. 128KB

Explanation: Files stored in the S3 Intelligent-Tiering storage class must be a minimum of 128KB. This is due to the costs associated with monitoring and moving data.

Interview Questions

What is data retention in AWS?

Data retention in AWS refers to the policies and strategies that dictate how long AWS should keep your data. The length of time depends on different requirements like compliance or regulations.

What is AWS Glacier?

AWS Glacier is a secure, durable, and extremely low-cost Amazon S3 storage class for data archiving and long-term backup, ensuring flexibility, data durability, and security.

Can you briefly explain data classification in AWS?

Data classification in AWS involves organizing data by relevant categories so that it may be used and protected more efficiently. Based on AWS’ Shared Responsibility Model, data classification is generally the responsibility of the customer.

What is the AWS service that automatically classifies data?

Amazon Macie is the service that automatically classifies data. It uses machine learning to recognize sensitive data such as personal identifiable information (PII) and provides dashboard visualizations which help in governance, compliance, and auditing requirements.

What role does AWS KMS play in protecting data?

AWS Key Management Service (KMS) makes it easier for you to create and control the cryptographic keys used to encrypt your data, hence playing a crucial role in data protection.

How can you define the lifecycle of an Amazon S3 object?

The lifecycle of an Amazon S3 object can be managed by creating a lifecycle configuration, which defines how Amazon S3 manages objects during their lifetime.

What AWS services can you use to automate data retention and deletion schedules?

AWS services such as Amazon S3 lifecycle policies, AWS Step Functions, and AWS Lambda are typically used to automate the scheduling of data retention and deletion.

What AWS service helps you automate the classification of data stored in S3 buckets?

Amazon Macie is an AWS service that helps in automating the classification of data stored in Amazon S3 buckets.

What is AWS Storage Gateway and how does it help in data retention?

AWS Storage Gateway is a hybrid storage service that enables your on-premises applications to seamlessly use AWS cloud storage. It can be used in data retention strategies for backing up point-in-time snapshots of your data to Amazon S3.

How can you encrypt data at rest in AWS?

AWS offers a variety of data encryption options, which include default encryption for S3 buckets, Elastic Block Store (EBS) volumes, and AWS Key Management Service (KMS) for other storage types.

How does AWS ensure data durability and availability?

AWS ensures data durability and availability through replication of data across multiple geographically isolated Availability Zones.

What AWS service is used for long-term data retention and digital preservation?

AWS Glacier and AWS Glacier Deep Archive are used for long-term data retention and digital preservation.

How can versioning in S3 assist with data retention?

Versioning in S3 allows you to maintain multiple variants of an object in the same bucket. With versioning, you can preserve, retrieve, and restore every version of every object, which can be beneficial in a data retention strategy.

Can you delete an object that is archived in Amazon Glacier immediately?

No, you cannot delete an object that is archived in Amazon Glacier immediately. The Glacier imposes a minimum 90-day retention period, and you are charged for deletions within this period.

Can the retention periods for Amazon S3 Glacier and S3 Glacier Deep Archive be managed by AWS S3 Lifecycle policies?

Yes, the retention periods for Amazon S3 Glacier and S3 Glacier Deep Archive can be controlled by AWS S3 Lifecycle policies.

Leave a Reply

Your email address will not be published. Required fields are marked *