Courseiva
mediumMultiple ChoiceObjective-mapped

CAS-004 Practice Question: Refer to the exhibit

Network Topology
$ aws s3api get-bucket-policybucket mycompany-data"Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":\"s3:GetObject\",\"Resource\":\"arn:aws:s3:::mycompany-data/*\"}]}"

Refer to the exhibit. A security engineer reviews the S3 bucket policy. Which of the following is the most concerning security issue?

⚠ Common exam trap

CompTIA CASP+ often tests the distinction between `s3:ListBucket` (listing object names) and `s3:GetObject` (reading object contents), tricking candidates into thinking listing is the most severe when actually public read access to object data is the critical risk.

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

The policy allows public read access to all objects in the bucket

The S3 bucket policy explicitly grants the `s3:GetObject` action to `"Principal": "*"`, which allows any unauthenticated user (public) to read all objects in the bucket. This is a critical misconfiguration that exposes sensitive data to the internet, often leading to data breaches. The policy does not restrict access by IP, referer, or any condition, making it a direct violation of the principle of least privilege.

Answer analysis

Option-by-option breakdown

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

  • The policy does not require encryption in transit

    Why it's wrong here

    Encryption in transit is not controlled by bucket policies; it is configured separately via endpoints or bucket policies that deny HTTP requests.

  • The policy uses the incorrect version of the policy language

    Why it's wrong here

    The version 2012-10-17 is the current and correct version for IAM policies.

  • The policy allows any user to list the objects in the bucket

    Why it's wrong here

    The action is s3:GetObject, not s3:ListBucket, so listing is not allowed.

  • The policy allows public read access to all objects in the bucket

    Why this is correct

    Principal: * with s3:GetObject allows anonymous read access to all objects.

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

Courseiva writes every CAS-005 question from scratch — 968 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 CAS-005 practice question is part of Courseiva's free CompTIA 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 CAS-005 exam.