Question 60 of 1,000
Network and Cloud ForensicshardMultiple ChoiceObjective-mapped

Quick Answer

The answer is that the bucket is publicly accessible to read objects. This security concern arises because the S3 bucket policy uses a wildcard principal set to `"*"`, which grants any unauthenticated user or anonymous entity on the internet permission to perform the `s3:GetObject` action. Since the effect is `Allow` and no conditions restrict access, the policy effectively makes every object in the bucket readable by anyone who knows the bucket name and object key, exposing sensitive data without authentication. On the Computer Hacking Forensic Investigator CHFI exam, this scenario tests your understanding of misconfigured IAM policies as a common forensic finding in cloud data breaches; a frequent trap is assuming a wildcard principal only applies to authenticated AWS users, but it actually includes anonymous users. A useful memory tip: think of the wildcard `"*"` as a "star" that opens the door to the entire internet—if you see it in a principal field with an Allow effect, the bucket is wide open.

CHFI Network and Cloud Forensics Practice Question

This CHFI practice question tests your understanding of network and cloud forensics. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

Refer to the exhibit.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": "*",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::example-bucket/*"
    }
  ]
}

An investigator finds the above IAM policy attached to an S3 bucket. What is the security concern?

Question 1hardmultiple choice
Full question →

Exhibit

Refer to the exhibit.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": "*",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::example-bucket/*"
    }
  ]
}

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 bucket is publicly accessible to read objects

Option C is correct because the IAM policy's `Principal` is set to `"*"` (wildcard), which means any unauthenticated user or anonymous entity on the internet can perform the `s3:GetObject` action. This makes the S3 bucket publicly readable, exposing all objects stored in the bucket to anyone who knows the bucket name and object key. The `Effect` is `Allow` and there is no condition restricting access, so the policy grants open read access to the entire bucket.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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 resource does not include all objects

    Why it's wrong here

    The /* at the end includes all objects.

  • The policy version is outdated

    Why it's wrong here

    Version 2012-10-17 is current.

  • The bucket is publicly accessible to read objects

    Why this is correct

    Principal: * allows any user to perform GetObject.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The policy allows anyone to write objects to the bucket

    Why it's wrong here

    Action is GetObject, not PutObject.

Common exam traps

Common exam trap: answer the scenario, not the keyword

EC-Council often tests the distinction between a wildcard `Principal` (public access) and a wildcard `Resource` (which is normal for bucket policies), so candidates mistakenly think the `/*` in the Resource field is the security issue, when it is actually the `"*"` in the Principal field that creates the vulnerability.

Detailed technical explanation

How to think about this question

Under the hood, the `Principal: "*"` in a resource-based policy (like an S3 bucket policy) effectively grants access to all AWS accounts and anonymous users, bypassing any IAM user or role restrictions. In real-world scenarios, this misconfiguration has led to massive data breaches, such as the exposure of millions of customer records from misconfigured S3 buckets. AWS recommends using bucket policies with explicit conditions (e.g., `aws:SourceIp` or `aws:PrincipalOrgID`) or requiring authentication via `Principal: { "AWS": "arn:aws:iam::account-id:root" }` to avoid public access.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the CHFI exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related CHFI practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CHFI practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CHFI question test?

Network and Cloud Forensics — This question tests Network and Cloud Forensics — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The bucket is publicly accessible to read objects — Option C is correct because the IAM policy's `Principal` is set to `"*"` (wildcard), which means any unauthenticated user or anonymous entity on the internet can perform the `s3:GetObject` action. This makes the S3 bucket publicly readable, exposing all objects stored in the bucket to anyone who knows the bucket name and object key. The `Effect` is `Allow` and there is no condition restricting access, so the policy grants open read access to the entire bucket.

What should I do if I get this CHFI question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This CHFI practice question is part of Courseiva's free EC-Council 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 CHFI exam.