AWS Certified Security – Specialty (SCS-C02) — Question 152

A company uses user data scripts that contain sensitive information to bootstrap Amazon EC2 instances. A security engineer discovers that this sensitive information is viewable by people who should not have access to it.

What is the MOST secure way to protect the sensitive information used to bootstrap the instances?

Answer options

Correct answer: B

Explanation

Option B is the best choice as it uses AWS Systems Manager Parameter Store to securely manage sensitive data, ensuring that only the EC2 instance with the appropriate role can access it. Option A is less secure since storing scripts in the AMI might expose them to unauthorized access. Option C, while encrypting scripts, moves sensitive data to S3, which could introduce additional risks. Option D does not address the protection of sensitive information effectively and focuses on access control instead.