ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 9 - BDS-C00 discussion

Report
Export

A customer has an Amazon S3 bucket. Objects are uploaded simultaneously by a cluster of servers from multiple streams of data. The customer maintains a catalog of objects uploaded in Amazon S3 using an Amazon DynamoDB table. This catalog has the following fileds: StreamName, TimeStamp, and ServerName, from which ObjectName can be obtained.

The customer needs to define the catalog to support querying for a given stream or server within a defined time range.

Which DynamoDB table scheme is most efficient to support these queries?

A.
Define a Primary Key with ServerName as Partition Key and TimeStamp as Sort Key. Do NOT define a Local Secondary Index or Global Secondary Index.
Answers
A.
Define a Primary Key with ServerName as Partition Key and TimeStamp as Sort Key. Do NOT define a Local Secondary Index or Global Secondary Index.
B.
Define a Primary Key with StreamName as Partition Key and TimeStamp followed by ServerName as Sort Key. Define a Global Secondary Index withServerName as partition key and TimeStamp followed by StreamName.
Answers
B.
Define a Primary Key with StreamName as Partition Key and TimeStamp followed by ServerName as Sort Key. Define a Global Secondary Index withServerName as partition key and TimeStamp followed by StreamName.
C.
Define a Primary Key with ServerName as Partition Key. Define a Local Secondary Index with StreamName as Partition Key. Define a Global SecondaryIndex with TimeStamp as Partition Key.
Answers
C.
Define a Primary Key with ServerName as Partition Key. Define a Local Secondary Index with StreamName as Partition Key. Define a Global SecondaryIndex with TimeStamp as Partition Key.
D.
Define a Primary Key with ServerName as Partition Key. Define a Local Secondary Index with TimeStamp as Partition Key. Define a Global Secondary Indexwith StreamName as Partition Key and TimeStamp as Sort Key.
Answers
D.
Define a Primary Key with ServerName as Partition Key. Define a Local Secondary Index with TimeStamp as Partition Key. Define a Global Secondary Indexwith StreamName as Partition Key and TimeStamp as Sort Key.
Suggested answer: A
asked 16/09/2024
Carmina Medel
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first