[중요-Question #8] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions



A company has a multi-tier web application that runs on a fleet of Amazon EC2 instances behind an Application Load Balancer (ALB). The instances are in an Auto Scaling group. The ALB and the Auto Scaling group are replicated in a backup AWS Region. The minimum value and the maximum value for the Auto Scaling group are set to zero. An Amazon RDS Multi-AZ DB instance stores the application’s data. The DB instance has a read replica in the backup Region. The application presents an endpoint to end users by using an Amazon Route 53 record.
The company needs to reduce its RTO to less than 15 minutes by giving the application the ability to automatically fail over to the backup Region. The company does not have a large enough budget for an active-active strategy.
What should a solutions architect recommend to meet these requirements?

  • A. Reconfigure the application’s Route 53 record with a latency-based routing policy that load balances traffic between the two ALBs. Create an AWS Lambda function in the backup Region to promote the read replica and modify the Auto Scaling group values. Create an Amazon CloudWatch alarm that is based on the HTTPCode_Target_5XX_Count metric for the ALB in the primary Region. Configure the CloudWatch alarm to invoke the Lambda function.
  • B. Create an AWS Lambda function in the backup Region to promote the read replica and modify the Auto Scaling group values. Configure Route 53 with a health check that monitors the web application and sends an Amazon Simple Notification Service (Amazon SNS) notification to the Lambda function when the health check status is unhealthy. Update the application’s Route 53 record with a failover policy that routes traffic to the ALB in the backup Region when a health check failure occurs.
  • C. Configure the Auto Scaling group in the backup Region to have the same values as the Auto Scaling group in the primary Region. Reconfigure the application’s Route 53 record with a latency-based routing policy that load balances traffic between the two ALBs. Remove the read replica. Replace the read replica with a standalone RDS DB instance. Configure Cross-Region Replication between the RDS DB instances by using snapshots and Amazon S3.
  • D. Configure an endpoint in AWS Global Accelerator with the two ALBs as equal weighted targets. Create an AWS Lambda function in the backup Region to promote the read replica and modify the Auto Scaling group values. Create an Amazon CloudWatch alarm that is based on the HTTPCode_Target_5XX_Count metric for the ALB in the primary Region. Configure the CloudWatch alarm to invoke the Lambda function.



----------------------------------------



한 회사에 애플리케이션 로드 밸런서(ALB) 뒤의 Amazon EC2 인스턴스 플릿에서 실행되는 다중 계층 웹 애플리케이션이 있습니다. 이 인스턴스들은 Auto Scaling 그룹에 속합니다. ALB와 Auto Scaling 그룹은 백업 AWS 리전에 복제됩니다. Auto Scaling 그룹의 최솟값과 최댓값은 0으로 설정되어 있습니다. Amazon RDS 다중 AZ DB 인스턴스는 애플리케이션 데이터를 저장합니다. 이 DB 인스턴스는 백업 리전에 읽기 복제본을 가지고 있습니다. 이 애플리케이션은 Amazon Route 53 레코드를 사용하여 최종 사용자에게 엔드포인트를 제공합니다.
이 회사는 애플리케이션이 백업 리전으로 자동 장애 조치할 수 있도록 RTO를 15분 미만으로 줄여야 합니다. 이 회사는 액티브-액티브 전략을 실행할 만큼 충분한 예산이 없습니다.
이러한 요구 사항을 충족하기 위해 솔루션 아키텍트는 무엇을 권장해야 할까요?

  • A. 두 ALB 간의 트래픽 부하를 분산하는 지연 시간 기반 라우팅 정책으로 애플리케이션의 Route 53 레코드를 재구성합니다. 백업 리전에 AWS Lambda 함수를 생성하여 읽기 전용 복제본을 승격하고 Auto Scaling 그룹 값을 수정합니다. 기본 리전의 ALB에 대한 HTTPCode_Target_5XX_Count 지표를 기반으로 하는 Amazon CloudWatch 알람을 생성합니다. Lambda 함수를 호출하도록 CloudWatch 알람을 구성합니다.
  • B. 백업 리전에 AWS Lambda 함수를 생성하여 읽기 전용 복제본을 승격하고 Auto Scaling 그룹 값을 수정합니다. 웹 애플리케이션을 모니터링하고 상태 확인 상태가 비정상일 때 Lambda 함수로 Amazon Simple Notification Service(Amazon SNS) 알림을 전송하는 상태 확인 기능을 Route 53에 구성합니다. 상태 확인 실패 시 백업 리전의 ALB로 트래픽을 라우팅하는 장애 조치 정책으로 애플리케이션의 Route 53 레코드를 업데이트합니다.
  • C. 백업 리전의 Auto Scaling 그룹 값을 기본 리전의 Auto Scaling 그룹 값과 동일하게 구성합니다. 두 ALB 간의 트래픽 부하를 분산하는 지연 시간 기반 라우팅 정책으로 애플리케이션의 Route 53 레코드를 재구성합니다. 읽기 전용 복제본을 제거합니다. 읽기 전용 복제본을 독립형 RDS DB 인스턴스로 교체합니다. 스냅샷과 Amazon S3를 사용하여 RDS DB 인스턴스 간의 리전 간 복제를 구성합니다.
  • D. AWS Global Accelerator에서 두 개의 ALB를 동일한 가중치를 적용하는 대상으로 엔드포인트를 구성합니다. 백업 리전에 AWS Lambda 함수를 생성하여 읽기 전용 복제본을 승격하고 Auto Scaling 그룹 값을 수정합니다. 기본 리전의 ALB에 대한 HTTPCode_Target_5XX_Count 지표를 기반으로 하는 Amazon CloudWatch 경보를 생성합니다. Lambda 함수를 호출하도록 CloudWatch 경보를 구성합니다.




Correct Answer: B 



B가 맞습니다. RTO를 15분 미만으로 단축하고 액티브-액티브 전략에 큰 예산이 필요하지 않다는 회사의 요구 사항을 충족하기 때문입니다. 이 솔루션에서 회사는 백업 리전에 AWS Lambda 함수를 생성하여 읽기 복제본을 승격시키고 Auto Scaling 그룹 값을 수정합니다. Route 53은 웹 애플리케이션을 모니터링하고 상태 확인이 비정상일 때 Lambda 함수에 Amazon SNS 알림을 전송하는 상태 확인 기능으로 구성됩니다. Route 53 레코드는 상태 확인 실패 시 트래픽을 백업 리전의 ALB로 라우팅하는 장애 조치 정책으로 업데이트됩니다. 이렇게 하면 기본 리전에 장애가 발생하더라도 장애 조치 정책이 트리거되고 트래픽이 백업 리전으로 전송되어 빠른 복구 시간을 보장합니다.



댓글

이 블로그의 인기 게시물

[AWS] SCP, OU, Policy 사용하기 !!

[AWS] AWS Activate 스타트업 $1,000 지원 성공