Essential Cloud Infrastructure: Foundation Flashcards

1
Q

Which of these are unique and cannot be changed: Project Name, Project ID, Project Number

A

Project ID and Project Number are globally unique and cannot be changed

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

Command to set up the project id (switching between multiple projects)

A

gcloud config set project $PROJECT_ID

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

Command to list environment variables

A

gcloud config list

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

Describe GPC networks

A

Default, auto-mode, custom mode

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

Define projects

A
  • Associates objects and services with billings

* Contains networks (quota: max 5)

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

Define a network

A
  • Has no IP address range
  • It is global and spans all available regions
  • Contains subnetworks
  • Can be default, auto-mode, custom-mode
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Can you convert a custom-mode network to auto-mode

A

No, you can convert default or auto-mode to custom mode, but once custom-mode, always custom-mode

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

Define a subnetwork

A

Subnetworks can extend across zones within the same region. The subnet is simply an IP address range, so you can carve up IP addresses within that range. Notice that the first address in the range 10.0.0.1 is reserved for the router address. The last address in the range 10.0.0.255 is reserved for the broadcast address.

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

IP addresses

A

2 ip addresses are assigned: internal & external (optional)

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

What is FQDN

A

Fully qualified domain name:

[hostname].c.[project-id].internal

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

How is name resolution handled?

A

Name resolution is handled by an internal DNS resolver:

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

what is a route

A

A route is a mapping of an IP address range to a destination

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

Every network has

A
  • Routes that let instances within the network to send packets to each other
  • Default route that directs packets to destinations outside the network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What parameters compose a firewall rule:

A
  • Direction
  • Source or Destination
  • Protocol and Port
  • Action
  • Priority
  • Rule Assignment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is CIDR

A

CIDR (Classless Inter-Domain Routing, sometimes called supernetting) is a way to allow more flexible allocation of Internet Protocol (IP) addresses than was possible with the original system of IP address classes.

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

What is a key distinguishing feature of networking in the Google Cloud Platform?

A

Network topology is not dependent on address layout.

17
Q

What are the three types of networks offered in the Google Cloud Platform?

A

Default network, auto network, and custom network.

18
Q

What is one benefit of applying firewall rules by tag rather than by address?

A

When a VM is created with a matching tag, the firewall rules apply irrespective of the IP address it is assigned.

19
Q

How are VMs billed?

A

VMs are billed per second with 1 minute minimum. There is also sustained use discount

20
Q

Description of preemptible VMs

A
  • Live at most for 24 hours
  • Can be pre-empted with a 30 second notification
  • Up to 80% discount