IP addresses Virtual Networks Module 1.2.2 Flashcards

1
Q

How are internal IP addresses assigned to VMs

A

When you create a VM in Google Cloud, its symbolic name is registered with an internal DNS service that translates the name to an internal IP address.
The DNS is scoped to the network, so it can translate web URLs and VM names ofhosts in the same network, but it can’t translate host names from VMs in a different network.

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

which gsp services depend on VMs and there fore have internal IPs assigned

A

App Engine and Google Kubernetes Engine

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

What are types of external IP addresses

A

external IP address, is optional.
You can assign an external IP address if your device or machine is externally facing.
That external IP address can be assigned from a pool, making it ephemeral, or it can be assigned from a reserved external IP address, making it static.

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

Which resources use static IP addresses and what to be aware regarding charging.

A

VM instances and forwarding rules can use static IP addresses.
If you reserve static external IP address and do not assign it to a resource, such as a VM instance or
a forwarding rule, you are charged at a higher rate than for static and ephemeral external IP addresses that are in use.

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

Can you use your own IP address in GSP

A

You can use your own publicly routable IP address prefixes as Google Cloud external IP addresses and advertise them on
In order to be eligible, you must own and bring a /24 block or larger.

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

Are there limits on how many instances can be per network

A

You might have a very large IP range but that doesn’t mean that you actually can create that many instances. That’s a quota.
There may also be actual limitations on physical hardware that’s even available within a specific region or zone. (it was 15,000) Example with the slash 20 we have over 4,000 addresses.

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

Does internal IP address change when VM is restarted

A

No internal IP address stays the same but external if it is ephemeral changes. But if you delete and recreate VM internal IP can change.

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

Does OS of the VM knows of its external IP address

A

It doesn’t, regardless of whether you use an ephemeral or static IP address, the external address is unknown to the OS of the VM.
The external IP address is mapped to the VM’s internal address transparently by VPC.

Instead, the network stores a lookup table that matches external IP addresses with the internal IP addresses of the relevant instances.

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

How does DNS resolution work for internal IP adresses

A

Each instance has a host name that can be resolved to an internal IP address.
This hostname is the same as the instance name.
There’s also an internal fully qualified domain name, or FQDN, for an instance that uses the format [hostname].[zone].c.[project-id].internal.
DNS name always points to a specific instance, no matter what the internal IP address is. (so if the IP internal address change, connection stays stable)

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

what is googles service for hosting DNS (Domain name servers )

A

Domain name servers can be hosted on GCP, using Cloud DNS.
Cloud DNS is a scalable, reliable, and managed authoritive Domain Name System, or DNS, service running on the same infrastructure as Google.
GCP offers a 100% uptime Service Level Agreement, or SLA, for domains configured in Cloud DNS.

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

Each instance has a metadata server what id does

A

metadata server acts as a DNS resolver for that instance.
The metadata server handles all DNS queries for local network resources and routes all other queries to Google’s public DNS servers for public name resolution.

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

What are Alias IP ranges

A

Alias IP Ranges let you assign a range of internal IP addresses as an alias to a virtual machine’s network interface.
This is useful if you have multiple services running on a VM, and you want to assign a different IP address to each service.

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

What is CIDR

A

Classless Inter-Domain Routing (CIDR) is an IP address allocation method that improves data routing efficiency on the internet.

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