- A
Use Amazon CloudFront to enforce HTTPS.
Why wrong: CloudFront enforces HTTPS in transit, not encryption at rest.
- B
Enable S3 default encryption on the bucket.
Why wrong: Default encryption applies to objects without encryption headers, but it does not deny unencrypted uploads.
- C
Require pre-signed URLs for all uploads.
Why wrong: Pre-signed URLs control access but do not enforce encryption.
- D
Add a bucket policy that denies PutObject without the x-amz-server-side-encryption header.
Bucket policy can deny unencrypted uploads, enforcing encryption.
Quick Answer
The answer is to add a bucket policy that denies PutObject without the x-amz-server-side-encryption header. This works because an S3 bucket policy with a condition key like s3:x-amz-server-side-encryption can explicitly reject any upload that lacks the required encryption header, making it impossible to store unencrypted objects. On the AWS Certified Solutions Architect Professional SAP-C02 exam, this scenario tests your understanding of the difference between default encryption, which silently encrypts objects but does not prevent unencrypted uploads, and a deny-based policy, which actively enforces encryption on S3 uploads. A common trap is confusing default encryption with enforcement—remember that default encryption is a fallback, not a gatekeeper. For a quick memory tip, think "Deny before Default": a bucket policy with a deny condition is the only way to automatically enforce encryption, while default encryption merely applies it after the fact.
SAP-C02 Continuous Improvement for Existing Solutions Practice Question
This SAP-C02 practice question tests your understanding of continuous improvement for existing solutions. 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.
A company wants to automatically enforce encryption on all new objects uploaded to an S3 bucket. What should they do?
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
Add a bucket policy that denies PutObject without the x-amz-server-side-encryption header.
Option D is correct because an S3 bucket policy with a condition that denies PutObject if encryption headers are not present enforces encryption for all new objects. Option A is wrong because default encryption only encrypts objects that don't specify encryption, but doesn't enforce it. Option B is wrong because pre-signed URLs do not enforce encryption. Option C is wrong because CloudFront does not enforce encryption at the S3 level.
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.
- ✗
Use Amazon CloudFront to enforce HTTPS.
- ✗
Enable S3 default encryption on the bucket.
Why it's wrong here
Default encryption applies to objects without encryption headers, but it does not deny unencrypted uploads.
- ✗
Require pre-signed URLs for all uploads.
Why it's wrong here
Pre-signed URLs control access but do not enforce encryption.
- ✓
Add a bucket policy that denies PutObject without the x-amz-server-side-encryption header.
Why this is correct
Bucket policy can deny unencrypted uploads, enforcing encryption.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.
Detailed technical explanation
How to think about this question
This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.
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.
- Use explanations to understand the rule behind the answer.
TExam Day Tips
- Underline the problem statement mentally.
- 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 SAP-C02 exam domain this question belongs to, then review the specific concept being tested. Practise related questions in that domain and focus on understanding why each wrong answer is tempting — not just why the correct answer is right.
- →
Continuous Improvement for Existing Solutions — study guide chapter
Learn the concepts, then practise the questions
- →
Continuous Improvement for Existing Solutions practice questions
Targeted practice on this topic area only
- →
All SAP-C02 questions
1,746 questions across all exam domains
- →
AWS Certified Solutions Architect Professional SAP-C02 study guide
Full concept coverage aligned to exam objectives
- →
SAP-C02 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related SAP-C02 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Design Solutions for Organizational Complexity practice questions
Practise SAP-C02 questions linked to Design Solutions for Organizational Complexity.
Design for New Solutions practice questions
Practise SAP-C02 questions linked to Design for New Solutions.
Continuous Improvement for Existing Solutions practice questions
Practise SAP-C02 questions linked to Continuous Improvement for Existing Solutions.
Accelerate Workload Migration and Modernization practice questions
Practise SAP-C02 questions linked to Accelerate Workload Migration and Modernization.
SAA-C03 VPC practice questions
Practise SAP-C02 questions linked to SAA-C03 VPC.
SAA-C03 S3 lifecycle policy questions
Practise SAP-C02 questions linked to SAA-C03 S3 lifecycle policy questions.
SAA-C03 RDS Multi-AZ questions
Practise SAP-C02 questions linked to SAA-C03 RDS Multi-AZ questions.
SAA-C03 IAM policy practice questions
Practise SAP-C02 questions linked to SAA-C03 IAM policy.
SAA-C03 Route 53 failover questions
Practise SAP-C02 questions linked to SAA-C03 Route 53 failover questions.
SAA-C03 CloudFront practice questions
Practise SAP-C02 questions linked to SAA-C03 CloudFront.
SAA-C03 NAT gateway questions
Practise SAP-C02 questions linked to SAA-C03 NAT gateway questions.
SAA-C03 VPC endpoint questions
Practise SAP-C02 questions linked to SAA-C03 VPC endpoint questions.
Practice this exam
Start a free SAP-C02 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 SAP-C02 question test?
Continuous Improvement for Existing Solutions — This question tests Continuous Improvement for Existing Solutions — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Add a bucket policy that denies PutObject without the x-amz-server-side-encryption header. — Option D is correct because an S3 bucket policy with a condition that denies PutObject if encryption headers are not present enforces encryption for all new objects. Option A is wrong because default encryption only encrypts objects that don't specify encryption, but doesn't enforce it. Option B is wrong because pre-signed URLs do not enforce encryption. Option C is wrong because CloudFront does not enforce encryption at the S3 level.
What should I do if I get this SAP-C02 question wrong?
Identify which SAP-C02 exam domain this question belongs to, then review the specific concept being tested. Practise related questions in that domain and focus on understanding why each wrong answer is tempting — not just why the correct answer is right.
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 →
Same concept, more angles
2 more ways this is tested on SAP-C02
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company has an S3 bucket that stores sensitive data. The company wants to ensure that all objects uploaded to the bucket are encrypted at rest. Which solution should the solutions architect recommend?
easy- A.Use a bucket policy to deny uploads that do not include the x-amz-server-side-encryption header.
- B.Create an AWS Lambda function that encrypts objects after they are uploaded.
- C.Configure an S3 Access Point with a policy that requires encryption.
- ✓ D.Enable default encryption on the S3 bucket using SSE-S3 or SSE-KMS.
Why D: Option D is correct because S3 default encryption ensures that all objects are encrypted at rest using SSE-S3 or SSE-KMS, regardless of whether the upload request specifies encryption. Option A is wrong because bucket policies cannot enforce encryption; they can deny uploads without encryption headers but are not the simplest method. Option B is wrong because S3 Access Points are used for managing access, not encryption. Option C is wrong while valid, it's more complex than simply enabling default encryption.
Variation 2. A company has an S3 bucket that stores critical data. They need to ensure that all objects are encrypted at rest. The bucket policy currently denies uploads if the x-amz-server-side-encryption header is not set to AES256. However, some objects are still stored with SSE-KMS. How can the company enforce SSE-S3 exclusively?
hard- A.Use S3 Lifecycle policies to transition objects to SSE-S3.
- B.Enable default encryption on the bucket with SSE-S3.
- ✓ C.Update the bucket policy to deny uploads with SSE-KMS.
- D.Use S3 Object Lambda to change encryption.
Why C: Option D is correct because using a bucket policy to deny uploads with SSE-KMS or without encryption ensures only SSE-S3 is allowed. Option A is incorrect because the bucket policy must be updated. Option B is incorrect because default encryption applies to new objects but does not prevent SSE-KMS. Option C is incorrect because lifecycle rules do not change encryption of existing objects.
Last reviewed: Jun 20, 2026
This SAP-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 SAP-C02 exam.
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.
Sign in to join the discussion.