Ultimate access to all questions.
As a developer utilizing the AWS Command Line Interface (CLI) to create AWS Lambda functions, you need to configure these functions with numerous environment variables. Specifically, your Lambda functions will include more than 50 environment variables that contain sensitive data, such as database table names.
What is the maximum number of environment variables you can set for an AWS Lambda function?
Explanation:
The total size of all environment variables shouldn't exceed 4 KB. There is no limit on the number of variables
An environment variable is a pair of strings that are stored in a function's version-specific configuration. The Lambda runtime makes environment variables available to your code and sets additional environment variables that contain information about the function and invocation request. The total size of all environment variables doesn't exceed 4 KB. There is no limit defined on the number of variables that can be used.
Incorrect options:
The total size of all environment variables shouldn't exceed 8 KB. The maximum number of variables that can be created is 50 - Incorrect option. The total size of environment variables cannot exceed 4 KB with no restriction on the number of variables.
The total size of all environment variables shouldn't exceed 8 KB. There is no limit on the number of variables - Incorrect option. The total size of environment variables cannot exceed 4 KB with no restriction on the number of variables.
The total size of all environment variables shouldn't exceed 4 KB. The maximum number of variables that can be created is 35 - Incorrect option. The total size of environment variables cannot exceed 4 KB with no restriction on the number of variables.