SAP-C02 exam dumps

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

Select 3

You are an AWS Solutions Architect designing a monitoring solution for a web application hosted on Amazon EC2 instances behind an Application Load Balancer (ALB). The application has unpredictable traffic patterns, and the business requires proactive monitoring and automated responses to potential issues. Which combination of actions would best meet these requirements?

  1. A

    Set up Amazon CloudWatch Alarms to monitor key metrics such as CPU utilization and configure actions to scale out or notify via Amazon SNS.

  2. B

    Enable access logs for the Application Load Balancer and configure them to be stored in Amazon S3 for later analysis.

  3. C

    Create a custom Amazon CloudWatch Dashboard to display real-time metrics from the EC2 instances and the Application Load Balancer.

  4. D

    Use AWS CloudTrail to monitor API calls made to the EC2 instances and trigger CloudWatch Alarms based on unusual activity.

  5. E

    Configure Amazon CloudWatch Logs Agent on the EC2 instances to collect application logs and set up metric filters for error patterns.

Show answer and explanation

Correct answers: A, C, E

Explanation

To meet the requirements of proactive monitoring and automated responses, a combination of CloudWatch Alarms, a custom CloudWatch Dashboard, and CloudWatch Logs with metric filters is ideal. These solutions provide real-time metrics, error identification, and automated actions, addressing both unpredictable traffic patterns and operational needs. While ALB access logs and CloudTrail are valuable for other use cases, they do not directly align with the proactive monitoring and automated response requirements described in this scenario.

  • A. Correct.

    Correct: Setting up CloudWatch Alarms for key metrics and scaling or notifying via Amazon SNS ensures proactive monitoring and automated responses to potential issues.

  • B. Incorrect.

    Partially useful, but not correct for the question. While ALB access logs provide historical insights, they do not support proactive monitoring or automated responses.

  • C. Correct.

    Correct: A custom CloudWatch Dashboard provides visibility into real-time metrics, which is crucial for monitoring unpredictable traffic patterns.

  • D. Incorrect.

    Incorrect: CloudTrail is primarily used for auditing API calls and detecting security-related anomalies. While useful, it does not directly address the application's operational monitoring needs.

  • E. Correct.

    Correct: Configuring the CloudWatch Logs Agent to collect application logs and setting up metric filters ensures error patterns are identified, enabling proactive responses.

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