ExamGecko
Question list
Search
Search

Related questions











Question 617 - CLF-C01 discussion

Report
Export

A company wants to migrate an existing on-premises web application to AWS. The existing technology stacks consist of configuration files, application code that connects to a MySQL database by using a language-specific MySQL API, and a source code repository that holds configuration files and program code A developer uses an Amazon RDS for MySQL DB instance as the target database The developer uses a container as the compute engine for the web application program code The developer wants to configure the database connection from the web application code to the new RDS for MySQL DB instance without refactoring the existing code The developer also must maximize security for the storage of the database user name and password pair that the application code uses Which combination of steps should the developer take to meet these requirements? (Select TWO )

A.
Use the RDS software development kit (SDK) to construct a database client.
Answers
A.
Use the RDS software development kit (SDK) to construct a database client.
B.
Keep the existing database connectivity API code unchanged Change the database connection string URL to the endpoint of the RDS for MySQL DB instance
Answers
B.
Keep the existing database connectivity API code unchanged Change the database connection string URL to the endpoint of the RDS for MySQL DB instance
C.
Store the database's user name and password pair in the configuration files
Answers
C.
Store the database's user name and password pair in the configuration files
D.
Use AWS Secrets Manager to store the database's user name and password pair Use the GetSecretValue API operation to retrieve the user name and password pair when the application makes MySQL DB API calls
Answers
D.
Use AWS Secrets Manager to store the database's user name and password pair Use the GetSecretValue API operation to retrieve the user name and password pair when the application makes MySQL DB API calls
E.
Use the environment variables of the container definition to pass the database's user name and password pair to the application code
Answers
E.
Use the environment variables of the container definition to pass the database's user name and password pair to the application code
Suggested answer: B, D
asked 16/09/2024
Daniel Ramos
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first