exam questions

Exam AWS Certified Database - Specialty All Questions

View all questions & answers for the AWS Certified Database - Specialty exam

Exam AWS Certified Database - Specialty topic 1 question 190 discussion

Exam question from Amazon's AWS Certified Database - Specialty
Question #: 190
Topic #: 1
[All AWS Certified Database - Specialty Questions]

Application developers have reported that an application is running slower as more users are added. The application database is running on an Amazon Aurora
DB cluster with an Aurora Replica. The application is written to take advantage of read scaling through reader endpoints. A database specialist looks at the performance metrics of the database and determines that, as new users were added to the database, the primary instance CPU utilization steadily increased while the Aurora Replica CPU utilization remained steady.
How can the database specialist improve database performance while ensuring minimal downtime?

  • A. Modify the Aurora DB cluster to add more replicas until the overall load stabilizes. Then, reduce the number of replicas once the application meets service level objectives.
  • B. Modify the primary instance to a larger instance size that offers more CPU capacity.
  • C. Modify a replica to a larger instance size that has more CPU capacity. Then, promote the modified replica.
  • D. Restore the Aurora DB cluster to one that has an instance size with more CPU capacity. Then, swap the names of the old and new DB clusters.
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
mbar94
Highly Voted 2 years, 9 months ago
Selected Answer: C
Minimal downtime - operations first on replica and then promotion - Answer C.
upvoted 5 times
SonamDhingra
2 years, 9 months ago
Promotion of the read replica will cause downtime, there will be no downtime with option D.
upvoted 1 times
awsjjj
2 years, 8 months ago
D will result in data loss. C is correct
upvoted 2 times
...
JeanGat
2 years, 8 months ago
True, but as soon as you "restore" something, that is old data. How can you flip to old data (i.e. your backup) while the system is still up and running? Aren't you potentially losing transactions?
upvoted 3 times
...
...
...
Germaneli
Most Recent 1 year, 8 months ago
Selected Answer: C
A+D appear to be distractors, So there's an agreement that the DB instance class must be vertically up-scaled. The difference between B+C is that B applies it directlty to the Primary Instance and C to a Reader (replica) instance first. I believe that C is the wa to do it. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Performance.html#Aurora.Managing.Performance.InstanceScaling
upvoted 1 times
...
aviathor
2 years, 1 month ago
Selected Answer: C
The thing here is that it is not stated whether we are looking at a Multi-AZ deployment. If that were to be the case, I understand that upgrading the type of the primary instance would cause very little downtime - just the time it would take to failover to the (upgraded) standby instance.
upvoted 1 times
...
SeemaDataReader
2 years, 1 month ago
Selected Answer: C
You can also modify DB instances in a DB cluster to accomplish tasks such as changing its DB instance class https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Modifying.html#Aurora.Modifying.Instance Hence, C can be apt for minimum downtime.
upvoted 1 times
...
dougporto1988
2 years, 3 months ago
Selected Answer: B
Answer from ChatGPT4 Based on the given scenario, the primary instance's CPU utilization is increasing, while the Aurora Replica CPU utilization remains steady. This indicates that the write workload has increased, whereas read queries are already well-distributed using the reader endpoint. To improve the database performance with minimal downtime, you can implement the following steps: 1. Scale the primary instance vertically by increasing its instance size: - Identify the appropriate Amazon Aurora DB instance size that can handle the increased workload and CPU utilization. - Modify the primary instance within the Aurora DB cluster to the new instance size. The failover process will cause a short downtime during the upgrade. The short downtime will smaller than the replica
upvoted 1 times
dougporto1988
2 years, 2 months ago
Wrong answer It will cause downtime: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Modifying.html#:~:text=specified%20DB%20instance-,An%20outage%20occurs%20during%20this%20change.,-DB%20instance%20identifier
upvoted 2 times
...
Mintwater
2 years, 2 months ago
Please be very careful using ChatGPT for AWS, it is very helpful, but it is not always correct. it could not have deep comprehension. The correct answer is C
upvoted 1 times
...
zWarez
1 year, 6 months ago
Remember, garbage in garbage out. ChatGPT is the future but we are not there yet. When required to associate facts and reasoning by itself, it behaves like a high schooler. Keep talking never say I don't know. C is the better answer.
upvoted 1 times
...
...
lollyj
2 years, 5 months ago
Selected Answer: B
The question reports that the CPU issue is on the primary instance and not on the RR.
upvoted 3 times
...
Jiang_aws1
2 years, 6 months ago
C is wrong , You can't "Modify" to a large instance, You have to drop exist one then re-create a newer replica . so D is better than C
upvoted 2 times
Mintwater
2 years, 2 months ago
It is true. For gaining high cpu, you have to recreate instance , no way to “modify”
upvoted 1 times
...
...
awsjjj
2 years, 8 months ago
Selected Answer: C
D is incorrect due to the possible higher RTO and RPO(higher Downtime). C is correct
upvoted 2 times
...
JeanGat
2 years, 8 months ago
Selected Answer: C
C. There is minimal downtime with C, but NO downtime with D. The only issue is that D potentially up to date with the latest transactions (i.e. you used a backup).
upvoted 1 times
JeanGat
2 years, 8 months ago
The only issue is that D potentially NOT up to date with the latest transactions (i.e. you used a backup).
upvoted 1 times
...
...
SonamDhingra
2 years, 9 months ago
Selected Answer: D
D is 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 ...