CloudGuild · Blog · Cheat sheets · Lessons · Certifications

Amazon API Gateway — Managed API Service: When to Use What (and How the Exam Tests It)

Explore when to choose Amazon API Gateway features and how the SAA-C03 exam tests your knowledge of this AWS service.

When designing applications, we often face decisions about how to expose our services. With AWS API Gateway, we can create, deploy, and manage APIs efficiently. Understanding when to use this service is crucial for both architects and exam candidates.

When to Use Amazon API Gateway

Building Serverless Applications

Use Amazon API Gateway when building serverless applications with AWS Lambda. It integrates seamlessly with Lambda, allowing you to trigger functions based on API requests.

Exposing Backend Services Securely

If you need to expose backend services to external consumers, API Gateway provides security features such as authorization and access control. This is essential for protecting your data and services.

Managing Multiple API Versions

API Gateway is ideal for managing multiple API versions or stages. This ensures that changes can be made without disrupting existing consumers.

Comparison Table: REST APIs vs. WebSocket APIs

Feature REST APIs WebSocket APIs
Use Case Standard CRUD operations Real-time bi-directional communication
Latency Generally higher Low latency
State Management Stateless Stateful
Suitable for Mobile, web apps Chat applications, gaming

Key Architectural Decisions

Gotchas & Exam Traps

Be alert to the following in your exam preparation:

How the Exam Tests This

The SAA-C03 exam often includes questions that focus on practical scenarios. Here are some patterns to watch for:

The Rule to Remember

Amazon API Gateway is the go-to service for exposing and managing APIs, especially in serverless architectures, ensuring security and performance are prioritized.

For more practice, Take the free SAA-C03 mock exam.

Take a free mock exam →