Bird
0
0

You want to build a scalable system that handles thousands of API requests per second with security and monitoring. Why should you use AWS API Gateway instead of directly exposing backend services?

hard📝 Application Q15 of 15
AWS - API Gateway
You want to build a scalable system that handles thousands of API requests per second with security and monitoring. Why should you use AWS API Gateway instead of directly exposing backend services?
AAPI Gateway provides throttling, authentication, and detailed monitoring out of the box.
BDirect backend exposure is faster and more secure than API Gateway.
CAPI Gateway automatically writes backend code for you.
DBackend services cannot handle API requests without API Gateway.
Step-by-Step Solution
Solution:
  1. Step 1: Identify API Gateway features for scalability and security

    API Gateway offers throttling to limit request rates, authentication to secure access, and monitoring to track usage and errors.
  2. Step 2: Compare with direct backend exposure

    Directly exposing backend services lacks these managed features, making scaling and security harder.
  3. Step 3: Evaluate incorrect options

    Direct backend exposure is faster and more secure than API Gateway. is false because direct exposure is less secure. API Gateway automatically writes backend code for you. is false; API Gateway does not write backend code. Backend services cannot handle API requests without API Gateway. is false; backend can handle requests but less efficiently.
  4. Final Answer:

    API Gateway provides throttling, authentication, and detailed monitoring out of the box. -> Option A
  5. Quick Check:

    API Gateway = security + scaling + monitoring [OK]
Quick Trick: API Gateway adds security and scaling features easily [OK]
Common Mistakes:
  • Assuming direct backend is more secure
  • Thinking API Gateway writes backend code
  • Believing backend cannot handle requests alone

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes