SOA-C02 · Question #442
SOA-C02 Question #442: Real Exam Question with Answer & Explanation
Sign in or unlock SOA-C02 to reveal the answer and full explanation for question #442. The question stem and answer options stay visible for context.
Question
A company has a policy that all Amazon EC2 instance logs must be published to Amazon CloudWatch Logs. A SysOps administrator is troubleshooting an EC2 instance that is running Amazon Linux 2. The EC2 instance is not publishing logs to CloudWatch Logs. The Amazon CloudWatch agent is running on the EC2 instance, and the agent configuration file is correct. What should the SysOps administrator do to resolve the issue?
Options
- AConfigure the AWS CLI on the EC2 instance. Create a cron job that calls the PutLogEvents API
- BInspect the retention period of the CloudWatch Logs log group. Ensure that the retention period is
- CSet up an Amazon Kinesis data stream that is running in the same AWS Region as the EC2
- DEnsure that the IAM role that is attached to the EC2 instance has permissions in CloudWatch
Unlock SOA-C02 to see the answer
You've previewed enough free SOA-C02 questions. Unlock SOA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.