Prev Question
Next Question

You work for an insurance company and are responsible for the day-to-day operations of your company’s online quote
system used to provide insurance quotes to members of the public. Your company wants to use the application logs
generated by the system to better understand customer behavior. Industry, regulations also require that you retain all
application logs for the system indefinitely in order to investigate fraudulent claims in the future. You have been tasked
with designing a log management system with the following requirements:
– All log entries must be retained by the system, even during unplanned instance failure.

– The customer insight team requires immediate access to the logs from the past seven
days.
– The fraud investigation team requires access to all historic logs, but will wait up to
24 hours before these logs are available.
How would you meet these requirements in a cost-effective manner? (Choose three.)

A.
Configure your application to write logs to the instance’s ephemeral disk, because this storage is free and has good write performance.
Create a script that moves the logs from the instance to Amazon S3 once an hour.

B.
Write a script that is configured to be executed when the instance is stopped or terminated and that will upload any remaining logs on
the instance to Amazon S3.

C.
Create an Amazon S3 lifecycle configuration to move log files from Amazon S3 to Amazon Glacier after seven days.

D.
Configure your application to write logs to the instance’s default Amazon EBS boot volume, because this storage already exists.
Create a script that moves the logs from the instance to Amazon S3 once an hour.

E.
Configure your application to write logs to a separate Amazon EBS volume with the “delete on termination” field set to false.
Create a script that moves the logs from the instance to Amazon S3 once an hour.

F.
Create a housekeeping script that runs on a T2 micro instance managed by an Auto Scaling group for high availability.
The script uses the AWS API to identify any unattached Amazon EBS volumes containing log files.
Your housekeeping script will mount the Amazon EBS volume, upload all logs to Amazon S3, and then delete the volume.

Prev Question
Next Question

Leave a Reply

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