DVA-C02 · Question #151
DVA-C02 Question #151: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #151. The question stem and answer options stay visible for context.
Question
A developer is setting up a deployment pipeline. The pipeline includes an AWS CodeBuild build stage that requires access to a database to run integration tests. The developer is using a buildspec.yml file to configure the database connection. Company policy requires automatic rotation of all database credentials. Which solution will handle the database credentials MOST securely?
Options
- ARetrieve the credentials from variables that are hardcoded in the buildspec.yml file. Configure an
- BRetrieve the credentials from an environment variable that is linked to a SecureString parameter
- CRetrieve the credentials from an environment variable that is linked to an AWS Secrets Manager
- DRetrieve the credentials from an environment variable that contains the connection string in
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.