exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 788 discussion

Exam question from Amazon's AWS-SysOps
Question #: 788
Topic #: 1
[All AWS-SysOps Questions]

An ecommerce site is using Amazon ElastiCache with Memcached to store session state for a web application and to cache frequently used data. For the last month, users have been complaining about performance. The metric data for the Amazon EC2 instances and the Amazon RDS instance appear normal, but the eviction count metrics are high.
What should be done to address this issue and improve performance?

  • A. Scale the cluster by adding additional nodes
  • B. Scale the cluster by adding read replicas
  • C. Scale the cluster by increasing CPU capacity
  • D. Scale the web layer by adding additional EC2 instances
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
nicat
Highly Voted 2 years, 7 months ago
A. Scale the cluster by adding additional nodes Also, if you are experiencing evictions with your cluster, it is usually a sign that you need to scale up (use a node that has a larger memory footprint) or scale out (add additional nodes to the cluster) in order to accommodate the additional data. An exception to this rule is if you are purposefully relying on the cache engine to manage your keys by means of eviction, also referred to an LRU cache. https://aws.amazon.com/caching/implementation-considerations/
upvoted 29 times
AWSum1
2 years, 7 months ago
Yip Agreed, A seems like the best solution
upvoted 1 times
...
AWS_Noob
2 years, 7 months ago
+1 for A
upvoted 2 times
...
neel376
2 years, 7 months ago
agreed A is correct
upvoted 2 times
...
...
narayanan010
Highly Voted 2 years, 6 months ago
Found this interesting read on Evictions:- "Evictions happen when the cache memory usage limit (maxmemory for Redis) is reached and the cache engine has to remove items to make space for new writes. Unlike the host memory, which leads to swap usage when exceeded, the cache memory limit is defined by your node type and number of nodes. The evictions follow the method defined in your cache configuration, such as LRU for Redis. Evicting a large number of keys can decrease your hit rate, leading to longer latency times. If your eviction rate is steady and your cache hit rate isn’t abnormal, then your cache has probably enough memory. If the number of evictions is growing, you should increase your cache size by migrating to a larger node type (or adding more nodes if you use Memcached)."
upvoted 6 times
...
albert_kuo
Most Recent 9 months, 2 weeks ago
Selected Answer: A
When the eviction count is high, it means that the cache size is not sufficient to hold all the frequently used data. Adding additional nodes to the ElastiCache Memcached cluster will increase the overall cache size and allow more data to be stored, reducing the eviction rate and improving cache hit rates.
upvoted 1 times
...
gulu73
1 year, 3 months ago
Selected Answer: A
A is the answer
upvoted 1 times
...
RicardoD
2 years, 6 months ago
A is the answer Scale the cluster by adding more nodes
upvoted 1 times
...
arvsrv
2 years, 6 months ago
Will go with A
upvoted 1 times
...
abhishek_m_86
2 years, 6 months ago
A. Scale the cluster by adding additional nodes : Seems correct
upvoted 1 times
...
jackdryan
2 years, 6 months ago
I'll go with A
upvoted 1 times
...
MFDOOM
2 years, 6 months ago
A. Scale the cluster by adding additional nodes
upvoted 1 times
...
teosinh
2 years, 6 months ago
A is correct ... read replica nodes only apply for Amazon ElastiCache for Redis
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