Question 400
A web application wants temporary AWS credentials for signed-in mobile users to access narrowly authorized S3 objects. Which design most directly meets this requirement?
Explanation
Correct Answer
Identity pools broker temporary AWS credentials mapped to supported identities. In this situation, an authenticated user receives temporary credentials only for the permitted S3 prefix. The decision can be verified by that concrete result.
Incorrect Answers
Security groups support allow rules, not explicit deny entries; NACLs can deny CIDRs. That relates to a different need: a VPC has public web servers but teams need to prevent outbound access to a specific undesired IP CIDR at a subnet boundary.
Gateway endpoints keep supported S3 traffic on AWS private network routes. That relates to a different need: an organization wants private S3 access from VPC workloads without NAT gateway processing charges.
Secrets Manager centralizes secret lifecycle and avoids baking credentials into deployable images. That relates to a different need: an application stores database credentials in plain text inside a container image.