Courseiva
Design for New SolutionseasyMultiple ChoiceObjective-mapped

SAP-C02 Design for New Solutions Practice Question

A company is designing a new static website hosted on Amazon S3. The website must be served over HTTPS with a custom domain name. Which AWS service should be used to achieve this?

⚠ Common exam trap

Many candidates assume S3 static website hosting can directly serve HTTPS with a custom domain, but S3's built-in website endpoint does not support custom SSL certificates, making CloudFront the required service for HTTPS termination with a custom domain.

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

Amazon CloudFront with SSL certificate

Amazon CloudFront can be configured to serve content from an S3 bucket as the origin, and it supports custom SSL certificates via AWS Certificate Manager (ACM) or IAM, enabling HTTPS for a custom domain. This is the recommended architecture for static websites requiring HTTPS because CloudFront provides edge caching, DDoS protection, and seamless SSL termination.

Answer analysis

Option-by-option breakdown

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

  • Amazon Route 53 with alias record

    Why it's wrong here

    Route 53 is a DNS service, it does not serve content or provide HTTPS.

  • Amazon CloudFront with SSL certificate

    Why this is correct

    CloudFront can be configured with a custom SSL certificate and domain to serve HTTPS.

  • Amazon S3 static website hosting with bucket policy

    Why it's wrong here

    S3 static website hosting does not support HTTPS with custom domains; it only provides an HTTP endpoint.

  • Elastic Load Balancer with SSL termination

    Why it's wrong here

    ELB is for dynamic content behind EC2, not for static S3 websites.

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

Courseiva writes every SAP-C02 question from scratch — 1,660 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way 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 is designing a new static website hosted on Amazon S3. They want to use Amazon CloudFront as a content delivery network (CDN) to serve the website globally with low latency. The website content must be encrypted in transit. Which configurations should they use? (Choose TWO.)

easy
  • A.Enable default encryption on the S3 bucket using AES-256.
  • B.Enable S3 Transfer Acceleration on the bucket.
  • C.Configure the S3 bucket policy to deny requests that do not use HTTPS.
  • D.Configure CloudFront to require HTTPS for viewer requests.
  • E.Use CloudFront signed URLs to restrict access.

Why C: Configuring the S3 bucket policy to deny requests that do not use HTTPS ensures that all traffic to the S3 origin is encrypted in transit, preventing data exposure during transit between CloudFront and S3. Option D is correct because configuring CloudFront to require HTTPS for viewer requests enforces encryption between end users and CloudFront, fulfilling the requirement for encryption in transit for the entire delivery path.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.