Bird
0
0

Which of the following is the correct way to set reserved concurrency for a Lambda function using AWS CLI?

easy📝 Configuration Q12 of 15
AWS - Lambda
Which of the following is the correct way to set reserved concurrency for a Lambda function using AWS CLI?
Aaws lambda update-function --name MyFunc --concurrency 5
Baws lambda set-concurrency --function MyFunc --reserved 5
Caws lambda put-function-concurrency --function-name MyFunc --reserved-concurrent-executions 5
Daws lambda configure-concurrency --function MyFunc --limit 5
Step-by-Step Solution
Solution:
  1. Step 1: Recall AWS CLI command for reserved concurrency

    The correct command is 'put-function-concurrency' with '--reserved-concurrent-executions' option.
  2. Step 2: Match the correct syntax

    aws lambda put-function-concurrency --function-name MyFunc --reserved-concurrent-executions 5 matches the exact AWS CLI syntax to set reserved concurrency.
  3. Final Answer:

    aws lambda put-function-concurrency --function-name MyFunc --reserved-concurrent-executions 5 -> Option C
  4. Quick Check:

    Reserved concurrency CLI = put-function-concurrency [OK]
Quick Trick: Use 'put-function-concurrency' with reserved count [OK]
Common Mistakes:
  • Using wrong command names like 'set-concurrency'
  • Incorrect option flags
  • Confusing update-function with concurrency settings

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes