CloudWatch Agent Configuration Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering CloudWatch Metrics and Alarms

What you'll be asked

  1. Which file is primarily used to define the configuration settings for the CloudWatch agent, such as which metrics to collect and which log files to monitor?
  2. You have installed the CloudWatch agent on an EC2 instance, but no custom metrics are appearing in the CloudWatch console. What is the most likely cause?
  3. When configuring the CloudWatch agent to collect logs from a Linux server, which section must be defined in the configuration file to specify the log file path?
  4. A developer wants to monitor memory utilization on an EC2 instance. Why is the CloudWatch agent necessary for this task?
  5. You are using the CloudWatch agent to collect logs and notice that the log streams are not appearing in CloudWatch Logs. Upon checking the agent status, it shows 'running', but the log files have dynamic names with timestamps. How can you ensure the agent captures these logs?

Answers and explanations come after you submit.