SAP-C02 exam dumps

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

Select 2

An organization operates a mission-critical application on AWS. They want to ensure that if a critical EC2 instance becomes unhealthy, it is automatically replaced, and the team is notified immediately. What combination of strategies would meet these requirements?

  1. A

    Use EC2 Auto Scaling with health checks and enable automatic instance replacement.

  2. B

    Set up an Amazon CloudWatch alarm to monitor EC2 instance health and configure an SNS topic to send notifications.

  3. C

    Deploy AWS Lambda to restart the instance when a health check fails.

  4. D

    Enable AWS Config rules to remediate unhealthy EC2 instances automatically.

  5. E

    Use EC2 Recovery to replace unhealthy instances and configure CloudTrail logs for notifications.

Show answer and explanation

Correct answers: A, B

Explanation

To meet the organization's requirements, EC2 Auto Scaling ensures that unhealthy instances are automatically replaced, while CloudWatch alarms and SNS work together to notify the team immediately. This combination provides automatic remediation and alerting, ensuring application availability and quick response to issues.

  • A. Correct.

    Correct: EC2 Auto Scaling can monitor health checks and replace unhealthy instances automatically, ensuring high availability.

  • B. Correct.

    Correct: CloudWatch alarms can monitor EC2 instance health and trigger notifications via an SNS topic to alert the team immediately.

  • C. Incorrect.

    Incorrect: AWS Lambda could be used for custom remediation, but restarting an instance does not guarantee recovery. Auto Scaling is a more robust solution for this use case.

  • D. Incorrect.

    Incorrect: AWS Config rules are useful for compliance and monitoring, but they are not designed to replace unhealthy EC2 instances automatically.

  • E. Incorrect.

    Incorrect: EC2 Recovery is used to recover instances from specific failures, such as hardware issues, but it does not replace instances. CloudTrail logs are for auditing and do not provide real-time notifications.

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