SAP-C02 exam dumps

SAP-C02 practice question 303 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 303

Select 3

You are managing a distributed web application hosted on Amazon EC2 instances behind an Application Load Balancer (ALB). Users report intermittent latency issues during peak traffic hours. You need to monitor and analyze the performance of the application and identify potential bottlenecks. Which combination of AWS services and features should you use to effectively diagnose and resolve the issue?

  1. A

    Enable ALB access logs and analyze them using Amazon Athena.

  2. B

    Use Amazon CloudWatch metrics to monitor CPU utilization of the EC2 instances.

  3. C

    Set up AWS X-Ray to trace requests through the application and identify high-latency components.

  4. D

    Deploy Amazon Inspector to scan the EC2 instances for vulnerabilities.

  5. E

    Use Amazon CloudTrail to monitor API activity across your AWS account for unusual behavior.

Show answer and explanation

Correct answers: A, B, C

Explanation

To address intermittent latency issues in a distributed application, you need a combination of tools that provide visibility into traffic patterns, resource utilization, and application-level performance. Enabling ALB access logs and analyzing them with Amazon Athena helps identify load balancer-related issues. Monitoring EC2 instance metrics with Amazon CloudWatch ensures that resource constraints are accounted for. Finally, AWS X-Ray traces help you pinpoint specific components within the application that may be causing high latency. Together, these solutions provide comprehensive diagnostics for resolving performance bottlenecks.

  • A. Correct.

    Enabling ALB access logs and analyzing them using Amazon Athena allows you to track request patterns, response times, and errors, helping you identify latency issues related to the load balancer.

  • B. Correct.

    Amazon CloudWatch metrics provide visibility into resource utilization, such as CPU usage, which can indicate whether the EC2 instances are under-provisioned during peak traffic.

  • C. Correct.

    AWS X-Ray enables you to trace requests through your distributed application, helping to pinpoint latency bottlenecks in specific components of your architecture.

  • D. Incorrect.

    Amazon Inspector is used to assess security vulnerabilities, not for performance monitoring or diagnosing latency issues.

  • E. Incorrect.

    Amazon CloudTrail is primarily used for logging API activity and user actions for security and compliance purposes, not for performance troubleshooting.

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