Exam DVA-C02 All QuestionsBrowse all questions from this exam
Question 404

A developer builds a serverless application on AWS by using Amazon API Gateway, AWS Lambda functions, and Amazon Route 53. During testing, the developer notices errors but cannot immediately locate the root cause.

To identify the errors, the developer needs to search all the application's logs.

What should the developer do to meet these requirements with the LEAST operational overhead?

    Correct Answer: D

    To meet the requirement of searching all the application's logs with the least operational overhead, the developer should use Amazon CloudWatch Logs and CloudWatch Logs Insights. By turning on Amazon CloudWatch Logs for the API Gateway stages to log API requests with a JSON log format, it becomes easier to manage and search logs. CloudWatch Logs Insights provides a powerful, queryable interface to search and analyze logs without additional infrastructure setup, minimizing operational overhead. Route 53 health checks can be used to monitor the application's availability, but the primary need here is efficient log searching and analysis, which CloudWatch Logs and Logs Insights accomplish effectively.

Discussion
b4680cd

Answer is D