exam questions

Exam AWS Certified Security - Specialty All Questions

View all questions & answers for the AWS Certified Security - Specialty exam

Exam AWS Certified Security - Specialty topic 1 question 410 discussion

Exam question from Amazon's AWS Certified Security - Specialty
Question #: 410
Topic #: 1
[All AWS Certified Security - Specialty Questions]

A company recently began using Amazon Route 53 as its DNS provider. The company must log public DNS queries that Route 53 receives. The company has activated Route 53 public DNS query logging. The queries must be stored in a highly durable storage solution that deletes logs that are older than 1 year.

Which solution will meet these requirements MOST cost-effectively?

  • A. Configure Route 53 to export log data to Amazon S3. Configure an S3 Lifecycle policy that deletes objects in the target S3 bucket that are older than 1 year.
  • B. Configure Route 53 to export log data to Amazon S3. Configure an AWS Lambda function to run every hour to delete log files that are older than 1 year.
  • C. Configure Route 53 to export log data to Amazon CloudWatch Logs. For the target CloudWatch Logs log group, set the retention period to 1 year.
  • D. Configure Route 53 to export log data to Amazon CloudWatch Logs. Use CloudWatch Logs Insights to identify and delete log entries that are older than 1 year.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
tainh
Highly Voted 2 years, 5 months ago
Selected Answer: A
A is correct S3 most cost-effectively https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html Changing the retention period for logs and exporting logs to Amazon S3 By default, CloudWatch Logs stores query logs indefinitely. You can optionally specify a retention period so that CloudWatch Logs deletes logs that are older than the retention period. For more information, see Change log data retention in CloudWatch Logs in the Amazon CloudWatch User Guide. If you want to retain log data but you don't need CloudWatch Logs tools to view and analyze the data, you can export logs to Amazon S3, which can reduce your storage costs.
upvoted 11 times
AzureDP900
2 years, 2 months ago
Agree with you. A is right
upvoted 1 times
...
...
ITGURU51
Most Recent 1 year, 12 months ago
Answer A is the most cost effective solution for storing the DNS logs.
upvoted 1 times
...
swrp4595
2 years, 3 months ago
Selected Answer: A
Option C is incorrect because it is not the most cost-effective solution. Configuring Route 53 to export log data to Amazon CloudWatch Logs and setting the retention period to 1 year will result in charges for storing the logs for the full year, even if the logs are no longer needed. Additionally, there is a charge for the number of ingested log events, and this can add up over time, leading to higher costs. In comparison, options A and B provide a more cost-effective solution by automatically deleting logs that are older than 1 year, reducing the amount of data stored and the associated charges.
upvoted 3 times
...
milofficial
2 years, 3 months ago
Selected Answer: A
general wise words: key word durable is almost always S3 S3 is more cost-effectively than CloudWatch. S3 Lifecycle policies for automatic deletion A 100%
upvoted 2 times
...
roguecloud
2 years, 3 months ago
Selected Answer: A
To all those saying C, Every AWS exam question I have ever encountered that mentions cost Expects you to know what the cheapest option is, no other answer will be accepted. This makes me say A.
upvoted 2 times
...
Anshnow
2 years, 3 months ago
Selected Answer: A
A, If you want to retain log data but you don't need CloudWatch Logs tools to view and analyze the data, you can export logs to Amazon S3, which can reduce your storage costs https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html
upvoted 2 times
...
selim507
2 years, 3 months ago
Selected Answer: A
It is A. CloudWatch does cost 10+ times more than s3 You can export dns query logs to either s3 or cloudwatch https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html#query-logs-changing-retention-period
upvoted 4 times
...
awsec2
2 years, 4 months ago
i think A
upvoted 3 times
...
Smartphone
2 years, 4 months ago
Answer: A If you want to retain log data but you don't need CloudWatch Logs tools to view and analyze the data, you can export logs to Amazon S3, which can reduce your storage costs. For more information, see Exporting log data to Amazon S3.
upvoted 2 times
...
Wilson_S
2 years, 4 months ago
Selected Answer: C
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html
upvoted 3 times
...
f9048f93rf
2 years, 4 months ago
DNS query logs can be send directly to S3: https://aws.amazon.com/blogs/aws/log-your-vpc-dns-queries-with-route-53-resolver-query-logs/
upvoted 1 times
secdaddy
2 years, 4 months ago
Not sure. It looks like that feature only logs internal queries, not public queries. https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver-query-logs.html In the article you post, it says "if it lives in your Amazon VPC and makes a DNS query, then this feature will log it"
upvoted 1 times
...
...
must_be_rohit
2 years, 4 months ago
Selected Answer: C
Retention period for cloudwatch logs can be till 10 years.. this seems to be the right option
upvoted 3 times
selim507
2 years, 3 months ago
CloudWatch does cost 10+ times more than s3, so I go with A
upvoted 1 times
...
...
Fyssy
2 years, 4 months ago
Selected Answer: C
send dns query logs to cloudwatchlog and set retention period to 1year.
upvoted 3 times
...
NOZOMI
2 years, 4 months ago
Selected Answer: C
Query logs cannot be exported directly to s3. I think A is correct for cost efficiency because it can be exported to s3 with the logs function. But if the answer is A, anything is possible
upvoted 3 times
Leonardocp33
2 years, 4 months ago
Answer is C, Its a tricky question. I agree with U
upvoted 1 times
...
Wilson_S
2 years, 4 months ago
I know C is a possibility, but this link has me feeling A. https://docs.amazonaws.cn/en_us/Route53/latest/DeveloperGuide/resolver-query-logs-choosing-target-resource.html
upvoted 1 times
Wilson_S
2 years, 4 months ago
Sorry, that link is for resolver query logs, but the question does specify “public DNS query logging.” Its a tricky question as the it wants a cost effective solution but i don’t see how you can get to S3 without it going to Cloudwatch Logs first.
upvoted 1 times
...
...
...
kerar
2 years, 5 months ago
Selected Answer: A
If you want to retain log data but you don't need CloudWatch Logs tools to view and analyze the data, you can export logs to Amazon S3, which can reduce your storage costs. https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html
upvoted 3 times
...
tryks
2 years, 5 months ago
Selected Answer: A
A > S3 cheaper than cloud watch
upvoted 3 times
...
Isaias
2 years, 5 months ago
Selected Answer: A
I go with A, s3 provides a highly durable storage and MOST cost-effectively https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/S3Export.html
upvoted 3 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