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 182 discussion

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

A company uses a single-node Amazon RDS for MySQL DB instance for its production database. The DB instance runs in an AWS Region in the United States.
A week before a big sales event, a new maintenance update is available for the DB instance. The maintenance update is marked as required. The company wants to minimize downtime for the DB instance and asks a database specialist to make the DB instance highly available until the sales event ends.
Which solution will meet these requirements?

  • A. Defer the maintenance update until the sales event is over.
  • B. Create a read replica with the latest update. Initiate a failover before the sales event.
  • C. Create a read replica with the latest update. Transfer all read-only traffic to the read replica during the sales event.
  • D. Convert the DB instance into a Multi-AZ deployment. Apply the maintenance update.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
lollyj
2 years, 4 months ago
Selected Answer: B
Multi-AZ doesn't stop the outage. B is better however the solution doesn't explain all of the necessary steps e.g. create read replica and making it primary by failing over.
upvoted 2 times
...
hogtrough
2 years, 6 months ago
Selected Answer: D
Only one answer provides high availability here.
upvoted 2 times
...
awsjjj
2 years, 7 months ago
Selected Answer: D
Key word in the question is "to make the DB instance highly available until the sales event ends." hence answer is D
upvoted 3 times
Mintwater
2 years, 1 month ago
Agree with D. Multi-AZ can serve failover while the primary is doing the patch, the standby will be promoted as the new primary.
upvoted 1 times
...
...
SonamDhingra
2 years, 8 months ago
Selected Answer: D
D is correct because that is the only option that makes the DB highly available. The requirement is "The company wants to minimize downtime for the DB instance and asks a database specialist to make the DB instance highly available until the sales event ends" The read replica needs manual effort to be promoted to primary. Hence B is wrong.
upvoted 2 times
...
sachin
2 years, 10 months ago
B is the correct answer How to minimize downtime using read replicas Typically in a self-managed or on-premises environment, a DBA minimizes downtime on an upgrade by using a rolling upgrade using read replicas. Amazon RDS doesn’t fully automate one-click rolling upgrades. However, you can still perform a rolling upgrade by creating a read replica, upgrading the replica, promoting the replica, and then routing traffic to the promoted replica. One other caveat about upgrade downtime is how Multi-AZ fits into the picture. One common fallacy is that Multi-AZ configurations prevents downtime during an upgrade. We do recommend that you use Multi-AZ for high availability, because it can prevent extended downtime due to hardware failure or a network outage. However, in the case of a MySQL or MariaDB engine upgrade, Multi-AZ doesn’t eliminate downtime. The slow shutdown and the physical changes made on the active server by the mysql_upgrade program require this downtime.
upvoted 4 times
db2luwdba
2 years, 10 months ago
https://aws.amazon.com/blogs/database/best-practices-for-upgrading-amazon-rds-for-mysql-and-amazon-rds-for-mariadb/
upvoted 1 times
db2luwdba
2 years, 10 months ago
B is correct https://aws.amazon.com/blogs/database/best-practices-for-upgrading-amazon-rds-for-mysql-and-amazon-rds-for-mariadb/
upvoted 2 times
...
...
...
elf78
2 years, 10 months ago
Selected Answer: D
Reading through all of the comments and the link for /rds-required-maintenance page, it's obvious that multi az is the solution to "MINIMIZE" the down time.
upvoted 2 times
...
praffuln
2 years, 12 months ago
Selected Answer: A
A should be answer. As multi-az mode will update to both db engines.
upvoted 1 times
...
novice_expert
3 years ago
Selected Answer: D
https://aws.amazon.com/premiumsupport/knowledge-center/rds-required-maintenance/ multi AZ outage will be the time for failover (60 sec)
upvoted 2 times
...
Sashe
3 years, 1 month ago
I'll go with B Using a read replica to reduce downtime when upgrading a MySQL database section - Using a read replica to reduce downtime when upgrading a MySQL database
upvoted 1 times
...
RotterDam
3 years, 2 months ago
Selected Answer: D
It has to be D since this wording in the question is key "the maintenance update has been designated as necessary. "
upvoted 2 times
...
user0001
3 years, 2 months ago
question is missing more info A is good as you keep an environment that you know is working with D , you can't guaranty problem with the patch and need time to test it
upvoted 1 times
...
user0001
3 years, 2 months ago
i go with A, the update not not urgent so they can wait
upvoted 1 times
RotterDam
3 years, 2 months ago
the update IS mandatory. Its right there in the question: "the maintenance update has been designated as necessary." - That necessitates converting the DB to Multi-AZ and since deferment is not possible due to the maint updates mandatory nature
upvoted 1 times
...
...
awsmonster
3 years, 3 months ago
D. With B, the database endpoint needs to be updated in the applications. That requires testing to ensure that the connectivity works.
upvoted 1 times
...
Shunpin
3 years, 4 months ago
I prefer B 1. This is "database" required maintenance. 2. Major DB engine you need both primary and read replica downtime 3. Miner DB engine upgrade you can upgrade read replica first. https://aws.amazon.com/blogs/database/best-practices-for-upgrading-amazon-rds-for-mysql-and-amazon-rds-for-mariadb/
upvoted 1 times
...
mnzsql365
3 years, 4 months ago
Ans is D
upvoted 2 times
...
jove
3 years, 5 months ago
Selected Answer: D
This explains : https://aws.amazon.com/premiumsupport/knowledge-center/rds-required-maintenance/
upvoted 3 times
...
Sp230
3 years, 5 months ago
I think A. https://aws.amazon.com/premiumsupport/knowledge-center/rds-mysql-downtime-impact/ "the DB engine version upgrade happens to both the primary and standby hosts at the same time. Therefore, a DB engine version upgrade doesn't benefit from a Multi-AZ deployment"
upvoted 4 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