A Developer implemented a static website hosted in Amazon S3 that makes web service requests hosted in Amazon API Gateway and AWS Lambda. The site is showing an error that reads: “No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.” What should the Developer do to resolve this issue?

🎲 Try a Random Question  |  Total Questions in Quiz: 155  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
AWS Certified Developer Training Review Questions — practice the complete quiz, review flashcards, or try a random question.

Questions on how to write code and design scalable applications, implement application security and testing, and on AWS components such as S3, Dynamo DB, Elastic Beanstalk, and CloudFormation.


1. A Developer implemented a static website hosted in Amazon S3 that makes web service requests hosted in Amazon API Gateway and AWS Lambda. The site is showing an error that reads: “No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.” What should the Developer do to resolve this issue?