Application Services Flashcards Preview

2019 - AWS CSAA - MINE > Application Services > Flashcards

Flashcards in Application Services Deck (46):
1

What is SQS?

A message queue to de-couple applications

2

Is SQS pull or push based?

pull

3

What is the size of SQS messages?

256. Can be up to 2gb, but need to use S3.

4

What is the SQS visibility timeout max?

12 hours

5

How long can SQS messages stay in queue?

1 min to 14 days. Default is 4 days

6

What is the SQS visibility timeout?

Amount of time that a message is invidible in queue after a reader picks up that message

7

What happens if an SQS job processes a message before the invisibility time out expires?

The message should be deleted from the queue by the job worker.

8

What happens if an SQS job does not complete before the visibility time out expires?

The message becomes visible again for another reader to process

9

What is the difference between SQS short and long polling?

Short polling will return a response immediately even if the queue is empty.

Long polling doesn't return a response until a message arrives in the queue.

10

What are the SQS queue types?

FIFO or standard

11

What is the max retention for SWF?

1 year

12

Which message service presents a task orientated API?

SWF

13

Which message service offers a message orientated API?

SQS

14

Which message service ensure that a task is assigned only once and is never duplicated?

SWF

15

Which message service keeps track of events?

SWF

16

Which service requires application level tracking?

SQS

17

What are the three SWF actors?

Workflow starter

Deciders

Activity worker

18

What are SNS subscribers?

Subscribers are clients interested in receiving notifications from topics of interest; they can subscribe to a topic or be subscribed by the topic owner. Subscribers specify the protocol and end-point (URL, email address, etc.) for notifications to be delivered.

19

Which is a push based message service?

SNS

20

What is elastic transcoder?

media transcoder in the cloud

21

What are the three kinesis types?

stream

firehose

analytics

22

What is kinesis streams?

Kinesis streams accepts streaming data and breaks up it into shards for each type of data. EC2 data consumers analyze the data inside the shards and outputs it to DynamoDB/S3/EMR/Redshift/etc...

23

What is kinesis firehose?

Amazon Kinesis Data Firehose is the easiest way to load streaming data into data stores and analytics tools. It can capture, transform, and load streaming data into Amazon S3, Amazon Redshift, Amazon Elasticsearch Service, and Splunk, enabling near real-time analytics with existing business intelligence tools and dashboards you’re already using today. It is a fully managed service that automatically scales to match the throughput of your data and requires no ongoing administration. It can also batch, compress, and encrypt the data before loading it, minimizing the amount of storage used at the destination and increasing security.

24

What service decouples application components to run independently?

SQS

25

Which SQS queue type would you use if you need unlimited messages and best effort ordering?

standard

26

Which SQS queue type would you use if you need unlimited messages and correct ordering?

FIFO

27

Is SQS pull or push based?

Pull

28

What AWS application service would you use to coordinate work across applications?

SWF

29

What SWF component interacts with SWF to get tasks?

Workers

30

What SWF component controls coordination of tasks

Deciders

31

What SWF component would you use to isolate SWF worflows

Domains

32

What AWS application service would you use to send notifications from the cloud to SMS or email?

SNS

33

What AWS application service would you use to transcode media?

Elastic transcoder

34

What AWS application service would you use to manage APIs?

API gw

35

Can API gateway provide caching to improve performance?

Yes

36

What AWS application service would you send streaming data to for analysis?

kinesis

37

Which kinesis service would you use to accept data from multiple sources to store for 24 hours to 7 days that are then forwarded to consumers?

Streams

38

Which kinesis service would you use to accept data from multiple sources to analyze in real time to then store in S3?

Firehose

39

Which kinesis service would you use to perform SQL queries on kinesis streams or firehose?

analytics

40

What is cognito

Provides login federation using FB, google , amazon

41

How does cognito work?

Authenticates with web ID provider, recieve temporary token, exchange with AWS credentials to provide access by allowing them to assume role

42

What is a cognito user pool? 

User Pools are user based.

It handles things like user registration, authentication, and account recovery.

43

What service does cognito identity pools provide?

Identity Pools provide temporary AWS credentials to access AWS services like S3 or DynamoDB.

44

What is the difference between SNS and SQS?

SNS is a push notification service, whereas SQS is message system that requires worker nodes to poll a queue.

45

What happens when you create a topic on Amazon SNS?

An Amazon Resource Name is created.

46

What SNS Subscription endpoint Protocols are available?

HTTP/HTTPS (URL)

email (text)/email (json)

SQS Standard Queue

SMS Text messages