exam questions

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

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

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 401 discussion

An online shopping application accesses an Amazon RDS Multi-AZ DB instance. Database performance is slowing down the application. After upgrading to the next-generation instance type, there was no significant performance improvement.
Analysis shows approximately 700 IOPS are sustained, common queries run for long durations and memory utilization is high.
Which application change should a solutions architect recommend to resolve these issues?

  • A. Migrate the RDS instance to an Amazon Redshift cluster and enable weekly garbage collection.
  • B. Separate the long-running queries into a new Multi-AZ RDS database and modify the application to query whichever database is needed.
  • C. Deploy a two-node Amazon ElastiCache cluster and modify the application to query the cluster first and query the database only if needed.
  • D. Create an Amazon Simple Queue Service (Amazon SQS) FIFO queue for common queries and query it first and query the database only if needed.
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
dmscountera
Highly Voted 3 years, 11 months ago
C. Deploy a two-node Amazon ElastiCache cluster and modify the application to query the cluster first and query the database only if needed.
upvoted 32 times
...
weilun_tann
Highly Voted 3 years, 7 months ago
- Disk I/O is NOT the bottleneck here --> "no significant performance improvement" after upgrading to higher-IOPS storage - Query planning and execution (of long-running, expensive queries) is the problem A. Migrate the RDS instance to an Amazon Redshift cluster and enable weekly garbage collection. - Wrong. Redshift is a data warehouse solution for OLAP (analytical) workloads. We are dealing with OLTP (transactional) workloads B. Separate the long-running queries into a new Multi-AZ RDS database and modify the application to query whichever database is needed. - Wrong. How are you going to synchronize these 2 different databases? C. Deploy a two-node Amazon ElastiCache cluster and modify the application to query the cluster first and query the database only if needed. - Correct. Cache results of long-running queries, and hit the cache for identical future requests D. Create an Amazon Simple Queue Service (Amazon SQS) FIFO queue for common queries and query it first and query the database only if needed. - Wrong. SQS isn't used as a DB substitute
upvoted 25 times
...
mfaktas
Most Recent 1 year, 8 months ago
Selected Answer: C
"common queries run for long durations and memory utilization is high" this leads us directly to ElastiCache
upvoted 1 times
...
queen101
3 years ago
Issue here is the memory, so deploying an AWS Elastic Cache cluster for the application to query it first before query the DB if need be, that way the DB performance will increase.
upvoted 1 times
...
Janan
3 years ago
Selected Answer: C
Memory is the problem. So caching is the best solution
upvoted 3 times
...
slcheng
3 years, 1 month ago
Selected Answer: C
Agreed with C. it stated "memory is significant". need fix cache
upvoted 2 times
...
bitayush
3 years, 5 months ago
Selected Answer: C
C. Deploy a two-node Amazon ElastiCache cluster and modify the application to query the cluster first and query the database only if needed.
upvoted 3 times
...
Milan_S
3 years, 8 months ago
A . Did anyone notice the mention of '700 IPOS' & 'long running queries'. This means query volume is normal but queries are complex and memory intensive. A typical criteria for redshift. Also note that it's a shopping cart application, where you write often than you read. So cache many not be as helpful. So C may not be as suitable.
upvoted 2 times
farciarz212
3 years, 8 months ago
also, if memory is sufficient why would you add elasticache (more memory) ?
upvoted 1 times
...
...
Milan_S
3 years, 8 months ago
A . Did anyone notice the mention of '700 IPOS' & 'long running queries'. This means query volume is normal but queries are complex and memory intensive. A typical criteria for redshift.
upvoted 1 times
...
gargaditya
3 years, 9 months ago
Answer is C-Elasticache. Elasticache helps reduce load off of databases for read intensive workloads NOTE-Using ElastiCache involves heavy application code changes A- Redshift is more for big data analytics/datawarehousing B-how will the application know which one to query C-fits well D-SQS is not used for querying,it is used to decouple applications
upvoted 3 times
...
Jonfernz
3 years, 9 months ago
Anytime you see anything along the lines of "common queries/reads" immediately think "caching" as a solution.
upvoted 4 times
...
ITgeek
3 years, 9 months ago
Two node elastic cache cluster
upvoted 2 times
...
solee
3 years, 10 months ago
This is about the performance issue. ElastiCache definately helps, hence C.
upvoted 3 times
...
Toni2936
3 years, 10 months ago
it's C 100%
upvoted 3 times
...
jkwek
3 years, 10 months ago
Answer is A. https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#working-with-clusters-overview An Amazon Redshift data warehouse is a collection of computing resources called nodes, which are organized into a group called a cluster. Each cluster runs an Amazon Redshift engine and contains one or more databases.
upvoted 1 times
MarianoD
3 years, 9 months ago
WHERE IN YOUR LINK SUPPORT anser A???? C it?s correct
upvoted 1 times
...
theCreatorSD
3 years, 10 months ago
It is important and very sensitive job that changing a solutions or business logic. You have several possible choices to improve performance before change the whole solutions in your business. Will you do that?
upvoted 2 times
...
Olu_JP
3 years, 10 months ago
common queries run for long durations and memory utilization is high....... Cache will fix common query issue
upvoted 1 times
...
rlnd2000
3 years, 9 months ago
Redshift is a MPP system and will work great with Dimensional model where you can create distributed tables it is for OLAP processes, no good for OLTP process, I don't think Reshift is the best choice here.
upvoted 1 times
...
...
syu31svc
3 years, 10 months ago
"common queries run for long durations" C is the answer; ElastiCache
upvoted 21 times
...
waqas
3 years, 10 months ago
C to me.
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 ...