Courseiva
Security and Compliance →hardMultiple Choice

SOA-C02 Security and Compliance Practice Question

Exhibit

Refer to the exhibit.

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

Refer to the exhibit. An IAM policy is attached to a user. Which statement about the user's access is correct?

⚠ Common exam trap

SOA-C02 often tests the misunderstanding that a condition applies only to certain actions; candidates may think GetObject over HTTP is allowed because the action is permitted, but the condition blocks it.

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 user can get objects only over HTTPS.

The IAM policy includes a condition that restricts access to HTTPS (aws:SecureTransport true) and allows s3:GetObject. Therefore, the user can only perform GetObject over HTTPS. The policy does not grant s3:ListBucket, so listing is not allowed at all. Thus, the correct statement is that the user can get objects only over HTTPS.

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 user can get objects over HTTP.

    Why it's wrong here

    The policy grants the list action under a protocol condition, not the get action, so retrieving objects over HTTP is not permitted. It is tempting because both actions target the same bucket, but the statement's Action element names only one operation.

  • ✗

    The user can list objects in the bucket over HTTP.

    Why it's wrong here

    The policy's condition key restricts the granted action to a particular transport, so unencrypted HTTP requests are denied. It is tempting because HTTP is the default scheme, but the condition explicitly excludes it for the action the statement allows.

  • ✗

    The user can list objects only over HTTPS.

    Why it's wrong here

    The policy's condition restricts access by protocol, so the HTTPS-only claim misreads the effect of the statement. It is tempting because secure transport is a common control, but the condition here applies to the specific action granted, not to list operations generally.

  • ✓

    The user can get objects only over HTTPS.

    Why this is correct

    The policy's Condition element restricts access to HTTPS, so GetObject requests succeed only when the aws:SecureTransport condition key evaluates true. Plain HTTP calls are denied, satisfying the stem's HTTPS-only constraint while leaving the action and resource permissions otherwise intact.

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

One of 1,169 original SOA-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint

This SOA-C02 practice question is part of Courseiva's free Amazon Web Services 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 SOA-C02 exam.