Global Infrastructure & Cloud Integrations Flashcards

1
Q

What is global application?

A

A Application that is deployed in multiple geographies}
in AWS: Regions and / or Edge Locations

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

Why is global deployment important?

A

Decreased Latency - shorter way to the server
Desaster Recovery - failover to a different region
Attack Protection - distributed global infrastructure is harder to attack

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

How is AWS Global Infrastructure built?

A

There are regions with multiple AZ and there are edge locations

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

What is AWS Route 53?

A

Managed DNS (Domain Name System)

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

What are common records in AWS?

A

www.google.com -> 12.34.56.78 == A record (IPv4)
www.google.com -> 2001:0dbb8:…:7334 == AAAA record (IPv6)
search.google.com -> www.google.com == CNAME (hostname to hostname)

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

What are the Route 53 Routing Policies?

A
  1. Simple Routing Policy
    • no health checks just hostname to IPv4
  2. Weighted Routing Policy
    • add weights to different EC2 Instances that will correspond to amount of traffic being forwarded to that instance
  3. Latency Routing Policy
    • latency will be used to connect users to the closest server possible
  4. Failover Routing Policy
    • health check on primary -> if failed -> send to the failover server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is AWS CloudFront?

A

It’s a content delivery Network.

It allows to store content on more then 215 Points of Presence.
It offers DDoS protection (because worldwide).

First time user requests some content it will be loaded into the regional edge cache from let’s say Australia, and should another user request it again then it wont need to ask australia, instead the local Point of presence will deliver as it has already loaded it.

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

Where can CloudFront get data from?

A
  1. S3 Bucket (can also be used to upload data to S3 [an ingress])
  2. Custom Origin HTTP (any http backend)
    If the result is available in local cache then it will deliver if not it will get it from the origin server and cache it for the future requests
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Can cloud front offer access to private S3 Bucket Objects

A

Yes, but for that we need to create origin access control (OAC) on the S3 Bucket but it gets provided by AWSW.

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

What is S3 Transfer Acceleration?

A

It is the usage of Edge Location to enter the AWS private network at an earlier stage and then continue transfer on the private fast network instead of the public one.

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

What is AWS Global Accelerator?

A

It is an action of leveraging the AWS private network to optimize and therefore speed up the route to our application for around 60% improvement.

Example: People trying to connect to our app in india but coming from Europe will enter through their closest Edge location and then continue on Private AWS network.

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

What are AWS Outposts?

A

Allows business to run hybrid clouds by offering to setup outpost racks on prem and come preloaded with AWS Services.
This however moves the responsibility for physical security to the company.

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

What services work with AWS Outposts?

A

Amazon EC2, EBS, S3, EKS, ECS, RDS and EMR

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

What is AWS Wavelength?

A

Allows to deploy AWS services (EC2, EBS & VPC) to the edge of 5G Networks of e.g. telecom allowing to reduce Latency for mobile devices to absolute minimum.

The Wavelength zones connections often never reach the cloud itself, however if needed they are interconnected (e.g to access DB).

No extra charges are set for using Wavelength

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

What are AWS Local Zones?

A

Are extension of AZs. E.g in the us-west 1 we have the 6 AZs but we also have multiple localzones like Dallas or Houston allowing us to be even closer to the users and minimize the latency.

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

What global architecture types does AWS offer?

A
  1. Single Region, Single AZ
  2. Single Region, Multi AZ
  3. Multi Region, Active-Passive - Active (read/writes), Passive (data replication, but only reads). Better global read latency, but writes stay the same
  4. Multi Region, Active-Active, Both reads and writes have low latency. E.g DynamoDB global tables :)
17
Q

What 2 types of Communication can happen over cloud?

A

1) Synchronous - Application to Application
2) Async / event-based - Application to Queue to Application

18
Q

Why can synchronous communication be bad? What’s the alternative?

A

When encountering a spike of traffic.
Using SQS queue model or
using SNS pub / sub model

19
Q

What is AWS SQS?

A

Simple Queue Service.
Whatever producers put into the queue the consumers will pull it out and after processing delete it from it.
USED TO DECOUPLE APPLICATIONS

20
Q

How long are the SQS Messages being stored?

A

Per default 4 days max 14 days.

21
Q

How to decouple application tiers with AWS SQS?

A

Put the SQS between Webservers and the Processing instances.
The the SQS can scale the no of EC Instances in Processing with ASG

22
Q

What is Amazon Kinesis Data Stream?

A

real-time big data streaming at any scale.

23
Q

What is AWS SNS?

A

Simple Notification Service (Observer Pattern)
It has so called topics that are in the end different chats that can be subscribed to.
Publisher
Subscribers

24
Q

What is Amazon MQ?

A

Managed message broker service for
1) RabbitMQ
2) ActiveMQ
It doesn’t scale nor integrate as SNS / SQS.
Used as a legacy service for users migrating to cloud but that don’t want to reimplement that parts in their applications.