exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 29 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 29
Topic #: 1
[All AWS Certified Developer Associate Questions]

When a Developer tries to run an AWS CodeBuild project, it raises an error because the length of all environment variables exceeds the limit for the combined maximum of characters.
What is the recommended solution?

  • A. Add the export LC_ALL=ג€en_US.utf8ג€ command to the pre_build section to ensure POSIX localization.
  • B. Use Amazon Cognito to store key-value pairs for large numbers of environment variables.
  • C. Update the settings for the build project to use an Amazon S3 bucket for large numbers of environment variables.
  • D. Use AWS Systems Manager Parameter Store to store large numbers of environment variables.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
awscertified
Highly Voted 3 years, 7 months ago
D. Use AWS Systems Manager Parameter Store to store large numbers of environment variables.
upvoted 27 times
pleasespammelater
3 years, 7 months ago
https://docs.aws.amazon.com/codebuild/latest/userguide/troubleshooting.html#troubleshooting-large-env-vars
upvoted 4 times
...
...
jonnalagadda
Highly Voted 3 years, 7 months ago
Ans:D Possible cause: Your build is using environment variables that are too large for AWS CodeBuild. CodeBuild can raise errors once the length of all environment variables (all names and values added together) reach a combined maximum of around 5,500 characters. Recommended solution: Use Amazon EC2 Systems Manager Parameter Store to store large environment variables and then retrieve them from your buildspec file.
upvoted 13 times
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: D
D) Correct - AWS Systems Manager Parameter Store is a secure, scalable, and centralized service for storing configuration data, such as environment variables.
upvoted 1 times
...
JonasKahnwald
5 months, 2 weeks ago
Selected Answer: D
Parameter Store allows you to store environment variables securely and retrieve them during the build process. It helps manage large numbers of environment variables without hitting the character limit.
upvoted 1 times
...
AsmaZoheb
1 year, 3 months ago
Selected Answer: D
keyword is length of all environment variables exceeds the limit , large environment variables, stored in aws system manager parameter store
upvoted 1 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: D
The limit for each enviroment variable in AWS is 4KB. In this case we reached out the limit so we can use AWS System Parameter Store to store large env variables and eventually organize them hierarchically accross different environments
upvoted 1 times
...
peterpain
1 year, 11 months ago
Selected Answer: D
Using parameter store is the best practices to store environment variables
upvoted 1 times
...
haazybanj
2 years, 7 months ago
Selected Answer: D
Answer is D
upvoted 1 times
...
tam2801
2 years, 7 months ago
D is the right answer
upvoted 1 times
...
VAG1595
3 years, 5 months ago
Answer: D
upvoted 1 times
...
wils3
3 years, 5 months ago
Ans: D
upvoted 1 times
...
codeScalable
3 years, 6 months ago
I will go with D
upvoted 1 times
...
saeidp
3 years, 6 months ago
D is correct
upvoted 1 times
...
MannyC
3 years, 6 months ago
Ans : D
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago