Bird
0
0

Which of the following is the correct way to associate an API key with a usage plan in AWS API Gateway?

easy📝 Configuration Q12 of 15
AWS - API Gateway
Which of the following is the correct way to associate an API key with a usage plan in AWS API Gateway?
ACreate a usage plan, then add the API key to it
BCreate an API key, then add a usage plan to it
CCreate a usage plan and API key separately without linking
DCreate an API key inside the usage plan settings
Step-by-Step Solution
Solution:
  1. Step 1: Understand usage plan and API key relationship

    Usage plans define limits and must have API keys linked to enforce them.
  2. Step 2: Correct linking process

    You create a usage plan first, then add API keys to it to apply limits.
  3. Final Answer:

    Create a usage plan, then add the API key to it -> Option A
  4. Quick Check:

    Usage plan first, then add API key [OK]
Quick Trick: Link API keys by adding them to usage plans [OK]
Common Mistakes:
MISTAKES
  • Trying to add usage plans to API keys
  • Not linking keys and plans at all
  • Assuming API keys are created inside usage plans

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes