DVA-C02 Exam QuestionsBrowse all questions from this exam

DVA-C02 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?

Show Answer
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

1 comment
Sign in to comment
b4680cd
Jul 16, 2024

Answer is D