ExamQuestions.com

Register
Login
AWS Certified Developer Associate Exam Questions

Amazon

AWS Certified Developer Associate

387 / 474

Question 387:

You are a lead developer for an application that uses WebSockets through API Gateway to push payloads between the clients and server. Your API has a proxy integration with Lambda. When the client connects for the first time, it receives a preflight error message. Which steps will you take to resolve this issue?

Answer options:

A.Enable CORS using the API Gateway console.
B.Setup the OPTIONS method and set up the required OPTIONS response headers in API Gateway.
C.Make changes to your backend to return “Access-Control-Allow-Headers” and “Access-Control-Allow-Origin” headers.
D.A and
B.E.A, B and
C.