Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing

Question

A developer has deployed a Lambda function which will run in various environments such as DEV, TEST, UAT, and PROD. As part of its processing, the function also calls a set of external API services which varies based on the environment. The function must use different endpoints for these external services to properly complete the processing. Which of the following features in Lambda would be appropriate external endpoint for each environment?
  • Environment Variables
  • Stage Variables
  • Aliases
  • Layers
Answer- A