Quizzes · Service

CloudWatch Logs

Level 0 questions on CloudWatch Logs. Read about it first if it's new to you.

Works with: IAM (3), EC2 (2), ECS + Fargate (1), Lambda (1), VPC (1), CloudTrail (1)

  • 15 questions
  • 1 correct answer of 4 each
  • Pass line 80%

Questions and answers come in a new order every time, and every choice is explained. Your answers feed your weak spots on the exam page; they don't change your exam score.

Question 1How does output from Todo.io's containers on Fargate reach CloudWatch Logs?

Choose one answer

Learn it: ECS and Fargate · CloudWatch Logs

Question 2Todo.io's Lambda function prints log lines, but nothing appears in CloudWatch Logs. What is the most likely cause?

Choose one answer

Learn it: Lambda · CloudWatch Logs

Question 3A user reports an error. Todo.io's engineers want to read what the app printed while handling that request. Where do they look?

Choose one answer

Learn it: CloudWatch Logs

Question 4In CloudWatch Logs, what holds the logs for one app or one Lambda function?

Choose one answer

Learn it: CloudWatch Logs

Question 5Todo.io's logs are kept forever by default, and the bill keeps growing. It only needs 30 days. What should it do?

Choose one answer

Learn it: CloudWatch Logs

Question 6Todo.io's app on EC2 writes log files, but nothing shows up in CloudWatch Logs. What is needed?

Choose one answer

Learn it: EC2 (Elastic Compute Cloud) · CloudWatch Logs

Question 7Todo.io wants to be alerted when its app logs more than 10 ERROR lines in a minute. What should it set up?

Choose one answer

Learn it: CloudWatch Logs

Question 8An EC2 instance in a public subnet sends its log lines to CloudWatch Logs. Which way do they travel?

Choose one answer

Learn it: VPC (Virtual Private Cloud) · CloudWatch Logs

Question 9Can Todo.io's CloudWatch Logs show who deleted the staging database?

Choose one answer

Learn it: CloudWatch Logs · CloudTrail

Question 10Todo.io wants every log line from the last hour that mentions user u-123. What is the quickest way?

Choose one answer

Learn it: CloudWatch Logs

Question 11Todo.io's app logs each user's password when they sign in, to help with debugging. What should Todo.io do?

Choose one answer

Learn it: CloudWatch Logs

Question 12Inside a CloudWatch Logs log group, what is a log stream?

Choose one answer

Learn it: CloudWatch Logs

Question 13What does "CloudWatch Logs" mean?

Choose one answer

Learn it: CloudWatch Logs

Question 14Which term is this? "Where applications and AWS services send their log lines."

Choose one answer

Learn it: CloudWatch Logs

Question 15Which AWS term is described by this analogy? "The building's logbook."

Choose one answer

Learn it: CloudWatch Logs