Courseiva
mediumMultiple Choice

CCSP Practice Question: A developer configures an AWS S3 bucket to allow…

A developer configures an AWS S3 bucket to allow public access by setting a bucket policy that grants 's3:GetObject' to 'Principal: *'. Which vulnerability does this introduce?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Exposed S3 bucket

Exposing an S3 bucket to anonymous access allows anyone to read objects, leading to data exposure. This is a common cloud misconfiguration.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Mass assignment

    Why it's wrong here

    Mass assignment occurs when an application binds user-supplied input directly to object properties, letting attackers set fields they should not control. Here the exposure comes from a bucket policy's wildcard principal, with no application-layer parameter binding involved; mass assignment would fit a vulnerable API accepting unfiltered JSON.

  • ✗

    SSRF vulnerability

    Why it's wrong here

    SSRF arises when a server fetches a user-supplied URL, letting attackers reach internal endpoints. This bucket policy simply grants anonymous s3:GetObject; no request-forwarding component exists. SSRF would be correct if an application accepted a URL parameter and retrieved it server-side, exposing metadata services or internal hosts.

  • ✓

    Exposed S3 bucket

    Why this is correct

    Granting `s3:GetObject` to `Principal: *` in a bucket policy authorises anonymous, unauthenticated reads of every object, directly satisfying the stem's public-access configuration. This is the defining mechanism of an exposed S3 bucket: no IAM identity, signed request, or credential is required, so anyone with the object URL retrieves the data.

  • ✗

    Over-permissive IAM

    Why it's wrong here

    A wildcard principal granting s3:GetObject is an anonymous, unauthenticated read exposure, not an IAM identity misconfiguration. Over-permissive IAM describes identities holding excessive permissions; it would be the answer if a role or user policy granted broader actions than required, rather than the bucket policy exposing objects publicly.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

This CCSP question is part of Courseiva's 934-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CCSP practice question is part of Courseiva's free ISC2 certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCSP exam.