ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 537 - DVA-C01 discussion

Report
Export

A developer implemented a static website hosted in amazon s3 that makes web service requests in amazon api gateway and aws lambda. The site is showing an error that reads. ''No 'access control-allow-origin'header' 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
Answers
A.
Enable cross-origin resource sharing (cors) on the s3 bucket
B.
Enable cross-origin resource sharing (cors) for the method in api gateway
Answers
B.
Enable cross-origin resource sharing (cors) for the method in api gateway
C.
Add the access control-request-method header to the request
Answers
C.
Add the access control-request-method header to the request
D.
Add the access-control inquest headers header to the request
Answers
D.
Add the access-control inquest headers header to the request
Suggested answer: A

Explanation:

Reference: https://forums.aws.amazon.com/thread.jspa?threadid=252972

asked 16/09/2024
RAOUL AMODIO
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first