Troubleshoot logging solutions.
3 practice questions under this official exam objective (SCS-C02) — each with the community-verified answer, a full option-by-option explanation and instant feedback.
Lambda logs are missing because the execution role lacks CloudWatch Logs write permissions
If a Lambda function produces no logs in CloudWatch Logs, the usual cause is that its execution role does not grant the logs:CreateLogGroup/CreateLogS
Use an AWS Config managed rule with the AWS-EnableCloudTrail remediation to auto re-enable logging
To automatically turn CloudTrail back on across multiple Regions if it is disabled, use AWS Config with a managed rule that detects trails being off a
Check file permissions and OS log-rotation compatibility with the CloudWatch Logs agent
CloudWatch Logs stops after the stream has been active for a set number of hours. To identify the cause, confirm the monitored files' permissions stil