exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 125 discussion

A company is running a critical application that uses an Amazon RDS for MySQL database to store data. The RDS DB instance is deployed in Multi-AZ mode.

A recent RDS database failover test caused a 40-second outage to the application. A solutions architect needs to design a solution to reduce the outage time to less than 20 seconds.

Which combination of steps should the solutions architect take to meet these requirements? (Choose three.)

  • A. Use Amazon ElastiCache for Memcached in front of the database
  • B. Use Amazon ElastiCache for Redis in front of the database
  • C. Use RDS Proxy in front of the database.
  • D. Migrate the database to Amazon Aurora MySQL.
  • E. Create an Amazon Aurora Replica.
  • F. Create an RDS for MySQL read replica
Show Suggested Answer Hide Answer
Suggested Answer: CDE 🗳️

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
RaghavendraPrakash
Highly Voted 1 year, 9 months ago
CDE. RDS Failover typically takes 60-120 seconds, while Aurora failover completes within 30 seconds. ElastiCache is for reducing latency, not for failover.
upvoted 13 times
...
dev112233xx
Highly Voted 1 year, 10 months ago
Selected Answer: CDE
RDS Proxy with Aurora are the best combination for less than "20 sec" failover time... According to this article RDS Proxy can reduce the failover time of Aurora by 79% while it can reduce RDS failover time by only 32%: https://aws.amazon.com/blogs/database/improving-application-availability-with-amazon-rds-proxy/
upvoted 10 times
...
zak543
Most Recent 1 week ago
Selected Answer: CDE
for multiple chose answer, if i select 2of3 right, in this case the whole quest will be wrong or what?
upvoted 1 times
...
amministrazione
5 months ago
C. Use RDS Proxy in front of the database. D. Migrate the database to Amazon Aurora MySQL. E. Create an Amazon Aurora Replica.
upvoted 1 times
...
Dgix
10 months, 3 weeks ago
Selected Answer: CDE
A and B don't contribute to reducing response time in failover scenarios. D is required for faster failover. E is required to support D. F doesn't reduce failover time. C, finally, is the remaining option. It doesn't hurt, and can contribute to faster failover, though it is not the most important factor here - the switch to Aurora with an Aurora read replica is.
upvoted 2 times
...
bjexamprep
11 months ago
Anyone can share why choosing E? I know we have to choose 3. isn't it weird? Aurora already has replicas natively. Why creating another one?
upvoted 1 times
...
career360guru
1 year, 1 month ago
Selected Answer: CDE
Option C, D and E
upvoted 1 times
...
atirado
1 year, 1 month ago
Selected Answer: CDE
C+D+E provides the 'fastest' failover with the options available: - Aurora MySQL is Multi-AZ by design: During failover it will promote a Replica to primary or create a Primary instance - Creating a Replica provides the option to have something to failover to - Using an RDS Proxy further reduces failover time and provides 'transparent' failovers as well (It manages DNS changes) The argument against Caching (options A or B) is that it doesn't accelerate failing over to a different instance. Cache misses and write operations will produce exceptions because there is no instance to query. Moreover, there is no information in the question to choose between either caching option, i.e. Both options can be created starting from an Aurora DB Cluster settings - https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/creating-elasticache-cluster-with-RDS-settings.html
upvoted 2 times
...
NikkyDicky
1 year, 7 months ago
Selected Answer: CDE
CDE, agree with other comments
upvoted 2 times
...
Sarutobi
1 year, 9 months ago
Selected Answer: CDE
The trick seems to be that the RDS proxy handles DNS updates quickly. While if you don't use it, you are at the mercy of the host to update its DNS cache.
upvoted 3 times
...
mfsec
1 year, 10 months ago
Selected Answer: CDE
CDE is the best choice
upvoted 1 times
...
DWsk
1 year, 10 months ago
Selected Answer: CDE
CDE. I would have said F, but the question asks for a combination of steps, so its looking for the Aurora replica and not the MySQL RDS replica
upvoted 3 times
Jay_2pt0_1
1 year, 9 months ago
I agree with your logic.
upvoted 1 times
...
...
God_Is_Love
1 year, 11 months ago
Selected Answer: CDE
C for sure as connection pooling helps quick re connect. There is no preference for A or B cache solution based on the question. So, A,B are eliminated. so three correct options should be in others. If you choose Aurora only, three answers will be met :-) C,D,E
upvoted 3 times
...
zozza2023
2 years ago
Selected Answer: CDE
C D and E
upvoted 2 times
nyxs_19
1 year, 11 months ago
A and B are incorrect options because Amazon ElastiCache is a caching service, not a failover solution. F is also incorrect because RDS read replicas are asynchronous, which means that there may be a delay in replication, leading to the potential loss of data. Additionally, creating a read replica does not improve the failover time.
upvoted 2 times
...
...
AjayD123
2 years ago
Selected Answer: CDE
RDS read replica auto failover takes approx 35 seconds hence, BCF does not satisfy under 20 seconds failover requirement. https://aws.amazon.com/rds/features/multi-az/#:~:text=Amazon%20RDS%20Multi%2DAZ%20with%20two%20readable%20standbys,-Automatically%20fail%20over&text=Automatically%20failover%20in%20typically%20under,and%20with%20no%20manual%20intervention.
upvoted 5 times
zozza2023
2 years ago
thanks for the information about RDS read replica
upvoted 2 times
...
...
masetromain
2 years ago
Selected Answer: CDE
The correct answer is D, E and C: Migrate the database to Amazon Aurora MySQL. - Create an Amazon Aurora Replica. - Use RDS Proxy in front of the database. - These options are correct because they address the requirement of reducing the failover time to less than 20 seconds. Migrating to Amazon Aurora MySQL and creating an Aurora replica can reduce the failover time to less than 20 seconds. Aurora has a built-in, fault-tolerant storage system that can automatically detect and repair failures. Additionally, Aurora has a feature called "Aurora Global Database" which allows you to create read-only replicas across multiple AWS regions which can further help to reduce the failover time. Creating an Aurora replica can also help to reduce the failover time as it can take over as the primary DB instance in case of a failure. Using RDS proxy can also help to reduce the failover time as it can route the queries to the healthy DB instance, it also helps to balance the load across multiple DB instances.
upvoted 4 times
masetromain
2 years ago
Option A and B, Use Amazon ElastiCache for Memcached and Redis in front of the database, are not correct as ElastiCache is a caching service, it doesn't provide a high availability solution for the underlying database. Option F, Create an RDS for MySQL read replica, is not correct as a read replica can only be used to offload read traffic from the primary instance, it doesn't provide a high availability solution for the underlying database.
upvoted 1 times
...
...
masetromain
2 years ago
Selected Answer: BCF
The correct answer is B, C and F. Using Amazon ElastiCache for Redis in front of the database (Option B) will help to reduce the failover time by caching the frequently-used data, so that it can be quickly served from the cache rather than having to be retrieved from the database during a failover. Using RDS Proxy in front of the database (Option C) will help to reduce the failover time by managing the connections to the RDS DB instance, so that it can quickly route traffic to the new primary instance during a failover. Creating an RDS for MySQL read replica (Option F) will help to reduce the failover time by having a read-only copy of the database running in parallel with the primary instance, so that it can take over as the primary instance in the event of a failover. Option A and D are not relevant in this case as the question is asking specifically about reducing failover time for an RDS for MySQL database.
upvoted 4 times
spd
1 year, 11 months ago
C, D and E Correct
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