Courseiva
Reliability and Business ContinuitymediumDrag & DropObjective-mapped

SOA-C02 Reliability and Business Continuity Practice Question

Drag and drop the steps to set up an Amazon S3 bucket policy to grant cross-account access into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

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

Identify the bucket and account, then write the policy with correct principal and actions, then save the policy, then test access.

Identify the bucket and account, write the policy with correct principal and actions, save, and test.

Answer analysis

Option-by-option breakdown

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

  • Identify the bucket and account, then write the policy with correct principal and actions, then save the policy, then test access.

    Why this is correct

    Correct order ensures the policy is scoped properly: you must first identify the exact S3 bucket ARN and the AWS account that owns it, since a bucket policy's Resource element must reference that ARN and the Principal often specifies the account. Next, write the policy statements with explicit action permissions (e.g., s3:GetObject) and principals, then attach or save the policy to the bucket via the S3 console or PutBucketPolicy API. Finally, test access using IAM Access Analyzer, the S3 console's policy simulator, or an actual request to confirm the intended effect. Skipping any step risks misconfiguration or a policy that is not evaluated.

  • Write the policy with correct principal and actions, then identify the bucket and account, then save the policy, then test access.

    Why it's wrong here

    This sequence is incorrect because writing the policy before identifying the bucket and account leaves you without the essential context needed for the Resource and Principal fields; a bucket policy must include the bucket's Amazon Resource Name (ARN) and often the account ID to grant or restrict access correctly. If you draft the policy first, you may reference an incorrect ARN or omit the account-based principal, leading to a malformed policy that cannot be saved or that grants unintended access. Even if you later correct the policy, you would have to rewrite it, making this order inefficient and error-prone. The bucket identity is a prerequisite, not an afterthought, in policy construction.

  • Identify the bucket and account, then write the policy with correct principal and actions, then test access, then save the policy.

    Why it's wrong here

    This ordering is invalid because saving the policy is what makes it active for evaluation; testing the policy before saving will test any previously attached policy or, if no policy exists, the bucket's default private permissions, not the policy you just wrote. Since S3 only evaluates bucket policies that are attached and persisted to the bucket, an unsaved policy never influences requests, so your test would produce misleading results. You must first save the policy through the PutBucketPolicy operation or console, and then verify access with a test to see the new policy's effect. Reversing these steps means you are validating an imaginary policy, not the one actually enforced.

  • Identify the bucket and account, then save the policy, then write the policy with correct principal and actions, then test access.

    Why it's wrong here

    This sequence is wrong because saving the policy before writing its statements will overwrite the current bucket policy with an empty or incomplete policy, which typically removes all existing permissions or applies a default deny-all effect. After saving a blank policy, writing the policy afterward does not automatically persist it—you would need to save again or use a procedure like PutBucketPolicy with the JSON document in one step. The correct approach is to compose the complete policy JSON first, then save it atomically, ensuring the bucket always has a well-formed, intended policy. Saving first not only fails to record the eventual policy but can also disrupt live access until the second save.

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 247 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 by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.