Module 8 Flashcards

1
Q

On prem data centre can cause latency for users that are geographically far away.

With this in Mind, using the cloud can save ____ and give you_______ ______ to customers in different GEOss

A

Cloud can save cost and give you local presence to customers in different GEOs

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

Several strategies and patterns used by software architects to make complex systems easy to design/build/maintain etc

Loosely coupled architectures via:

N-Tier Architecture

An N-Tier Architecture divides an app into…

A

Divides app into 2 or more logical tiers

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

How do the tiers access each other within an N-Tier Architecture

A
  • Higher tier can access lower tier but not the other way round
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Tiers help separate concerns and are typically reusable

How does this arcitecture help maintanenace?

A
  • This also helps maintenance, can be updated or replaced inderpendantly + new tiers can be added
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Give an example of a simple 3 Tier architecture

A
  • 3 tiers referes to an N-Tier architecture with 3 tiers. e.g. Web (Interface), App (Business Logic), Data (DB or other storage) Tiers. This works as:
    • User clicks Place order and request is sent to web tier
    • Web tier passes fdata to app tier to validate payment and check inventory
    • App tier passes to data tier where data is stored
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an Azure Region

A

Azure Region

One or more data centers within a specific geographic location

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

A vNet is a logically isolated network on Azure, similar to networks in HyperV, VMWare and other clouds.

What does a vNet allow for…

A
  • Allows for secure comms between each other, intrernet and on prem networks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How many regions are Azure vNets scoped to

A

Azure vNets are Scoped to a single region

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

What can be used to connect vNets to different regions

A
  • vNets from different regions can be connected using vNet peering.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Segmenting a vNet into one or more subnets allows for

A
  • Segmented into one or more subnets, this allows for organising + securing of resources in discrete sections
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How/Why could/would you keep some tiers on prem and others in the cloyd

A
  • You can also keep some tiers on-prem, i.e. Web Tier in cloud keeping other tiers on-prem allowsing tighter control.
  • A VPN gateway would provide a secure connection between Azure + On prem.
  • Azure manages physical H/W, you config vNets and gateways enabling you to treat vNet like your own.
  • You can choose which networks your vNet can reach (i.e. public internet or other networks in the private IP space)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are NSGs

A
  • Allows or denies inbound traffic to Azure resources
  • Essentially cloud level firewall
  • You can config NSG to allow only traffic from known sources (IPs) you trust
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does Azure Load Balancer help to ensure?

A
  • Azure Load balancer helps ensure site runs 24/7, when you also want to do maintenance (and there is no “good” time for down time)
  • Azure Load balancer can also alleviate performance issues with too many users
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does availability refer to?

A

Availability = how long a service is up and running with out interruption

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

What does High Availability refer to?

A

High Availability (HA) = services up and running for a long period of time

100% Availability is difficult to achieve - many teams strive for 5-9’s (99.999%)

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

What does resiliency refer to?

A

Resiliency - Ability to stay operation during ab-normal conditions, these incl: Nat Disasters, Sys Maintenance, Spikes in traffic, Threats (DDoS attacks etc)

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

A Load balancer distributes traffic amongst systems in a pool helping to achieve….

A

Helping to achieve High Availability and Resiliency

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

Start with additional identical VMs so having additional system ready should one go down or get too many users.

A load balancer becomes the entry point allowing these VMs to have there own…

A

IP Addresses

19
Q

Does the user know which VM they are using

A

No

20
Q

At a high level how does the load balancer work

A
  • The load balancer recieves the request from the user and directs them to a VM, if a VM is unavailable or not responsive the load balancer directs traffic elsewhere.
21
Q

How does a load balancer allow for maintenance without service disruption

A
  • This allows for maintenance without service disruption if you stagger maintenance for each VM.
22
Q

Azure Load balancer supports inbound and Outbound scenerios, low latency, high throughput.

It can scale to _____ of flows for all ___/___ applications

A
  • Scales to millions of flows for all TCP/UDP applications
  • Use with incoming internet traffic, inbound azure services traffic, port forwarding for specific traffic, outbound connectivity for VMs in vNet
23
Q

What advantages does Azure Load Balancer have over a traditional on prem one

A

Traditional Load balancers require extra H/W and Maintenance, and failure can take you back to the original issue

24
Q

What situations is better to use Azure Application Gateway?

A
  • For traffic exclusively HTTP this is potentially a better option.

It is a load balancer designed for Web Apps

25
Q

Azure Application gateway uses Azure Load Balancer at transport level (TCP) but applies URL based routing to support advanced scenerios.

This means it runs at which OSI Layer and understands what?

A

OSI Layer 7 - The application layer and understands the structure of the HTTP messge

26
Q

What Benefits does Azure Application Gateway have over Azure Load balancer

A
  • Cookie affinity - user session on same backend server
  • SSL Termination - Manage SSL Certs + Pass unecrypted traffic to backend servers. Supports full end to end encryption.
  • Web App Firewall - Supprots sophisticated firewall (WAF) incl detailed monitoring/logging to detect malicious activity.
  • URL Based Routes - Route based on, URL patterns, source IP/Port, Destination IP/Port, helpful with content delivery network (CDN).
  • Rewrite HTTP headers - add or remove info from inbound and outbound HTTP headers, security scenerio or secret server names
27
Q

What is, and what is the Purpose of Content Delivery Network (CDN)

A
  • Distributed network of servers to efficiently deliver web content.
  • Get content to users in local region to minimize latency
28
Q

Where is CDN hosted

A

Can be hosted in Azure or elsewhere

29
Q

CDN allows you to cache content strategically around the globe, what would be an example usage of this

A
  • Usage: Web Apps with multi media content with high bandwidth requirements.
30
Q

What does DNS do

A

Maps user friendly names to IPs

31
Q

What options do you have for DNS in Azure

A

Bring your own DNS Server or use Azure DNS

32
Q

What is Azure DNS

A

Hosting service for DNS domains in Azure

33
Q

True or False - Azure DNS can route traffic to load balancer

A

True

34
Q

Load balancer can distribute traffic to an alternate system when performing maintenance or if you see a spike in traffic this increases what to a solution

A

High Availability and Resiliency

35
Q

What is latency?

A

Time for data to travel on the network

36
Q

What is Bandwidth?

A

Amount of data that can fit on connection

37
Q

The type of connection and app design can effect latency but what is typically the biggest factor?

A

Distance

38
Q

How can you reduce latency when delivering content to different regions

A

Scale out to different regions

39
Q

What is the negative around replicating your data center to different locations around the globe and how does Azure mitigate this

A
  • Prohibitively expensive to replicate your entire DC, but in Azure doing so can cost much less as Azure already has the equipment and personnel in place.
40
Q

One way to reduce latency is to provide exact copies of your service in more than one region, This causes seperate DNS names so to connect users to closest geographic service using one domain name we use:

A

Azure Traffic Manager

41
Q

Azure Traffic manager can route traffic in different ways (i.e. least latency).

How does Azure Traffic Manager direct traffic to globally distributed end point

A

Uses DNS server closest to user to direct traffic to globally distributed endpoint

42
Q

What does Traffic manager see and do

A

Traffic manager does not see traffic, it just directs clients web browser to preferred end point.

43
Q

How can Azure Traffic manager work with both Azure and On Prem Data centers

A
  • Can connect traffic manager to on prem DCs to maintain existing investments or shift entirely to cloud
44
Q

What are the standout differences between Load balancer and Traffic Manager

A
  • Load balancer - Distributes traffic within a region
  • Traffic Manager - Works at DNS level directing to preferred end point
  • Load Balancer - will direct traffic to different VM if one is unresponsive
  • Traffic Manager - directs to closest endpoint that is responsive
  • Both help to make servers more resilient