This is a great question -a lot of googling unfortunately is not providing me with the likely answer. The choice (B) seems right but from what I know PITR has RPO of 5 minutes - 35 days. (But global tables inherently replicate data within 1 sec!! Super confusing ! What is PITR achieving here?)
Answer COULD ALSO be (A) or (D) -
(A) could be viable if data replicated to cross region within 1 second- but can a table be restored in a minute (RTO)?
(D) Can AWS backup be used to create cross region backups < 2 minute RPO and even then - can the table be restored in 1 minute (RTO)?
A database expert at a big multinational financial organization is responsible for developing the disaster recovery plan for a newly developed highly available application. The program stores its data in an Amazon DynamoDB database. The application needs a one-minute recovery time target (RTO) and a two-minute recovery point objective (RPO).
Which operationally effective disaster recovery solution for the DynamoDB table should the database professional recommend?
A. Create a DynamoDB stream that is processed by an AWS Lambda function that copies the data to a DynamoDB table in another Region.
B. Use a DynamoDB global table replica in another Region. Enable point-in-time recovery for both tables.
C. Use a DynamoDB Accelerator table in another Region. Enable point-in-time recovery for the table.
D. Create an AWS Backup plan and assign the DynamoDB table as a resource.
Related discussions:
A ha, you again. This time, think different dude. Ask yourself: why the heck you need to “restore” a table anyway? And re-learn about DynamoDB and it’s stuffs. It seem you lack a lot of knowledge about it.
P/S: asking something you don’t know is very good way to learn. But if you keep post the entire practice question here and ask people whenever you don’t know the answer isn’t good at all. And I don’t know where you get those practices question but did the author of it allowed you to publish it???
i dont understand your hostility - you clearly know this subject well. I dont. Whats the answer here? Might be faster and more helpful than preaching. Also would help others in the future (the answer - not the preaching)
PS: And yes its a public question bank of responses fed by people contributing to the bank - you are quite smart so clearly you could have gleaned the answer to your own question via a simple google search.
Dude, I’m just a normal guy who passed both 2 Database Specialist exams, not a Database Engineering so my knowledge is limited too. But I did read a lot of docs (official) and white papers and I recommend you to do that too. And about those questions, who can confirm those people (who publish a practice question) do not steal from others sources? If you not 100% sure about that, stop post the entire question or at less add the credit (where and who owns that question) about the author. Finally, I will not (and never) give you a straight answer, I will help you figure out it by suggest (recommend) to do some research about:
- Again, why did you think “restore” a table is only way to accomplish that task.
- Re-search and read the docs about DynamoDB Global table.
- What really is “point-in-time” recovery and how it work.
- What is AWS Backup and it’s related infos.
- Ask yourself, even you restore a table in same region, if that table have huge (multinational company grade database) data → can you restore it within 2 minutes?
- Open an AWS console, setup Global table then simulate the failover and check how many times do it take to complete the automatic failover task. → This will make you have hand-on experience, don’t be lazy.
Edit: P/s, sorry about my poor English.
thanks- I usually prefer figuring it out and I prefer your approach …the problem here is:-
- I know Dynamodb Global tables well. What I dont know the correlation between a global replica table and PITR. Maybe here is one confusion that can help clarify. IF DynamoDB global tables by DEFAULT have <1 second replication latency - it means their RPO <1 second. It seems like the correct choise. Failover DOES take 1 minute I know that well. The confusion is PITR. Is PITR even necessary? I cannot correlate Failover from Primary->Secondary with the words PITR in the answer choice. to me - if PITR here is a distraction - then (B) is the right answer
B. Use a DynamoDB global table replica in another Region. Enable point-in-time recovery for both tables.
It’s quite clear that it’s B.
C is wrong, that’s not what DAX is for and it won’t help here. A and D are just highly inefficient attempts to accomplish some of what B does.
PITR is not going to help with RTO, you’re not doing that in under a minute. It’s really a question about failover to the other region.
B. Use a DynamoDB global table replica in another Region. Enable point-in-time recovery for both tables.
Correct I chose B. What Im trying to clear in my head is what ^ means (Enable point-in-time recovery for both tables.) in the correct answer
It’s probably meant to mislead you. Also, I’m pretty sure the questions you’re posting are copied from Tutorials dojo, so if you want detailed answers it’s pretty cheap to just buy the practice exam package.
Its not from Tutorials Dojo. They are pretty professional and I’ve purchased and completed their practice set. Also they have excellent forums for their questions. This stuff is coming from examtopics - pretty unprofessional as 80-90% of their “official” answers are incorrect. It has a forum but the ones Im stuck on are teh same questions where forumers are split down in the middle