exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 366 discussion

A developer is designing a fault-tolerant environment where client sessions will be saved.

How can the developer ensure that no sessions are lost if an Amazon EC2 instance fails?

  • A. Use sticky sessions with an Elastic Load Balancer target group.
  • B. Use Amazon SQS to save session data.
  • C. Use Amazon DynamoDB to perform scalable session handling.
  • D. Use Elastic Load Balancer connection draining to stop sending requests to failing instances.
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
KennethNg923
8 months, 3 weeks ago
Selected Answer: C
Sticky sessions ensure that all requests from a particular client are sent to the same EC2 instance. While this can be useful for maintaining session state, it doesn't protect against data loss if an instance fails. If the instance holding a client's session fails, that session data would be lost. C is Correct: Use Amazon DynamoDB to perform scalable session handling. If an EC2 instance fails, the session data stored in DynamoDB remains intact and can be accessed by other instances.
upvoted 3 times
...
lpennington
9 months, 1 week ago
A : Sticky sessions — also known as session persistence — is the method that makes it possible for the load balancer to identify requests coming from the same client and to always send those requests to the same server.
upvoted 1 times
...
rdiaz
10 months ago
Selected Answer: C
C is the best of the options provided
upvoted 2 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