AWS Certified Data Engineer – Associate (DEA-C01) — Question 54

During a security review, a company identified a vulnerability in an AWS Glue job. The company discovered that credentials to access an Amazon Redshift cluster were hard coded in the job script.
A data engineer must remediate the security vulnerability in the AWS Glue job. The solution must securely store the credentials.
Which combination of steps should the data engineer take to meet these requirements? (Choose two.)

Answer options

Correct answer: D, E

Explanation

The correct answer is D and E because AWS Secrets Manager is designed to securely store sensitive information like credentials, and granting the AWS Glue job's IAM role access ensures it can retrieve those credentials when needed. Options A and B are not secure methods for storing sensitive information, while option C, although it involves accessing credentials, does not provide a secure storage solution.