Workload Decoupling Flashcards

1
Q

SQS Delivery Delay range and default

A

0-15min default is 0 min

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

Max message size SQS

A

256 KB

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

SQS Default Retention

A

4 days

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

SQS Message retention range

A

1min - 14 days

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

Long Polling vs Short Polling

A

Long Polling - wait for messages to arrive to poll (best option)

Short Polling - continually poll (default)

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

SQS Default Visibility Timeout

A

30 seconds

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

How can you use API Gateway to help protect against DDoS Attacks

A

Add a WAF

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

I have 2 different versions of my API and want only my customers to be able to access one version on servers as the other is beta for testing. How can I ensure this?

A

Create different versions with API Gateway and set credentials and setup access for one version of API and not the other.

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

AWS Orchestration Service for running multi node parallel jobs that span multiple EC2 instances or ECS/Fargate

A

AWS Batch

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

4 Components of AWS Batch

A

Job - script, executables or docker images

Job Definition - blueprint for resources in job

Job Queues - Jobs sit in queues until ready for processing

Compute Env - compute resources used to run your jobs

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

When to use EC2 in AWS Batch over Fargate?

A

1) Custom AMI Needed
2) Need more that 4 vCPUs
3) Anything that needs more than 30 GiB of memory
4) Need GPU or Gravition CPU
5) Large # of Jobs
6) Need to set linuxParameters

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

If you can’t use Lambda due to time constraints, memory, or runtime you want to use what service is a great alternative for things that need to run as a job?

A

AWS Batch

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

Message Broker Service that allows for easier migration of existing applications to the Cloud

A

Amazon MQ

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

Engine Types supported by Amazon MQ

A

ActiveMQ
RabbitMQ

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

TRUE or FALSE Amazon MQ is equivalent to SQS not SNS

A

FALSE, Amazon MQ provides options for both topics and queues

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

Should I use SQS and SNS or Public networking? Or Amazon MQ?

A

SQS and SNS
Amazon MQ requires private networking

17
Q

TRUE or FALSE: Amazon MQ integrates easily with other AWS services

A

False

18
Q

Which Step Function route should you take for long-running audible workflows

A

Standard Workflow

19
Q

Which Step Function route should you take for high-event rate workflows

A

Express Workflow

20
Q

AWS Service used for Ingesting Data from SaaS and store in services like S3

A

AWS AppFlow

21
Q

TRUE or FALSE AWS AppFlow is bidirectional

A

TRUE