Question 191:
To enhance browser security, you are planning to enable CORS. To enable CORS on a resource using API gateway for GET method, which of the following action needs to be performed for all types of response except 200 response in case of Lambda custom integration?
Answer options:
A.Backend devices will be responsible to return Access-Control-Allow-Origin` header with `*` or specific origins to fulfil pre-flight handshakes. B.An OPTIONS method is added to the resource which is automatically configured to return the three Access-Control-Allow-* headers to fulfil pre-flight handshakes. C.Check if all Methods are added in “AllowMethods” along with GET. D.Manually configure to return Access-Control-Allow-Origin` header with `*` or specific origins to fulfil pre-flight handshakes.