Other AWS Applications and Technologies Flashcards

1
Q

Under what circumstances would you use AWS Simple Workflow Service over AWS step functions?

A

AWS SWF is only recommended for when you have external signals interacting in the process, or you need a child function to return a value to a parent process.

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

In RedShift, what is the purpose of a leader node and a compute node? How many compute nodes can there be for a leader node and what are the maximum sizes?

A

Leader: manages client connections, parses queries, develops query plans and coordinates parallel execution for compute nodes

Compute: Executes queries, stores data and performs compute operations and sends intermediate results to leader node.

1 Leader: 128 Compute Nodes. Max size of 160GB

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

In RedShift, how do the EVEN, KEY and ALL distributions distribute data over the compute nodes?

A

Even: Rows are distributed evenly across all nodes

Key: Rows are distributed according to the values of a column. Leader node attempts to place all rows with the value on the same compute node

All: Copy of the entire table is place on each node. Use only for slow moving tables that are not updated often.

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

When restoring a redshift database, do you need to wait for the restore to complete before you can start querying it?

A

No. Redshift restores into a new cluster and that cluster is available immediately for use before all data has been restored.

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

In redshift, is encryption enabled by default for data at rest or in transit? If not, can it be enabled and when?

A

No. You must enable this at creation. If you havn’t and need encryption you need to create a new cluster an migrate the data.

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