Flashcardsfor IT Certifications

D1: Building APIs with API Gateway

AWS Associate AWS Certified Developer – Associate exam practice questions · 12 flashcards

Question
REST API vs HTTP API?
1 / 12

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 12 Building APIs with API Gateway practice questions and answers
  1. REST API vs HTTP API?
    REST API: full features (usage plans, API keys, request validation, caching, WAF). HTTP API: cheaper, faster, simpler (JWT authorizers).
  2. WebSocket API?
    Two-way persistent connections for real-time apps (chat).
  3. Lambda proxy integration?
    Entire request passed to Lambda; function returns statusCode, headers, body.
  4. Non-proxy (custom) integration?
    Use mapping templates (VTL) to transform requests/responses.
  5. Request validation?
    Validate required parameters and body against a JSON schema model before integration.
  6. Status code overrides?
    Mapping templates/gateway responses can change the returned status code.
  7. Gateway responses?
    Customize error responses API Gateway returns (e.g. 403, 429).
  8. Usage plans and API keys?
    Throttle and quota limits per client identified by API key.
  9. API Gateway default timeout?
    29 seconds integration timeout (can be raised for REST regional/private APIs).
  10. API Gateway throttling defaults?
    Account-level 10,000 RPS steady with 5,000 burst; stage/method limits configurable; 429 returned when exceeded.
  11. CORS on API Gateway?
    Enable CORS so browsers on other origins can call the API (OPTIONS preflight, Access-Control-Allow-* headers).
  12. AWS AppSync?
    Managed GraphQL (and Events) APIs with real-time subscriptions and resolvers to DynamoDB, Lambda, etc.