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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
AzureDP900
1 week, 2 days ago
Selected Answer: C
To resolve this issue, the network engineer needs to enable session persistence in the Application Load Balancer (ALB) so that subsequent requests from the same client IP address are directed to the same target instance. This is known as "sticky sessions" or "session persistence." By enabling sticky sessions and using an application-based cookie, the ALB can direct all subsequent HTTP requests from a client with a specific IP address to the same EC2 instance that handled the initial request. This ensures that the user remains logged in without requiring them to re-enter their credentials for every new request.
upvoted 1 times
...
woorkim
2 months, 2 weeks ago
C is correct!
upvoted 1 times
...
vikasj1in
11 months 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 3 times
...
marfee
11 months, 1 week ago
I think that It's correct answer is C.
upvoted 2 times
...
marfee
11 months, 1 week ago
I think that It's correct answer is C.
upvoted 1 times
...
yorkicurke
11 months, 4 weeks 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
1 year, 1 month ago
Answer is C
upvoted 1 times
...
Cheam
1 year, 4 months 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, 5 months ago
Why should use an application-based cookie?
upvoted 4 times
ExamTopix01
1 year, 5 months 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, 5 months ago
The question statement does not mention cookies, so the answer is option A.
upvoted 2 times
...
...
...
ITgeek
1 year, 9 months ago
Selected Answer: C
C for Cookie Stickiness
upvoted 3 times
...
titi_r
1 year, 9 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, 9 months ago
CCCCCCC
upvoted 2 times
...
zaazanuna
1 year, 9 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago