SAP-C02 exam dumps

SAP-C02 practice question 460 of 678

AWS Certified Solutions Architect - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

SAP-C02 Question 460

Select 3

Your company recently deployed a complex, serverless application using AWS Lambda, Amazon API Gateway, and Amazon DynamoDB. The company wants to monitor the application’s performance, error rates, and resource utilization proactively. Additionally, it requires generating alerts if the API Gateway latency exceeds 300ms or if the Lambda error rate exceeds 5%. Which combination of actions would BEST meet these requirements?

  1. A

    Create Amazon CloudWatch Alarms to monitor the API Gateway latency and Lambda error rate metrics, and configure notifications using Amazon SNS.

  2. B

    Enable enhanced monitoring for DynamoDB to track latency and throughput at the table level.

  3. C

    Use AWS CloudTrail to monitor and log API Gateway and Lambda invocations for performance metrics.

  4. D

    Set up CloudWatch Logs Insights queries to analyze detailed request logs from API Gateway and Lambda for troubleshooting.

  5. E

    Enable AWS X-Ray for end-to-end tracing of the application to identify performance bottlenecks.

Show answer and explanation

Correct answers: A, D, E

Explanation

The combination of CloudWatch Alarms, CloudWatch Logs Insights, and AWS X-Ray provides comprehensive monitoring and troubleshooting for serverless applications. CloudWatch Alarms proactively monitor metrics and send alerts when thresholds are breached. Logs Insights allows for in-depth analysis of logs for troubleshooting, while AWS X-Ray enables tracing of requests across the application to identify bottlenecks. Together, these tools address the monitoring and performance requirements specified in the scenario.

  • A. Correct.

    Correct. CloudWatch Alarms can be used to monitor API Gateway latency and Lambda error rate metrics. SNS can be configured to send alerts when thresholds are breached.

  • B. Incorrect.

    Incorrect. Enhanced monitoring for DynamoDB provides detailed table-level metrics, but it does not directly address API Gateway latency or Lambda error rate monitoring.

  • C. Incorrect.

    Incorrect. CloudTrail is primarily used for auditing API calls and resource changes, not for real-time performance monitoring.

  • D. Correct.

    Correct. CloudWatch Logs Insights can be used to analyze detailed logs for API Gateway and Lambda, helping in troubleshooting and understanding performance issues.

  • E. Correct.

    Correct. AWS X-Ray provides end-to-end tracing, which is valuable for identifying performance bottlenecks across the serverless application.

Timed practice exam

Take a SAP-C02 practice test under exam conditions

75 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam