Bird
0
0

You want to deploy an API to two different stages: 'test' and 'prod'. How should you manage deployments?

hard📝 Application Q8 of 15
AWS - API Gateway
You want to deploy an API to two different stages: 'test' and 'prod'. How should you manage deployments?
ACreate separate deployments for each stage with the same API version
BDeploy once and both stages update automatically
CUse one stage and rename it as needed
DDeploy only to 'prod' and link 'test' to it
Step-by-Step Solution
Solution:
  1. Step 1: Understand stage deployment independence

    Each stage points to a specific deployment. To have different stages, create separate deployments for each.
  2. Step 2: Evaluate other options

    Deploying once does not update multiple stages automatically. Renaming stages or linking stages is not supported.
  3. Final Answer:

    Create separate deployments for each stage with the same API version -> Option A
  4. Quick Check:

    Separate deployments needed per stage [OK]
Quick Trick: Each stage needs its own deployment [OK]
Common Mistakes:
MISTAKES
  • Assuming one deploy updates all stages
  • Trying to rename stages dynamically
  • Linking stages incorrectly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes