ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 132 - SCS-C01 discussion

Report
Export

An organization is using Amazon CloudWatch Logs with agents deployed on its Linux Amazon EC2 instances. The agent configuration files have been checked and the application log files to be pushed are configured correctly. A review has identified that logging from specific instances is missing.

Which steps should be taken to troubleshoot the issue? (Choose two.)

A.
Use an EC2 run command to confirm that the “awslogs” service is running on all instances.
Answers
A.
Use an EC2 run command to confirm that the “awslogs” service is running on all instances.
B.
Verify that the permissions used by the agent allow creation of log groups/streams and to put log events.
Answers
B.
Verify that the permissions used by the agent allow creation of log groups/streams and to put log events.
C.
Check whether any application log entries were rejected because of invalid time stamps by reviewing /var/cwlogs/rejects.log.
Answers
C.
Check whether any application log entries were rejected because of invalid time stamps by reviewing /var/cwlogs/rejects.log.
D.
Check that the trust relationship grants the service “cwlogs.amazonaws.com” permission to write objects to the Amazon S3 staging bucket.
Answers
D.
Check that the trust relationship grants the service “cwlogs.amazonaws.com” permission to write objects to the Amazon S3 staging bucket.
E.
Verify that the time zone on the application servers is in UTC.
Answers
E.
Verify that the time zone on the application servers is in UTC.
Suggested answer: A, B

Explanation:

EC2 run command - can run scripts, install software, collect metrics and log files, manage patches and more. Bringing these two services together - can create CloudWatch Events rules that use EC2 Run Command to perform actions on EC2 instances or on-premises servers.

asked 16/09/2024
ABDUL AZEEZ
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first