exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 60 discussion

A company has a website hosted on AWS. The website is behind an Application Load Balancer (ALB) that is configured to handle HTTP and HTTPS separately. The company wants to forward all requests to the website so that the requests will use HTTPS.
What should a solutions architect do to meet this requirement?

  • A. Update the ALB's network ACL to accept only HTTPS traffic.
  • B. Create a rule that replaces the HTTP in the URL with HTTPS.
  • C. Create a listener rule on the ALB to redirect HTTP traffic to HTTPS.
  • D. Replace the ALB with a Network Load Balancer configured to use Server Name Indication (SNI).
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Buruguduystunstugudunstuy
Highly Voted 2 years ago
Selected Answer: C
C. Create a listener rule on the ALB to redirect HTTP traffic to HTTPS. To meet the requirement of forwarding all requests to the website so that the requests will use HTTPS, a solutions architect can create a listener rule on the ALB that redirects HTTP traffic to HTTPS. This can be done by creating a rule with a condition that matches all HTTP traffic and a rule action that redirects the traffic to the HTTPS listener. The HTTPS listener should already be configured to accept HTTPS traffic and forward it to the target group.
upvoted 26 times
Option A. Updating the ALB's network ACL to accept only HTTPS traffic is not a valid solution because the network ACL is used to control inbound and outbound traffic at the subnet level, not at the listener level. Option B. Creating a rule that replaces the HTTP in the URL with HTTPS is not a valid solution because this would not redirect the traffic to the HTTPS listener. Option D. Replacing the ALB with a Network Load Balancer configured to use Server Name Indication (SNI) is not a valid solution because it would not address the requirement to redirect HTTP traffic to HTTPS.
upvoted 16 times
...
...
masetromain
Highly Voted 2 years, 2 months ago
Selected Answer: C
Answer C : https://docs.aws.amazon.com/fr_fr/elasticloadbalancing/latest/application/create-https-listener.html https://aws.amazon.com/fr/premiumsupport/knowledge-center/elb-redirect-http-to-https-using-alb/
upvoted 15 times
...
cookieMr
Most Recent 2 months, 3 weeks ago
Selected Answer: C
A. Network ACLs operate at subnet level and control inbound and outbound traffic. Updating the network ACL alone will not enforce the redirection of HTTP to HTTPS. B. This approach would require modifying application code or server configuration to perform URL rewrite. It is not an optimal solution as it adds complexity and potential maintenance overhead. Moreover, it does not leverage the ALB's capabilities for handling HTTP-to-HTTPS redirection. D. While NLB can handle SSL/TLS termination using SNI for routing requests to different services, replacing the ALB solely to enforce HTTP-to-HTTPS redirection would be an unnecessary and more complex solution. Therefore, the recommended approach is to create a listener rule on the ALB to redirect HTTP traffic to HTTPS. By configuring a listener rule, you can define a redirect action that automatically directs HTTP requests to their corresponding HTTPS versions.
upvoted 5 times
...
PaulGa
3 months, 1 week ago
Selected Answer: C
Ans C - don't re-invent; just re-direct
upvoted 1 times
...
awsgeek75
11 months, 2 weeks ago
Selected Answer: C
https://repost.aws/knowledge-center/elb-redirect-http-to-https-using-alb Steps 6-8 tells exactly how to do this: "6. Select a load balancer, and then choose HTTP Listener. 7. Under Rules, choose View/edit rules. 8. Choose Edit Rule to modify the existing default rule to redirect all HTTP requests to HTTPS. Or, insert a rule between the existing rules (if appropriate for your use case)."
upvoted 3 times
...
Ruffyit
1 year, 1 month ago
C. Create a listener rule on the ALB to redirect HTTP traffic to HTTPS.
upvoted 3 times
...
AWSStudyBuddy
1 year, 2 months ago
Selected Answer: C
This solution meets all of the requirements: Forward all requests to the website so that the requests will use HTTPS: The ALB can be configured to redirect all HTTP traffic to HTTPS. The other options are not as good for this scenario: A. Updating the ALB's network ACL to accept only HTTPS traffic will prevent users from accessing the website using HTTP. B. Creating a rule that replaces the HTTP in the URL with HTTPS will not prevent users from accessing the website using HTTP. D. Replacing the ALB with a Network Load Balancer configured to use Server Name Indication (SNI) is not necessary because the ALB can be configured to redirect all HTTP traffic to HTTPS.
upvoted 3 times
...
Tom123456ac
1 year, 2 months ago
I hate this question description "The company wants to forward all requests to the website so that the requests will use HTTPS."
upvoted 3 times
...
Guru4Cloud
1 year, 4 months ago
Selected Answer: C
The best solution is to create a listener rule on the Application Load Balancer (ALB) to redirect HTTP traffic to HTTPS (option C). Here is why: ALB listener rules allow you to redirect traffic from one listener port (e.g. 80 for HTTP) to another (e.g. 443 for HTTPS). This achieves the goal to forward all requests over HTTPS. Network ACLs control traffic at the subnet level and cannot distinguish between HTTP and HTTPS requests to implement a redirect (option A incorrect). Replacing HTTP with HTTPS in the URL happens at the client side. It does not redirect at the ALB (option B incorrect). Network Load Balancers work at the TCP level and do not understand HTTP or HTTPS protocols. So they cannot redirect in this manner (option D incorrect).
upvoted 7 times
...
miki111
1 year, 5 months ago
Option C is the correct answer
upvoted 1 times
...
Abrar2022
1 year, 7 months ago
A solutions architect should create listen rules to direct http traffic to https.
upvoted 1 times
...
cheese929
1 year, 8 months ago
Selected Answer: C
C is correct. Traffic redirection will solve it.
upvoted 2 times
...
elearningtakai
1 year, 9 months ago
Selected Answer: C
This rule can be created in the following way: 1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/. 2. In the navigation pane, choose Load Balancers. 3. Select the ALB and choose Listeners. 4. Choose View/edit rules and then choose Add rule. 5. In the Add Rule dialog box, choose HTTPS. 6. In the Default action dialog box, choose Redirect to HTTPS. 7. Choose Save rules. This listener rule will redirect all HTTP requests to HTTPS, ensuring that all traffic is encrypted.
upvoted 5 times
...
mell1222
1 year, 9 months ago
Selected Answer: C
Configure an HTTPS listener on the ALB: This step involves setting up an HTTPS listener on the ALB and configuring the security policy to use a secure SSL/TLS protocol and cipher suite. Create a redirect rule on the ALB: The redirect rule should be configured to redirect all incoming HTTP requests to HTTPS. This can be done by creating a redirect rule that redirects HTTP requests on port 80 to HTTPS requests on port 443. Update the DNS record: The DNS record for the website should be updated to point to the ALB's DNS name, so that all traffic is routed through the ALB. Verify the configuration: Once the configuration is complete, the website should be tested to ensure that all requests are being redirected to HTTPS. This can be done by accessing the website using HTTP and verifying that the request is redirected to HTTPS.
upvoted 2 times
...
career360guru
2 years ago
Selected Answer: C
Option C
upvoted 1 times
...
Shasha1
2 years ago
C To redirect HTTP traffic to HTTPS, a solutions architect should create a listener rule on the ALB to redirect HTTP traffic to HTTPS. Option A is not correct because network ACLs do not have the ability to redirect traffic. Option B is not correct because it does not redirect traffic, it only replaces the URL. Option D is not correct because a Network Load Balancer does not have the ability to handle HTTPS traffic.
upvoted 3 times
...
Wpcorgan
2 years, 1 month ago
C is correct
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago