Bird
0
0

Which AWS CLI command is used to create a new deployment for an API Gateway REST API?

easy📝 Syntax Q12 of 15
AWS - API Gateway
Which AWS CLI command is used to create a new deployment for an API Gateway REST API?
Aaws apigateway create-deployment
Baws apigateway create-stage
Caws apigateway deploy-api
Daws apigateway new-deployment
Step-by-Step Solution
Solution:
  1. Step 1: Identify the correct AWS CLI command for deployment

    The command to create a deployment in API Gateway is create-deployment.
  2. Step 2: Differentiate from other commands

    create-stage creates a stage, not a deployment. Other options are invalid commands.
  3. Final Answer:

    aws apigateway create-deployment -> Option A
  4. Quick Check:

    Deployment command = create-deployment [OK]
Quick Trick: Deploy with 'create-deployment' command [OK]
Common Mistakes:
  • Using create-stage instead of create-deployment
  • Assuming deploy-api is a valid command
  • Confusing deployment with stage creation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes