Courseiva
Design for New SolutionshardMultiple ChoiceObjective-mapped

SAP-C02 Design for New Solutions Practice Question

A company is deploying a web application on AWS Elastic Beanstalk. The application must be accessible over HTTPS only and must automatically redirect HTTP requests to HTTPS. The SSL/TLS certificate is provided by AWS Certificate Manager (ACM). How should this be configured?

⚠ Common exam trap

Watch out — candidates often assume SSL termination must happen on the EC2 instances (Option B) or that a separate service like CloudFront (Option D) is required, when in fact the Elastic Beanstalk load balancer can natively handle both HTTPS termination and HTTP-to-HTTPS redirection with minimal configuration.

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 the environment’s load balancer to listen on port 443 with the ACM certificate and port 80 with a redirect rule.

Elastic Beanstalk environments using a load balancer (ALB or CLB) can be configured to listen on port 443 with the ACM certificate for HTTPS termination, and simultaneously define a listener on port 80 with a redirect action that sends HTTP traffic to HTTPS. This is the simplest and most scalable approach, as it offloads SSL termination and redirection to the load balancer, eliminating the need to manage certificates or redirection logic on individual instances.

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 a NAT instance to perform SSL termination and redirect.

    Why it's wrong here

    NAT instances are not designed for SSL termination.

  • Install the certificate on each EC2 instance and configure the web server to redirect HTTP to HTTPS.

    Why it's wrong here

    Instance-level termination is not recommended; ACM certificates are best used with load balancers.

  • Configure the environment’s load balancer to listen on port 443 with the ACM certificate and port 80 with a redirect rule.

    Why this is correct

    The load balancer can terminate HTTPS and redirect HTTP to HTTPS.

  • Deploy a CloudFront distribution with the ACM certificate and redirect HTTP to HTTPS at the distribution level.

    Why it's wrong here

    CloudFront is overkill for a simple redirect; it adds cost and complexity.

About these practice questions

This SAP-C02 question is part of Courseiva's 1,660-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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 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.