Interview question asked to Software Engineers interviewing at Qualcomm, Ping Identity, Peloton and other companies. Original question asked: What role does an API gateway play in defending the internal microservices from external attacks.