You have a set of applications hosted in AWS.
There is a requirement to store the logs from this application onto durable storage.
After a period of 3 months, the logs can be placed in archival storage.
Which of the following steps would you carry out to achieve this requirement.
Choose 2 answers from the options given below.
Click on the arrows to vote for the correct answer
A. B. C. D.Answer - B and C.
The AWS Documentation mentions the following.
Amazon Simple Storage Service (Amazon S3) makes it simple and practical to collect, store, and analyze data - regardless of format - all at massive scale.
S3 is object storage built to store and retrieve any amount of data from anywhere - web sites and mobile apps, corporate applications, and data from IoT sensors or devices.
For more information on S3, please visit the below URL:
https://aws.amazon.com/s3/Lifecycle configuration enables you to specify the lifecycle management of objects in a bucket.
The configuration is a set of one or more rules, where each rule defines an action for Amazon S3 to apply to a group of objects.
These actions can be classified as follows:
Transition actions - In which you define when objects transition to another storage class.
For example, you may choose to transition objects to the STANDARD_IA (IA, for infrequent access) storage class 30 days after creation, or archive objects to the GLACIER storage class one year after creation.
Expiration actions - In which you specify when the objects expire.
Then Amazon S3 deletes the expired objects on your behalf.
For more information on S3 Lifecycle policies please visit the below URL:
http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.htmlTo achieve the requirement of storing logs from applications onto durable storage and moving them to archival storage after a period of 3 months, there are a few options available in AWS.
Option A: Store the log files as they emitted from the application on to Amazon Glacier Amazon Glacier is an extremely low-cost storage service that provides secure, durable, and scalable storage for data archiving and backup. Glacier is optimized for infrequently accessed data, and retrieval times can range from minutes to hours. Therefore, storing logs on Amazon Glacier will provide long-term durability at a low cost. However, retrieving the data can take time and may not be suitable for real-time analysis.
Option B: Store the log files as they emitted from the application on to Amazon Simple Storage Service (S3) Amazon Simple Storage Service (S3) is an object storage service that offers industry-leading scalability, data availability, security, and performance. S3 is designed for 99.999999999% (11 9's) of durability, and it stores data across multiple availability zones (AZs) to ensure high availability and fault tolerance. S3 is suitable for storing logs that need to be analyzed in near real-time.
Option C: Use Lifecycle policies to move the data onto Amazon Glacier after a period of 3 months Amazon S3 provides a feature called Lifecycle policies that enables you to define rules to automatically move data between different storage classes or delete data based on age or other factors. Using a Lifecycle policy to move logs from S3 to Glacier after 3 months can help reduce storage costs while maintaining data durability.
Option D: Use Lifecycle policies to move the data onto Amazon Simple Storage Service after a period of 3 months. This option does not make sense as logs would already be stored on Amazon S3.
In conclusion, the recommended solution would be to store the log files as they are emitted from the application on Amazon S3, and then use a Lifecycle policy to move the data onto Amazon Glacier after a period of 3 months. This way, the logs can be analyzed in near real-time while also providing long-term durability and reducing storage costs.