Which AWS service is designed for creating, publishing, maintaining, monitoring, and securing REST, HTTP, and WebSocket APIs at any scale?
API Gateway - highly available, scalable, and fully managed AWS service
What are the key features of API Gateway?
Can API Gateway be integrated with on-premises endpoints?
API Gateway can connect directly to AWS services like DynamoDB, SNS, Step Functions, Lambda, AWS-hosted and on-premises endpoints
Can you describe the typical flow of a request through API Gateway?
Request:
Clients -> API Gateway (Authorize, Validate, Transform) -> Backend Services
Response:
Backend Services -> API Gateway (Return, Prepare, Transform) -> Clients
What functionalities are available when API Gateway is connected to CloudWatch?
When integrated with CloudWatch, API Gateway provides detailed logging and metrics for requests and responses
What authentication methods does API Gateway support?
What types of endpoints does API Gateway offer?
API Gateway supports three types of endpoints:
What AWS API Gateway component represents a logical reference to its lifecycle state?
Stage (e.g., dev, prod, beta, v2).
Each stage has its own deployment and is identified by a unique URL
- api.domain.com/dev
- api.domain.com/prod
What are the minimum and maximum cache sizes supported by API Gateway?
API Gateway allows caching from 500MB to 237GB
What are the minimum and maximum cache TTL values supported by API Gateway?
Is caching configured per API Gateway instance?
Caching is configured per stage and can be encrypted
What are the components of an AWS API Gateway invoke URL?
https://1nj7l16t37.execute-api.us-east-1.amazonaws.com/stage/resource
What are the phases of AWS API Gateway integration?
What types of integration does AWS API Gateway support?
Requires integration request and response configuration:
- AWS: Exposes AWS service actions
- HTTP: Exposes HTTP backend endpoints
Does not requires integration request and response configuration:
- AWS_PROXY: Directly invokes an AWS Lambda function
- HTTP_PROXY: Exposes HTTP backend endpoints without transformation
- MOCK: Returns a response without calling a backend service
What AWS API Gateway component (script) modifies request parameters, body, or headers in non-proxy integrations?
Mapping Templates
What language is used in AWS API Gateway Mapping Templates?
Velocity Template Language (VTL)
What is a common use case for AWS API Gateway Mapping Templates?
Converting REST API requests to SOAP API format for integration
What action must be performed to make AWS API Gateway updates live and callable by users?
Deployment to a new or existing stage
Can a deployed AWS API Gateway stage be updated after changes are made?
Yes, a stage can be overwritten with new changes or rolled back
What key-value pairs can be defined as configuration attributes associated with an AWS API Gateway Stage and used in API setup and Mapping Templates?
Stage Variables
What specification defines a standard, language-agnostic interface for HTTP APIs, enabling both humans and computers to discover and understand the service’s capabilities without access to source code, documentation, or network traffic inspection?
OpenAPI Specification (OAS)
How OpenAPI Specification files can be used by AWS API Gateway service?
What key-value pair defines configuration attributes associated with an AWS API Gateway Stage Deployment, functioning like environment variables and usable in API setup and mapping templates?
Stage Variables
What AWS API Gateway feature can enhance API performance by reducing the number of calls to your endpoint and improving request latency?
API Caching