An AWS CodeBuild project fails because the combined length of all environment variables exceeds the allowed character limit. What is the recommended approach to handle many or large environment values?
Choose an answer
Tap an option to check your answer.
Correct answer: Store the environment values in AWS Systems Manager Parameter Store and retrieve them as needed..
Why this is the answer
Storing environment values in AWS Systems Manager Parameter Store is the recommended approach for handling many or large environment variables in CodeBuild. Parameter Store provides a secure, scalable, and centralized service for managing configuration data and secrets. CodeBuild can then retrieve these parameters during the build process, bypassing the environment variable character limit. Adding export LCALL="enUS.utf8" is irrelevant to environment variable size limits; it's for localization. Amazon Cognito is an identity service, not designed for storing application configuration or large sets of environment variables. While an S3 bucket could store data, Parameter Store is specifically designed for configuration values and integrates more seamlessly with AWS services for retrieval and security.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed