AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question
Your team must log all DNS queries from a VPC. You create an Amazon Route 53 Resolver query logging configuration, select a new CloudWatch Logs log group as the destination, and attempt to associate the configuration with the VPC. The console shows "AccessDeniedException - unable to create log stream". Which action enables Route 53 Resolver to deliver query logs to CloudWatch Logs and adheres to AWS best practices?
Change the log group's KMS CMK to the AWS-managed /aws/logs key so the service can encrypt incoming data.
Enable VPC Flow Logs for the VPC and point the flow logs to the same log group.
Re-create the query logging configuration but choose an S3 bucket destination instead of CloudWatch Logs.
Attach a resource policy to the CloudWatch Logs log group that allows the route53.amazonaws.com service to run logs:CreateLogStream and logs:PutLogEvents on that log group.
Route 53 Resolver cannot create log streams in a CloudWatch Logs log group unless a resource-based policy on that log group grants the service permission. Attaching a policy that lists the log group ARN, specifies the route53.amazonaws.com service principal, and allows the logs:CreateLogStream and logs:PutLogEvents actions lets Resolver write the logs. Enabling VPC Flow Logs, changing the KMS key, or switching to an S3 destination does not correct the CloudWatch permission failure.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of a resource policy in AWS?
Open an interactive chat with Bash
What are the logs:CreateLogStream and logs:PutLogEvents actions?
Open an interactive chat with Bash
Why doesn't enabling VPC Flow Logs or switching to an S3 destination work in this scenario?
Open an interactive chat with Bash
AWS Certified CloudOps Engineer Associate SOA-C03
Networking and Content Delivery
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .