Other AWS Services Flashcards

1
Q

Distributed Message Queueing System

A

SQS

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

SQS allows us to ____________ the components of an application so that they are independent.

A

decouple

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

SQS is Pull based, not push based. True or False?

A

True

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

What are the two types of Amazon SQS queues?

A

first-in, first-out (FIFO) and standard queues

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

Characteristics of Amazon SQS standard queues?

A
  1. Best-effort ordering.
  2. Message delivered at least once.
  3. Occasional duplicates.
    4 .The default queue type.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Characteristics of Amazon SQS (FIFO) queues?

A
  1. First-in-first-out message order is strictly preserved.
  2. Messages are delivered once.
  3. No duplicates.
  4. Good for banking transactions which need to happen in a strict order.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The amount of time that the message is invisible in the SQS queue after a reader picks up that message.

A

SQS Visibility Timeout

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

SQS Visibility Timeout Default is?

A

30s. Increase if the task takes >30s to complete, up to a maximum of 12 hours.

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

SQS Settings that a response is returned immediately even if no messages are in the queue. A cost per response.

A

Short Polling

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

SQS Settings that is periodically polls the queue and only returns a response when a message is in the queue, or the timeout is reached. Most cost effective option.

A

Long Polling

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

It allows you to postpone delivery of new messages.

A

SQS Delay Queue

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

Messages in a SQS Delay Queue remain invisible for the duration of the
delay period of?

A

0 - 900s or 15mins

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

SQS Delay Queue use case

A

Large distributed applications which may need to introduce a delay in processing

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

Use _______ to store large SQS messages > 256KB and up to 2GB in size.

A

S3

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

Use ______ for Java to manage Large SQS Messages.

A

Amazon SQS Extended Client Library

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

The ______ for Java provides an API for S3 operations e.g. GET and DELETE

A

AWS SDK

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

SNS supports ?

A

SMS, SQS, HTTP, email.

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

SNS has Pub/sub model which means?

A

consumers must subscribe to a topic

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

SNS is for push notifications only. Not for receiving notifications. True or False

A

True

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

SNS can ________ messages to a large number of recipients (e.g. to multiple SQS queues, HTTP endpoints, and email addresses)

A

Fanout

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

Simple Email Service or SES SES is for email only. True or False?

A

True

18
Q

SES can be used for incoming and outgoing mail. True or False?

A

True

19
Q

SES is not subscription-based, you only need to know the email address. True or False?

A

True

20
Q

SNS vs SQS

A
  1. Their are same messaging service.
  2. SNS is push-based while SQS is pull-based
  3. With SNS think push notifications while with SQS think polling the queue for
    messages.
21
Q

It makes it easy to collect, process, and analyze video and data streams in real time.

A

Amazon Kinesis

22
Q

Capture and store streaming video and data for real-time processing and analysis. Consumer applications process and analyze the data in real-time.

A

Kinesis STREAMS

23
Q

Capture, transform and load data continuously into AWS data stores (or other service providers such as Datadog or Splunk). Existing BI applications and tools can be used for near real-time analysis of the stored data.

A

Kinesis FIREHOSE

23
Q

Real-time analytics using standard SQL on data received by Kinesis Data Streams and Kinesis Data Firehose. Stores the processed data in AWS data stores, e.g. S3, Redshift, Elasticsearch.

A

Kinesis ANALYTICS

24
Q

Kinesis streams are made up of _________. Each __________ is a sequence of one or
more data records and provides a fixed unit of capacity.

A

Kinesis Shards

25
Q

If the data rate increases, you can increase capacity on your stream by increasing the number of __________.

A

Kinesis Shards

25
Q

The data capacity of the stream is determined by the number of _________.

A

Kinesis Shards

26
Q

The ______________ running on your consumers runs a record processor for each shard being consumed.

A

Kinesis Client Library

27
Q

Generally, the number of consumer instances should not exceed the number
of Kinesis shards except?

A

except for failover purposes

28
Q

An increase in the number of shards does not require an increase in the____________ ?

A

number of consumers

29
Q

Use an ___________________ for your EC2 consumer instances based on CPU utilization.

A

auto-scaling group and drive scaling actions

30
Q

It deploys and scales your web applications, including the web application server platform.

A

Elastic Beanstalk

31
Q

Supported Programming Languages of Elastic Beanstalk?

A

Java, PHP, Python, Ruby, Go, Docker, .NET, Node.js.

32
Q

Supported Application Servers of Elastic Beanstalk?

A

Apache HTTP Server, Tomcat, Passenger, Puma, Nginx, and IIS

33
Q

Provision AWS Resources of Elastic Beanstalk?

A

EC2, RDS, S3, Elastic Load Balancers, Auto Scaling Groups, etc.

34
Q

Systems Administration of Elastic Beanstalk?

A

OS and application server updates. Monitoring, metrics, and health checks are all included.

35
Q

Administrative Control of Elastic Beanstalk?

A

Can fully manage the EC2 instances for you or you can take full administrative control.

36
Q

You can customize your Elastic Beanstalk environment using ___________?

A

Elastic Beanstalk configuration files.

37
Q

Elastic Beanstalk Deployment Types

A

All at Once
Rolling
Rolling with Additional Batch
Immutable
Traffic Splitting

38
Q

Elastic Beanstalk deployment types that involves a service interruption. Rolling back requires a further All at Once update.

A

All at Once

39
Q

Elastic Beanstalk deployment types that the new code is deployed in batches.Reduced capacity during deployment. Rolling back requires a further Rolling update.

A

Rolling

40
Q

Elastic Beanstalk deployment types that maintains full capacity. Rolling back requires a further Rolling update.

A

Rolling with Additional Batch

41
Q

Elastic Beanstalk deployment types that maintains full capacity. To roll back, delete the new instances. Preferred option for mission critical production systems.

A

Immutable

42
Q

Elastic Beanstalk deployment types that performs an Immutable deployment and then splits the traffic between the old and new deployment, enabling Canary Testing.

A

Traffic Splitting

43
Q

Deploying RDS When Working with Elastic Beanstalk

A

INSIDE & OUTSIDE BEANSTALK

44
Q

INSIDE BEANSTALK

A
  1. Quick and easy to add your database and get started.
  2. When you terminate the Elastic Beanstalk environment, the database will also be terminated.
  3. Suitable for Dev and Test environments only.
45
Q

OUTSIDE BEANSTALK

A