Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Advanced Networking - Specialty ANS-C01 All Questions

View all questions & answers for the AWS Certified Advanced Networking - Specialty ANS-C01 exam

Exam AWS Certified Advanced Networking - Specialty ANS-C01 topic 1 question 57 discussion

A company deploys a new web application on Amazon EC2 instances. The application runs in private subnets in three Availability Zones behind an Application Load Balancer (ALB). Security auditors require encryption of all connections. The company uses Amazon Route 53 for DNS and uses AWS Certificate Manager (ACM) to automate SSL/TLS certificate provisioning. SSL/TLS connections are terminated on the ALB.
The company tests the application with a single EC2 instance and does not observe any problems. However, after production deployment, users report that they can log in but that they cannot use the application. Every new web request restarts the login process.
What should a network engineer do to resolve this issue?

  • A. Modify the ALB listener configuration. Edit the rule that forwards traffic to the target group. Change the rule to enable group-level stickiness. Set the duration to the maximum application session length.
  • B. Replace the ALB with a Network Load Balancer. Create a TLS listener. Create a new target group with the protocol type set to TLS Register the EC2 instances. Modify the target group configuration by enabling the stickiness attribute.
  • C. Modify the ALB target group configuration by enabling the stickiness attribute. Use an application-based cookie. Set the duration to the maximum application session length.
  • D. Remove the ALB. Create an Amazon Route 53 rule with a failover routing policy for the application name. Configure ACM to issue certificates for each EC2 instance.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
vikasj1in
7 months, 1 week ago
Selected Answer: C
Enabling stickiness at the target group level helps maintain session affinity for clients, directing them consistently to the same target within the target group. Using an application-based cookie for stickiness ensures that the session information is maintained based on the application's session management mechanism. Setting the duration to the maximum application session length ensures that the stickiness persists for the entire session. Option A suggests group-level stickiness, but it doesn't mention the use of application-based cookies, which are crucial for maintaining session information. Option B recommends replacing the ALB with a Network Load Balancer, which might not be necessary to address the session management issue. Option D suggests removing the ALB, which is not a viable solution for providing load balancing and SSL termination for web applications.
upvoted 2 times
...
marfee
7 months, 2 weeks ago
I think that It's correct answer is C.
upvoted 1 times
...
marfee
7 months, 2 weeks ago
I think that It's correct answer is C.
upvoted 1 times
...
yorkicurke
8 months ago
Selected Answer: C
Application-based Cookies * Custom cookie • Generated by the target • Can include any custom attributes required by the application * Application cookie • Generated by the load balancer • Cookie name is AWSALBAPP ; Should be used if you need sticky sessions across all layers Duration-based Cookies • Cookie generated by the load balancer • Cookie name is AWSALB for ALB, AWSELB for CLB
upvoted 3 times
...
kaikin
10 months ago
Answer is C
upvoted 1 times
...
Cheam
1 year ago
Selected Answer: C
Sticky sessions via the ALB is done via cookies. The source of the cookies can come from: 1) The application itself 2) Or the ALB Ref: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html All the best.
upvoted 4 times
...
qsergii
1 year, 1 month ago
Why should use an application-based cookie?
upvoted 4 times
ExamTopix01
1 year, 1 month ago
Option C is incorrect because it describes duration-based cookies. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html
upvoted 1 times
ExamTopix01
1 year, 1 month ago
The question statement does not mention cookies, so the answer is option A.
upvoted 2 times
...
...
...
ITgeek
1 year, 5 months ago
Selected Answer: C
C for Cookie Stickiness
upvoted 3 times
...
titi_r
1 year, 5 months ago
Selected Answer: C
C. https://aws.amazon.com/about-aws/whats-new/2021/02/application-load-balancer-supports-application-cookie-stickiness/
upvoted 3 times
...
helloworldabc
1 year, 6 months ago
CCCCCCC
upvoted 2 times
...
zaazanuna
1 year, 6 months ago
C - correct
upvoted 3 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 ...