Amazon SCS-C02 Exam - Topic 1 Question 47 Discussion
[Infrastructure Security]A Security Engineer is building a Java application that is running on Amazon EC2. The application communicates with an Amazon RDS instance and authenticates with a user name and password.Which combination of steps can the Engineer take to protect the credentials and minimize downtime when the credentials are rotated? (Choose two.)
C) Configure automatic rotation of credentials in AWS Secrets Manager. and E) Configure the Java application to catch a connection failure and make a call to AWS Secrets Manager to retrieve updated credentials when the password is rotated. Grant permission to the instance role associated with the EC2 instance to access Secrets Manager. and E) Configure the Java application to catch a connection failure and make a call to AWS Secrets Manager to retrieve updated credentials when the password is rotated. Grant permission to the instance role associated with the EC2 instance to access Secrets Manager.
By configuring the Java application to catch a connection failure and make a call to AWS Secrets Manager to retrieve updated credentials, you can avoid hard-coding the credentials in your application code or configuration files. This way, your application can dynamically obtain the latest credentials from Secrets Manager whenever the password is rotated, without needing to restart or redeploy the application.To enable this, you need to grant permission to the instance role associated with the EC2 instance to access Secrets Manager using IAM policies2.You can also usethe AWS SDK for Java to integrate your application with Secrets Manager3.
A) Have a Database Administrator encrypt the credentials and store the ciphertext in Amazon S3. Grant permission to the instance role associated with the EC2 instance to read the object and decrypt the ciphertext.
B) Configure a scheduled job that updates the credential in AWS Systems Manager Parameter Store and notifies the Engineer that the application needs to be restarted.
D) Store the credential in an encrypted string parameter in AWS Systems Manager Parameter Store. Grant permission to the instance role associated with the EC2 instance to access the parameter and the AWS KMS key that is used to encrypt it.
Cordelia
6 months agoDenny
6 months agoLizbeth
6 months agoArlyne
6 months agoBarrett
6 months agoEttie
7 months agoGeorgiann
7 months agoArminda
7 months agoIsreal
7 months agoHaydee
7 months agoLeonie
8 months agoCatalina
8 months agoDesirae
8 months agoSarina
10 months agoJonelle
10 months agoPura
8 months agoMelodie
8 months agoMariann
10 months agoRosina
10 months agoMarget
10 months agoMari
10 months agoBok
10 months agoBilly
10 months agoArminda
10 months agoArlette
10 months agoKimberlie
11 months agoAlesia
10 months agoAlpha
10 months agoVesta
11 months agoSarina
11 months ago