Dynamo DB Flashcards

1
Q

How can you represent datetime fields in Dynamo DB. Choose all that apply.

1) String
2) Number
3) DateTime
4) Binary

A

1) String & 2)Number

As String
You can use the string data type to represent a date or a time stamp. One way to do this is by using ISO 8601 strings, as shown in these examples:

2016-02-15

2015-12-21T17:42:34Z

20150311T122706Z

As Number
You can use the number data type to represent a date or a time stamp. One way to do this is by using epoch time—the number of seconds since 00:00:00 UTC on 1 January 1970. For example, the epoch time 1437136300 represents 12:31:40 PM UTC on 17 July 2015.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the max size of Query result set

1) 1 MB
2) 2 MB
3) 5 MB
4) 10 MB

A

1) 1 MB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly