[중요-Question #5] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions
A company uses a service to collect metadata from applications that the company hosts on premises. Consumer devices such as TVs and internet radios access the applications. Many older devices do not support certain HTTP headers and exhibit errors when these headers are present in responses. The company has configured an on-premises load balancer to remove the unsupported headers from responses sent to older devices, which the company identified by the User-Agent headers.
The company wants to migrate the service to AWS, adopt serverless technologies, and retain the ability to support the older devices. The company has already migrated the applications into a set of AWS Lambda functions.
Which solution will meet these requirements?
- A. Create an Amazon CloudFront distribution for the metadata service. Create an Application Load Balancer (ALB). Configure the CloudFront distribution to forward requests to the ALB. Configure the ALB to invoke the correct Lambda function for each type of request. Create a CloudFront function to remove the problematic headers based on the value of the User-Agent header.
- B. Create an Amazon API Gateway REST API for the metadata service. Configure API Gateway to invoke the correct Lambda function for each type of request. Modify the default gateway responses to remove the problematic headers based on the value of the User-Agent header.
- C. Create an Amazon API Gateway HTTP API for the metadata service. Configure API Gateway to invoke the correct Lambda function for each type of request. Create a response mapping template to remove the problematic headers based on the value of the User-Agent. Associate the response data mapping with the HTTP API.
- D. Create an Amazon CloudFront distribution for the metadata service. Create an Application Load Balancer (ALB). Configure the CloudFront distribution to forward requests to the ALB. Configure the ALB to invoke the correct Lambda function for each type of request. Create a Lambda@Edge function that will remove the problematic headers in response to viewer requests based on the value of the User-Agent header.
한 회사가 사내에서 호스팅하는 애플리케이션의 메타데이터를 수집하는 서비스를 사용합니다. TV나 인터넷 라디오와 같은 소비자 기기가 이 애플리케이션에 접속합니다. 많은 구형 기기는 특정 HTTP 헤더를 지원하지 않으며, 이러한 헤더가 응답에 포함되면 오류가 발생합니다. 이 회사는 구형 기기로 전송되는 응답에서 지원되지 않는 헤더를 제거하기 위해 온프레미스 로드 밸런서를 구성했습니다. 회사는 이러한 헤더를 User-Agent 헤더로 식별했습니다.
이 회사는 서비스를 AWS로 마이그레이션하고, 서버리스 기술을 도입하며, 구형 기기 지원 기능을 유지하려고 합니다. 이 회사는 이미 애플리케이션을 AWS Lambda 함수 세트로 마이그레이션했습니다.
이러한 요구 사항을 충족하는 솔루션은 무엇일까요?
- A. 메타데이터 서비스를 위한 Amazon CloudFront 배포를 생성합니다. 애플리케이션 로드 밸런서(ALB)를 생성합니다. CloudFront 배포가 요청을 ALB로 전달하도록 구성합니다. 각 요청 유형에 대해 올바른 Lambda 함수를 호출하도록 ALB를 구성합니다. User-Agent 헤더 값을 기반으로 문제가 있는 헤더를 제거하는 CloudFront 함수를 생성합니다.
- B. 메타데이터 서비스에 대한 Amazon API Gateway REST API를 생성합니다. 각 요청 유형에 대해 올바른 Lambda 함수를 호출하도록 API Gateway를 구성합니다. User-Agent 헤더 값을 기반으로 문제가 있는 헤더를 제거하도록 기본 게이트웨이 응답을 수정합니다.
- C. 메타데이터 서비스를 위한 Amazon API Gateway HTTP API를 생성합니다. 각 요청 유형에 대해 올바른 Lambda 함수를 호출하도록 API Gateway를 구성합니다. User-Agent 값을 기반으로 문제가 있는 헤더를 제거하는 응답 매핑 템플릿을 생성합니다. 응답 데이터 매핑을 HTTP API와 연결합니다.
- D. 메타데이터 서비스를 위한 Amazon CloudFront 배포를 생성합니다. 애플리케이션 로드 밸런서(ALB)를 생성합니다. CloudFront 배포가 요청을 ALB로 전달하도록 구성합니다. 각 요청 유형에 대해 올바른 Lambda 함수를 호출하도록 ALB를 구성합니다. User-Agent 헤더 값을 기반으로 시청자 요청에 대한 응답으로 문제가 있는 헤더를 제거하는 Lambda@Edge 함수를 생성합니다.
댓글
댓글 쓰기