🔒Filters are available on the Pro planSee Pro →
Q260🏆 SAP-C02Serverless
CloudFrontAPI GatewayLambdaS3EBS
A company runs an unauthenticated static website (www.example.com) that includes a registration form for users. The website uses Amazon S3 for hosting and uses Amazon CloudFront as the content delivery network with AWS WAF configured. When the registration form is submitted, the website calls an Amazon API Gateway API endpoint that invokes an AWS Lambda function to process the payload and forward the payload to an external API call. During testing, a solutions architect encounters a cross-origin resource sharing (CORS) error. The solutions architect confirms that the CloudFront distribution origin has the Access-Control-Allow-Origin header set to www.example.com. What should the solutions architect do to resolve the error?

🔐

문제를 풀려면 회원가입이 필요합니다

Q1~Q5는 비회원도 체험할 수 있습니다.
회원가입하면 633문항 전체를 학습할 수 있습니다.

📖 Explanation