Practice API Gateway Questions Now
Start a timed practice session focusing on Amazon API Gateway topics from the DVA-C02 question bank.
Start DVA-C02 Practice Quiz →DVA-C02 API Gateway Question Bank (14 Questions)
Browse all 14 practice questions covering Amazon API Gateway for the DVA-C02 certification exam. Answers are intentionally hidden on this page so you can self-test first before checking results in quiz mode.
- Question 1Security
An API Gateway method requires API key validation. Where are API keys associated with usage plans?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 2Security
A developer needs to control access to an API Gateway endpoint based on the user's identity token from Amazon Cognito. Which API Gateway authorizer type should they use?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 3Development with AWS Services
An API Gateway REST API needs to authenticate requests using a custom authentication mechanism. Which feature allows this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 4Troubleshooting and Optimization
An API Gateway REST API serves a mobile application. Users report intermittent 5-minute outages. How should the developer investigate?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 5Development with AWS Services
A developer uses API Gateway WebSocket API. When a client disconnects, which route is invoked?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 6Security
A developer builds a REST API with API Gateway. Some endpoints require authentication; others are public. Which configuration supports this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 7Security
A developer wants to ensure that API keys passed to an API Gateway endpoint are valid. Which feature validates API keys without custom code?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 8Deployment
A developer uses SAM to define a REST API and Lambda. They want to reuse the same API Gateway across multiple SAM applications. What is the approach?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 9Development with AWS Services
A developer uses API Gateway REST API. The backend integration is a Lambda function. To avoid re-invoking Lambda for identical requests within 5 minutes, what should they configure?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 10Development with AWS Services
A developer builds a REST API with API Gateway backed by Lambda. Some operations are read-heavy. Which API Gateway feature reduces Lambda costs?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 11Deployment
A developer creates a SAM template with an API Gateway and Lambda. After deployment, they update only the Lambda function code. What is the FASTEST way to redeploy?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 12Troubleshooting and Optimization
A developer uses API Gateway with throttling. Some requests return 429. They want to understand which clients are hitting the throttle. Where do they look?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 13Deployment
A developer builds a multi-stage Docker image for a Lambda function. Which base image should they use for production Lambda deployments?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 14Deployment
A developer uses CodePipeline with a CodeDeploy deploy stage. The deployment fails. Where should the developer look for the root cause?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz
Key API Gateway Concepts for DVA-C02
DVA-C02 API Gateway Exam Tips
Amazon API Gateway questions in DVA-C02 are typically scenario-based. Focus on application development patterns, event-driven integration, and secure coding on AWS. Priority concepts: api gateway, rest api, http api, websocket, stage, deployment.
What DVA-C02 Expects
- Anchor your answer in select developer-friendly managed services and patterns that minimize custom undifferentiated code.
- API Gateway scenarios for DVA-C02 are frequently mapped to Domain 1 (32%), Domain 2 (26%), Domain 3 (24%), so read the objective carefully before picking controls or architecture.
- Expect multi-topic scenarios where API Gateway interacts with IAM, networking, storage, or observability patterns rather than appearing as an isolated question.
- When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Associate) and vendor best practices.
High-Value API Gateway Concepts
- Know the core API Gateway building blocks cold: api gateway, rest api, http api, websocket.
- Review the edge-case features and limits for stage, deployment; these details are commonly used to differentiate answer choices.
- Practice service-integration reasoning: how API Gateway pairs with Lambda, Cognito, IAM in real deployment patterns.
- For DVA-C02, explain why the chosen API Gateway design meets reliability, security, and cost expectations better than the alternatives.
Common DVA-C02 Traps
- Watch for using infrastructure-centric answers instead of application-centric ones.
- Questions in Development with AWS Services often include distractors that look correct for API Gateway but violate least-privilege, durability, or availability requirements.
- Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
- If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.
Fast Review Checklist
- Can you compare at least two API Gateway implementation paths and justify which one best fits the scenario?
- Can you map the chosen answer back to Development with AWS Services (32%) outcomes for DVA-C02?
- Can you explain security and access boundaries for API Gateway without relying on default-open assumptions?
- Can you describe how API Gateway integrates with Lambda and Cognito during failure, scaling, and monitoring events?