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

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

A financial company has allocated an Amazon RDS MariaDB DB instance with large storage capacity to accommodate migration efforts. Post-migration, the company purged unwanted data from the instance. The company now want to downsize storage to save money. The solution must have the least impact on production and near-zero downtime.
Which solution would meet these requirements?

  • A. Create a snapshot of the old databases and restore the snapshot with the required storage
  • B. Create a new RDS DB instance with the required storage and move the databases from the old instances to the new instance using AWS DMS
  • C. Create a new database using native backup and restore
  • D. Create a new read replica and make it the primary by terminating the existing primary
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
BillyMadison
Highly Voted 3 years, 7 months ago
https://aws.amazon.com/premiumsupport/knowledge-center/rds-db-storage-size/"After you create an Amazon RDS DB instance, you can't modify the allocated storage size of the DB instance to decrease the total storage space it uses. To decrease the storage size of your DB instance, create a new DB instance that has less provisioned storage size. Then, migrate your data into the new DB instance using one of the following methods: Use the database engine's native dump and restore method. Note: This method causes some downtime. Use AWS Database Migration Service (AWS DMS) for minimal downtime."
upvoted 24 times
...
RotterDam
Highly Voted 3 years, 2 months ago
Selected Answer: B
A. Create a snapshot of the old databases and restore the snapshot with the required storage (Downtime ) B. Create a new RDS DB instance with the required storage and move the databases from the old instances to the new instance using AWS DMS ( no downtime) C. Create a new database using native backup and restore (Downtime like A) D. Create a new read replica and make it the primary by terminating the existing primary (wont change the storage)
upvoted 5 times
...
sachin
Most Recent 2 years, 10 months ago
Its not D because For replication to operate effectively, each Read Replica should have the same amount of compute & storage resources as the source DB instance.
upvoted 4 times
...
Dantas
3 years, 1 month ago
Selected Answer: B
B. When you create a read replica you cannot set the storage size... so D is incorrect.
upvoted 2 times
...
yahooos
3 years, 2 months ago
B Almost no downtime > AWS DMS
upvoted 1 times
...
aws_enthu
3 years, 4 months ago
Isn't A?
upvoted 1 times
user0001
3 years, 2 months ago
no, this will not shrink the size
upvoted 2 times
...
Nice_Guy
2 years, 2 months ago
key: 'near-zero downtime'.
upvoted 1 times
...
...
shuraosipov
3 years, 5 months ago
Selected Answer: B
Answer is B. You cannot downsize the database storage size on RDS.
upvoted 2 times
...
jove
3 years, 5 months ago
Almost no downtime > AWS DMS : Option B
upvoted 2 times
...
aws4myself
3 years, 6 months ago
D is not correct because, You cannot set the size of the read replica, which is always same as the master.
upvoted 3 times
...
stevewuoisiro
3 years, 6 months ago
B is correct. D is close, however, you don't make the read replica the primary by terminating the existing primary. "Create a new read replica and make it the primary by terminating the existing primary"
upvoted 1 times
Dantas
3 years, 1 month ago
Yes, you can make the read replica the primary just by terminating the current primary. Anyways option D is incorrect once the replica storage will be the same as the primary.
upvoted 1 times
...
...
Dip11
3 years, 6 months ago
D can be an option too. Read replicas can have different storage size and Read replicas will have less impact on production as compared to DMS.
upvoted 1 times
...
Aesthet
3 years, 6 months ago
B looks correct according to BillyMadaison's link. Not my initial answer though
upvoted 1 times
...
myutran
3 years, 6 months ago
Ans: B
upvoted 1 times
...
JobinAkaJoe
3 years, 6 months ago
B looks to be the correct answer
upvoted 1 times
...
Ashoks
3 years, 7 months ago
Yes. B is the answer snapshot will retain same size. DB needs to be recreated and DMS is for near zero
upvoted 3 times
...
halol
3 years, 7 months ago
B is corect
upvoted 1 times
...
Ebi
3 years, 7 months ago
B is correct
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