DBS-C01 · Question #161
An online advertising company uses an Amazon DynamoDb table as its data store. The table has Amazon DynamoDB Streams enabled and has a global secondary index on one of the keys. The table is…
The correct answer is B. An empty table with the same name exists in the Region where replication is desired. C. No role with the dynamodb:CreateGlobalTable permission exists in the account. C: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/gt_IAM.html To create and maintain global tables in DynamoDB, you must have the dynamodb:CreateGlobalTable permission to access…
Question
An online advertising company uses an Amazon DynamoDb table as its data store. The table has Amazon DynamoDB Streams enabled and has a global secondary index on one of the keys. The table is encrypted using an AWS Key Management Service (AWS KMS) customer managed key. The company has decided to expand its operations globally and wants to replicate the database in a different AWS Region by using DynamoDB global tables. Upon review, an administrator notices the following:
- No role with the dynamodb: CreateGlobalTable permission exists in the account.
- An empty table with the same name exists in the new Region where replication is desired.
- A global secondary index with the same partition key but a different sort key exists in the new
Region where replication is desired. Which configurations will block the creation of a global table or the creation of a replica in the new Region? (Choose two.)
Options
- AA global secondary index with the same partition key but a different sort key exists in the new
- BAn empty table with the same name exists in the Region where replication is desired.
- CNo role with the dynamodb:CreateGlobalTable permission exists in the account.
- DDynamoDB Streams is enabled for the table.
- EThe table is encrypted using a KMS customer managed key.
How the community answered
(52 responses)- A6% (3)
- B62% (32)
- D12% (6)
- E21% (11)
Explanation
C: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/gt_IAM.html To create and maintain global tables in DynamoDB, you must have the dynamodb:CreateGlobalTable permission to access. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.tutorial.html The console checks to ensure that a table with the same name doesn't exist in the selected Region. If a table with the same name does exist, you must delete the existing table before you can create a new replica table in that Region.
Topics
Community Discussion
No community discussion yet for this question.