You want to securely distribute credentials for your Amazon RDS instance to your fleet of web server instances. The credentials are stored in a file that is controlled by a configuration management system. How do you securely deploy the credentials in an automated manner across the fleet of web server instances, which can number in the hundreds, while retaining the ability to roll back if needed?
A) Store your credential files in an Amazon S3 bucket. Use Amazon S3 server-side encryption on the credential files. Have a scheduled job that pulls down the credential files into the instances every 10 minutes.
B) Store the credential files in your version-controlled repository with the rest of your code. Have a post-commit action in version control that kicks off a job in your continuous integration system which securely copses the new credential files to all web server instances.
C) Insert credential files into user data and use an instance lifecycle policy to periodically refresh the file from the user data.
D) Keep credential files as a binary blob in an Amazon RDS MySQL DB instance, and have a script on each Amazon EC2 instance that pulls the files down from the RDS instance.
E) Store the credential files in your version-controlled repository with the rest of your code. Use a parallel file copy program to send the credential files from your local machine to the Amazon EC2 instances.
Correct Answer:
Verified
Q244: A company is using AWS to deploy
Q245: A company is implementing a well-architected design
Q246: You are using a configuration management system
Q247: You work for an insurance company and
Q248: A company has 100 GB of log
Q250: A DevOps engineer is implementing governance controls
Q251: A company is using AWS CodePipeline to
Q252: After a recent audit, a company decided
Q253: A company is developing a web application's
Q254: A DevOps engineer is deploying a new
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents