Recall & Review
beginner
What is an API deployment in AWS API Gateway?
An API deployment is a snapshot of your API configuration that you can make available to users. It represents a specific version of your API that is ready to be called.
Click to reveal answer
beginner
What is an API stage in AWS API Gateway?
An API stage is a named reference to a deployment. It acts like a live environment (for example, 'dev', 'test', or 'prod') where the deployed API is accessible.
Click to reveal answer
intermediate
Why use stages in API Gateway?
Stages let you manage different versions of your API for different environments. You can test changes in a 'dev' stage before moving them to 'prod' without affecting users.Click to reveal answer
beginner
How do you create a new deployment in AWS API Gateway?
You create a deployment by selecting your API and choosing to deploy it to a stage. This saves the current API configuration as a deployment linked to that stage.
Click to reveal answer
intermediate
What happens if you redeploy an API to the same stage?
Redeploying updates the stage to point to the new deployment. This means the API changes become live immediately for that stage's users.
Click to reveal answer
What does an API stage represent in AWS API Gateway?
✗ Incorrect
An API stage is a live environment like 'dev' or 'prod' where the deployed API version is accessible.
What is the purpose of deploying an API in AWS API Gateway?
✗ Incorrect
Deployment saves a snapshot of the API configuration that can be accessed by users.
If you want to test API changes without affecting users, what should you use?
✗ Incorrect
Using a separate stage like 'dev' allows testing without affecting production users.
What happens when you redeploy an API to the same stage?
✗ Incorrect
Redeploying updates the stage to point to the new deployment, making changes live.
Which of the following is NOT a typical stage name in API Gateway?
✗ Incorrect
'backup' is not a typical stage name; common ones are 'dev', 'test', and 'prod'.
Explain what an API deployment and an API stage are in AWS API Gateway and how they work together.
Think of deployment as a saved version and stage as the place where users access that version.
You got /4 concepts.
Describe why using multiple stages is important when managing APIs in AWS API Gateway.
Consider how you might test a new recipe before serving it to guests.
You got /4 concepts.