AWS DocumentDB (MongoDB) Flashcards
What is a collection?
It is like a table.
What is a document?
It’s like an item or row
What is the column?
It’s like a filed or attribute
What is an index?
It’s like an index
What is an object ID?
It like a primary index
Is DocumentDB a cluster or a fully managed service?
DocumentDB is created as a cluster.
What opensource DB is DocumentDB?
MongoDB
What is the DocumentDB AWS architecture?
DocumentDB (Mondo) is deployed as a cluster in one or more AZs. There is a primary and replica, l=like aurora. DocumetDB uses shared storage like Aurora.
What is DocuemntDB’s backup architecture?
Like Aurora, backups are taken where both a snapshot and logs are stored to s3. You cna recover from any point in time.
I have an RPO for 10min, is DocumentDB automatic backup going to be able to help?
The recovery of a database can happen locally using a feature called backtrack, this is where you can go back in time.
My org requires that all data at rest be encrypted, what options do I have?
Encryption is not enabled by default, you have to configure it. SSE for both AWS managed keys and client managed keys are supported through KMS.
I wnat to be able to get access to the native logs for DocumentDB, what is my best option?
You can configure DocumentDB to export the logs to CloudWatch.