A developer manages an Amazon RDS for PostgreSQL database. An Amazon Elastic Container Service (Amazon ECS) container that uses AWS Fargate needs to modify the contents of the database during a nightly run. Which combination of steps should the developer take to provide database access to the container in the MOST secure manner? (Choose two.)

QuestionsCategory: DVA-C01A developer manages an Amazon RDS for PostgreSQL database. An Amazon Elastic Container Service (Amazon ECS) container that uses AWS Fargate needs to modify the contents of the database during a nightly run. Which combination of steps should the developer take to provide database access to the container in the MOST secure manner? (Choose two.)
Admin Staff asked 7 months ago
A developer manages an Amazon RDS for PostgreSQL database. An Amazon Elastic Container Service (Amazon ECS) container that uses AWS Fargate needs to modify the contents of the database during a nightly run.
Which combination of steps should the developer take to provide database access to the container in the MOST secure manner? (Choose two.)

A. Define a database secret in AWS Secrets Manager. Provide the credentials to the container by using the task definition.

B. Define a password in AWS CloudFormation. Pass the password into the environment variables of the container.

C. Enable IAM authentication for the database. Grant the appropriate permissions to the container.

D. Use an Amazon Cognito identity pool to authenticate the container. Use the provided response token to connect to the database.

E. Define an AWS Key Management Service (AWS KMS) key that encrypts the contents of the database. Grant permission to decrypt to the container.






 

Suggested Answer: DE

Community Answer: AC




This question is in DVA-C01 AWS Certified Developer – Associate Exam
For getting AWS Certified Developer – Associate Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Amazon.
Trademarks, certification & product names are used for reference only and belong to Amazon.
The website does not contain actual questions and answers from Amazon's Certification Exam.
Question Tags:

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.