exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 114 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 114
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A company manages an application that stores logs in Amazon CloudWatch Logs. The company wants to archive the logs in Amazon S3. Logs are rarely accessed after 90 days and must be retained for 10 years.

Which combination of steps should a DevOps engineer take to meet these requirements? (Choose two.)

  • A. Configure a CloudWatch Logs subscription filter to use AWS Glue to transfer all logs to an S3 bucket.
  • B. Configure a CloudWatch Logs subscription filter to use Amazon Kinesis Data Firehose to stream all logs to an S3 bucket.
  • C. Configure a CloudWatch Logs subscription filter to stream all logs to an S3 bucket.
  • D. Configure the S3 bucket lifecycle policy to transition logs to S3 Glacier after 90 days and to expire logs after 3,650 days.
  • E. Configure the S3 bucket lifecycle policy to transition logs to Reduced Redundancy after 90 days and to expire logs after 3,650 days.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
bgc1
2 years, 1 month ago
Selected Answer: BD
B is right as you can use a subscription filter with Kinesis, Lambda, or Kinesis Data Firehose. https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html D is right as glacier is perfect for a rarely used object
upvoted 2 times
...
Piccaso
2 years, 2 months ago
Selected Answer: CD
Glue and Kinesis are overkill -> A and B are eliminated. Reduced Redundancy is not related.
upvoted 1 times
BelloMio
2 years, 2 months ago
You cannot use a subscription filter on S3 directly.
upvoted 3 times
Piccaso
2 years, 2 months ago
Got it. Thanks.
upvoted 1 times
...
...
...
Bulti
2 years, 3 months ago
Selected Answer: BD
BD is correct.
upvoted 1 times
...
Imstack
2 years, 4 months ago
BD - correct
upvoted 1 times
...
quixo
2 years, 4 months ago
BD for sure, You can use a subscription filter with Kinesis, Lambda, or Kinesis Data Firehose. Refer: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html
upvoted 2 times
Mark1000
2 years, 2 months ago
And Amazon Opensearch too BD for sure!
upvoted 1 times
...
Mark1000
2 years, 2 months ago
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_OpenSearch_Stream.html
upvoted 1 times
...
...
SmileyCloud
2 years, 5 months ago
Selected Answer: BD
BD - correct. You can't subscribe CW logs to S3.
upvoted 2 times
...
adozoo
2 years, 5 months ago
Selected Answer: BD
Kinesis Data Firehose get logs and send to s3,bucket lifecycle policy change to S3 Glacier
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago