Question 22 of 1,040
Design Secure ArchitectureshardMultiple SelectObjective-mapped

Quick Answer

The answer is to use an S3 bucket policy that allows access only from the CloudFront distribution, paired with Origin Access Control (OAC). OAC is the modern CloudFront feature that enforces this restriction by having CloudFront sign all requests to S3 with a unique credential; the bucket policy then explicitly grants access only to that CloudFront canonical user ID, blocking any direct requests to the S3 URL. On the SAA-C03 exam, this tests your understanding of how to prevent users from bypassing CloudFront—a common trap is confusing OAC with the older Origin Access Identity (OAI), but OAC is the recommended method for S3 origins. Remember that without this policy, anyone with the S3 bucket URL can access the images directly, defeating CloudFront’s security and caching benefits. A simple memory tip: OAC signs, policy denies—direct links get denied.

SAA-C03 Design Secure Architectures Practice Question

This SAA-C03 practice question tests your understanding of design secure architectures. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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.

A image sharing application uses CloudFront in front of an S3 origin. Which two settings help keep users from bypassing CloudFront and accessing the bucket directly?

Question 1hardmulti select
Full question →

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

Configure Origin Access Control for the S3 origin

Origin Access Control (OAC) is a CloudFront feature that restricts access to an S3 origin by requiring that all requests include a specific signature that only CloudFront can generate. When you configure OAC, CloudFront signs requests to S3 using its own credentials, and the S3 bucket policy is updated to allow access only to the CloudFront distribution's canonical user ID. This ensures that direct requests to the S3 bucket URL are denied, preventing users from bypassing CloudFront.

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.

  • Enable CloudFront standard logging

    Why it's wrong here

    Logging records requests but does not block direct S3 access.

  • Enable S3 static website hosting

    Why it's wrong here

    Website hosting requires public-style access patterns and does not protect the origin.

  • Configure Origin Access Control for the S3 origin

    Why this is correct

    Origin Access Control allows CloudFront to securely access a private S3 bucket.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use an S3 bucket policy that allows access only from the CloudFront distribution

    Why this is correct

    The bucket policy should trust the CloudFront distribution and deny direct public access.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse enabling S3 static website hosting (which creates a public endpoint) with a security control, when in fact it would undermine the goal of restricting direct access.

Detailed technical explanation

How to think about this question

Under the hood, OAC uses AWS Signature Version 4 (SigV4) to sign requests from CloudFront to S3, and the bucket policy must explicitly grant the s3:GetObject action to the CloudFront distribution's service principal (e.g., 'arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity'). Without OAC, a bucket policy that allows public access or access from any principal would let users bypass CloudFront by hitting the S3 endpoint directly. In a real-world scenario, failing to configure OAC could lead to data exfiltration or higher costs if users access the bucket directly, bypassing CloudFront's caching and security features.

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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

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 SAA-C03 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 SAA-C03 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 SAA-C03 question test?

Design Secure Architectures — This question tests Design Secure Architectures — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Configure Origin Access Control for the S3 origin — Origin Access Control (OAC) is a CloudFront feature that restricts access to an S3 origin by requiring that all requests include a specific signature that only CloudFront can generate. When you configure OAC, CloudFront signs requests to S3 using its own credentials, and the S3 bucket policy is updated to allow access only to the CloudFront distribution's canonical user ID. This ensures that direct requests to the S3 bucket URL are denied, preventing users from bypassing CloudFront.

What should I do if I get this SAA-C03 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

Keep practising

More SAA-C03 practice questions

Last reviewed: Jun 11, 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 SAA-C03 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 SAA-C03 exam.