Multiple Choice
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?
A) Enable cross-origin resource sharing (CORS) on the S3 bucket.
B) Enable cross-origin resource sharing (CORS) for the method in API Gateway
C) Add the Access-Control-Request-Method header to the request
D) Add the Access-Control-Request-Headers header to the request
Correct Answer:

Verified
Correct Answer:
Verified
Q354: A developer is setting up Amazon API
Q355: A Developer migrated a web application to
Q356: The Developer for a retail company must
Q357: What item operation allows the retrieval of
Q358: A developer is creating a website that
Q360: An on-premises legacy application is caching data
Q361: A company has a legacy application that
Q362: A Development team wants to instrument their
Q363: Company C is currently hosting their corporate
Q364: A Developer has an application that must