Applications Flashcards

1
Q

SQS Abbreviation?

A

Simple Queue Service

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

What is SQS?

A

Amazon SQS is a web service which gives you access to message queue service where we can store messages which needs to be processed.

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

SQS Used on which scenario?

A

SQS is used to decouple components in distributed application.

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

What are the different type of Queue available in SQS?

A

“Standard Queue

FIFO Queue”

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

What is Standard Queue?

A

Standard queue does not guarantee the message order & uniqueness of messages

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

What is FIFO Queue?

A

FIFO queue guarantee the message order & uniqueness of messages

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

How many transactions per second can Standard queue supports?

A

unlimited

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

How many transactions per second can FIFO queue supports?

A

300

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

SQS is based on which architecture?

A

Pull based

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

What is SQS message size?

A

256 KB

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

How long messages can be kept in Queue?

A

1 min to 14 days

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

What is visibility timeout?

A

Visibility timeout is the amount of time that the message is invisible in the queue after a reader pickup the message

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

What is maximum visibility timeout?

A

12 hrs.

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

What is SQS long polling?

A

long poll return only when the message is available.

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

What is SQS short polling?

A

short poll returns immediately even if the message is not available

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

What is important key word for SQS?

A

decouple

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

SQS retention period?

A

4 days

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

what is the first service in AWS?

A

SQS

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

SWF Abbreviation?

A

Simple workflow service

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

What is SWF?

A

SWF is a web service which coordinate task between distributed application.

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

How long SWF execution can last?

A

1 yr.

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

Do we get duplicated task in SWF?

A

no

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

SWF Actors?

A

“Workflow Starter
Deciders
Activity Worker”

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

SNS Abbreviation?

A

simple notification service

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

What is SNS?

A

SNS is a web service which allows us to send notification like SMS, email & push notification

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

SNS is push based?

A

yes

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

SNS stored in Multi AZ?

A

yes

28
Q

What is Elastic transcoder?

A

It’s a media converter service in cloud; It convert videos to different format supported by mobile, tablet & laptop.

29
Q

What is API gateway?

A

AWS API Gateway is a fully managed service where developers can publish,maintain,monitor & secure Web API at any scale.

30
Q

API gateway scale automatically?

A

Yes

31
Q

What are the end points we can have for API gateway?

A

“Lambda function
EC2 instance
Dynamo DB etc.”

32
Q

What is API caching?

A

API caching allows you to cache your end point response till the TTL period

33
Q

What is Cross Site Scripting?

A

Request website cant have different DNS name.

34
Q

What is kinesis?

A

AWS Kinesis is a platform where we can process streaming data.

35
Q

What are the different types of Kinesis?

A

“Kinesis Streams
Kinesis Firehouse
Kinesis Analytics”

36
Q

What is Kinesis Streams?

A

Kinesis Streams can store streaming data in shards & later process it to other services.

37
Q

What is Kinesis Firehouse?

A

Kinesis Firehouse can not store streaming data; we need to process the data immediately.

38
Q

What is Kinesis Analytics?

A

Kinesis Analytics allows you to run analytic service on Kinesis streams & Kinesis Firehouse.

39
Q

What is Shards?

A

Each data stream is stored in separate shards for processing.

40
Q

How long we can store streaming data in Kinesis Streams?

A

24 hrs. to & days

41
Q

What is Web Identity Federation?

A

Web Identity Federation services is used to authenticate users using social media accounts or google or amazon account.

42
Q

What is AWS Cognito

A

“AWS Cognito service act as a broker between web identity federation & AWS.
It facilitate user access based on authentication token issued by Web identity federation.”

43
Q

What is User pools in AWS Cognito?

A

User pool is user based. It handles user registeration,authentication & account recovery.

44
Q

What is Identity Pool in AWS Cognito?

A

Identity pool authorize access to AWS resources.

45
Q

What is Event Driven Architecture?

A

In Event driven architecture AWS Service respond to triggers generated by other aws services.

46
Q

What is dead letter queue?

A

“SNS Service send message to DLQ if message is not delivered to end user.
SQS Service send message to DLQ if message is sent more that expected.
Lambda function send error to DLQ if error occur during execution of code.”

47
Q

What is fanout pattern?

A

message is sent through SNS topic

48
Q

What is S3 event notification?

A

“S3 Event notification feature enable you to receive notification certain event happed in S3 bucket.
These messages can be delivered to SQS,SNS or lambda function.”

49
Q

What is publish/subscribe pattern?

A

Publisher -> Publish notification -> SNS Topic -> Subscribe notification -> Subscriber

50
Q

Amazon’s SQS service guarantees a message will be delivered at least once?

A

Yes, Standard queues provide at-least-once delivery, which means that each message is delivered at least once

51
Q

When you build an application layer on top of Amazon SWF, it restricts you to the use of specific programming languages.

A

“No, While there are a limited range of SDKs available for SWF, AWS provides an HTTP based API which allows you to interact using any language as long as you phrase the interactions in HTTP requests.

52
Q

What application service allows you to decouple your infrastructure using message based queues?

A

“SQS, In IT the term ‘message’ can be used in the common sense, or to describe a piece of data of Task in an asynchronous queueing system such as MQSeries, RabbitMQ or SQS.

53
Q

Amazon SWF is designed to help users ____.

A

Coordinate synchronous & asynchronous task

54
Q

What happens when you create a topic on Amazon SNS?

A

An ARN is created; When a topic is created, Amazon SNS will assign a unique ARN (Amazon Resource Name) to the topic, which will include the service name (SNS), region, AWS ID of the user and the topic name. The ARN will be returned as part of the API call to create the topic. Whenever a publisher or subscriber needs to perform any action on the topic, they should reference the unique topic ARN.

55
Q

What is Amazon Kinesis Data Streams?

A

A service on AWS that ingest & stores data streams for processing.

56
Q

How can you prevent Amazon API Gateway from being overwhelmed by too many requests and improve overall performance across the APIs in your account?

A

Enable caching & set throttling limits

57
Q

Amazon SWF ensures that a task is assigned only once and is never duplicated.

A

Yes

58
Q

Does the Standard SQS message queue preserve message order and guarantee messages are only delivered once?

A

NO

59
Q

What is the difference between SNS and SQS?

A

SNS is push based & SQS is pull based.

60
Q

Amazon Kinesis Data Firehose is used for

A

“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.

61
Q

What are the key components of Kinesis Data Firehose?

A

Key components of Kinesis Data Firehose are: delivery streams, records of data and destinations. Producers, shards and consumers are components of Kinesis Data Streams.

62
Q

True or False? At a high level an Amazon API Gateway is a “front door” for applications to access data, business logic, or functionality from your backend services.

A

Yes

63
Q

In SWF, what does a “domain” refer to?

A

Domains provide a way of scoping Amazon SWF resources within your AWS account. All the components of a workflow, such as the workflow type and activity types, must be specified to be in a domain. It is possible to have more than one workflow in a domain; however, workflows in different domains can’t interact with each other.

64
Q

Amazon SQS offers standard as the default queue type. Standard queues ensure that messages are delivered in the same order as they’re sent.

A

FALSE

65
Q

You have discovered duplicate messages being processed in your SQS queue. How do you resolve this?

A

“Duplicate messages occur when a consumer does not complete its message processing and the visibility timeout of the message expires, making it visible for another consumer to obtain. Increasing the visibility timeout to enable the consumer processing to complete, will prevent duplicate messages.