Security & Compliance第 30 / 100 题

An application running on an EC2 instance needs to read objects from an S3 bucket. What is the recommended way to grant this access?

a.Embed long-term access keys in the application code
b.Make the S3 bucket public
c.Attach an IAM role to the EC2 instance
d.Share the root user credentials with the instance

解析

Attaching an IAM role to the EC2 instance provides temporary, automatically rotated credentials to the application, avoiding hard-coded keys. This follows the principle of least privilege and is far more secure than embedding static keys.

免费刷完整 100 道题库 — 无需注册。

同考点相关题目

最近核对: · 审核流程

PrepPass 编辑团队 · 依据官方资料核对 AWS Certified Cloud Practitioner (CLF-C02) · 我们如何核对
反馈