ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 101 - DVA-C02 discussion

Report
Export

When a developer tries to run an AWS Code Build 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" on _ US, tuft" command to the pre _ build section to ensure POSIX Localization.
Answers
A.
Add the export LC-_ALL" on _ US, tuft" command to the pre _ build section to ensure POSIX Localization.
B.
Use Amazon Cognate to store key-value pairs for large numbers of environment variables
Answers
B.
Use Amazon Cognate 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
Answers
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 ot environment variables
Answers
D.
Use AWS Systems Manager Parameter Store to store large numbers ot environment variables
Suggested answer: D

Explanation:

This solution allows the developer to overcome the limit for the combined maximum of characters for environment variables in AWS CodeBuild. AWS Systems Manager Parameter Store provides secure, hierarchical storage for configuration data management and secrets management. The developer can store large numbers of environment variables as parameters in Parameter Store and reference them in the buildspec file using parameter references. Adding export LC_ALL="en_US.utf8" command to the pre_build section will not affect the environment variables limit. Using Amazon Cognito or an Amazon S3 bucket to store key-value pairs for environment variables will require additional configuration and integration.

Reference: [Build Specification Reference for AWS CodeBuild], [What Is AWS Systems Manager Parameter Store?]

asked 16/09/2024
Christopher Fiotes
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first