[Question #7] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions



A company is running a traditional web application on Amazon EC2 instances. The company needs to refactor the application as microservices that run on containers. Separate versions of the application exist in two distinct environments: production and testing. Load for the application is variable, but the minimum load and the maximum load are known. A solutions architect needs to design the updated application with a serverless architecture that minimizes operational complexity.
Which solution will meet these requirements MOST cost-effectively?

  • A. Upload the container images to AWS Lambda as functions. Configure a concurrency limit for the associated Lambda functions to handle the expected peak load. Configure two separate Lambda integrations within Amazon API Gateway: one for production and one for testing.
  • B. Upload the container images to Amazon Elastic Container Registry (Amazon ECR). Configure two auto scaled Amazon Elastic Container Service (Amazon ECS) clusters with the Fargate launch type to handle the expected load. Deploy tasks from the ECR images. Configure two separate Application Load Balancers to direct traffic to the ECS clusters.
  • C. Upload the container images to Amazon Elastic Container Registry (Amazon ECR). Configure two auto scaled Amazon Elastic Kubernetes Service (Amazon EKS) clusters with the Fargate launch type to handle the expected load. Deploy tasks from the ECR images. Configure two separate Application Load Balancers to direct traffic to the EKS clusters.
  • D. Upload the container images to AWS Elastic Beanstalk. In Elastic Beanstalk, create separate environments and deployments for production and testing. Configure two separate Application Load Balancers to direct traffic to the Elastic Beanstalk deployments.


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




한 회사가 Amazon EC2 인스턴스에서 기존 웹 애플리케이션을 실행하고 있습니다. 이 회사는 컨테이너에서 실행되는 마이크로서비스로 애플리케이션을 리팩토링해야 합니다. 애플리케이션은 운영 환경과 테스트 환경이라는 두 가지 서로 다른 환경에 각각 존재합니다. 애플리케이션의 부하량은 가변적이지만, 최소 부하와 최대 부하량은 알려져 있습니다. 솔루션 아키텍트는 운영 복잡성을 최소화하는 서버리스 아키텍처로 업데이트된 애플리케이션을 설계해야 합니다.
이러한 요구 사항을 가장 비용 효율적으로 충족하는 솔루션은 무엇일까요?

  • A. 컨테이너 이미지를 AWS Lambda에 함수로 업로드합니다. 예상되는 최대 부하를 처리할 수 있도록 연결된 Lambda 함수의 동시성 제한을 설정합니다. Amazon API Gateway 내에 두 개의 Lambda 통합을 구성합니다. 하나는 프로덕션용이고 다른 하나는 테스트용입니다.
  • B. 컨테이너 이미지를 Amazon Elastic Container Registry(Amazon ECR)에 업로드합니다. 예상 부하를 처리하기 위해 Fargate 시작 유형을 사용하여 두 개의 자동 확장 Amazon Elastic Container Service(Amazon ECS) 클러스터를 구성합니다. ECR 이미지에서 작업을 배포합니다. 트래픽을 ECS 클러스터로 전달하기 위해 두 개의 별도 애플리케이션 로드 밸런서를 구성합니다.
  • C. 컨테이너 이미지를 Amazon Elastic Container Registry(Amazon ECR)에 업로드합니다. 예상 부하를 처리하기 위해 Fargate 시작 유형을 사용하여 두 개의 자동 확장 Amazon Elastic Kubernetes Service(Amazon EKS) 클러스터를 구성합니다. ECR 이미지에서 작업을 배포합니다. 트래픽을 EKS 클러스터로 전달하기 위해 두 개의 개별 애플리케이션 로드 밸런서를 구성합니다.
  • D. 컨테이너 이미지를 AWS Elastic Beanstalk에 업로드합니다. Elastic Beanstalk에서 프로덕션 및 테스트용으로 별도의 환경과 배포를 생성합니다. Elastic Beanstalk 배포로 트래픽을 전달하도록 두 개의 별도 애플리케이션 로드 밸런서를 구성합니다.




Correct Answer: B 




B. 컨테이너 이미지를 Amazon Elastic Container Registry(Amazon ECR)에 업로드합니다. 예상 부하를 처리하기 위해 Fargate 시작 유형을 사용하여 두 개의 자동 확장 Amazon Elastic Container Service(Amazon ECS) 클러스터를 구성합니다. ECR 이미지에서 작업을 배포합니다. 트래픽을 ECS 클러스터로 전달하기 위해 두 개의 개별 애플리케이션 로드 밸런서를 구성합니다. 이 옵션은 ECS 클러스터에 Fargate 시작 유형을 사용하여 서버리스 아키텍처 사용 요구 사항을 충족하며, 예상 부하에 따라 컨테이너를 자동으로 확장할 수 있습니다. 또한 각 환경에 대해 별도의 ECS 클러스터와 애플리케이션 로드 밸런서를 구성하여 프로덕션 및 테스트 환경에 별도의 배포를 지원합니다. 또한 컨테이너 오케스트레이션 및 확장에 ECS와 Fargate를 활용하여 운영 복잡성을 최소화합니다.





댓글

이 블로그의 인기 게시물

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

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